From e700dc85b89391fcd152cfec6891f77a0815c2be Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 16:20:49 -0500 Subject: [PATCH 01/41] Bump version (#1513) Co-authored-by: ci.datadog-api-spec --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 171dff41402c..91a9601577c1 100644 --- a/package.json +++ b/package.json @@ -108,5 +108,5 @@ "engines": { "node": ">=12.0.0" }, - "version": "1.22.0" + "version": "1.22.1-beta.0" } From 15d38c5f221239ff353a0519c4b1e76049b75f07 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:03:49 -0500 Subject: [PATCH 02/41] Bump jinja2 from 3.1.2 to 3.1.3 in /.generator (#1487) Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Zou <17015060+nkzou@users.noreply.github.com> --- .generator/poetry.lock | 30 +++++++++++++++++++++++++----- .generator/pyproject.toml | 2 +- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.generator/poetry.lock b/.generator/poetry.lock index 6a59508896c9..99ed123babf7 100644 --- a/.generator/poetry.lock +++ b/.generator/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "click" @@ -52,13 +52,13 @@ files = [ [[package]] name = "jinja2" -version = "3.1.2" +version = "3.1.3" description = "A very fast and expressive template engine." optional = false python-versions = ">=3.7" files = [ - {file = "Jinja2-3.1.2-py3-none-any.whl", hash = "sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"}, - {file = "Jinja2-3.1.2.tar.gz", hash = "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852"}, + {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, + {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, ] [package.dependencies] @@ -124,6 +124,16 @@ files = [ {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac"}, {file = "MarkupSafe-2.1.3-cp311-cp311-win32.whl", hash = "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb"}, {file = "MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f698de3fd0c4e6972b92290a45bd9b1536bffe8c6759c62471efaa8acb4c37bc"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aa57bd9cf8ae831a362185ee444e15a93ecb2e344c8e52e4d721ea3ab6ef1823"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffcc3f7c66b5f5b7931a5aa68fc9cecc51e685ef90282f4a82f0f5e9b704ad11"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47d4f1c5f80fc62fdd7777d0d40a2e9dda0a05883ab11374334f6c4de38adffd"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1f67c7038d560d92149c060157d623c542173016c4babc0c1913cca0564b9939"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:9aad3c1755095ce347e26488214ef77e0485a3c34a50c5a5e2471dff60b9dd9c"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:14ff806850827afd6b07a5f32bd917fb7f45b046ba40c57abdb636674a8b559c"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8f9293864fe09b8149f0cc42ce56e3f0e54de883a9de90cd427f191c346eb2e1"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-win32.whl", hash = "sha256:715d3562f79d540f251b99ebd6d8baa547118974341db04f5ad06d5ea3eb8007"}, + {file = "MarkupSafe-2.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:1b8dd8c3fd14349433c79fa8abeb573a55fc0fdd769133baac1f5e07abf54aeb"}, {file = "MarkupSafe-2.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2"}, {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b"}, {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707"}, @@ -279,6 +289,7 @@ files = [ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, + {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, @@ -286,8 +297,15 @@ files = [ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, + {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, + {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, + {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, + {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, @@ -304,6 +322,7 @@ files = [ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, + {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, @@ -311,6 +330,7 @@ files = [ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, + {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, @@ -352,4 +372,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "eb365d0df084a7b223c5e2a60b2161e4152e183b57b474b8db722ff9ee0ff788" +content-hash = "70c1459064406c00d32f312780287294298a02ce3f4989bfd3deb89fc4065873" diff --git a/.generator/pyproject.toml b/.generator/pyproject.toml index 3cdc1fb29ec0..f1d466fba048 100644 --- a/.generator/pyproject.toml +++ b/.generator/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.10" click = "^8.1.4" PyYAML = "^6.0" jsonref = "^1.1.0" -jinja2 = "^3.1.2" +jinja2 = "^3.1.3" pytest = "^7.4.0" pytest-bdd = "^6.1.1" python-dateutil = "^2.8.2" From 5aaa8e653bc5ec9d55f04952816c04090499bd32 Mon Sep 17 00:00:00 2001 From: skarimo <40482491+skarimo@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:48:32 -0500 Subject: [PATCH 03/41] Downgrade noisy deserialization error log to debug (#1515) * downgrade noisy log to debug * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec --- .generator/src/generator/templates/api/api.j2 | 2 +- .../apis/AWSIntegrationApi.ts | 24 +++--- .../apis/AWSLogsIntegrationApi.ts | 14 ++-- .../apis/AuthenticationApi.ts | 2 +- .../apis/AzureIntegrationApi.ts | 10 +-- .../apis/DashboardListsApi.ts | 10 +-- .../apis/DashboardsApi.ts | 28 +++---- .../apis/DowntimesApi.ts | 14 ++-- .../datadog-api-client-v1/apis/EventsApi.ts | 6 +- .../apis/GCPIntegrationApi.ts | 8 +- .../datadog-api-client-v1/apis/HostsApi.ts | 8 +- .../datadog-api-client-v1/apis/IPRangesApi.ts | 2 +- .../apis/KeyManagementApi.ts | 20 ++--- .../datadog-api-client-v1/apis/LogsApi.ts | 8 +- .../apis/LogsIndexesApi.ts | 20 ++--- .../apis/LogsPipelinesApi.ts | 24 +++--- .../datadog-api-client-v1/apis/MetricsApi.ts | 14 ++-- .../datadog-api-client-v1/apis/MonitorsApi.ts | 20 ++--- .../apis/NotebooksApi.ts | 10 +-- .../apis/OrganizationsApi.ts | 12 +-- .../apis/PagerDutyIntegrationApi.ts | 8 +- .../apis/SecurityMonitoringApi.ts | 6 +- .../apis/ServiceChecksApi.ts | 2 +- .../ServiceLevelObjectiveCorrectionsApi.ts | 10 +-- .../apis/ServiceLevelObjectivesApi.ts | 20 ++--- .../apis/SlackIntegrationApi.ts | 10 +-- .../apis/SnapshotsApi.ts | 2 +- .../apis/SyntheticsApi.ts | 58 +++++++------- .../datadog-api-client-v1/apis/TagsApi.ts | 10 +-- .../apis/UsageMeteringApi.ts | 76 +++++++++---------- .../datadog-api-client-v1/apis/UsersApi.ts | 10 +-- .../apis/WebhooksIntegrationApi.ts | 16 ++-- .../apis/APIManagementApi.ts | 16 ++-- .../apis/APMRetentionFiltersApi.ts | 12 +-- .../datadog-api-client-v2/apis/AuditApi.ts | 4 +- .../apis/AuthNMappingsApi.ts | 10 +-- .../apis/CIVisibilityPipelinesApi.ts | 8 +- .../apis/CIVisibilityTestsApi.ts | 6 +- .../apis/CloudCostManagementApi.ts | 20 ++--- .../apis/CloudWorkloadSecurityApi.ts | 12 +-- .../apis/CloudflareIntegrationApi.ts | 10 +-- .../apis/ConfluentCloudApi.ts | 20 ++--- .../apis/ContainerImagesApi.ts | 2 +- .../apis/ContainersApi.ts | 2 +- .../apis/DORAMetricsApi.ts | 8 +- .../apis/DashboardListsApi.ts | 8 +- .../apis/DowntimesApi.ts | 12 +-- .../datadog-api-client-v2/apis/EventsApi.ts | 4 +- .../apis/FastlyIntegrationApi.ts | 20 ++--- .../apis/GCPIntegrationApi.ts | 12 +-- .../apis/IPAllowlistApi.ts | 4 +- .../apis/IncidentServicesApi.ts | 10 +-- .../apis/IncidentTeamsApi.ts | 10 +-- .../apis/IncidentsApi.ts | 36 ++++----- .../apis/KeyManagementApi.ts | 28 +++---- .../datadog-api-client-v2/apis/LogsApi.ts | 8 +- .../apis/LogsArchivesApi.ts | 20 ++--- .../apis/LogsMetricsApi.ts | 10 +-- .../datadog-api-client-v2/apis/MetricsApi.ts | 28 +++---- .../datadog-api-client-v2/apis/MonitorsApi.ts | 10 +-- .../apis/OktaIntegrationApi.ts | 10 +-- .../apis/OpsgenieIntegrationApi.ts | 10 +-- .../apis/OrganizationsApi.ts | 2 +- .../apis/PowerpackApi.ts | 10 +-- .../apis/ProcessesApi.ts | 2 +- packages/datadog-api-client-v2/apis/RUMApi.ts | 16 ++-- .../apis/RestrictionPoliciesApi.ts | 6 +- .../datadog-api-client-v2/apis/RolesApi.ts | 26 +++---- .../apis/SecurityMonitoringApi.ts | 48 ++++++------ .../apis/SensitiveDataScannerApi.ts | 18 ++--- .../apis/ServiceAccountsApi.ts | 12 +-- .../apis/ServiceDefinitionApi.ts | 8 +- .../apis/ServiceScorecardsApi.ts | 10 +-- .../datadog-api-client-v2/apis/SpansApi.ts | 6 +- .../apis/SpansMetricsApi.ts | 10 +-- .../apis/SyntheticsApi.ts | 4 +- .../datadog-api-client-v2/apis/TeamsApi.ts | 34 ++++----- .../apis/UsageMeteringApi.ts | 20 ++--- .../datadog-api-client-v2/apis/UsersApi.ts | 18 ++--- 79 files changed, 552 insertions(+), 552 deletions(-) diff --git a/.generator/src/generator/templates/api/api.j2 b/.generator/src/generator/templates/api/api.j2 index 2a54e965fba3..91caa63eca15 100644 --- a/.generator/src/generator/templates/api/api.j2 +++ b/.generator/src/generator/templates/api/api.j2 @@ -189,7 +189,7 @@ export class {{ className }}ResponseProcessor { "{{ responseType }}" ) as {{ responseType }}; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException<{{ responseType }}>(response.httpStatusCode, bodyText); } throw new ApiException<{{ responseType }}>(response.httpStatusCode, body); diff --git a/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts index 9d59a71e952f..729c065e4d62 100644 --- a/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts @@ -555,7 +555,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -617,7 +617,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -677,7 +677,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -739,7 +739,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -800,7 +800,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -862,7 +862,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -922,7 +922,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -980,7 +980,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1042,7 +1042,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1104,7 +1104,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1166,7 +1166,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1227,7 +1227,7 @@ export class AWSIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts index 634b80324b60..340bef122311 100644 --- a/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts @@ -316,7 +316,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -378,7 +378,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -438,7 +438,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -498,7 +498,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -558,7 +558,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -620,7 +620,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -679,7 +679,7 @@ export class AWSLogsIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/AuthenticationApi.ts b/packages/datadog-api-client-v1/apis/AuthenticationApi.ts index 5fc6699e5cab..15ccb348071d 100644 --- a/packages/datadog-api-client-v1/apis/AuthenticationApi.ts +++ b/packages/datadog-api-client-v1/apis/AuthenticationApi.ts @@ -74,7 +74,7 @@ export class AuthenticationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts index be569037675d..59dc324426e4 100644 --- a/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts @@ -244,7 +244,7 @@ export class AzureIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -304,7 +304,7 @@ export class AzureIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -366,7 +366,7 @@ export class AzureIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -426,7 +426,7 @@ export class AzureIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -486,7 +486,7 @@ export class AzureIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/DashboardListsApi.ts b/packages/datadog-api-client-v1/apis/DashboardListsApi.ts index 2c731ae917ea..ffd5dd9955d6 100644 --- a/packages/datadog-api-client-v1/apis/DashboardListsApi.ts +++ b/packages/datadog-api-client-v1/apis/DashboardListsApi.ts @@ -246,7 +246,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -308,7 +308,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -370,7 +370,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -428,7 +428,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -491,7 +491,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/DashboardsApi.ts b/packages/datadog-api-client-v1/apis/DashboardsApi.ts index d1afbedc01a1..4e1d48695fd6 100644 --- a/packages/datadog-api-client-v1/apis/DashboardsApi.ts +++ b/packages/datadog-api-client-v1/apis/DashboardsApi.ts @@ -678,7 +678,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -741,7 +741,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -803,7 +803,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -860,7 +860,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -922,7 +922,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -980,7 +980,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1040,7 +1040,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1102,7 +1102,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1164,7 +1164,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1222,7 +1222,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1279,7 +1279,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1342,7 +1342,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1403,7 +1403,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1466,7 +1466,7 @@ export class DashboardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/DowntimesApi.ts b/packages/datadog-api-client-v1/apis/DowntimesApi.ts index 29e2b89b910b..d26da407bb68 100644 --- a/packages/datadog-api-client-v1/apis/DowntimesApi.ts +++ b/packages/datadog-api-client-v1/apis/DowntimesApi.ts @@ -332,7 +332,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -395,7 +395,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -455,7 +455,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -515,7 +515,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -573,7 +573,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -635,7 +635,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -696,7 +696,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/EventsApi.ts b/packages/datadog-api-client-v1/apis/EventsApi.ts index 1a17f9651c08..656b77cee595 100644 --- a/packages/datadog-api-client-v1/apis/EventsApi.ts +++ b/packages/datadog-api-client-v1/apis/EventsApi.ts @@ -223,7 +223,7 @@ export class EventsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -283,7 +283,7 @@ export class EventsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -345,7 +345,7 @@ export class EventsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts b/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts index de1eba354a27..0ed116c7eb42 100644 --- a/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts @@ -203,7 +203,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -263,7 +263,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -325,7 +325,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -385,7 +385,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/HostsApi.ts b/packages/datadog-api-client-v1/apis/HostsApi.ts index 33d8a5aed7d0..795242ece71d 100644 --- a/packages/datadog-api-client-v1/apis/HostsApi.ts +++ b/packages/datadog-api-client-v1/apis/HostsApi.ts @@ -259,7 +259,7 @@ export class HostsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -319,7 +319,7 @@ export class HostsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -379,7 +379,7 @@ export class HostsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -441,7 +441,7 @@ export class HostsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/IPRangesApi.ts b/packages/datadog-api-client-v1/apis/IPRangesApi.ts index 4dc72cc1b7b4..fbbae630b264 100644 --- a/packages/datadog-api-client-v1/apis/IPRangesApi.ts +++ b/packages/datadog-api-client-v1/apis/IPRangesApi.ts @@ -62,7 +62,7 @@ export class IPRangesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/KeyManagementApi.ts b/packages/datadog-api-client-v1/apis/KeyManagementApi.ts index ba49a3368453..8a2030aa4f57 100644 --- a/packages/datadog-api-client-v1/apis/KeyManagementApi.ts +++ b/packages/datadog-api-client-v1/apis/KeyManagementApi.ts @@ -423,7 +423,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -486,7 +486,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -549,7 +549,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -611,7 +611,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -671,7 +671,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -733,7 +733,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -791,7 +791,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -849,7 +849,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -912,7 +912,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -976,7 +976,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/LogsApi.ts b/packages/datadog-api-client-v1/apis/LogsApi.ts index d07da44d44c6..becb3c98e085 100644 --- a/packages/datadog-api-client-v1/apis/LogsApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsApi.ts @@ -157,7 +157,7 @@ export class LogsApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -180,7 +180,7 @@ export class LogsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -236,7 +236,7 @@ export class LogsApiResponseProcessor { "HTTPLogError" ) as HTTPLogError; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException(response.httpStatusCode, bodyText); } throw new ApiException(response.httpStatusCode, body); @@ -253,7 +253,7 @@ export class LogsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts b/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts index 92477f055cc9..9929b2d7c333 100644 --- a/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts @@ -271,7 +271,7 @@ export class LogsIndexesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -294,7 +294,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -350,7 +350,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -370,7 +370,7 @@ export class LogsIndexesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -431,7 +431,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -489,7 +489,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -545,7 +545,7 @@ export class LogsIndexesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -568,7 +568,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -626,7 +626,7 @@ export class LogsIndexesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -649,7 +649,7 @@ export class LogsIndexesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts b/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts index 3fa7bcdb4c3a..916a0d65a1c2 100644 --- a/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts @@ -305,7 +305,7 @@ export class LogsPipelinesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -328,7 +328,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -380,7 +380,7 @@ export class LogsPipelinesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -403,7 +403,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -461,7 +461,7 @@ export class LogsPipelinesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -484,7 +484,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -542,7 +542,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -600,7 +600,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -658,7 +658,7 @@ export class LogsPipelinesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -681,7 +681,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -739,7 +739,7 @@ export class LogsPipelinesApiResponseProcessor { "LogsAPIErrorResponse" ) as LogsAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -762,7 +762,7 @@ export class LogsPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/MetricsApi.ts b/packages/datadog-api-client-v1/apis/MetricsApi.ts index 43b2a12ffa1d..ca5e9b3fd098 100644 --- a/packages/datadog-api-client-v1/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v1/apis/MetricsApi.ts @@ -399,7 +399,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -461,7 +461,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -523,7 +523,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -585,7 +585,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -649,7 +649,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -713,7 +713,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -776,7 +776,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/MonitorsApi.ts b/packages/datadog-api-client-v1/apis/MonitorsApi.ts index 4a508750165b..14b0607e07ec 100644 --- a/packages/datadog-api-client-v1/apis/MonitorsApi.ts +++ b/packages/datadog-api-client-v1/apis/MonitorsApi.ts @@ -574,7 +574,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -634,7 +634,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -698,7 +698,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -759,7 +759,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -821,7 +821,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -883,7 +883,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -945,7 +945,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1007,7 +1007,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1069,7 +1069,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1129,7 +1129,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/NotebooksApi.ts b/packages/datadog-api-client-v1/apis/NotebooksApi.ts index d58e223b51ab..1c00ac6488e3 100644 --- a/packages/datadog-api-client-v1/apis/NotebooksApi.ts +++ b/packages/datadog-api-client-v1/apis/NotebooksApi.ts @@ -315,7 +315,7 @@ export class NotebooksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -372,7 +372,7 @@ export class NotebooksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -435,7 +435,7 @@ export class NotebooksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -497,7 +497,7 @@ export class NotebooksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -561,7 +561,7 @@ export class NotebooksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/OrganizationsApi.ts b/packages/datadog-api-client-v1/apis/OrganizationsApi.ts index 6499972173e9..455af8050bf4 100644 --- a/packages/datadog-api-client-v1/apis/OrganizationsApi.ts +++ b/packages/datadog-api-client-v1/apis/OrganizationsApi.ts @@ -293,7 +293,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -355,7 +355,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -417,7 +417,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -475,7 +475,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -537,7 +537,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -600,7 +600,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts b/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts index 64b529af8d99..6a3995239426 100644 --- a/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts @@ -226,7 +226,7 @@ export class PagerDutyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -284,7 +284,7 @@ export class PagerDutyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -346,7 +346,7 @@ export class PagerDutyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -405,7 +405,7 @@ export class PagerDutyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts b/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts index 00b8a9c74031..4a13fae7c634 100644 --- a/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts +++ b/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts @@ -225,7 +225,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -288,7 +288,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -351,7 +351,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts b/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts index 2eb74f3635f9..9db318fb113a 100644 --- a/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts @@ -99,7 +99,7 @@ export class ServiceChecksApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts b/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts index 2c726787421f..44811bf54a00 100644 --- a/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts @@ -262,7 +262,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -318,7 +318,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -380,7 +380,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -438,7 +438,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -501,7 +501,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts b/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts index 7da726eae271..6ad790395dee 100644 --- a/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts @@ -564,7 +564,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -624,7 +624,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -686,7 +686,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -748,7 +748,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -808,7 +808,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -871,7 +871,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -934,7 +934,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -995,7 +995,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1057,7 +1057,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1118,7 +1118,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts b/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts index 9dca65d4ff88..7a0a25511840 100644 --- a/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts @@ -278,7 +278,7 @@ export class SlackIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -341,7 +341,7 @@ export class SlackIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -404,7 +404,7 @@ export class SlackIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -463,7 +463,7 @@ export class SlackIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -526,7 +526,7 @@ export class SlackIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/SnapshotsApi.ts b/packages/datadog-api-client-v1/apis/SnapshotsApi.ts index 63966e721707..4fd5f8a6caf6 100644 --- a/packages/datadog-api-client-v1/apis/SnapshotsApi.ts +++ b/packages/datadog-api-client-v1/apis/SnapshotsApi.ts @@ -151,7 +151,7 @@ export class SnapshotsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/SyntheticsApi.ts b/packages/datadog-api-client-v1/apis/SyntheticsApi.ts index db97f5588047..d73827f4d913 100644 --- a/packages/datadog-api-client-v1/apis/SyntheticsApi.ts +++ b/packages/datadog-api-client-v1/apis/SyntheticsApi.ts @@ -1267,7 +1267,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1330,7 +1330,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1394,7 +1394,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1457,7 +1457,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1514,7 +1514,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1566,7 +1566,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1629,7 +1629,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1691,7 +1691,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1753,7 +1753,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1816,7 +1816,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1879,7 +1879,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1941,7 +1941,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2004,7 +2004,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2068,7 +2068,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2131,7 +2131,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2189,7 +2189,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2247,7 +2247,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2305,7 +2305,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2367,7 +2367,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2426,7 +2426,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2485,7 +2485,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2547,7 +2547,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2610,7 +2610,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2669,7 +2669,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2729,7 +2729,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2793,7 +2793,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2856,7 +2856,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2914,7 +2914,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2977,7 +2977,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/TagsApi.ts b/packages/datadog-api-client-v1/apis/TagsApi.ts index 822c7118dbac..1a10b0331687 100644 --- a/packages/datadog-api-client-v1/apis/TagsApi.ts +++ b/packages/datadog-api-client-v1/apis/TagsApi.ts @@ -293,7 +293,7 @@ export class TagsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -349,7 +349,7 @@ export class TagsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -409,7 +409,7 @@ export class TagsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -469,7 +469,7 @@ export class TagsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -529,7 +529,7 @@ export class TagsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts index 8987902203c3..5bed00b06f15 100644 --- a/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts @@ -2122,7 +2122,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2180,7 +2180,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2243,7 +2243,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2306,7 +2306,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2364,7 +2364,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2423,7 +2423,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2487,7 +2487,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2552,7 +2552,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2615,7 +2615,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2673,7 +2673,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2735,7 +2735,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2797,7 +2797,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2859,7 +2859,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2922,7 +2922,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2985,7 +2985,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3047,7 +3047,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3109,7 +3109,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3171,7 +3171,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3233,7 +3233,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3295,7 +3295,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3357,7 +3357,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3419,7 +3419,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3481,7 +3481,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3543,7 +3543,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3605,7 +3605,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3667,7 +3667,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3729,7 +3729,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3791,7 +3791,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3853,7 +3853,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3915,7 +3915,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -3977,7 +3977,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4039,7 +4039,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4101,7 +4101,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4163,7 +4163,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4225,7 +4225,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4287,7 +4287,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4349,7 +4349,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -4411,7 +4411,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/UsersApi.ts b/packages/datadog-api-client-v1/apis/UsersApi.ts index 8db9962d0ca0..8430c9fe38d8 100644 --- a/packages/datadog-api-client-v1/apis/UsersApi.ts +++ b/packages/datadog-api-client-v1/apis/UsersApi.ts @@ -241,7 +241,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -304,7 +304,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -364,7 +364,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -420,7 +420,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -481,7 +481,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts b/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts index 2931573d0250..41926e8f8b16 100644 --- a/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts @@ -411,7 +411,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -474,7 +474,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -533,7 +533,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -591,7 +591,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -654,7 +654,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -718,7 +718,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -782,7 +782,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -846,7 +846,7 @@ export class WebhooksIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/APIManagementApi.ts b/packages/datadog-api-client-v2/apis/APIManagementApi.ts index 1885d5465510..2922b8e0f51f 100644 --- a/packages/datadog-api-client-v2/apis/APIManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/APIManagementApi.ts @@ -231,7 +231,7 @@ export class APIManagementApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -254,7 +254,7 @@ export class APIManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -310,7 +310,7 @@ export class APIManagementApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -333,7 +333,7 @@ export class APIManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -390,7 +390,7 @@ export class APIManagementApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -413,7 +413,7 @@ export class APIManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -472,7 +472,7 @@ export class APIManagementApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -495,7 +495,7 @@ export class APIManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts b/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts index 84c8e21ced1d..71e49bef2157 100644 --- a/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts +++ b/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts @@ -288,7 +288,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -346,7 +346,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -408,7 +408,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -466,7 +466,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -524,7 +524,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -587,7 +587,7 @@ export class APMRetentionFiltersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/AuditApi.ts b/packages/datadog-api-client-v2/apis/AuditApi.ts index a624a9466852..0d6ca6c857bc 100644 --- a/packages/datadog-api-client-v2/apis/AuditApi.ts +++ b/packages/datadog-api-client-v2/apis/AuditApi.ts @@ -163,7 +163,7 @@ export class AuditApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -225,7 +225,7 @@ export class AuditApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts b/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts index 0803258f1d44..198445393dd7 100644 --- a/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts +++ b/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts @@ -279,7 +279,7 @@ export class AuthNMappingsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -335,7 +335,7 @@ export class AuthNMappingsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -397,7 +397,7 @@ export class AuthNMappingsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -455,7 +455,7 @@ export class AuthNMappingsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -520,7 +520,7 @@ export class AuthNMappingsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts b/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts index 9da756f3c9e9..738426487d0d 100644 --- a/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts +++ b/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts @@ -253,7 +253,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -321,7 +321,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { "HTTPCIAppErrors" ) as HTTPCIAppErrors; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -383,7 +383,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -445,7 +445,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts index 8787d06f85f9..84c3dbee1311 100644 --- a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts +++ b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts @@ -213,7 +213,7 @@ export class CIVisibilityTestsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -276,7 +276,7 @@ export class CIVisibilityTestsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -338,7 +338,7 @@ export class CIVisibilityTestsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts b/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts index 20bd3b645e60..c11e6259959d 100644 --- a/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts @@ -435,7 +435,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -497,7 +497,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -555,7 +555,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -613,7 +613,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -671,7 +671,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -733,7 +733,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -791,7 +791,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -849,7 +849,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -907,7 +907,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -969,7 +969,7 @@ export class CloudCostManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts index 837b741937b7..375bf03c416d 100644 --- a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts @@ -304,7 +304,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -363,7 +363,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -418,7 +418,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -478,7 +478,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -538,7 +538,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -604,7 +604,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts b/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts index 1e58d21d7f9e..fb427eed7fb5 100644 --- a/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts @@ -246,7 +246,7 @@ export class CloudflareIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -305,7 +305,7 @@ export class CloudflareIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -368,7 +368,7 @@ export class CloudflareIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -431,7 +431,7 @@ export class CloudflareIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -494,7 +494,7 @@ export class CloudflareIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts b/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts index adeaceb66611..579f775a4729 100644 --- a/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts +++ b/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts @@ -468,7 +468,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -531,7 +531,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -590,7 +590,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -649,7 +649,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -712,7 +712,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -775,7 +775,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -838,7 +838,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -901,7 +901,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -964,7 +964,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1027,7 +1027,7 @@ export class ConfluentCloudApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts b/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts index 310a660fabcc..fd12ee3c4c74 100644 --- a/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts +++ b/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts @@ -118,7 +118,7 @@ export class ContainerImagesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ContainersApi.ts b/packages/datadog-api-client-v2/apis/ContainersApi.ts index 21e74cf25908..d1244ce648ed 100644 --- a/packages/datadog-api-client-v2/apis/ContainersApi.ts +++ b/packages/datadog-api-client-v2/apis/ContainersApi.ts @@ -118,7 +118,7 @@ export class ContainersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts b/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts index d80c8ff8724c..f7d607a7138e 100644 --- a/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts @@ -144,7 +144,7 @@ export class DORAMetricsApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -167,7 +167,7 @@ export class DORAMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -225,7 +225,7 @@ export class DORAMetricsApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -248,7 +248,7 @@ export class DORAMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/DashboardListsApi.ts b/packages/datadog-api-client-v2/apis/DashboardListsApi.ts index 82760c6cd9d3..5d9b719d8f1e 100644 --- a/packages/datadog-api-client-v2/apis/DashboardListsApi.ts +++ b/packages/datadog-api-client-v2/apis/DashboardListsApi.ts @@ -253,7 +253,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -317,7 +317,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -380,7 +380,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -444,7 +444,7 @@ export class DashboardListsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/DowntimesApi.ts b/packages/datadog-api-client-v2/apis/DowntimesApi.ts index fd456ee7ba4b..ed6ec254ef7a 100644 --- a/packages/datadog-api-client-v2/apis/DowntimesApi.ts +++ b/packages/datadog-api-client-v2/apis/DowntimesApi.ts @@ -334,7 +334,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -396,7 +396,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -459,7 +459,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -517,7 +517,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -575,7 +575,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -638,7 +638,7 @@ export class DowntimesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/EventsApi.ts b/packages/datadog-api-client-v2/apis/EventsApi.ts index aef850730e0f..f18640a38645 100644 --- a/packages/datadog-api-client-v2/apis/EventsApi.ts +++ b/packages/datadog-api-client-v2/apis/EventsApi.ts @@ -165,7 +165,7 @@ export class EventsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -227,7 +227,7 @@ export class EventsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts b/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts index 1a746378ac33..d74cb83ca04e 100644 --- a/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts @@ -468,7 +468,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -531,7 +531,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -588,7 +588,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -645,7 +645,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -708,7 +708,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -771,7 +771,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -834,7 +834,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -897,7 +897,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -960,7 +960,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1023,7 +1023,7 @@ export class FastlyIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts b/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts index d3e44fbe1f9f..92ec47e51130 100644 --- a/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts @@ -274,7 +274,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -330,7 +330,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -388,7 +388,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -450,7 +450,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -512,7 +512,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -575,7 +575,7 @@ export class GCPIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts b/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts index 30c02aeed8a8..a3f8c5072d48 100644 --- a/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts +++ b/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts @@ -124,7 +124,7 @@ export class IPAllowlistApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -187,7 +187,7 @@ export class IPAllowlistApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts b/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts index 41ba044798dc..a491e1317ba3 100644 --- a/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts @@ -314,7 +314,7 @@ export class IncidentServicesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -372,7 +372,7 @@ export class IncidentServicesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -436,7 +436,7 @@ export class IncidentServicesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -500,7 +500,7 @@ export class IncidentServicesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -564,7 +564,7 @@ export class IncidentServicesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts b/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts index e2990f24e029..6d3fefb19584 100644 --- a/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts @@ -314,7 +314,7 @@ export class IncidentTeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -372,7 +372,7 @@ export class IncidentTeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -436,7 +436,7 @@ export class IncidentTeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -500,7 +500,7 @@ export class IncidentTeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -564,7 +564,7 @@ export class IncidentTeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/IncidentsApi.ts b/packages/datadog-api-client-v2/apis/IncidentsApi.ts index dfb3cb07f2be..1c85c0717f31 100644 --- a/packages/datadog-api-client-v2/apis/IncidentsApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentsApi.ts @@ -1074,7 +1074,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1139,7 +1139,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1204,7 +1204,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1262,7 +1262,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1322,7 +1322,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1380,7 +1380,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1444,7 +1444,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1509,7 +1509,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1574,7 +1574,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1638,7 +1638,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1703,7 +1703,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1768,7 +1768,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1832,7 +1832,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1896,7 +1896,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1960,7 +1960,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2025,7 +2025,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2091,7 +2091,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2156,7 +2156,7 @@ export class IncidentsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/KeyManagementApi.ts b/packages/datadog-api-client-v2/apis/KeyManagementApi.ts index 52889725ec4b..a45236afa577 100644 --- a/packages/datadog-api-client-v2/apis/KeyManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/KeyManagementApi.ts @@ -771,7 +771,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -833,7 +833,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -889,7 +889,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -945,7 +945,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1003,7 +1003,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1063,7 +1063,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1126,7 +1126,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1188,7 +1188,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1250,7 +1250,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1313,7 +1313,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1376,7 +1376,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1439,7 +1439,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1502,7 +1502,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1565,7 +1565,7 @@ export class KeyManagementApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/LogsApi.ts b/packages/datadog-api-client-v2/apis/LogsApi.ts index 292112dbbb5e..02b3ee90a8fd 100644 --- a/packages/datadog-api-client-v2/apis/LogsApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsApi.ts @@ -285,7 +285,7 @@ export class LogsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -345,7 +345,7 @@ export class LogsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -407,7 +407,7 @@ export class LogsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -472,7 +472,7 @@ export class LogsApiResponseProcessor { "HTTPLogErrors" ) as HTTPLogErrors; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts b/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts index 04317f5b9467..c6e7ac9f2f63 100644 --- a/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts @@ -444,7 +444,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -506,7 +506,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -563,7 +563,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -624,7 +624,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -682,7 +682,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -745,7 +745,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -803,7 +803,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -860,7 +860,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -923,7 +923,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -986,7 +986,7 @@ export class LogsArchivesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts b/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts index 4dde0a4aa0ee..1d0e6b6cd172 100644 --- a/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts @@ -245,7 +245,7 @@ export class LogsMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -301,7 +301,7 @@ export class LogsMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -363,7 +363,7 @@ export class LogsMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -421,7 +421,7 @@ export class LogsMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -484,7 +484,7 @@ export class LogsMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/MetricsApi.ts b/packages/datadog-api-client-v2/apis/MetricsApi.ts index 8d7d82b01703..f30c68aac28b 100644 --- a/packages/datadog-api-client-v2/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/MetricsApi.ts @@ -738,7 +738,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -801,7 +801,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -864,7 +864,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -922,7 +922,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -985,7 +985,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1049,7 +1049,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1112,7 +1112,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1175,7 +1175,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1239,7 +1239,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1302,7 +1302,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1365,7 +1365,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1428,7 +1428,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1492,7 +1492,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1555,7 +1555,7 @@ export class MetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/MonitorsApi.ts b/packages/datadog-api-client-v2/apis/MonitorsApi.ts index 4fe426f45955..15c159adfdcb 100644 --- a/packages/datadog-api-client-v2/apis/MonitorsApi.ts +++ b/packages/datadog-api-client-v2/apis/MonitorsApi.ts @@ -244,7 +244,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -303,7 +303,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -365,7 +365,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -424,7 +424,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -488,7 +488,7 @@ export class MonitorsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts b/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts index be05d1a86841..0495ab4916bd 100644 --- a/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts @@ -246,7 +246,7 @@ export class OktaIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -303,7 +303,7 @@ export class OktaIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -366,7 +366,7 @@ export class OktaIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -429,7 +429,7 @@ export class OktaIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -492,7 +492,7 @@ export class OktaIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts b/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts index c8563a8cc0ef..4f0c834eacb6 100644 --- a/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts @@ -246,7 +246,7 @@ export class OpsgenieIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -303,7 +303,7 @@ export class OpsgenieIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -367,7 +367,7 @@ export class OpsgenieIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -425,7 +425,7 @@ export class OpsgenieIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -489,7 +489,7 @@ export class OpsgenieIntegrationApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/OrganizationsApi.ts b/packages/datadog-api-client-v2/apis/OrganizationsApi.ts index 56cecc19965f..bdf5611d1c86 100644 --- a/packages/datadog-api-client-v2/apis/OrganizationsApi.ts +++ b/packages/datadog-api-client-v2/apis/OrganizationsApi.ts @@ -84,7 +84,7 @@ export class OrganizationsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/PowerpackApi.ts b/packages/datadog-api-client-v2/apis/PowerpackApi.ts index 1f6c5c24c34b..974b4de3961e 100644 --- a/packages/datadog-api-client-v2/apis/PowerpackApi.ts +++ b/packages/datadog-api-client-v2/apis/PowerpackApi.ts @@ -259,7 +259,7 @@ export class PowerpackApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -311,7 +311,7 @@ export class PowerpackApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -369,7 +369,7 @@ export class PowerpackApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -427,7 +427,7 @@ export class PowerpackApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -489,7 +489,7 @@ export class PowerpackApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ProcessesApi.ts b/packages/datadog-api-client-v2/apis/ProcessesApi.ts index 3dbdd1bed2fe..232a31b91531 100644 --- a/packages/datadog-api-client-v2/apis/ProcessesApi.ts +++ b/packages/datadog-api-client-v2/apis/ProcessesApi.ts @@ -125,7 +125,7 @@ export class ProcessesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/RUMApi.ts b/packages/datadog-api-client-v2/apis/RUMApi.ts index 296629b0c8ed..49747f0988a6 100644 --- a/packages/datadog-api-client-v2/apis/RUMApi.ts +++ b/packages/datadog-api-client-v2/apis/RUMApi.ts @@ -402,7 +402,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -460,7 +460,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -512,7 +512,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -570,7 +570,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -628,7 +628,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -690,7 +690,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -752,7 +752,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -815,7 +815,7 @@ export class RUMApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts b/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts index 98d4dc613947..85a965acaba5 100644 --- a/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts +++ b/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts @@ -171,7 +171,7 @@ export class RestrictionPoliciesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -233,7 +233,7 @@ export class RestrictionPoliciesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -295,7 +295,7 @@ export class RestrictionPoliciesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/RolesApi.ts b/packages/datadog-api-client-v2/apis/RolesApi.ts index 82cd00e9c58b..1da9b1109af2 100644 --- a/packages/datadog-api-client-v2/apis/RolesApi.ts +++ b/packages/datadog-api-client-v2/apis/RolesApi.ts @@ -671,7 +671,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -734,7 +734,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -796,7 +796,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -858,7 +858,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -914,7 +914,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -974,7 +974,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1036,7 +1036,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1098,7 +1098,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1154,7 +1154,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1216,7 +1216,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1279,7 +1279,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1342,7 +1342,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1406,7 +1406,7 @@ export class RolesApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts index b6a03fad048c..4f0d256e6c2d 100644 --- a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts +++ b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts @@ -1228,7 +1228,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1290,7 +1290,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1354,7 +1354,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1411,7 +1411,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1469,7 +1469,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1527,7 +1527,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1591,7 +1591,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1656,7 +1656,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1721,7 +1721,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1785,7 +1785,7 @@ export class SecurityMonitoringApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1850,7 +1850,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1908,7 +1908,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1967,7 +1967,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2031,7 +2031,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2095,7 +2095,7 @@ export class SecurityMonitoringApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2156,7 +2156,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2215,7 +2215,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2279,7 +2279,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2339,7 +2339,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2404,7 +2404,7 @@ export class SecurityMonitoringApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2470,7 +2470,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2535,7 +2535,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2599,7 +2599,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -2664,7 +2664,7 @@ export class SecurityMonitoringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts b/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts index 56a9e0b351f5..cedf02bf024a 100644 --- a/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts +++ b/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts @@ -474,7 +474,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -538,7 +538,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -603,7 +603,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -668,7 +668,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -732,7 +732,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -796,7 +796,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -860,7 +860,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -925,7 +925,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -990,7 +990,7 @@ export class SensitiveDataScannerApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts b/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts index f72730c547d7..afa7cb285e2c 100644 --- a/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts @@ -393,7 +393,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -455,7 +455,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -513,7 +513,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -575,7 +575,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -638,7 +638,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -701,7 +701,7 @@ export class ServiceAccountsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts index 08c932564319..13b77dae4a51 100644 --- a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts @@ -240,7 +240,7 @@ export class ServiceDefinitionApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -300,7 +300,7 @@ export class ServiceDefinitionApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -364,7 +364,7 @@ export class ServiceDefinitionApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -422,7 +422,7 @@ export class ServiceDefinitionApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts b/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts index 9886a199d712..7e5da6bc49b9 100644 --- a/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts @@ -404,7 +404,7 @@ export class ServiceScorecardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -466,7 +466,7 @@ export class ServiceScorecardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -523,7 +523,7 @@ export class ServiceScorecardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -585,7 +585,7 @@ export class ServiceScorecardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -647,7 +647,7 @@ export class ServiceScorecardsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/SpansApi.ts b/packages/datadog-api-client-v2/apis/SpansApi.ts index 86e383a79f98..55c0ce0494ae 100644 --- a/packages/datadog-api-client-v2/apis/SpansApi.ts +++ b/packages/datadog-api-client-v2/apis/SpansApi.ts @@ -217,7 +217,7 @@ export class SpansApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -280,7 +280,7 @@ export class SpansApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -346,7 +346,7 @@ export class SpansApiResponseProcessor { "JSONAPIErrorResponse" ) as JSONAPIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts b/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts index 5136fc843da2..4b6637d4a3c1 100644 --- a/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts @@ -243,7 +243,7 @@ export class SpansMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -299,7 +299,7 @@ export class SpansMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -361,7 +361,7 @@ export class SpansMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -419,7 +419,7 @@ export class SpansMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -482,7 +482,7 @@ export class SpansMetricsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/SyntheticsApi.ts b/packages/datadog-api-client-v2/apis/SyntheticsApi.ts index cf1cd56411ac..5beeeebbf73a 100644 --- a/packages/datadog-api-client-v2/apis/SyntheticsApi.ts +++ b/packages/datadog-api-client-v2/apis/SyntheticsApi.ts @@ -122,7 +122,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -180,7 +180,7 @@ export class SyntheticsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/TeamsApi.ts b/packages/datadog-api-client-v2/apis/TeamsApi.ts index 4416037ffebd..5c53ebf5287c 100644 --- a/packages/datadog-api-client-v2/apis/TeamsApi.ts +++ b/packages/datadog-api-client-v2/apis/TeamsApi.ts @@ -869,7 +869,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -932,7 +932,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -995,7 +995,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1051,7 +1051,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1107,7 +1107,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1163,7 +1163,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1223,7 +1223,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1285,7 +1285,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1347,7 +1347,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1409,7 +1409,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1471,7 +1471,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1529,7 +1529,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1585,7 +1585,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1647,7 +1647,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1709,7 +1709,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1771,7 +1771,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1833,7 +1833,7 @@ export class TeamsApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts index d4f07a984c77..92e9fc3a3b37 100644 --- a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts @@ -663,7 +663,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -726,7 +726,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -788,7 +788,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -850,7 +850,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -912,7 +912,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -974,7 +974,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1036,7 +1036,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1099,7 +1099,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1163,7 +1163,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -1227,7 +1227,7 @@ export class UsageMeteringApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText diff --git a/packages/datadog-api-client-v2/apis/UsersApi.ts b/packages/datadog-api-client-v2/apis/UsersApi.ts index 61aba2287c7c..2dc98d4c153a 100644 --- a/packages/datadog-api-client-v2/apis/UsersApi.ts +++ b/packages/datadog-api-client-v2/apis/UsersApi.ts @@ -440,7 +440,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -496,7 +496,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -558,7 +558,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -618,7 +618,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -680,7 +680,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -742,7 +742,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -802,7 +802,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -864,7 +864,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText @@ -926,7 +926,7 @@ export class UsersApiResponseProcessor { "APIErrorResponse" ) as APIErrorResponse; } catch (error) { - logger.info(`Got error deserializing error: ${error}`); + logger.debug(`Got error deserializing error: ${error}`); throw new ApiException( response.httpStatusCode, bodyText From b72526c7a91358b9683b43d607d0586521a60da5 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 13:00:02 +0000 Subject: [PATCH 04/41] Case Management Public API documentation (#1499) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 1050 ++++++++++++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 157 ++ .../frozen.json | 1 + .../recording.har | 210 +++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 157 ++ .../frozen.json | 1 + .../recording.har | 57 + .../frozen.json | 1 + .../recording.har | 110 ++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 120 ++ .../frozen.json | 1 + .../recording.har | 67 + .../frozen.json | 1 + .../recording.har | 120 ++ examples/v2/cases-projects/CreateProject.ts | 29 + examples/v2/cases-projects/DeleteProject.ts | 21 + examples/v2/cases-projects/GetProject.ts | 21 + examples/v2/cases-projects/GetProjects.ts | 17 + examples/v2/cases/ArchiveCase.ts | 29 + examples/v2/cases/AssignCase.ts | 35 + examples/v2/cases/CreateCase.ts | 47 + examples/v2/cases/GetCase.ts | 24 + examples/v2/cases/SearchCases.ts | 17 + examples/v2/cases/SearchCases_3433960044.ts | 18 + examples/v2/cases/UnarchiveCase.ts | 29 + examples/v2/cases/UnassignCase.ts | 29 + examples/v2/cases/UpdatePriority.ts | 32 + examples/v2/cases/UpdateStatus.ts | 32 + features/support/scenarios_model_mapping.ts | 127 ++ features/v2/cases.feature | 241 +++ features/v2/cases_projects.feature | 82 + features/v2/given.json | 13 + features/v2/undo.json | 85 + .../datadog-api-client-v2/apis/CasesApi.ts | 1422 +++++++++++++++++ .../apis/CasesProjectsApi.ts | 525 ++++++ packages/datadog-api-client-v2/index.ts | 68 + packages/datadog-api-client-v2/models/Case.ts | 71 + .../models/Case3rdPartyTicketStatus.ts | 20 + .../models/CaseAssign.ts | 53 + .../models/CaseAssignAttributes.ts | 42 + .../models/CaseAssignRequest.ts | 43 + .../models/CaseAttributes.ts | 138 ++ .../models/CaseCreate.ts | 62 + .../models/CaseCreateAttributes.ts | 69 + .../models/CaseCreateRelationships.ts | 52 + .../models/CaseCreateRequest.ts | 43 + .../datadog-api-client-v2/models/CaseEmpty.ts | 43 + .../models/CaseEmptyRequest.ts | 43 + .../models/CasePriority.ts | 26 + .../models/CaseRelationships.ts | 67 + .../models/CaseResourceType.ts | 14 + .../models/CaseResponse.ts | 42 + .../models/CaseSortableField.ts | 20 + .../models/CaseStatus.ts | 20 + .../datadog-api-client-v2/models/CaseType.ts | 14 + .../models/CaseUpdatePriority.ts | 53 + .../models/CaseUpdatePriorityAttributes.ts | 43 + .../models/CaseUpdatePriorityRequest.ts | 43 + .../models/CaseUpdateStatus.ts | 53 + .../models/CaseUpdateStatusAttributes.ts | 43 + .../models/CaseUpdateStatusRequest.ts | 43 + .../models/CasesResponse.ts | 51 + .../models/CasesResponseMeta.ts | 42 + .../models/CasesResponseMetaPagination.ts | 60 + .../datadog-api-client-v2/models/JiraIssue.ts | 51 + .../models/JiraIssueResult.ts | 65 + .../models/NullableUserRelationship.ts | 43 + .../models/NullableUserRelationshipData.ts | 52 + .../models/ObjectSerializer.ts | 88 + .../datadog-api-client-v2/models/Project.ts | 71 + .../models/ProjectAttributes.ts | 49 + .../models/ProjectCreate.ts | 53 + .../models/ProjectCreateAttributes.ts | 51 + .../models/ProjectCreateRequest.ts | 43 + .../models/ProjectRelationship.ts | 43 + .../models/ProjectRelationshipData.ts | 52 + .../models/ProjectRelationships.ts | 51 + .../models/ProjectResourceType.ts | 14 + .../models/ProjectResponse.ts | 42 + .../models/ProjectsResponse.ts | 42 + .../models/ServiceNowTicket.ts | 51 + .../models/ServiceNowTicketResult.ts | 41 + .../models/UserRelationshipData.ts | 52 + .../models/UserResourceType.ts | 14 + .../models/UsersRelationship.ts | 43 + 117 files changed, 8756 insertions(+), 4 deletions(-) create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json create mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har create mode 100644 examples/v2/cases-projects/CreateProject.ts create mode 100644 examples/v2/cases-projects/DeleteProject.ts create mode 100644 examples/v2/cases-projects/GetProject.ts create mode 100644 examples/v2/cases-projects/GetProjects.ts create mode 100644 examples/v2/cases/ArchiveCase.ts create mode 100644 examples/v2/cases/AssignCase.ts create mode 100644 examples/v2/cases/CreateCase.ts create mode 100644 examples/v2/cases/GetCase.ts create mode 100644 examples/v2/cases/SearchCases.ts create mode 100644 examples/v2/cases/SearchCases_3433960044.ts create mode 100644 examples/v2/cases/UnarchiveCase.ts create mode 100644 examples/v2/cases/UnassignCase.ts create mode 100644 examples/v2/cases/UpdatePriority.ts create mode 100644 examples/v2/cases/UpdateStatus.ts create mode 100644 features/v2/cases.feature create mode 100644 features/v2/cases_projects.feature create mode 100644 packages/datadog-api-client-v2/apis/CasesApi.ts create mode 100644 packages/datadog-api-client-v2/apis/CasesProjectsApi.ts create mode 100644 packages/datadog-api-client-v2/models/Case.ts create mode 100644 packages/datadog-api-client-v2/models/Case3rdPartyTicketStatus.ts create mode 100644 packages/datadog-api-client-v2/models/CaseAssign.ts create mode 100644 packages/datadog-api-client-v2/models/CaseAssignAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CaseAssignRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CaseAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CaseCreate.ts create mode 100644 packages/datadog-api-client-v2/models/CaseCreateAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CaseCreateRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/CaseCreateRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CaseEmpty.ts create mode 100644 packages/datadog-api-client-v2/models/CaseEmptyRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CasePriority.ts create mode 100644 packages/datadog-api-client-v2/models/CaseRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/CaseResourceType.ts create mode 100644 packages/datadog-api-client-v2/models/CaseResponse.ts create mode 100644 packages/datadog-api-client-v2/models/CaseSortableField.ts create mode 100644 packages/datadog-api-client-v2/models/CaseStatus.ts create mode 100644 packages/datadog-api-client-v2/models/CaseType.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdatePriority.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdateStatus.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CasesResponse.ts create mode 100644 packages/datadog-api-client-v2/models/CasesResponseMeta.ts create mode 100644 packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts create mode 100644 packages/datadog-api-client-v2/models/JiraIssue.ts create mode 100644 packages/datadog-api-client-v2/models/JiraIssueResult.ts create mode 100644 packages/datadog-api-client-v2/models/NullableUserRelationship.ts create mode 100644 packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts create mode 100644 packages/datadog-api-client-v2/models/Project.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectCreate.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectCreateRequest.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectRelationship.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectRelationshipData.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectResourceType.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectResponse.ts create mode 100644 packages/datadog-api-client-v2/models/ProjectsResponse.ts create mode 100644 packages/datadog-api-client-v2/models/ServiceNowTicket.ts create mode 100644 packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts create mode 100644 packages/datadog-api-client-v2/models/UserRelationshipData.ts create mode 100644 packages/datadog-api-client-v2/models/UserResourceType.ts create mode 100644 packages/datadog-api-client-v2/models/UsersRelationship.ts diff --git a/.apigentools-info b/.apigentools-info index a52a4a6d8f84..c9ca3465d94a 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-06 15:44:58.457905", - "spec_repo_commit": "46672359" + "regenerated": "2024-02-12 17:39:16.275525", + "spec_repo_commit": "3cda457d" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-06 15:44:58.472215", - "spec_repo_commit": "46672359" + "regenerated": "2024-02-12 17:39:16.290807", + "spec_repo_commit": "3cda457d" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 25c4b451339e..4e26326131d9 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -151,6 +151,21 @@ components: required: true schema: type: string + CaseIDPathParameter: + description: Case's UUID or key + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 + in: path + name: case_id + required: true + schema: + type: string + CaseSortableFieldParameter: + description: Specify which field to sort + in: query + name: sort[field] + required: false + schema: + $ref: '#/components/schemas/CaseSortableField' CloudAccountID: description: Cloud Account id. in: path @@ -381,6 +396,14 @@ components: example: 10 format: int64 type: integer + ProjectIDPathParameter: + description: Project UUID + example: e555e290-ed65-49bd-ae18-8acbfcf18db7 + in: path + name: project_id + required: true + schema: + type: string ResourceID: description: 'Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `security-rule`, `slo`.' @@ -3332,6 +3355,345 @@ components: from the other indexes type: string type: object + Case: + description: A case + properties: + attributes: + $ref: '#/components/schemas/CaseAttributes' + id: + description: Case's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + relationships: + $ref: '#/components/schemas/CaseRelationships' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - id + - type + - attributes + type: object + Case3rdPartyTicketStatus: + default: IN_PROGRESS + description: Case status + enum: + - IN_PROGRESS + - COMPLETED + - FAILED + example: COMPLETED + readOnly: true + type: string + x-enum-varnames: + - IN_PROGRESS + - COMPLETED + - FAILED + CaseAssign: + description: Case assign + properties: + attributes: + $ref: '#/components/schemas/CaseAssignAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseAssignAttributes: + description: Case assign attributes + properties: + assignee_id: + description: Assignee's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 + type: string + required: + - assignee_id + type: object + CaseAssignRequest: + description: Case assign request + properties: + data: + $ref: '#/components/schemas/CaseAssign' + required: + - data + type: object + CaseAttributes: + description: Case attributes + properties: + archived_at: + description: Timestamp of when the case was archived + format: date-time + nullable: true + readOnly: true + type: string + closed_at: + description: Timestamp of when the case was closed + format: date-time + nullable: true + readOnly: true + type: string + created_at: + description: Timestamp of when the case was created + format: date-time + readOnly: true + type: string + description: + description: Description + type: string + jira_issue: + $ref: '#/components/schemas/JiraIssue' + key: + description: Key + example: CASEM-4523 + type: string + modified_at: + description: Timestamp of when the case was last modified + format: date-time + nullable: true + readOnly: true + type: string + priority: + $ref: '#/components/schemas/CasePriority' + service_now_ticket: + $ref: '#/components/schemas/ServiceNowTicket' + status: + $ref: '#/components/schemas/CaseStatus' + title: + description: Title + example: Memory leak investigation on API + type: string + type: + $ref: '#/components/schemas/CaseType' + type: object + CaseCreate: + description: Case creation data + properties: + attributes: + $ref: '#/components/schemas/CaseCreateAttributes' + relationships: + $ref: '#/components/schemas/CaseCreateRelationships' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseCreateAttributes: + description: Case creation attributes + properties: + description: + description: Description + type: string + priority: + $ref: '#/components/schemas/CasePriority' + title: + description: Title + example: Security breach investigation + type: string + type: + $ref: '#/components/schemas/CaseType' + required: + - title + - type + type: object + CaseCreateRelationships: + description: Relationships formed with the case on creation + properties: + assignee: + $ref: '#/components/schemas/NullableUserRelationship' + project: + $ref: '#/components/schemas/ProjectRelationship' + required: + - project + type: object + CaseCreateRequest: + description: Case create request + properties: + data: + $ref: '#/components/schemas/CaseCreate' + required: + - data + type: object + CaseEmpty: + description: Case empty request data + properties: + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - type + type: object + CaseEmptyRequest: + description: Case empty request + properties: + data: + $ref: '#/components/schemas/CaseEmpty' + required: + - data + type: object + CasePriority: + default: NOT_DEFINED + description: Case priority + enum: + - NOT_DEFINED + - P1 + - P2 + - P3 + - P4 + - P5 + example: NOT_DEFINED + type: string + x-enum-varnames: + - NOT_DEFINED + - P1 + - P2 + - P3 + - P4 + - P5 + CaseRelationships: + description: Resources related to a case + properties: + assignee: + $ref: '#/components/schemas/NullableUserRelationship' + created_by: + $ref: '#/components/schemas/NullableUserRelationship' + modified_by: + $ref: '#/components/schemas/NullableUserRelationship' + project: + $ref: '#/components/schemas/ProjectRelationship' + type: object + CaseResourceType: + default: case + description: Case resource type + enum: + - case + example: case + type: string + x-enum-varnames: + - CASE + CaseResponse: + description: Case response + properties: + data: + $ref: '#/components/schemas/Case' + type: object + CaseSortableField: + description: Case field that can be sorted on + enum: + - created_at + - priority + - status + example: created_at + type: string + x-enum-varnames: + - CREATED_AT + - PRIORITY + - STATUS + CaseStatus: + description: Case status + enum: + - OPEN + - IN_PROGRESS + - CLOSED + example: OPEN + type: string + x-enum-varnames: + - OPEN + - IN_PROGRESS + - CLOSED + CaseType: + description: Case type + enum: + - STANDARD + example: STANDARD + type: string + x-enum-varnames: + - STANDARD + CaseUpdatePriority: + description: Case priority status + properties: + attributes: + $ref: '#/components/schemas/CaseUpdatePriorityAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdatePriorityAttributes: + description: Case update priority attributes + properties: + priority: + $ref: '#/components/schemas/CasePriority' + required: + - priority + type: object + CaseUpdatePriorityRequest: + description: Case update priority request + properties: + data: + $ref: '#/components/schemas/CaseUpdatePriority' + required: + - data + type: object + CaseUpdateStatus: + description: Case update status + properties: + attributes: + $ref: '#/components/schemas/CaseUpdateStatusAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateStatusAttributes: + description: Case update status attributes + properties: + status: + $ref: '#/components/schemas/CaseStatus' + required: + - status + type: object + CaseUpdateStatusRequest: + description: Case update status request + properties: + data: + $ref: '#/components/schemas/CaseUpdateStatus' + required: + - data + type: object + CasesResponse: + description: Response with cases + properties: + data: + description: Cases response data + items: + $ref: '#/components/schemas/Case' + type: array + meta: + $ref: '#/components/schemas/CasesResponseMeta' + type: object + CasesResponseMeta: + description: Cases response metadata + properties: + page: + $ref: '#/components/schemas/CasesResponseMetaPagination' + type: object + CasesResponseMetaPagination: + description: Pagination metadata + properties: + current: + description: Current page number + format: int64 + type: integer + size: + description: Number of cases in current page + format: int64 + type: integer + total: + description: Total number of pages + format: int64 + type: integer + type: object ChargebackBreakdown: description: Charges breakdown. properties: @@ -9344,6 +9706,32 @@ components: - project_key - account type: object + JiraIssue: + description: Jira issue attached to case + nullable: true + properties: + result: + $ref: '#/components/schemas/JiraIssueResult' + status: + $ref: '#/components/schemas/Case3rdPartyTicketStatus' + readOnly: true + type: object + JiraIssueResult: + description: Jira issue information + properties: + issue_id: + description: Jira issue ID + type: string + issue_key: + description: Jira issue key + type: string + issue_url: + description: Jira issue URL + type: string + project_key: + description: Jira project key + type: string + type: object ListApplicationKeysResponse: description: Response for a list of application keys. properties: @@ -11943,6 +12331,29 @@ components: - id - type type: object + NullableUserRelationship: + description: Relationship to user. + nullable: true + properties: + data: + $ref: '#/components/schemas/NullableUserRelationshipData' + required: + - data + type: object + NullableUserRelationshipData: + description: Relationship to user object. + nullable: true + properties: + id: + description: A unique identifier that represents the user. + example: 00000000-0000-0000-0000-000000000000 + type: string + type: + $ref: '#/components/schemas/UserResourceType' + required: + - id + - type + type: object OktaAccount: description: Schema for an Okta account. properties: @@ -13075,6 +13486,113 @@ components: type: string x-enum-varnames: - PROCESS + Project: + description: A Project + properties: + attributes: + $ref: '#/components/schemas/ProjectAttributes' + id: + description: The Project's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + relationships: + $ref: '#/components/schemas/ProjectRelationships' + type: + $ref: '#/components/schemas/ProjectResourceType' + required: + - id + - type + - attributes + type: object + ProjectAttributes: + description: Project attributes + properties: + key: + description: The project's key + example: CASEM + type: string + name: + description: Project's name + type: string + type: object + ProjectCreate: + description: Project create + properties: + attributes: + $ref: '#/components/schemas/ProjectCreateAttributes' + type: + $ref: '#/components/schemas/ProjectResourceType' + required: + - attributes + - type + type: object + ProjectCreateAttributes: + description: Project creation attributes + properties: + key: + description: Project's key. Cannot be "CASE" + example: SEC + type: string + name: + description: name + example: Security Investigation + type: string + required: + - name + - key + type: object + ProjectCreateRequest: + description: Project create request + properties: + data: + $ref: '#/components/schemas/ProjectCreate' + required: + - data + type: object + ProjectRelationship: + description: Relationship to project + properties: + data: + $ref: '#/components/schemas/ProjectRelationshipData' + required: + - data + type: object + ProjectRelationshipData: + description: Relationship to project object + properties: + id: + description: A unique identifier that represents the project + example: e555e290-ed65-49bd-ae18-8acbfcf18db7 + type: string + type: + $ref: '#/components/schemas/ProjectResourceType' + required: + - id + - type + type: object + ProjectRelationships: + description: Project relationships + properties: + member_team: + $ref: '#/components/schemas/RelationshipToTeamLinks' + member_user: + $ref: '#/components/schemas/UsersRelationship' + type: object + ProjectResourceType: + default: project + description: Project resource type + enum: + - project + example: project + type: string + x-enum-varnames: + - PROJECT + ProjectResponse: + description: Project response + properties: + data: + $ref: '#/components/schemas/Project' + type: object ProjectedCost: description: Projected Cost data. properties: @@ -13131,6 +13649,15 @@ components: type: string x-enum-varnames: - PROJECt_COST + ProjectsResponse: + description: Response with projects + properties: + data: + description: Projects response data + items: + $ref: '#/components/schemas/Project' + type: array + type: object QueryFormula: description: A formula for calculation based on one or more queries. properties: @@ -18614,6 +19141,23 @@ components: $ref: '#/components/schemas/ServiceDefinitionData' type: array type: object + ServiceNowTicket: + description: ServiceNow ticket attached to case + nullable: true + properties: + result: + $ref: '#/components/schemas/ServiceNowTicketResult' + status: + $ref: '#/components/schemas/Case3rdPartyTicketStatus' + readOnly: true + type: object + ServiceNowTicketResult: + description: ServiceNow ticket information + properties: + sys_target_link: + description: Link to the Incident created on ServiceNow + type: string + type: object SlackIntegrationMetadata: description: Incident integration metadata for the Slack integration. properties: @@ -20615,12 +21159,34 @@ components: type: string x-enum-varnames: - USER_INVITATIONS + UserRelationshipData: + description: Relationship to user object. + properties: + id: + description: A unique identifier that represents the user. + example: 00000000-0000-0000-0000-000000000000 + type: string + type: + $ref: '#/components/schemas/UserResourceType' + required: + - id + - type + type: object UserRelationships: description: Relationships of the user object. properties: roles: $ref: '#/components/schemas/RelationshipToRoles' type: object + UserResourceType: + default: user + description: User resource type. + enum: + - user + example: user + type: string + x-enum-varnames: + - USER UserResponse: description: Response containing information about a single user. properties: @@ -20857,6 +21423,18 @@ components: required: - data type: object + UsersRelationship: + description: Relationship to users. + properties: + data: + description: Relationships to user objects. + example: [] + items: + $ref: '#/components/schemas/UserRelationshipData' + type: array + required: + - data + type: object UsersResponse: description: Response containing information about multiple users. properties: @@ -20929,6 +21507,8 @@ components: apm_service_catalog_read: View service catalog and service definitions. apm_service_catalog_write: Add, modify, and delete service catalog definitions when those definitions are maintained by Datadog. + cases_read: Read all cases data. + cases_write: Create, update and delete cases data. ci_visibility_pipelines_write: Create CI Visibility pipeline spans using the API. ci_visibility_read: View CI Visibility. @@ -22117,6 +22697,472 @@ paths: - AuthN Mappings x-codegen-request-body-name: body x-permission: OR(USER_ACCESS_MANAGE) + /api/v2/cases: + get: + description: Search cases. + operationId: SearchCases + parameters: + - $ref: '#/components/parameters/PageSize' + - $ref: '#/components/parameters/PageOffset' + - $ref: '#/components/parameters/CaseSortableFieldParameter' + - description: Search query + in: query + name: filter + required: false + schema: + example: status:open (team:case-management OR team:event-management) + type: string + - description: Specify if order is ascending or not + in: query + name: sort[asc] + required: false + schema: + default: false + type: boolean + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CasesResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_read + summary: Search cases + tags: + - Cases + x-pagination: + limitParam: page[size] + pageOffsetParam: page[offset] + resultsPath: data + post: + description: Create a Case + operationId: CreateCase + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseCreateRequest' + description: Case payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Create a case + tags: + - Cases + /api/v2/cases/projects: + get: + description: Get all projects. + operationId: GetProjects + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectsResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_read + summary: Get all projects + tags: + - Cases Projects + post: + description: Create a project. + operationId: CreateProject + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectCreateRequest' + description: Project payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Create a project + tags: + - Cases Projects + /api/v2/cases/projects/{project_id}: + delete: + description: Remove a project using the project's `id`. + operationId: DeleteProject + parameters: + - $ref: '#/components/parameters/ProjectIDPathParameter' + responses: + '204': + description: No Content + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: API error response + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Remove a project + tags: + - Cases Projects + get: + description: Get the details of a project by `project_id`. + operationId: GetProject + parameters: + - $ref: '#/components/parameters/ProjectIDPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_read + summary: Get the details of a project + tags: + - Cases Projects + /api/v2/cases/{case_id}: + get: + description: Get the details of case by `case_id` + operationId: GetCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_read + summary: Get the details of a case + tags: + - Cases + /api/v2/cases/{case_id}/archive: + post: + description: Archive case + operationId: ArchiveCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseEmptyRequest' + description: Archive case payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Archive case + tags: + - Cases + /api/v2/cases/{case_id}/assign: + post: + description: Assign case to a user + operationId: AssignCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseAssignRequest' + description: Assign case payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Assign case + tags: + - Cases + /api/v2/cases/{case_id}/priority: + post: + description: Update case priority + operationId: UpdatePriority + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdatePriorityRequest' + description: Case priority update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case priority + tags: + - Cases + /api/v2/cases/{case_id}/status: + post: + description: Update case status + operationId: UpdateStatus + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateStatusRequest' + description: Case status update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case status + tags: + - Cases + /api/v2/cases/{case_id}/unarchive: + post: + description: Unarchive case + operationId: UnarchiveCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseEmptyRequest' + description: Unarchive case payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Unarchive case + tags: + - Cases + /api/v2/cases/{case_id}/unassign: + post: + description: Unassign case + operationId: UnassignCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseEmptyRequest' + description: Unassign case payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Unassign case + tags: + - Cases /api/v2/ci/pipeline: post: description: 'Send your pipeline event to your Datadog platform over HTTP. For @@ -33463,6 +34509,10 @@ tags: [Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more information. name: CI Visibility Tests +- description: View and manage cases within Datadog + name: Cases +- description: View and manage project within Case Management + name: Cases Projects - description: The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management page](https://docs.datadoghq.com/cloud_cost_management/) for more information. diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json new file mode 100644 index 000000000000..114f29730040 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:35.988Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har b/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har new file mode 100644 index 000000000000..dd8777de5b48 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Archive case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 747, + "content": { + "mimeType": "application/vnd.api+json", + "size": 747, + "text": "{\"data\":{\"id\":\"1f205230-5ea9-444e-a5f9-48f93d6a2cde\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:36.54518451Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"1f205230-5ea9-444e-a5f9-48f93d6a2cde\",\"key\":\"DDFC-2\",\"priority\":\"P4\",\"public_id\":\"62\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:36.261Z", + "time": 325 + }, + { + "_id": "2c0f4f458dc658dffb53fc17524fd2fd", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 27, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"project\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/1f205230-5ea9-444e-a5f9-48f93d6a2cde/archive" + }, + "response": { + "bodySize": 108, + "content": { + "mimeType": "application/vnd.api+json", + "size": 108, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"project\\\" expected one of \\\"case\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T18:00:36.593Z", + "time": 299 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json new file mode 100644 index 000000000000..812be9942e52 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:07.949Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har b/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har new file mode 100644 index 000000000000..2754e0f02874 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Archive case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "aad1f7d5d833b9831b11d9674f694a13", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/archive" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:07.953Z", + "time": 54 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json new file mode 100644 index 000000000000..a3ee05736a82 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:36.901Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har b/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har new file mode 100644 index 000000000000..0c3543f64459 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Archive case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 549, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:37.185776261Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"key\":\"DDFC-3\",\"priority\":\"P4\",\"public_id\":\"63\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:36.904Z", + "time": 318 + }, + { + "_id": "8a5e0b6d99bba8c73455cfaf3bd14fa2", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 594, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/99e6e8cd-f115-4168-8814-30776007f44c/archive" + }, + "response": { + "bodySize": 874, + "content": { + "mimeType": "application/vnd.api+json", + "size": 874, + "text": "{\"data\":{\"id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2024-02-07T18:00:37.47125606Z\",\"attributes\":{},\"created_at\":\"2024-02-07T18:00:37.185776Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"key\":\"DDFC-3\",\"priority\":\"P4\",\"public_id\":\"63\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:37.229Z", + "time": 284 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json new file mode 100644 index 000000000000..8f1c35000d1e --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json @@ -0,0 +1 @@ +"2024-02-12T13:25:55.665Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har b/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har new file mode 100644 index 000000000000..e55a106e62a2 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Assign case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"4039be1a-5f87-4666-b986-a8396c0225c3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-12T13:25:56.280897807Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4039be1a-5f87-4666-b986-a8396c0225c3\",\"key\":\"DDFC-17\",\"priority\":\"P4\",\"public_id\":\"77\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 639, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-12T13:25:56.131Z", + "time": 180 + }, + { + "_id": "14525dd1f9868c8a6c89279b8b2e7c21", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 68, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"invalid-uuid\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/4039be1a-5f87-4666-b986-a8396c0225c3/assign" + }, + "response": { + "bodySize": 166, + "content": { + "mimeType": "application/vnd.api+json", + "size": 166, + "text": "{\"errors\":[{\"code\":\"invalid_command\",\"title\":\"error when validating input command: 'assigneeid' field must be an uuid\",\"meta\":{\"entity\":\"assigneeid\",\"rule\":\"uuid\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-12T13:25:56.320Z", + "time": 60 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json new file mode 100644 index 000000000000..d90879b68cd2 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:08.433Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har b/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har new file mode 100644 index 000000000000..f14cfbfc0918 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Cases/Assign case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "1873797ed953ac5e016a7e24e4d69188", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 140, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1707311348@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users" + }, + "response": { + "bodySize": 681, + "content": { + "mimeType": "application/json", + "size": 681, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"14040f89-c5ba-11ee-87b5-f6892353f87d\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1707311348@datadoghq.com\",\"created_at\":\"2024-02-07T13:09:08.546371+00:00\",\"modified_at\":\"2024-02-07T13:09:08.546371+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1707311348@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/e0a6ed9703a1166a2c07bca15e37d0d6?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 650, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T13:09:08.437Z", + "time": 148 + }, + { + "_id": "9018b92e0bbedcd0dc0b9f6a749f7ce3", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 92, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"14040f89-c5ba-11ee-87b5-f6892353f87d\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/assign" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:08.592Z", + "time": 55 + }, + { + "_id": "a3c3af125456ebfdd3818f81136e3a00", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 524, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users/14040f89-c5ba-11ee-87b5-f6892353f87d" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 464, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-02-07T13:09:08.654Z", + "time": 199 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json new file mode 100644 index 000000000000..7bd7b4621489 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:38.147Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har b/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har new file mode 100644 index 000000000000..864daa9b9717 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har @@ -0,0 +1,210 @@ +{ + "log": { + "_recordingName": "Cases/Assign case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:38.353039559Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"key\":\"DDFC-5\",\"priority\":\"P4\",\"public_id\":\"65\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:38.151Z", + "time": 240 + }, + { + "_id": "cab62f98b410a5fa7744fb417093528b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 133, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1707328838@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users" + }, + "response": { + "bodySize": 667, + "content": { + "mimeType": "application/json", + "size": 667, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"created_at\":\"2024-02-07T18:00:38.645791+00:00\",\"modified_at\":\"2024-02-07T18:00:38.645791+00:00\",\"email\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/dd4005a3eca9e7c6aed30c77d193bc37?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 650, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:38.400Z", + "time": 313 + }, + { + "_id": "7e6da293a2771b77ea441ae9eb6f5a5e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 92, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/a0801fce-a045-4b66-ad78-effcd959fa4f/assign" + }, + "response": { + "bodySize": 1181, + "content": { + "mimeType": "application/vnd.api+json", + "size": 1181, + "text": "{\"data\":{\"id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:38.35304Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"key\":\"DDFC-5\",\"modified_at\":\"2024-02-07T18:00:39.010235Z\",\"priority\":\"P4\",\"public_id\":\"65\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}},{\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"type\":\"user\",\"attributes\":{\"email\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"name\":\"\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 642, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:38.719Z", + "time": 333 + }, + { + "_id": "fe717567adbe91c8b08460c20fa5c5e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 524, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users/cced7029-c5e2-11ee-ac63-c24751e8bab0" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 464, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-02-07T18:00:39.058Z", + "time": 500 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json b/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json new file mode 100644 index 000000000000..01e5a0822878 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:09.415Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har b/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har new file mode 100644 index 000000000000..15a4053ac9b3 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Create a case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c53a0d9163086fd6b142d95814505a59", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 303, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"userx\"}},\"project\":{\"data\":{\"id\":\"e555e290-ed65-49bd-ae18-8acbfcf18db7\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 106, + "content": { + "mimeType": "application/vnd.api+json", + "size": 106, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"userx\\\" expected one of \\\"user\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T13:09:09.418Z", + "time": 50 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json b/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json new file mode 100644 index 000000000000..6538d04de9de --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:39.566Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har b/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har new file mode 100644 index 000000000000..e8e92bd1c1d9 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Cases/Create a case returns \"CREATED\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "36db496207ad731fd8d63ecdf39f6022", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 140, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 549, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1707328839@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users" + }, + "response": { + "bodySize": 681, + "content": { + "mimeType": "application/json", + "size": 681, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"created_at\":\"2024-02-07T18:00:39.876070+00:00\",\"modified_at\":\"2024-02-07T18:00:39.876070+00:00\",\"email\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/e564f62a22caae2dd8e878a8d73c6328?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 650, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:39.569Z", + "time": 380 + }, + { + "_id": "dcf876745c6025c60298fd31cf40a6eb", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 322, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 549, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 3b9b6a6abdcf0b9b\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 1119, + "content": { + "mimeType": "application/vnd.api+json", + "size": 1119, + "text": "{\"data\":{\"id\":\"4045de8b-3808-4bb6-94c9-f55ced4811c7\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:40.197151067Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4045de8b-3808-4bb6-94c9-f55ced4811c7\",\"key\":\"DDFC-6\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"66\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 3b9b6a6abdcf0b9b\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}},{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\",\"attributes\":{\"email\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"name\":\"\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:39.954Z", + "time": 283 + }, + { + "_id": "36b3e4125eb7c7bc95635e1f4e74d719", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 523, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/users/cda929dc-c5e2-11ee-883d-6ad03867f364" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 464, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-02-07T18:00:40.243Z", + "time": 491 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json new file mode 100644 index 000000000000..97764c182ce7 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:09.931Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har new file mode 100644 index 000000000000..65c95a9dc9da --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Cases/Get the details of a case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "9c63e8537a007b429e54bbfd11806251", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 530, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:09.934Z", + "time": 50 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json new file mode 100644 index 000000000000..8450add09f1f --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:40.743Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har new file mode 100644 index 000000000000..ec98a7f7c501 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har @@ -0,0 +1,110 @@ +{ + "log": { + "_recordingName": "Cases/Get the details of a case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 549, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.007812312Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"key\":\"DDFC-7\",\"priority\":\"P4\",\"public_id\":\"67\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:40.765Z", + "time": 285 + }, + { + "_id": "204e0ca357c0d6126f7b5c5f14d218bc", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 529, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749" + }, + "response": { + "bodySize": 745, + "content": { + "mimeType": "application/vnd.api+json", + "size": 745, + "text": "{\"data\":{\"id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.007812Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"key\":\"DDFC-7\",\"priority\":\"P4\",\"public_id\":\"67\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:41.055Z", + "time": 332 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json new file mode 100644 index 000000000000..4387924c5692 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:41.393Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har new file mode 100644 index 000000000000..4b39beefb2fb --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Unarchive case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"91b52d3b-4d67-4b7f-ba4d-da67d8b46798\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.662578539Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"91b52d3b-4d67-4b7f-ba4d-da67d8b46798\",\"key\":\"DDFC-8\",\"priority\":\"P4\",\"public_id\":\"68\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:41.395Z", + "time": 307 + }, + { + "_id": "5b23316a1fcd0359328adfcea4f169b7", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 27, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 599, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"project\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/91b52d3b-4d67-4b7f-ba4d-da67d8b46798/unarchive" + }, + "response": { + "bodySize": 108, + "content": { + "mimeType": "application/vnd.api+json", + "size": 108, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"project\\\" expected one of \\\"case\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T18:00:41.706Z", + "time": 315 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json new file mode 100644 index 000000000000..e262ee600635 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:10.329Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har new file mode 100644 index 000000000000..791f7cbd44db --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Unarchive case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "29a32511d4fa5a96ef86da4143f604aa", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 599, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/unarchive" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:10.332Z", + "time": 40 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json new file mode 100644 index 000000000000..4eba6229ac5a --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:42.027Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har new file mode 100644 index 000000000000..7aa39bff5854 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Unarchive case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.286687881Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"key\":\"DDFC-9\",\"priority\":\"P4\",\"public_id\":\"69\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:42.029Z", + "time": 296 + }, + { + "_id": "b0b5632a23eb2bb37871201d11f2f4ea", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 599, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/020e2ce7-9fe8-4273-81ae-1e5873fba9d3/unarchive" + }, + "response": { + "bodySize": 745, + "content": { + "mimeType": "application/vnd.api+json", + "size": 745, + "text": "{\"data\":{\"id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.286688Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"key\":\"DDFC-9\",\"priority\":\"P4\",\"public_id\":\"69\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:42.331Z", + "time": 301 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json new file mode 100644 index 000000000000..469d1654d116 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:42.637Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har new file mode 100644 index 000000000000..bddc33504871 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Unassign case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"8a6e4254-7429-4398-99c2-ba9363fb3f98\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.908434394Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8a6e4254-7429-4398-99c2-ba9363fb3f98\",\"key\":\"DDFC-10\",\"priority\":\"P4\",\"public_id\":\"70\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:42.639Z", + "time": 308 + }, + { + "_id": "b1fb0b9798b0316c65c7308eace539bb", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 27, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"project\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/8a6e4254-7429-4398-99c2-ba9363fb3f98/unassign" + }, + "response": { + "bodySize": 108, + "content": { + "mimeType": "application/vnd.api+json", + "size": 108, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\",\"detail\":\"got type \\\"project\\\" expected one of \\\"case\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T18:00:42.953Z", + "time": 218 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json new file mode 100644 index 000000000000..eb8b0e531caf --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:10.714Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har new file mode 100644 index 000000000000..75963709ed64 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Unassign case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "b22c2067ba11bbaf0f08e4f705959fc4", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/unassign" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:10.722Z", + "time": 39 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json new file mode 100644 index 000000000000..18e07bb897f0 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:43.176Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har b/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har new file mode 100644 index 000000000000..e4e2d1af7ec8 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Unassign case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:43.427988311Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"key\":\"DDFC-11\",\"priority\":\"P4\",\"public_id\":\"71\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:43.181Z", + "time": 291 + }, + { + "_id": "2f95a0d520ae92d5f3e1ac541bfe4bd0", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 24, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/8c5de575-685c-4ac4-a78a-9774c4f2160b/unassign" + }, + "response": { + "bodySize": 746, + "content": { + "mimeType": "application/vnd.api+json", + "size": 746, + "text": "{\"data\":{\"id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:43.427988Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"key\":\"DDFC-11\",\"priority\":\"P4\",\"public_id\":\"71\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:43.477Z", + "time": 325 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json new file mode 100644 index 000000000000..cbb64dc36355 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:43.807Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har new file mode 100644 index 000000000000..110785ebb7b5 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Update case priority returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 549, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 748, + "content": { + "mimeType": "application/vnd.api+json", + "size": 748, + "text": "{\"data\":{\"id\":\"09077090-4370-4539-b9e5-445173f4fced\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.06773183Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"09077090-4370-4539-b9e5-445173f4fced\",\"key\":\"DDFC-12\",\"priority\":\"P4\",\"public_id\":\"72\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:43.810Z", + "time": 297 + }, + { + "_id": "e2cc2f5678c10d2921fdc3df2edc80aa", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 58, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P1234\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/09077090-4370-4539-b9e5-445173f4fced/priority" + }, + "response": { + "bodySize": 120, + "content": { + "mimeType": "application/vnd.api+json", + "size": 120, + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P3, P4, P5, NOT_DEFINED, P1, P2\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T18:00:44.112Z", + "time": 313 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json new file mode 100644 index 000000000000..2546ec9213ad --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:11.084Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har new file mode 100644 index 000000000000..a436a3d5b161 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Update case priority returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "fdf36d1e6b7ef1f0eaef3e8b96c7a303", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 55, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 599, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/priority" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:11.087Z", + "time": 45 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json new file mode 100644 index 000000000000..774eeb79bdf8 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:44.433Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har new file mode 100644 index 000000000000..dcdeb1b3d849 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Update case priority returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.723781245Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"key\":\"DDFC-13\",\"priority\":\"P4\",\"public_id\":\"73\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:44.435Z", + "time": 331 + }, + { + "_id": "10019189077c6bb258201d3153e262b7", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 55, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 599, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/60fdb1eb-209a-4072-9db3-4d08a9c4180c/priority" + }, + "response": { + "bodySize": 873, + "content": { + "mimeType": "application/vnd.api+json", + "size": 873, + "text": "{\"data\":{\"id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.723781Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"key\":\"DDFC-13\",\"modified_at\":\"2024-02-07T18:00:45.028076Z\",\"priority\":\"P3\",\"public_id\":\"73\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:44.770Z", + "time": 294 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json new file mode 100644 index 000000000000..68ada8be70d2 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:45.069Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har new file mode 100644 index 000000000000..07af7edee510 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Update case status returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"243feddb-69f8-4e22-988a-8ae954b643fa\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.265151303Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"243feddb-69f8-4e22-988a-8ae954b643fa\",\"key\":\"DDFC-14\",\"priority\":\"P4\",\"public_id\":\"74\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:45.071Z", + "time": 235 + }, + { + "_id": "c5f2d9862127f3dd8520055bb7d96b9e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 57, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 594, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"status\":\"OPENED\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/243feddb-69f8-4e22-988a-8ae954b643fa/status" + }, + "response": { + "bodySize": 123, + "content": { + "mimeType": "application/vnd.api+json", + "size": 123, + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of CLOSED, SUNKNOWN, OPEN, IN_PROGRESS\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-02-07T18:00:45.312Z", + "time": 311 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json new file mode 100644 index 000000000000..43be461f6587 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json @@ -0,0 +1 @@ +"2024-02-07T13:09:11.471Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har new file mode 100644 index 000000000000..d3fcf156d862 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cases/Update case status returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "eb9efabf11d1a48eae1379e6ed33a2fc", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 55, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"status\":\"OPEN\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/status" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-02-07T13:09:11.473Z", + "time": 41 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json new file mode 100644 index 000000000000..95b10d1a8419 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json @@ -0,0 +1 @@ +"2024-02-07T18:00:45.628Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har b/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har new file mode 100644 index 000000000000..f921a2fc5062 --- /dev/null +++ b/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Cases/Update case status returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 749, + "content": { + "mimeType": "application/vnd.api+json", + "size": 749, + "text": "{\"data\":{\"id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.905784777Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"key\":\"DDFC-15\",\"priority\":\"P4\",\"public_id\":\"75\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 640, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-02-07T18:00:45.630Z", + "time": 312 + }, + { + "_id": "2fa2347352a0ad7e0155a0f8fd387cf5", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 62, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"status\":\"IN_PROGRESS\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/ceae478d-b504-4cb7-bad2-e8f8e5a0a77b/status" + }, + "response": { + "bodySize": 879, + "content": { + "mimeType": "application/vnd.api+json", + "size": 879, + "text": "{\"data\":{\"id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.905785Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"key\":\"DDFC-15\",\"modified_at\":\"2024-02-07T18:00:46.22949Z\",\"priority\":\"P4\",\"public_id\":\"75\",\"status\":\"IN_PROGRESS\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 641, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-07T18:00:45.949Z", + "time": 316 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v2/cases-projects/CreateProject.ts b/examples/v2/cases-projects/CreateProject.ts new file mode 100644 index 000000000000..f10656048afd --- /dev/null +++ b/examples/v2/cases-projects/CreateProject.ts @@ -0,0 +1,29 @@ +/** + * Create a project returns "CREATED" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesProjectsApi(configuration); + +const params: v2.CasesProjectsApiCreateProjectRequest = { + body: { + data: { + attributes: { + key: "SEC", + name: "Security Investigation", + }, + type: "project", + }, + }, +}; + +apiInstance + .createProject(params) + .then((data: v2.ProjectResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases-projects/DeleteProject.ts b/examples/v2/cases-projects/DeleteProject.ts new file mode 100644 index 000000000000..5a7918363e7b --- /dev/null +++ b/examples/v2/cases-projects/DeleteProject.ts @@ -0,0 +1,21 @@ +/** + * Remove a project returns "No Content" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesProjectsApi(configuration); + +const params: v2.CasesProjectsApiDeleteProjectRequest = { + projectId: "project_id", +}; + +apiInstance + .deleteProject(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases-projects/GetProject.ts b/examples/v2/cases-projects/GetProject.ts new file mode 100644 index 000000000000..eeb418e01d9b --- /dev/null +++ b/examples/v2/cases-projects/GetProject.ts @@ -0,0 +1,21 @@ +/** + * Get the details of a project returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesProjectsApi(configuration); + +const params: v2.CasesProjectsApiGetProjectRequest = { + projectId: "project_id", +}; + +apiInstance + .getProject(params) + .then((data: v2.ProjectResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases-projects/GetProjects.ts b/examples/v2/cases-projects/GetProjects.ts new file mode 100644 index 000000000000..e99aed53f53b --- /dev/null +++ b/examples/v2/cases-projects/GetProjects.ts @@ -0,0 +1,17 @@ +/** + * Get all projects returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesProjectsApi(configuration); + +apiInstance + .getProjects() + .then((data: v2.ProjectsResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/ArchiveCase.ts b/examples/v2/cases/ArchiveCase.ts new file mode 100644 index 000000000000..aac7c128996b --- /dev/null +++ b/examples/v2/cases/ArchiveCase.ts @@ -0,0 +1,29 @@ +/** + * Archive case returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiArchiveCaseRequest = { + body: { + data: { + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .archiveCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/AssignCase.ts b/examples/v2/cases/AssignCase.ts new file mode 100644 index 000000000000..95c2ebfc9dbc --- /dev/null +++ b/examples/v2/cases/AssignCase.ts @@ -0,0 +1,35 @@ +/** + * Assign case returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +// there is a valid "user" in the system +const USER_DATA_ID = process.env.USER_DATA_ID as string; + +const params: v2.CasesApiAssignCaseRequest = { + body: { + data: { + attributes: { + assigneeId: USER_DATA_ID, + }, + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .assignCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/CreateCase.ts b/examples/v2/cases/CreateCase.ts new file mode 100644 index 000000000000..7ac2c29e0a16 --- /dev/null +++ b/examples/v2/cases/CreateCase.ts @@ -0,0 +1,47 @@ +/** + * Create a case returns "CREATED" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "user" in the system +const USER_DATA_ID = process.env.USER_DATA_ID as string; + +const params: v2.CasesApiCreateCaseRequest = { + body: { + data: { + attributes: { + priority: "NOT_DEFINED", + title: "Security breach investigation in 3dcc5b2ebf9bfb8f", + type: "STANDARD", + }, + relationships: { + assignee: { + data: { + id: USER_DATA_ID, + type: "user", + }, + }, + project: { + data: { + id: "d4bbe1af-f36e-42f1-87c1-493ca35c320e", + type: "project", + }, + }, + }, + type: "case", + }, + }, +}; + +apiInstance + .createCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/GetCase.ts b/examples/v2/cases/GetCase.ts new file mode 100644 index 000000000000..14a3dff5a1b8 --- /dev/null +++ b/examples/v2/cases/GetCase.ts @@ -0,0 +1,24 @@ +/** + * Get the details of a case returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiGetCaseRequest = { + caseId: CASE_ID, +}; + +apiInstance + .getCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/SearchCases.ts b/examples/v2/cases/SearchCases.ts new file mode 100644 index 000000000000..6abbdfc111b6 --- /dev/null +++ b/examples/v2/cases/SearchCases.ts @@ -0,0 +1,17 @@ +/** + * Search cases returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +apiInstance + .searchCases() + .then((data: v2.CasesResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/SearchCases_3433960044.ts b/examples/v2/cases/SearchCases_3433960044.ts new file mode 100644 index 000000000000..a2a056ab008a --- /dev/null +++ b/examples/v2/cases/SearchCases_3433960044.ts @@ -0,0 +1,18 @@ +/** + * Search cases returns "OK" response with pagination + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +(async () => { + try { + for await (const item of apiInstance.searchCasesWithPagination()) { + console.log(item); + } + } catch (error) { + console.error(error); + } +})(); diff --git a/examples/v2/cases/UnarchiveCase.ts b/examples/v2/cases/UnarchiveCase.ts new file mode 100644 index 000000000000..5f5a1f34c3e1 --- /dev/null +++ b/examples/v2/cases/UnarchiveCase.ts @@ -0,0 +1,29 @@ +/** + * Unarchive case returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiUnarchiveCaseRequest = { + body: { + data: { + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .unarchiveCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/UnassignCase.ts b/examples/v2/cases/UnassignCase.ts new file mode 100644 index 000000000000..9c3970b81b02 --- /dev/null +++ b/examples/v2/cases/UnassignCase.ts @@ -0,0 +1,29 @@ +/** + * Unassign case returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiUnassignCaseRequest = { + body: { + data: { + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .unassignCase(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/UpdatePriority.ts b/examples/v2/cases/UpdatePriority.ts new file mode 100644 index 000000000000..1ee6c7c0ee81 --- /dev/null +++ b/examples/v2/cases/UpdatePriority.ts @@ -0,0 +1,32 @@ +/** + * Update case priority returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiUpdatePriorityRequest = { + body: { + data: { + attributes: { + priority: "P3", + }, + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .updatePriority(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cases/UpdateStatus.ts b/examples/v2/cases/UpdateStatus.ts new file mode 100644 index 000000000000..ff2055dde034 --- /dev/null +++ b/examples/v2/cases/UpdateStatus.ts @@ -0,0 +1,32 @@ +/** + * Update case status returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CasesApi(configuration); + +// there is a valid "case" in the system +const CASE_ID = process.env.CASE_ID as string; + +const params: v2.CasesApiUpdateStatusRequest = { + body: { + data: { + attributes: { + status: "IN_PROGRESS", + }, + type: "case", + }, + }, + caseId: CASE_ID, +}; + +apiInstance + .updateStatus(params) + .then((data: v2.CaseResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index b9be85bb3aa5..cad59fd75145 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -2701,6 +2701,133 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "AuthNMappingResponse", }, + "v2.SearchCases": { + "pageSize": { + "type": "number", + "format": "int64", + }, + "pageOffset": { + "type": "number", + "format": "int64", + }, + "sortField": { + "type": "CaseSortableField", + "format": "", + }, + "filter": { + "type": "string", + "format": "", + }, + "sortAsc": { + "type": "boolean", + "format": "", + }, + "operationResponseType": "CasesResponse", + }, + "v2.CreateCase": { + "body": { + "type": "CaseCreateRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.GetCase": { + "caseId": { + "type": "string", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.ArchiveCase": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseEmptyRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.AssignCase": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseAssignRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.UpdatePriority": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseUpdatePriorityRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.UpdateStatus": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseUpdateStatusRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.UnarchiveCase": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseEmptyRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.UnassignCase": { + "caseId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CaseEmptyRequest", + "format": "", + }, + "operationResponseType": "CaseResponse", + }, + "v2.GetProjects": { + "operationResponseType": "ProjectsResponse", + }, + "v2.CreateProject": { + "body": { + "type": "ProjectCreateRequest", + "format": "", + }, + "operationResponseType": "ProjectResponse", + }, + "v2.DeleteProject": { + "projectId": { + "type": "string", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.GetProject": { + "projectId": { + "type": "string", + "format": "", + }, + "operationResponseType": "ProjectResponse", + }, "v2.CreateCIAppPipelineEvent": { "body": { "type": "CIAppCreatePipelineEventRequest", diff --git a/features/v2/cases.feature b/features/v2/cases.feature new file mode 100644 index 000000000000..5a0eca615554 --- /dev/null +++ b/features/v2/cases.feature @@ -0,0 +1,241 @@ +@endpoint(cases) @endpoint(cases-v2) +Feature: Cases + View and manage cases within Datadog + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "Cases" API + + @team:DataDog/case-management + Scenario: Archive case returns "Bad Request" response + Given new "ArchiveCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "project"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Archive case returns "Not Found" response + Given new "ArchiveCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Archive case returns "OK" response + Given new "ArchiveCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Assign case returns "Bad Request" response + Given new "AssignCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"assignee_id": "invalid-uuid"}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Assign case returns "Not Found" response + Given new "AssignCase" request + And there is a valid "user" in the system + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"assignee_id": "{{user.data.id}}"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Assign case returns "OK" response + Given new "AssignCase" request + And there is a valid "case" in the system + And there is a valid "user" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"assignee_id": "{{user.data.id}}"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Create a case returns "Bad Request" response + Given new "CreateCase" request + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "userx"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Create a case returns "CREATED" response + Given new "CreateCase" request + And there is a valid "user" in the system + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation in {{ unique_hash }}", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "{{user.data.id}}", "type": "user"} }, "project": {"data": {"id": "d4bbe1af-f36e-42f1-87c1-493ca35c320e", "type": "project"}}}, "type": "case"}} + When the request is sent + Then the response status is 201 CREATED + And the response "data" has field "id" + And the response "data.attributes.title" is equal to "Security breach investigation in {{ unique_hash }}" + And the response "data.attributes.type" is equal to "STANDARD" + And the response "data.attributes.priority" is equal to "NOT_DEFINED" + + @generated @skip @team:DataDog/case-management + Scenario: Create a case returns "Not Found" response + Given new "CreateCase" request + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "user"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @skip @team:DataDog/case-management + Scenario: Get the details of a case returns "Bad Request" response + Given new "GetCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Get the details of a case returns "Not Found" response + Given new "GetCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Get the details of a case returns "OK" response + Given new "GetCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/case-management + Scenario: Search cases returns "Bad Request" response + Given new "SearchCases" request + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Search cases returns "Not Found" response + Given new "SearchCases" request + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Search cases returns "OK" response + Given new "SearchCases" request + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/case-management @with-pagination + Scenario: Search cases returns "OK" response with pagination + Given new "SearchCases" request + When the request with pagination is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Unarchive case returns "Bad Request" response + Given new "UnarchiveCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "project"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Unarchive case returns "Not Found" response + Given new "UnarchiveCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Unarchive case returns "OK" response + Given new "UnarchiveCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Unassign case returns "Bad Request" response + Given new "UnassignCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "project"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Unassign case returns "Not Found" response + Given new "UnassignCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Unassign case returns "OK" response + Given new "UnassignCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"type": "case"}} + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Update case priority returns "Bad Request" response + Given new "UpdatePriority" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"priority": "P1234"}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case priority returns "Not Found" response + Given new "UpdatePriority" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"priority": "P3"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case priority returns "OK" response + Given new "UpdatePriority" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"priority": "P3"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.priority" is equal to "P3" + + @team:DataDog/case-management + Scenario: Update case status returns "Bad Request" response + Given new "UpdateStatus" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"status": "OPENED"}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case status returns "Not Found" response + Given new "UpdateStatus" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"status": "OPEN"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case status returns "OK" response + Given new "UpdateStatus" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"status": "IN_PROGRESS"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + And the response "data.attributes.status" is equal to "IN_PROGRESS" diff --git a/features/v2/cases_projects.feature b/features/v2/cases_projects.feature new file mode 100644 index 000000000000..1b3fe63e4995 --- /dev/null +++ b/features/v2/cases_projects.feature @@ -0,0 +1,82 @@ +@endpoint(cases-projects) @endpoint(cases-projects-v2) +Feature: Cases Projects + View and manage project within Case Management + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "CasesProjects" API + + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "Bad Request" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "CREATED" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 201 CREATED + + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "Not Found" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "Bad Request" response + Given new "GetProjects" request + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "Not Found" response + Given new "GetProjects" request + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "OK" response + Given new "GetProjects" request + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "Bad Request" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "Not Found" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "OK" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/case-management + Scenario: Remove a project returns "API error response" response + Given new "DeleteProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 API error response + + @generated @skip @team:DataDog/case-management + Scenario: Remove a project returns "No Content" response + Given new "DeleteProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content diff --git a/features/v2/given.json b/features/v2/given.json index da22a5fc35d6..cbaee96cb71b 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -59,6 +59,19 @@ "tag": "AuthN Mappings", "operationId": "CreateAuthNMapping" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type\": \"STANDARD\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"case\" in the system", + "key": "case", + "tag": "Cases", + "operationId": "CreateCase" + }, { "parameters": [ { diff --git a/features/v2/undo.json b/features/v2/undo.json index 61d85e0fcad2..1268756c9d25 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -220,6 +220,91 @@ "type": "idempotent" } }, + "SearchCases": { + "tag": "Cases", + "undo": { + "type": "safe" + } + }, + "CreateCase": { + "tag": "Cases", + "undo": { + "type": "safe" + } + }, + "GetProjects": { + "tag": "Cases Projects", + "undo": { + "type": "safe" + } + }, + "CreateProject": { + "tag": "Cases Projects", + "undo": { + "operationId": "DeleteProject", + "parameters": [ + { + "name": "project_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "DeleteProject": { + "tag": "Cases Projects", + "undo": { + "type": "idempotent" + } + }, + "GetProject": { + "tag": "Cases Projects", + "undo": { + "type": "safe" + } + }, + "GetCase": { + "tag": "Cases", + "undo": { + "type": "safe" + } + }, + "ArchiveCase": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, + "AssignCase": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, + "UpdatePriority": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, + "UpdateStatus": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, + "UnarchiveCase": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, + "UnassignCase": { + "tag": "Cases", + "undo": { + "type": "idempotent" + } + }, "CreateCIAppPipelineEvent": { "tag": "CI Visibility Pipelines", "undo": { diff --git a/packages/datadog-api-client-v2/apis/CasesApi.ts b/packages/datadog-api-client-v2/apis/CasesApi.ts new file mode 100644 index 000000000000..8daee5956482 --- /dev/null +++ b/packages/datadog-api-client-v2/apis/CasesApi.ts @@ -0,0 +1,1422 @@ +import { + BaseAPIRequestFactory, + RequiredError, +} from "../../datadog-api-client-common/baseapi"; +import { + Configuration, + applySecurityAuthentication, +} from "../../datadog-api-client-common/configuration"; +import { + RequestContext, + HttpMethod, + ResponseContext, +} from "../../datadog-api-client-common/http/http"; + +import { logger } from "../../../logger"; +import { ObjectSerializer } from "../models/ObjectSerializer"; +import { ApiException } from "../../datadog-api-client-common/exception"; + +import { APIErrorResponse } from "../models/APIErrorResponse"; +import { Case } from "../models/Case"; +import { CaseAssignRequest } from "../models/CaseAssignRequest"; +import { CaseCreateRequest } from "../models/CaseCreateRequest"; +import { CaseEmptyRequest } from "../models/CaseEmptyRequest"; +import { CaseResponse } from "../models/CaseResponse"; +import { CaseSortableField } from "../models/CaseSortableField"; +import { CasesResponse } from "../models/CasesResponse"; +import { CaseUpdatePriorityRequest } from "../models/CaseUpdatePriorityRequest"; +import { CaseUpdateStatusRequest } from "../models/CaseUpdateStatusRequest"; + +export class CasesApiRequestFactory extends BaseAPIRequestFactory { + public async archiveCase( + caseId: string, + body: CaseEmptyRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "archiveCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "archiveCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/archive".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.archiveCase") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseEmptyRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async assignCase( + caseId: string, + body: CaseAssignRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "assignCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "assignCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/assign".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.assignCase") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseAssignRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async createCase( + body: CaseCreateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.createCase") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getCase( + caseId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "getCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.getCase") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async searchCases( + pageSize?: number, + pageOffset?: number, + sortField?: CaseSortableField, + filter?: string, + sortAsc?: boolean, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/cases"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.searchCases") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Query Params + if (pageSize !== undefined) { + requestContext.setQueryParam( + "page[size]", + ObjectSerializer.serialize(pageSize, "number", "int64") + ); + } + if (pageOffset !== undefined) { + requestContext.setQueryParam( + "page[offset]", + ObjectSerializer.serialize(pageOffset, "number", "int64") + ); + } + if (sortField !== undefined) { + requestContext.setQueryParam( + "sort[field]", + ObjectSerializer.serialize(sortField, "CaseSortableField", "") + ); + } + if (filter !== undefined) { + requestContext.setQueryParam( + "filter", + ObjectSerializer.serialize(filter, "string", "") + ); + } + if (sortAsc !== undefined) { + requestContext.setQueryParam( + "sort[asc]", + ObjectSerializer.serialize(sortAsc, "boolean", "") + ); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async unarchiveCase( + caseId: string, + body: CaseEmptyRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "unarchiveCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "unarchiveCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/unarchive".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.unarchiveCase") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseEmptyRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async unassignCase( + caseId: string, + body: CaseEmptyRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "unassignCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "unassignCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/unassign".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.unassignCase") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseEmptyRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async updatePriority( + caseId: string, + body: CaseUpdatePriorityRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "updatePriority"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updatePriority"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/priority".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.updatePriority") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseUpdatePriorityRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async updateStatus( + caseId: string, + body: CaseUpdateStatusRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "updateStatus"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateStatus"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/status".replace( + "{case_id}", + encodeURIComponent(String(caseId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesApi.updateStatus") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CaseUpdateStatusRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class CasesApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archiveCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async archiveCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to assignCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async assignCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 201) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async getCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to searchCases + * @throws ApiException if the response code was not in [200, 299] + */ + public async searchCases(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CasesResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CasesResponse" + ) as CasesResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CasesResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CasesResponse", + "" + ) as CasesResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to unarchiveCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async unarchiveCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to unassignCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async unassignCase(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updatePriority + * @throws ApiException if the response code was not in [200, 299] + */ + public async updatePriority( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateStatus + * @throws ApiException if the response code was not in [200, 299] + */ + public async updateStatus(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse" + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CaseResponse", + "" + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } +} + +export interface CasesApiArchiveCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Archive case payload + * @type CaseEmptyRequest + */ + body: CaseEmptyRequest; +} + +export interface CasesApiAssignCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Assign case payload + * @type CaseAssignRequest + */ + body: CaseAssignRequest; +} + +export interface CasesApiCreateCaseRequest { + /** + * Case payload + * @type CaseCreateRequest + */ + body: CaseCreateRequest; +} + +export interface CasesApiGetCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; +} + +export interface CasesApiSearchCasesRequest { + /** + * Size for a given page. The maximum allowed value is 100. + * @type number + */ + pageSize?: number; + /** + * Specific offset to use as the beginning of the returned page. + * @type number + */ + pageOffset?: number; + /** + * Specify which field to sort + * @type CaseSortableField + */ + sortField?: CaseSortableField; + /** + * Search query + * @type string + */ + filter?: string; + /** + * Specify if order is ascending or not + * @type boolean + */ + sortAsc?: boolean; +} + +export interface CasesApiUnarchiveCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Unarchive case payload + * @type CaseEmptyRequest + */ + body: CaseEmptyRequest; +} + +export interface CasesApiUnassignCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Unassign case payload + * @type CaseEmptyRequest + */ + body: CaseEmptyRequest; +} + +export interface CasesApiUpdatePriorityRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case priority update payload + * @type CaseUpdatePriorityRequest + */ + body: CaseUpdatePriorityRequest; +} + +export interface CasesApiUpdateStatusRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case status update payload + * @type CaseUpdateStatusRequest + */ + body: CaseUpdateStatusRequest; +} + +export class CasesApi { + private requestFactory: CasesApiRequestFactory; + private responseProcessor: CasesApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CasesApiRequestFactory, + responseProcessor?: CasesApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new CasesApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new CasesApiResponseProcessor(); + } + + /** + * Archive case + * @param param The request object + */ + public archiveCase( + param: CasesApiArchiveCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.archiveCase( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.archiveCase(responseContext); + }); + }); + } + + /** + * Assign case to a user + * @param param The request object + */ + public assignCase( + param: CasesApiAssignCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.assignCase( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.assignCase(responseContext); + }); + }); + } + + /** + * Create a Case + * @param param The request object + */ + public createCase( + param: CasesApiCreateCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.createCase( + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createCase(responseContext); + }); + }); + } + + /** + * Get the details of case by `case_id` + * @param param The request object + */ + public getCase( + param: CasesApiGetCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.getCase( + param.caseId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getCase(responseContext); + }); + }); + } + + /** + * Search cases. + * @param param The request object + */ + public searchCases( + param: CasesApiSearchCasesRequest = {}, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.searchCases( + param.pageSize, + param.pageOffset, + param.sortField, + param.filter, + param.sortAsc, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.searchCases(responseContext); + }); + }); + } + + /** + * Provide a paginated version of searchCases returning a generator with all the items. + */ + public async *searchCasesWithPagination( + param: CasesApiSearchCasesRequest = {}, + options?: Configuration + ): AsyncGenerator { + let pageSize = 10; + if (param.pageSize !== undefined) { + pageSize = param.pageSize; + } + param.pageSize = pageSize; + while (true) { + const requestContext = await this.requestFactory.searchCases( + param.pageSize, + param.pageOffset, + param.sortField, + param.filter, + param.sortAsc, + options + ); + const responseContext = await this.configuration.httpApi.send( + requestContext + ); + + const response = await this.responseProcessor.searchCases( + responseContext + ); + const responseData = response.data; + if (responseData === undefined) { + break; + } + const results = responseData; + for (const item of results) { + yield item; + } + if (results.length < pageSize) { + break; + } + if (param.pageOffset === undefined) { + param.pageOffset = pageSize; + } else { + param.pageOffset = param.pageOffset + pageSize; + } + } + } + + /** + * Unarchive case + * @param param The request object + */ + public unarchiveCase( + param: CasesApiUnarchiveCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.unarchiveCase( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.unarchiveCase(responseContext); + }); + }); + } + + /** + * Unassign case + * @param param The request object + */ + public unassignCase( + param: CasesApiUnassignCaseRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.unassignCase( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.unassignCase(responseContext); + }); + }); + } + + /** + * Update case priority + * @param param The request object + */ + public updatePriority( + param: CasesApiUpdatePriorityRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.updatePriority( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updatePriority(responseContext); + }); + }); + } + + /** + * Update case status + * @param param The request object + */ + public updateStatus( + param: CasesApiUpdateStatusRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.updateStatus( + param.caseId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateStatus(responseContext); + }); + }); + } +} diff --git a/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts b/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts new file mode 100644 index 000000000000..9418fd6cd5fa --- /dev/null +++ b/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts @@ -0,0 +1,525 @@ +import { + BaseAPIRequestFactory, + RequiredError, +} from "../../datadog-api-client-common/baseapi"; +import { + Configuration, + applySecurityAuthentication, +} from "../../datadog-api-client-common/configuration"; +import { + RequestContext, + HttpMethod, + ResponseContext, +} from "../../datadog-api-client-common/http/http"; + +import { logger } from "../../../logger"; +import { ObjectSerializer } from "../models/ObjectSerializer"; +import { ApiException } from "../../datadog-api-client-common/exception"; + +import { APIErrorResponse } from "../models/APIErrorResponse"; +import { ProjectCreateRequest } from "../models/ProjectCreateRequest"; +import { ProjectResponse } from "../models/ProjectResponse"; +import { ProjectsResponse } from "../models/ProjectsResponse"; + +export class CasesProjectsApiRequestFactory extends BaseAPIRequestFactory { + public async createProject( + body: ProjectCreateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesProjectsApi.createProject") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "ProjectCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteProject( + projectId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'projectId' is not null or undefined + if (projectId === null || projectId === undefined) { + throw new RequiredError("projectId", "deleteProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects/{project_id}".replace( + "{project_id}", + encodeURIComponent(String(projectId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesProjectsApi.deleteProject") + .makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getProject( + projectId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'projectId' is not null or undefined + if (projectId === null || projectId === undefined) { + throw new RequiredError("projectId", "getProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects/{project_id}".replace( + "{project_id}", + encodeURIComponent(String(projectId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesProjectsApi.getProject") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getProjects(_options?: Configuration): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/cases/projects"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CasesProjectsApi.getProjects") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class CasesProjectsApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async createProject( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 201) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse" + ) as ProjectResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse", + "" + ) as ProjectResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteProject(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 204) { + return; + } + if ( + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProject(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse" + ) as ProjectResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse", + "" + ) as ProjectResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProjects + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProjects( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: ProjectsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectsResponse" + ) as ProjectsResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectsResponse", + "" + ) as ProjectsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } +} + +export interface CasesProjectsApiCreateProjectRequest { + /** + * Project payload + * @type ProjectCreateRequest + */ + body: ProjectCreateRequest; +} + +export interface CasesProjectsApiDeleteProjectRequest { + /** + * Project UUID + * @type string + */ + projectId: string; +} + +export interface CasesProjectsApiGetProjectRequest { + /** + * Project UUID + * @type string + */ + projectId: string; +} + +export class CasesProjectsApi { + private requestFactory: CasesProjectsApiRequestFactory; + private responseProcessor: CasesProjectsApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: CasesProjectsApiRequestFactory, + responseProcessor?: CasesProjectsApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = + requestFactory || new CasesProjectsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new CasesProjectsApiResponseProcessor(); + } + + /** + * Create a project. + * @param param The request object + */ + public createProject( + param: CasesProjectsApiCreateProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.createProject( + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createProject(responseContext); + }); + }); + } + + /** + * Remove a project using the project's `id`. + * @param param The request object + */ + public deleteProject( + param: CasesProjectsApiDeleteProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.deleteProject( + param.projectId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteProject(responseContext); + }); + }); + } + + /** + * Get the details of a project by `project_id`. + * @param param The request object + */ + public getProject( + param: CasesProjectsApiGetProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.getProject( + param.projectId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getProject(responseContext); + }); + }); + } + + /** + * Get all projects. + * @param param The request object + */ + public getProjects(options?: Configuration): Promise { + const requestContextPromise = this.requestFactory.getProjects(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getProjects(responseContext); + }); + }); + } +} diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index d059becf63c8..dda0957ecfcd 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -45,6 +45,26 @@ export { CIVisibilityTestsApi, } from "./apis/CIVisibilityTestsApi"; +export { + CasesApiArchiveCaseRequest, + CasesApiAssignCaseRequest, + CasesApiCreateCaseRequest, + CasesApiGetCaseRequest, + CasesApiSearchCasesRequest, + CasesApiUnarchiveCaseRequest, + CasesApiUnassignCaseRequest, + CasesApiUpdatePriorityRequest, + CasesApiUpdateStatusRequest, + CasesApi, +} from "./apis/CasesApi"; + +export { + CasesProjectsApiCreateProjectRequest, + CasesProjectsApiDeleteProjectRequest, + CasesProjectsApiGetProjectRequest, + CasesProjectsApi, +} from "./apis/CasesProjectsApi"; + export { CloudCostManagementApiCreateCostAWSCURConfigRequest, CloudCostManagementApiCreateCostAzureUCConfigsRequest, @@ -566,6 +586,34 @@ export { BulkMuteFindingsRequestMetaFindings } from "./models/BulkMuteFindingsRe export { BulkMuteFindingsRequestProperties } from "./models/BulkMuteFindingsRequestProperties"; export { BulkMuteFindingsResponse } from "./models/BulkMuteFindingsResponse"; export { BulkMuteFindingsResponseData } from "./models/BulkMuteFindingsResponseData"; +export { Case } from "./models/Case"; +export { Case3rdPartyTicketStatus } from "./models/Case3rdPartyTicketStatus"; +export { CaseAssign } from "./models/CaseAssign"; +export { CaseAssignAttributes } from "./models/CaseAssignAttributes"; +export { CaseAssignRequest } from "./models/CaseAssignRequest"; +export { CaseAttributes } from "./models/CaseAttributes"; +export { CaseCreate } from "./models/CaseCreate"; +export { CaseCreateAttributes } from "./models/CaseCreateAttributes"; +export { CaseCreateRelationships } from "./models/CaseCreateRelationships"; +export { CaseCreateRequest } from "./models/CaseCreateRequest"; +export { CaseEmpty } from "./models/CaseEmpty"; +export { CaseEmptyRequest } from "./models/CaseEmptyRequest"; +export { CasePriority } from "./models/CasePriority"; +export { CaseRelationships } from "./models/CaseRelationships"; +export { CaseResourceType } from "./models/CaseResourceType"; +export { CaseResponse } from "./models/CaseResponse"; +export { CaseSortableField } from "./models/CaseSortableField"; +export { CasesResponse } from "./models/CasesResponse"; +export { CasesResponseMeta } from "./models/CasesResponseMeta"; +export { CasesResponseMetaPagination } from "./models/CasesResponseMetaPagination"; +export { CaseStatus } from "./models/CaseStatus"; +export { CaseType } from "./models/CaseType"; +export { CaseUpdatePriority } from "./models/CaseUpdatePriority"; +export { CaseUpdatePriorityAttributes } from "./models/CaseUpdatePriorityAttributes"; +export { CaseUpdatePriorityRequest } from "./models/CaseUpdatePriorityRequest"; +export { CaseUpdateStatus } from "./models/CaseUpdateStatus"; +export { CaseUpdateStatusAttributes } from "./models/CaseUpdateStatusAttributes"; +export { CaseUpdateStatusRequest } from "./models/CaseUpdateStatusRequest"; export { ChargebackBreakdown } from "./models/ChargebackBreakdown"; export { CIAppAggregateBucketValue } from "./models/CIAppAggregateBucketValue"; export { CIAppAggregateBucketValueTimeseriesPoint } from "./models/CIAppAggregateBucketValueTimeseriesPoint"; @@ -1018,6 +1066,8 @@ export { IPAllowlistType } from "./models/IPAllowlistType"; export { IPAllowlistUpdateRequest } from "./models/IPAllowlistUpdateRequest"; export { JiraIntegrationMetadata } from "./models/JiraIntegrationMetadata"; export { JiraIntegrationMetadataIssuesItem } from "./models/JiraIntegrationMetadataIssuesItem"; +export { JiraIssue } from "./models/JiraIssue"; +export { JiraIssueResult } from "./models/JiraIssueResult"; export { JSONAPIErrorItem } from "./models/JSONAPIErrorItem"; export { JSONAPIErrorResponse } from "./models/JSONAPIErrorResponse"; export { ListApplicationKeysResponse } from "./models/ListApplicationKeysResponse"; @@ -1194,6 +1244,8 @@ export { MonthlyCostAttributionPagination } from "./models/MonthlyCostAttributio export { MonthlyCostAttributionResponse } from "./models/MonthlyCostAttributionResponse"; export { NullableRelationshipToUser } from "./models/NullableRelationshipToUser"; export { NullableRelationshipToUserData } from "./models/NullableRelationshipToUserData"; +export { NullableUserRelationship } from "./models/NullableUserRelationship"; +export { NullableUserRelationshipData } from "./models/NullableUserRelationshipData"; export { OktaAccount } from "./models/OktaAccount"; export { OktaAccountAttributes } from "./models/OktaAccountAttributes"; export { OktaAccountRequest } from "./models/OktaAccountRequest"; @@ -1269,10 +1321,21 @@ export { ProcessSummariesResponse } from "./models/ProcessSummariesResponse"; export { ProcessSummary } from "./models/ProcessSummary"; export { ProcessSummaryAttributes } from "./models/ProcessSummaryAttributes"; export { ProcessSummaryType } from "./models/ProcessSummaryType"; +export { Project } from "./models/Project"; +export { ProjectAttributes } from "./models/ProjectAttributes"; +export { ProjectCreate } from "./models/ProjectCreate"; +export { ProjectCreateAttributes } from "./models/ProjectCreateAttributes"; +export { ProjectCreateRequest } from "./models/ProjectCreateRequest"; export { ProjectedCost } from "./models/ProjectedCost"; export { ProjectedCostAttributes } from "./models/ProjectedCostAttributes"; export { ProjectedCostResponse } from "./models/ProjectedCostResponse"; export { ProjectedCostType } from "./models/ProjectedCostType"; +export { ProjectRelationship } from "./models/ProjectRelationship"; +export { ProjectRelationshipData } from "./models/ProjectRelationshipData"; +export { ProjectRelationships } from "./models/ProjectRelationships"; +export { ProjectResourceType } from "./models/ProjectResourceType"; +export { ProjectResponse } from "./models/ProjectResponse"; +export { ProjectsResponse } from "./models/ProjectsResponse"; export { QueryFormula } from "./models/QueryFormula"; export { QuerySortOrder } from "./models/QuerySortOrder"; export { RelationshipToIncidentAttachment } from "./models/RelationshipToIncidentAttachment"; @@ -1631,6 +1694,8 @@ export { ServiceDefinitionV2Repo } from "./models/ServiceDefinitionV2Repo"; export { ServiceDefinitionV2Slack } from "./models/ServiceDefinitionV2Slack"; export { ServiceDefinitionV2SlackType } from "./models/ServiceDefinitionV2SlackType"; export { ServiceDefinitionV2Version } from "./models/ServiceDefinitionV2Version"; +export { ServiceNowTicket } from "./models/ServiceNowTicket"; +export { ServiceNowTicketResult } from "./models/ServiceNowTicketResult"; export { SlackIntegrationMetadata } from "./models/SlackIntegrationMetadata"; export { SlackIntegrationMetadataChannelItem } from "./models/SlackIntegrationMetadataChannelItem"; export { SortDirection } from "./models/SortDirection"; @@ -1765,10 +1830,13 @@ export { UserInvitationResponseData } from "./models/UserInvitationResponseData" export { UserInvitationsRequest } from "./models/UserInvitationsRequest"; export { UserInvitationsResponse } from "./models/UserInvitationsResponse"; export { UserInvitationsType } from "./models/UserInvitationsType"; +export { UserRelationshipData } from "./models/UserRelationshipData"; export { UserRelationships } from "./models/UserRelationships"; +export { UserResourceType } from "./models/UserResourceType"; export { UserResponse } from "./models/UserResponse"; export { UserResponseIncludedItem } from "./models/UserResponseIncludedItem"; export { UserResponseRelationships } from "./models/UserResponseRelationships"; +export { UsersRelationship } from "./models/UsersRelationship"; export { UsersResponse } from "./models/UsersResponse"; export { UsersType } from "./models/UsersType"; export { UserTeam } from "./models/UserTeam"; diff --git a/packages/datadog-api-client-v2/models/Case.ts b/packages/datadog-api-client-v2/models/Case.ts new file mode 100644 index 000000000000..76b887d523ae --- /dev/null +++ b/packages/datadog-api-client-v2/models/Case.ts @@ -0,0 +1,71 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseAttributes } from "./CaseAttributes"; +import { CaseRelationships } from "./CaseRelationships"; +import { CaseResourceType } from "./CaseResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A case + */ +export class Case { + /** + * Case attributes + */ + "attributes": CaseAttributes; + /** + * Case's identifier + */ + "id": string; + /** + * Resources related to a case + */ + "relationships"?: CaseRelationships; + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "CaseRelationships", + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return Case.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/Case3rdPartyTicketStatus.ts b/packages/datadog-api-client-v2/models/Case3rdPartyTicketStatus.ts new file mode 100644 index 000000000000..f7a9d374bf94 --- /dev/null +++ b/packages/datadog-api-client-v2/models/Case3rdPartyTicketStatus.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case status + */ + +export type Case3rdPartyTicketStatus = + | typeof IN_PROGRESS + | typeof COMPLETED + | typeof FAILED + | UnparsedObject; +export const IN_PROGRESS = "IN_PROGRESS"; +export const COMPLETED = "COMPLETED"; +export const FAILED = "FAILED"; diff --git a/packages/datadog-api-client-v2/models/CaseAssign.ts b/packages/datadog-api-client-v2/models/CaseAssign.ts new file mode 100644 index 000000000000..d2bfcc788d04 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseAssign.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseAssignAttributes } from "./CaseAssignAttributes"; +import { CaseResourceType } from "./CaseResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case assign + */ +export class CaseAssign { + /** + * Case assign attributes + */ + "attributes": CaseAssignAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseAssignAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseAssign.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts b/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts new file mode 100644 index 000000000000..968c0c3722c2 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts @@ -0,0 +1,42 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case assign attributes + */ +export class CaseAssignAttributes { + /** + * Assignee's UUID + */ + "assigneeId": string; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + assigneeId: { + baseName: "assignee_id", + type: "string", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseAssignAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseAssignRequest.ts b/packages/datadog-api-client-v2/models/CaseAssignRequest.ts new file mode 100644 index 000000000000..9b9abfc896cd --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseAssignRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseAssign } from "./CaseAssign"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case assign request + */ +export class CaseAssignRequest { + /** + * Case assign + */ + "data": CaseAssign; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseAssign", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseAssignRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseAttributes.ts b/packages/datadog-api-client-v2/models/CaseAttributes.ts new file mode 100644 index 000000000000..accd97c5435a --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseAttributes.ts @@ -0,0 +1,138 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CasePriority } from "./CasePriority"; +import { CaseStatus } from "./CaseStatus"; +import { CaseType } from "./CaseType"; +import { JiraIssue } from "./JiraIssue"; +import { ServiceNowTicket } from "./ServiceNowTicket"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case attributes + */ +export class CaseAttributes { + /** + * Timestamp of when the case was archived + */ + "archivedAt"?: Date; + /** + * Timestamp of when the case was closed + */ + "closedAt"?: Date; + /** + * Timestamp of when the case was created + */ + "createdAt"?: Date; + /** + * Description + */ + "description"?: string; + /** + * Jira issue attached to case + */ + "jiraIssue"?: JiraIssue; + /** + * Key + */ + "key"?: string; + /** + * Timestamp of when the case was last modified + */ + "modifiedAt"?: Date; + /** + * Case priority + */ + "priority"?: CasePriority; + /** + * ServiceNow ticket attached to case + */ + "serviceNowTicket"?: ServiceNowTicket; + /** + * Case status + */ + "status"?: CaseStatus; + /** + * Title + */ + "title"?: string; + /** + * Case type + */ + "type"?: CaseType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + archivedAt: { + baseName: "archived_at", + type: "Date", + format: "date-time", + }, + closedAt: { + baseName: "closed_at", + type: "Date", + format: "date-time", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + jiraIssue: { + baseName: "jira_issue", + type: "JiraIssue", + }, + key: { + baseName: "key", + type: "string", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + priority: { + baseName: "priority", + type: "CasePriority", + }, + serviceNowTicket: { + baseName: "service_now_ticket", + type: "ServiceNowTicket", + }, + status: { + baseName: "status", + type: "CaseStatus", + }, + title: { + baseName: "title", + type: "string", + }, + type: { + baseName: "type", + type: "CaseType", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseCreate.ts b/packages/datadog-api-client-v2/models/CaseCreate.ts new file mode 100644 index 000000000000..c6241515f79d --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseCreate.ts @@ -0,0 +1,62 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseCreateAttributes } from "./CaseCreateAttributes"; +import { CaseCreateRelationships } from "./CaseCreateRelationships"; +import { CaseResourceType } from "./CaseResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case creation data + */ +export class CaseCreate { + /** + * Case creation attributes + */ + "attributes": CaseCreateAttributes; + /** + * Relationships formed with the case on creation + */ + "relationships"?: CaseCreateRelationships; + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseCreateAttributes", + required: true, + }, + relationships: { + baseName: "relationships", + type: "CaseCreateRelationships", + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCreate.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts b/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts new file mode 100644 index 000000000000..f1be8d577a88 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts @@ -0,0 +1,69 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CasePriority } from "./CasePriority"; +import { CaseType } from "./CaseType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case creation attributes + */ +export class CaseCreateAttributes { + /** + * Description + */ + "description"?: string; + /** + * Case priority + */ + "priority"?: CasePriority; + /** + * Title + */ + "title": string; + /** + * Case type + */ + "type": CaseType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + priority: { + baseName: "priority", + type: "CasePriority", + }, + title: { + baseName: "title", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CaseType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCreateAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts b/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts new file mode 100644 index 000000000000..8b67a8c0d0ed --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { NullableUserRelationship } from "./NullableUserRelationship"; +import { ProjectRelationship } from "./ProjectRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationships formed with the case on creation + */ +export class CaseCreateRelationships { + /** + * Relationship to user. + */ + "assignee"?: NullableUserRelationship; + /** + * Relationship to project + */ + "project": ProjectRelationship; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + assignee: { + baseName: "assignee", + type: "NullableUserRelationship", + }, + project: { + baseName: "project", + type: "ProjectRelationship", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCreateRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseCreateRequest.ts b/packages/datadog-api-client-v2/models/CaseCreateRequest.ts new file mode 100644 index 000000000000..457b340b9d47 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseCreateRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseCreate } from "./CaseCreate"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case create request + */ +export class CaseCreateRequest { + /** + * Case creation data + */ + "data": CaseCreate; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseCreate", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCreateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseEmpty.ts b/packages/datadog-api-client-v2/models/CaseEmpty.ts new file mode 100644 index 000000000000..fba130d9c498 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseEmpty.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseResourceType } from "./CaseResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case empty request data + */ +export class CaseEmpty { + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseEmpty.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts b/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts new file mode 100644 index 000000000000..6cfcd40f15ad --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseEmpty } from "./CaseEmpty"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case empty request + */ +export class CaseEmptyRequest { + /** + * Case empty request data + */ + "data": CaseEmpty; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseEmpty", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseEmptyRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CasePriority.ts b/packages/datadog-api-client-v2/models/CasePriority.ts new file mode 100644 index 000000000000..1ef61f834cc7 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CasePriority.ts @@ -0,0 +1,26 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case priority + */ + +export type CasePriority = + | typeof NOT_DEFINED + | typeof P1 + | typeof P2 + | typeof P3 + | typeof P4 + | typeof P5 + | UnparsedObject; +export const NOT_DEFINED = "NOT_DEFINED"; +export const P1 = "P1"; +export const P2 = "P2"; +export const P3 = "P3"; +export const P4 = "P4"; +export const P5 = "P5"; diff --git a/packages/datadog-api-client-v2/models/CaseRelationships.ts b/packages/datadog-api-client-v2/models/CaseRelationships.ts new file mode 100644 index 000000000000..fe5a6f791d74 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseRelationships.ts @@ -0,0 +1,67 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { NullableUserRelationship } from "./NullableUserRelationship"; +import { ProjectRelationship } from "./ProjectRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Resources related to a case + */ +export class CaseRelationships { + /** + * Relationship to user. + */ + "assignee"?: NullableUserRelationship; + /** + * Relationship to user. + */ + "createdBy"?: NullableUserRelationship; + /** + * Relationship to user. + */ + "modifiedBy"?: NullableUserRelationship; + /** + * Relationship to project + */ + "project"?: ProjectRelationship; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + assignee: { + baseName: "assignee", + type: "NullableUserRelationship", + }, + createdBy: { + baseName: "created_by", + type: "NullableUserRelationship", + }, + modifiedBy: { + baseName: "modified_by", + type: "NullableUserRelationship", + }, + project: { + baseName: "project", + type: "ProjectRelationship", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseResourceType.ts b/packages/datadog-api-client-v2/models/CaseResourceType.ts new file mode 100644 index 000000000000..74a432108cd1 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseResourceType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case resource type + */ + +export type CaseResourceType = typeof CASE | UnparsedObject; +export const CASE = "case"; diff --git a/packages/datadog-api-client-v2/models/CaseResponse.ts b/packages/datadog-api-client-v2/models/CaseResponse.ts new file mode 100644 index 000000000000..ad191c906240 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseResponse.ts @@ -0,0 +1,42 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Case } from "./Case"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case response + */ +export class CaseResponse { + /** + * A case + */ + "data"?: Case; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Case", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseSortableField.ts b/packages/datadog-api-client-v2/models/CaseSortableField.ts new file mode 100644 index 000000000000..6939f4e41c0e --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseSortableField.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case field that can be sorted on + */ + +export type CaseSortableField = + | typeof CREATED_AT + | typeof PRIORITY + | typeof STATUS + | UnparsedObject; +export const CREATED_AT = "created_at"; +export const PRIORITY = "priority"; +export const STATUS = "status"; diff --git a/packages/datadog-api-client-v2/models/CaseStatus.ts b/packages/datadog-api-client-v2/models/CaseStatus.ts new file mode 100644 index 000000000000..0631226cf429 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseStatus.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case status + */ + +export type CaseStatus = + | typeof OPEN + | typeof IN_PROGRESS + | typeof CLOSED + | UnparsedObject; +export const OPEN = "OPEN"; +export const IN_PROGRESS = "IN_PROGRESS"; +export const CLOSED = "CLOSED"; diff --git a/packages/datadog-api-client-v2/models/CaseType.ts b/packages/datadog-api-client-v2/models/CaseType.ts new file mode 100644 index 000000000000..fd1f876d140c --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Case type + */ + +export type CaseType = typeof STANDARD | UnparsedObject; +export const STANDARD = "STANDARD"; diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts new file mode 100644 index 000000000000..c8991c5e7cee --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseResourceType } from "./CaseResourceType"; +import { CaseUpdatePriorityAttributes } from "./CaseUpdatePriorityAttributes"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case priority status + */ +export class CaseUpdatePriority { + /** + * Case update priority attributes + */ + "attributes": CaseUpdatePriorityAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseUpdatePriorityAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdatePriority.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts new file mode 100644 index 000000000000..b1b99c9ebbb2 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CasePriority } from "./CasePriority"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case update priority attributes + */ +export class CaseUpdatePriorityAttributes { + /** + * Case priority + */ + "priority": CasePriority; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + priority: { + baseName: "priority", + type: "CasePriority", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdatePriorityAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts new file mode 100644 index 000000000000..e9594d88ce49 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseUpdatePriority } from "./CaseUpdatePriority"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case update priority request + */ +export class CaseUpdatePriorityRequest { + /** + * Case priority status + */ + "data": CaseUpdatePriority; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseUpdatePriority", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdatePriorityRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts new file mode 100644 index 000000000000..8688f0feb696 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseResourceType } from "./CaseResourceType"; +import { CaseUpdateStatusAttributes } from "./CaseUpdateStatusAttributes"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case update status + */ +export class CaseUpdateStatus { + /** + * Case update status attributes + */ + "attributes": CaseUpdateStatusAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseUpdateStatusAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateStatus.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts new file mode 100644 index 000000000000..d5ba38a43155 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseStatus } from "./CaseStatus"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case update status attributes + */ +export class CaseUpdateStatusAttributes { + /** + * Case status + */ + "status": CaseStatus; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + status: { + baseName: "status", + type: "CaseStatus", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateStatusAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts new file mode 100644 index 000000000000..80de71a54262 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CaseUpdateStatus } from "./CaseUpdateStatus"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Case update status request + */ +export class CaseUpdateStatusRequest { + /** + * Case update status + */ + "data": CaseUpdateStatus; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseUpdateStatus", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateStatusRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CasesResponse.ts b/packages/datadog-api-client-v2/models/CasesResponse.ts new file mode 100644 index 000000000000..cb4aec4d326a --- /dev/null +++ b/packages/datadog-api-client-v2/models/CasesResponse.ts @@ -0,0 +1,51 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Case } from "./Case"; +import { CasesResponseMeta } from "./CasesResponseMeta"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Response with cases + */ +export class CasesResponse { + /** + * Cases response data + */ + "data"?: Array; + /** + * Cases response metadata + */ + "meta"?: CasesResponseMeta; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + meta: { + baseName: "meta", + type: "CasesResponseMeta", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CasesResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CasesResponseMeta.ts b/packages/datadog-api-client-v2/models/CasesResponseMeta.ts new file mode 100644 index 000000000000..78c283cb999b --- /dev/null +++ b/packages/datadog-api-client-v2/models/CasesResponseMeta.ts @@ -0,0 +1,42 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CasesResponseMetaPagination } from "./CasesResponseMetaPagination"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Cases response metadata + */ +export class CasesResponseMeta { + /** + * Pagination metadata + */ + "page"?: CasesResponseMetaPagination; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + page: { + baseName: "page", + type: "CasesResponseMetaPagination", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CasesResponseMeta.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts b/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts new file mode 100644 index 000000000000..45ec7ddfa06e --- /dev/null +++ b/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts @@ -0,0 +1,60 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Pagination metadata + */ +export class CasesResponseMetaPagination { + /** + * Current page number + */ + "current"?: number; + /** + * Number of cases in current page + */ + "size"?: number; + /** + * Total number of pages + */ + "total"?: number; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + current: { + baseName: "current", + type: "number", + format: "int64", + }, + size: { + baseName: "size", + type: "number", + format: "int64", + }, + total: { + baseName: "total", + type: "number", + format: "int64", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CasesResponseMetaPagination.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/JiraIssue.ts b/packages/datadog-api-client-v2/models/JiraIssue.ts new file mode 100644 index 000000000000..175cbbe55c7e --- /dev/null +++ b/packages/datadog-api-client-v2/models/JiraIssue.ts @@ -0,0 +1,51 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Case3rdPartyTicketStatus } from "./Case3rdPartyTicketStatus"; +import { JiraIssueResult } from "./JiraIssueResult"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Jira issue attached to case + */ +export class JiraIssue { + /** + * Jira issue information + */ + "result"?: JiraIssueResult; + /** + * Case status + */ + "status"?: Case3rdPartyTicketStatus; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + result: { + baseName: "result", + type: "JiraIssueResult", + }, + status: { + baseName: "status", + type: "Case3rdPartyTicketStatus", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return JiraIssue.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/JiraIssueResult.ts b/packages/datadog-api-client-v2/models/JiraIssueResult.ts new file mode 100644 index 000000000000..430a472a189a --- /dev/null +++ b/packages/datadog-api-client-v2/models/JiraIssueResult.ts @@ -0,0 +1,65 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Jira issue information + */ +export class JiraIssueResult { + /** + * Jira issue ID + */ + "issueId"?: string; + /** + * Jira issue key + */ + "issueKey"?: string; + /** + * Jira issue URL + */ + "issueUrl"?: string; + /** + * Jira project key + */ + "projectKey"?: string; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + issueId: { + baseName: "issue_id", + type: "string", + }, + issueKey: { + baseName: "issue_key", + type: "string", + }, + issueUrl: { + baseName: "issue_url", + type: "string", + }, + projectKey: { + baseName: "project_key", + type: "string", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return JiraIssueResult.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/NullableUserRelationship.ts b/packages/datadog-api-client-v2/models/NullableUserRelationship.ts new file mode 100644 index 000000000000..edf32561b685 --- /dev/null +++ b/packages/datadog-api-client-v2/models/NullableUserRelationship.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { NullableUserRelationshipData } from "./NullableUserRelationshipData"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to user. + */ +export class NullableUserRelationship { + /** + * Relationship to user object. + */ + "data": NullableUserRelationshipData | null; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "NullableUserRelationshipData", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return NullableUserRelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts b/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts new file mode 100644 index 000000000000..a20ddee8607f --- /dev/null +++ b/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { UserResourceType } from "./UserResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to user object. + */ +export class NullableUserRelationshipData { + /** + * A unique identifier that represents the user. + */ + "id": string; + /** + * User resource type. + */ + "type": UserResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "UserResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return NullableUserRelationshipData.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 79dc03f38ae5..0924862eae24 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -123,6 +123,28 @@ import { CIAppTestsBucketResponse } from "./CIAppTestsBucketResponse"; import { CIAppTestsGroupBy } from "./CIAppTestsGroupBy"; import { CIAppTestsQueryFilter } from "./CIAppTestsQueryFilter"; import { CIAppWarning } from "./CIAppWarning"; +import { Case } from "./Case"; +import { CaseAssign } from "./CaseAssign"; +import { CaseAssignAttributes } from "./CaseAssignAttributes"; +import { CaseAssignRequest } from "./CaseAssignRequest"; +import { CaseAttributes } from "./CaseAttributes"; +import { CaseCreate } from "./CaseCreate"; +import { CaseCreateAttributes } from "./CaseCreateAttributes"; +import { CaseCreateRelationships } from "./CaseCreateRelationships"; +import { CaseCreateRequest } from "./CaseCreateRequest"; +import { CaseEmpty } from "./CaseEmpty"; +import { CaseEmptyRequest } from "./CaseEmptyRequest"; +import { CaseRelationships } from "./CaseRelationships"; +import { CaseResponse } from "./CaseResponse"; +import { CaseUpdatePriority } from "./CaseUpdatePriority"; +import { CaseUpdatePriorityAttributes } from "./CaseUpdatePriorityAttributes"; +import { CaseUpdatePriorityRequest } from "./CaseUpdatePriorityRequest"; +import { CaseUpdateStatus } from "./CaseUpdateStatus"; +import { CaseUpdateStatusAttributes } from "./CaseUpdateStatusAttributes"; +import { CaseUpdateStatusRequest } from "./CaseUpdateStatusRequest"; +import { CasesResponse } from "./CasesResponse"; +import { CasesResponseMeta } from "./CasesResponseMeta"; +import { CasesResponseMetaPagination } from "./CasesResponseMetaPagination"; import { ChargebackBreakdown } from "./ChargebackBreakdown"; import { CloudConfigurationComplianceRuleOptions } from "./CloudConfigurationComplianceRuleOptions"; import { CloudConfigurationRegoRule } from "./CloudConfigurationRegoRule"; @@ -426,6 +448,8 @@ import { JSONAPIErrorItem } from "./JSONAPIErrorItem"; import { JSONAPIErrorResponse } from "./JSONAPIErrorResponse"; import { JiraIntegrationMetadata } from "./JiraIntegrationMetadata"; import { JiraIntegrationMetadataIssuesItem } from "./JiraIntegrationMetadataIssuesItem"; +import { JiraIssue } from "./JiraIssue"; +import { JiraIssueResult } from "./JiraIssueResult"; import { ListApplicationKeysResponse } from "./ListApplicationKeysResponse"; import { ListDowntimesResponse } from "./ListDowntimesResponse"; import { ListFindingsMeta } from "./ListFindingsMeta"; @@ -555,6 +579,8 @@ import { MonthlyCostAttributionPagination } from "./MonthlyCostAttributionPagina import { MonthlyCostAttributionResponse } from "./MonthlyCostAttributionResponse"; import { NullableRelationshipToUser } from "./NullableRelationshipToUser"; import { NullableRelationshipToUserData } from "./NullableRelationshipToUserData"; +import { NullableUserRelationship } from "./NullableUserRelationship"; +import { NullableUserRelationshipData } from "./NullableUserRelationshipData"; import { OktaAccount } from "./OktaAccount"; import { OktaAccountAttributes } from "./OktaAccountAttributes"; import { OktaAccountRequest } from "./OktaAccountRequest"; @@ -621,9 +647,19 @@ import { ProcessSummariesMetaPage } from "./ProcessSummariesMetaPage"; import { ProcessSummariesResponse } from "./ProcessSummariesResponse"; import { ProcessSummary } from "./ProcessSummary"; import { ProcessSummaryAttributes } from "./ProcessSummaryAttributes"; +import { Project } from "./Project"; +import { ProjectAttributes } from "./ProjectAttributes"; +import { ProjectCreate } from "./ProjectCreate"; +import { ProjectCreateAttributes } from "./ProjectCreateAttributes"; +import { ProjectCreateRequest } from "./ProjectCreateRequest"; +import { ProjectRelationship } from "./ProjectRelationship"; +import { ProjectRelationshipData } from "./ProjectRelationshipData"; +import { ProjectRelationships } from "./ProjectRelationships"; +import { ProjectResponse } from "./ProjectResponse"; import { ProjectedCost } from "./ProjectedCost"; import { ProjectedCostAttributes } from "./ProjectedCostAttributes"; import { ProjectedCostResponse } from "./ProjectedCostResponse"; +import { ProjectsResponse } from "./ProjectsResponse"; import { QueryFormula } from "./QueryFormula"; import { RUMAggregateBucketValueTimeseriesPoint } from "./RUMAggregateBucketValueTimeseriesPoint"; import { RUMAggregateRequest } from "./RUMAggregateRequest"; @@ -898,6 +934,8 @@ import { ServiceDefinitionV2Opsgenie } from "./ServiceDefinitionV2Opsgenie"; import { ServiceDefinitionV2Repo } from "./ServiceDefinitionV2Repo"; import { ServiceDefinitionV2Slack } from "./ServiceDefinitionV2Slack"; import { ServiceDefinitionsListResponse } from "./ServiceDefinitionsListResponse"; +import { ServiceNowTicket } from "./ServiceNowTicket"; +import { ServiceNowTicketResult } from "./ServiceNowTicketResult"; import { SlackIntegrationMetadata } from "./SlackIntegrationMetadata"; import { SlackIntegrationMetadataChannelItem } from "./SlackIntegrationMetadataChannelItem"; import { Span } from "./Span"; @@ -1003,6 +1041,7 @@ import { UserInvitationResponse } from "./UserInvitationResponse"; import { UserInvitationResponseData } from "./UserInvitationResponseData"; import { UserInvitationsRequest } from "./UserInvitationsRequest"; import { UserInvitationsResponse } from "./UserInvitationsResponse"; +import { UserRelationshipData } from "./UserRelationshipData"; import { UserRelationships } from "./UserRelationships"; import { UserResponse } from "./UserResponse"; import { UserResponseRelationships } from "./UserResponseRelationships"; @@ -1020,6 +1059,7 @@ import { UserTeamsResponse } from "./UserTeamsResponse"; import { UserUpdateAttributes } from "./UserUpdateAttributes"; import { UserUpdateData } from "./UserUpdateData"; import { UserUpdateRequest } from "./UserUpdateRequest"; +import { UsersRelationship } from "./UsersRelationship"; import { UsersResponse } from "./UsersResponse"; import { dateFromRFC3339String, @@ -1139,6 +1179,12 @@ const enumsMap: { [key: string]: any[] } = { CIAppSortOrder: ["asc", "desc"], CIAppTestEventTypeName: ["citest"], CIAppTestLevel: ["session", "module", "suite", "test"], + Case3rdPartyTicketStatus: ["IN_PROGRESS", "COMPLETED", "FAILED"], + CasePriority: ["NOT_DEFINED", "P1", "P2", "P3", "P4", "P5"], + CaseResourceType: ["case"], + CaseSortableField: ["created_at", "priority", "status"], + CaseStatus: ["OPEN", "IN_PROGRESS", "CLOSED"], + CaseType: ["STANDARD"], CloudConfigurationRuleType: ["cloud_configuration"], CloudCostActivityType: ["cloud_cost_activity"], CloudWorkloadSecurityAgentRuleType: ["agent_rule"], @@ -1325,6 +1371,7 @@ const enumsMap: { [key: string]: any[] } = { OutcomesBatchType: ["batched-outcome"], PermissionsType: ["permissions"], ProcessSummaryType: ["process"], + ProjectResourceType: ["project"], ProjectedCostType: ["projected_cost"], QuerySortOrder: ["asc", "desc"], RUMAggregateSortType: ["alphabetical", "measure"], @@ -1565,6 +1612,7 @@ const enumsMap: { [key: string]: any[] } = { TimeseriesFormulaResponseType: ["timeseries_response"], UsageTimeSeriesType: ["usage_timeseries"], UserInvitationsType: ["user_invitations"], + UserResourceType: ["user"], UserTeamPermissionType: ["user_team_permissions"], UserTeamRole: ["admin"], UserTeamTeamType: ["team"], @@ -1720,6 +1768,28 @@ const typeMap: { [index: string]: any } = { CIAppTestsGroupBy: CIAppTestsGroupBy, CIAppTestsQueryFilter: CIAppTestsQueryFilter, CIAppWarning: CIAppWarning, + Case: Case, + CaseAssign: CaseAssign, + CaseAssignAttributes: CaseAssignAttributes, + CaseAssignRequest: CaseAssignRequest, + CaseAttributes: CaseAttributes, + CaseCreate: CaseCreate, + CaseCreateAttributes: CaseCreateAttributes, + CaseCreateRelationships: CaseCreateRelationships, + CaseCreateRequest: CaseCreateRequest, + CaseEmpty: CaseEmpty, + CaseEmptyRequest: CaseEmptyRequest, + CaseRelationships: CaseRelationships, + CaseResponse: CaseResponse, + CaseUpdatePriority: CaseUpdatePriority, + CaseUpdatePriorityAttributes: CaseUpdatePriorityAttributes, + CaseUpdatePriorityRequest: CaseUpdatePriorityRequest, + CaseUpdateStatus: CaseUpdateStatus, + CaseUpdateStatusAttributes: CaseUpdateStatusAttributes, + CaseUpdateStatusRequest: CaseUpdateStatusRequest, + CasesResponse: CasesResponse, + CasesResponseMeta: CasesResponseMeta, + CasesResponseMetaPagination: CasesResponseMetaPagination, ChargebackBreakdown: ChargebackBreakdown, CloudConfigurationComplianceRuleOptions: CloudConfigurationComplianceRuleOptions, @@ -2058,6 +2128,8 @@ const typeMap: { [index: string]: any } = { JSONAPIErrorResponse: JSONAPIErrorResponse, JiraIntegrationMetadata: JiraIntegrationMetadata, JiraIntegrationMetadataIssuesItem: JiraIntegrationMetadataIssuesItem, + JiraIssue: JiraIssue, + JiraIssueResult: JiraIssueResult, ListApplicationKeysResponse: ListApplicationKeysResponse, ListDowntimesResponse: ListDowntimesResponse, ListFindingsMeta: ListFindingsMeta, @@ -2196,6 +2268,8 @@ const typeMap: { [index: string]: any } = { MonthlyCostAttributionResponse: MonthlyCostAttributionResponse, NullableRelationshipToUser: NullableRelationshipToUser, NullableRelationshipToUserData: NullableRelationshipToUserData, + NullableUserRelationship: NullableUserRelationship, + NullableUserRelationshipData: NullableUserRelationshipData, OktaAccount: OktaAccount, OktaAccountAttributes: OktaAccountAttributes, OktaAccountRequest: OktaAccountRequest, @@ -2263,9 +2337,19 @@ const typeMap: { [index: string]: any } = { ProcessSummariesResponse: ProcessSummariesResponse, ProcessSummary: ProcessSummary, ProcessSummaryAttributes: ProcessSummaryAttributes, + Project: Project, + ProjectAttributes: ProjectAttributes, + ProjectCreate: ProjectCreate, + ProjectCreateAttributes: ProjectCreateAttributes, + ProjectCreateRequest: ProjectCreateRequest, + ProjectRelationship: ProjectRelationship, + ProjectRelationshipData: ProjectRelationshipData, + ProjectRelationships: ProjectRelationships, + ProjectResponse: ProjectResponse, ProjectedCost: ProjectedCost, ProjectedCostAttributes: ProjectedCostAttributes, ProjectedCostResponse: ProjectedCostResponse, + ProjectsResponse: ProjectsResponse, QueryFormula: QueryFormula, RUMAggregateBucketValueTimeseriesPoint: RUMAggregateBucketValueTimeseriesPoint, @@ -2596,6 +2680,8 @@ const typeMap: { [index: string]: any } = { ServiceDefinitionV2Repo: ServiceDefinitionV2Repo, ServiceDefinitionV2Slack: ServiceDefinitionV2Slack, ServiceDefinitionsListResponse: ServiceDefinitionsListResponse, + ServiceNowTicket: ServiceNowTicket, + ServiceNowTicketResult: ServiceNowTicketResult, SlackIntegrationMetadata: SlackIntegrationMetadata, SlackIntegrationMetadataChannelItem: SlackIntegrationMetadataChannelItem, Span: Span, @@ -2703,6 +2789,7 @@ const typeMap: { [index: string]: any } = { UserInvitationResponseData: UserInvitationResponseData, UserInvitationsRequest: UserInvitationsRequest, UserInvitationsResponse: UserInvitationsResponse, + UserRelationshipData: UserRelationshipData, UserRelationships: UserRelationships, UserResponse: UserResponse, UserResponseRelationships: UserResponseRelationships, @@ -2720,6 +2807,7 @@ const typeMap: { [index: string]: any } = { UserUpdateAttributes: UserUpdateAttributes, UserUpdateData: UserUpdateData, UserUpdateRequest: UserUpdateRequest, + UsersRelationship: UsersRelationship, UsersResponse: UsersResponse, }; diff --git a/packages/datadog-api-client-v2/models/Project.ts b/packages/datadog-api-client-v2/models/Project.ts new file mode 100644 index 000000000000..0ef50feb6e54 --- /dev/null +++ b/packages/datadog-api-client-v2/models/Project.ts @@ -0,0 +1,71 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ProjectAttributes } from "./ProjectAttributes"; +import { ProjectRelationships } from "./ProjectRelationships"; +import { ProjectResourceType } from "./ProjectResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A Project + */ +export class Project { + /** + * Project attributes + */ + "attributes": ProjectAttributes; + /** + * The Project's identifier + */ + "id": string; + /** + * Project relationships + */ + "relationships"?: ProjectRelationships; + /** + * Project resource type + */ + "type": ProjectResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ProjectAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "ProjectRelationships", + }, + type: { + baseName: "type", + type: "ProjectResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return Project.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectAttributes.ts b/packages/datadog-api-client-v2/models/ProjectAttributes.ts new file mode 100644 index 000000000000..3f7f5829b102 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectAttributes.ts @@ -0,0 +1,49 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project attributes + */ +export class ProjectAttributes { + /** + * The project's key + */ + "key"?: string; + /** + * Project's name + */ + "name"?: string; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + key: { + baseName: "key", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectCreate.ts b/packages/datadog-api-client-v2/models/ProjectCreate.ts new file mode 100644 index 000000000000..501844205416 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectCreate.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ProjectCreateAttributes } from "./ProjectCreateAttributes"; +import { ProjectResourceType } from "./ProjectResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project create + */ +export class ProjectCreate { + /** + * Project creation attributes + */ + "attributes": ProjectCreateAttributes; + /** + * Project resource type + */ + "type": ProjectResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ProjectCreateAttributes", + required: true, + }, + type: { + baseName: "type", + type: "ProjectResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectCreate.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts b/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts new file mode 100644 index 000000000000..972b1746fb57 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts @@ -0,0 +1,51 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project creation attributes + */ +export class ProjectCreateAttributes { + /** + * Project's key. Cannot be "CASE" + */ + "key": string; + /** + * name + */ + "name": string; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + key: { + baseName: "key", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectCreateAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts b/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts new file mode 100644 index 000000000000..4399edee3be6 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ProjectCreate } from "./ProjectCreate"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project create request + */ +export class ProjectCreateRequest { + /** + * Project create + */ + "data": ProjectCreate; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "ProjectCreate", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectCreateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectRelationship.ts b/packages/datadog-api-client-v2/models/ProjectRelationship.ts new file mode 100644 index 000000000000..f76a313f5152 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectRelationship.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ProjectRelationshipData } from "./ProjectRelationshipData"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to project + */ +export class ProjectRelationship { + /** + * Relationship to project object + */ + "data": ProjectRelationshipData; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "ProjectRelationshipData", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectRelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts b/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts new file mode 100644 index 000000000000..dcbb0744906e --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ProjectResourceType } from "./ProjectResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to project object + */ +export class ProjectRelationshipData { + /** + * A unique identifier that represents the project + */ + "id": string; + /** + * Project resource type + */ + "type": ProjectResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "ProjectResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectRelationshipData.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectRelationships.ts b/packages/datadog-api-client-v2/models/ProjectRelationships.ts new file mode 100644 index 000000000000..7ce9a356be39 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectRelationships.ts @@ -0,0 +1,51 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { RelationshipToTeamLinks } from "./RelationshipToTeamLinks"; +import { UsersRelationship } from "./UsersRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project relationships + */ +export class ProjectRelationships { + /** + * Relationship between a team and a team link + */ + "memberTeam"?: RelationshipToTeamLinks; + /** + * Relationship to users. + */ + "memberUser"?: UsersRelationship; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + memberTeam: { + baseName: "member_team", + type: "RelationshipToTeamLinks", + }, + memberUser: { + baseName: "member_user", + type: "UsersRelationship", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectResourceType.ts b/packages/datadog-api-client-v2/models/ProjectResourceType.ts new file mode 100644 index 000000000000..638af20b361d --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectResourceType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Project resource type + */ + +export type ProjectResourceType = typeof PROJECT | UnparsedObject; +export const PROJECT = "project"; diff --git a/packages/datadog-api-client-v2/models/ProjectResponse.ts b/packages/datadog-api-client-v2/models/ProjectResponse.ts new file mode 100644 index 000000000000..f145ca5a083b --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectResponse.ts @@ -0,0 +1,42 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Project } from "./Project"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Project response + */ +export class ProjectResponse { + /** + * A Project + */ + "data"?: Project; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Project", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ProjectsResponse.ts b/packages/datadog-api-client-v2/models/ProjectsResponse.ts new file mode 100644 index 000000000000..e3287eed2714 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ProjectsResponse.ts @@ -0,0 +1,42 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Project } from "./Project"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Response with projects + */ +export class ProjectsResponse { + /** + * Projects response data + */ + "data"?: Array; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ProjectsResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ServiceNowTicket.ts b/packages/datadog-api-client-v2/models/ServiceNowTicket.ts new file mode 100644 index 000000000000..87077edb74d1 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ServiceNowTicket.ts @@ -0,0 +1,51 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { Case3rdPartyTicketStatus } from "./Case3rdPartyTicketStatus"; +import { ServiceNowTicketResult } from "./ServiceNowTicketResult"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * ServiceNow ticket attached to case + */ +export class ServiceNowTicket { + /** + * ServiceNow ticket information + */ + "result"?: ServiceNowTicketResult; + /** + * Case status + */ + "status"?: Case3rdPartyTicketStatus; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + result: { + baseName: "result", + type: "ServiceNowTicketResult", + }, + status: { + baseName: "status", + type: "Case3rdPartyTicketStatus", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ServiceNowTicket.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts b/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts new file mode 100644 index 000000000000..cd77f307a84b --- /dev/null +++ b/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts @@ -0,0 +1,41 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * ServiceNow ticket information + */ +export class ServiceNowTicketResult { + /** + * Link to the Incident created on ServiceNow + */ + "sysTargetLink"?: string; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + sysTargetLink: { + baseName: "sys_target_link", + type: "string", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ServiceNowTicketResult.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/UserRelationshipData.ts b/packages/datadog-api-client-v2/models/UserRelationshipData.ts new file mode 100644 index 000000000000..a1113b6cfe2c --- /dev/null +++ b/packages/datadog-api-client-v2/models/UserRelationshipData.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { UserResourceType } from "./UserResourceType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to user object. + */ +export class UserRelationshipData { + /** + * A unique identifier that represents the user. + */ + "id": string; + /** + * User resource type. + */ + "type": UserResourceType; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "UserResourceType", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return UserRelationshipData.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/UserResourceType.ts b/packages/datadog-api-client-v2/models/UserResourceType.ts new file mode 100644 index 000000000000..50c8c2225b17 --- /dev/null +++ b/packages/datadog-api-client-v2/models/UserResourceType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * User resource type. + */ + +export type UserResourceType = typeof USER | UnparsedObject; +export const USER = "user"; diff --git a/packages/datadog-api-client-v2/models/UsersRelationship.ts b/packages/datadog-api-client-v2/models/UsersRelationship.ts new file mode 100644 index 000000000000..c7e527a93f71 --- /dev/null +++ b/packages/datadog-api-client-v2/models/UsersRelationship.ts @@ -0,0 +1,43 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { UserRelationshipData } from "./UserRelationshipData"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship to users. + */ +export class UsersRelationship { + /** + * Relationships to user objects. + */ + "data": Array; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + required: true, + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return UsersRelationship.attributeTypeMap; + } + + public constructor() {} +} From 87cf524565d5e6ac7e4773a4d55cc8de22db06e9 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:26:55 +0000 Subject: [PATCH 05/41] Update spec for DORA Metrics Incident endpoint (#1518) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +++---- .generator/schemas/v2/openapi.yaml | 24 +++++++++++++------ .../frozen.json | 2 +- .../recording.har | 16 ++++++------- .../v2/dora-metrics/CreateDORAIncident.ts | 7 +++--- features/v2/dora_metrics.feature | 4 ++-- .../models/DORAIncidentRequestAttributes.ts | 21 ++++++++++------ 7 files changed, 50 insertions(+), 32 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index c9ca3465d94a..9ad7db37db3e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-12 17:39:16.275525", - "spec_repo_commit": "3cda457d" + "regenerated": "2024-02-14 10:49:59.534367", + "spec_repo_commit": "9348385b" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-12 17:39:16.290807", - "spec_repo_commit": "3cda457d" + "regenerated": "2024-02-14 10:49:59.548715", + "spec_repo_commit": "9348385b" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4e26326131d9..3a7820429e6e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -5425,16 +5425,21 @@ components: git: $ref: '#/components/schemas/DORAGitInfo' id: - description: Incident ID + description: Incident ID. Required to update a previously sent incident. type: string name: description: Incident name. - example: Webserver is down failing all requests - type: string - service: - description: Service name from a service available in the Service Catalog. - example: shopist + example: Webserver is down failing all requests. type: string + services: + description: Service names impacted by the incident. If possible, use names + registered in the Service Catalog. Required when the team field is not + provided. + example: + - shopist + items: + type: string + type: array severity: description: Incident severity. example: High @@ -5444,12 +5449,17 @@ components: example: 1693491974000000000 format: int64 type: integer + team: + description: Name of the team owning the services impacted. If possible, + use team handles registered in Datadog. Required when the services field + is not provided. + example: backend + type: string version: description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/). example: v1.12.07 type: string required: - - service - started_at type: object DORAIncidentRequestData: diff --git a/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/frozen.json b/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/frozen.json index fd5754bc2d1b..a64b632ef773 100644 --- a/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/frozen.json +++ b/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/frozen.json @@ -1 +1 @@ -"2023-11-16T16:58:35.716Z" +"2024-02-13T16:54:07.556Z" diff --git a/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/recording.har b/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/recording.har index 7a6bbd97ea57..e7b830090981 100644 --- a/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/recording.har +++ b/cassettes/v2/DORA-Metrics_482886860/Send-an-incident-event-for-DORA-Metrics-returns-OK-response_1500109814/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "a24183b38fea964aafbfda94c6cfef2f", + "_id": "b139e470943b53f53db93c09d91fe207", "_order": 0, "cache": {}, "request": { - "bodySize": 349, + "bodySize": 353, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"finished_at\":1693491984000000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"name\":\"Webserver is down failing all requests\",\"service\":\"shopist\",\"severity\":\"High\",\"started_at\":1693491974000000000,\"version\":\"v1.12.07\"}}}" + "text": "{\"data\":{\"attributes\":{\"finished_at\":1707842944600000000,\"git\":{\"commit_sha\":\"66adc9350f2cc9b250b69abddab733dd55e1a588\",\"repository_url\":\"https://github.com/organization/example-repository\"},\"name\":\"Webserver is down failing all requests\",\"services\":[\"shopist\"],\"severity\":\"High\",\"started_at\":1707842944500000000,\"team\":\"backend\",\"version\":\"v1.12.07\"}}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/dora/incident" }, "response": { - "bodySize": 57, + "bodySize": 77, "content": { "mimeType": "application/vnd.api+json", - "size": 57, - "text": "{\"data\":{\"id\":\"2a47b5f25b160b8a\",\"type\":\"dora_incident\"}}" + "size": 77, + "text": "{\"data\":{\"id\":\"2775a2d3-6c28-4934-ae60-0ef9ce3720ee\",\"type\":\"dora_incident\"}}" }, "cookies": [], "headers": [ @@ -57,8 +57,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-11-16T16:58:35.719Z", - "time": 473 + "startedDateTime": "2024-02-13T16:54:07.565Z", + "time": 386 } ], "pages": [], diff --git a/examples/v2/dora-metrics/CreateDORAIncident.ts b/examples/v2/dora-metrics/CreateDORAIncident.ts index ef8b2f64b627..213e39fa9d02 100644 --- a/examples/v2/dora-metrics/CreateDORAIncident.ts +++ b/examples/v2/dora-metrics/CreateDORAIncident.ts @@ -12,15 +12,16 @@ const params: v2.DORAMetricsApiCreateDORAIncidentRequest = { body: { data: { attributes: { - finishedAt: 1693491984000000000, + finishedAt: 1707842944600000000, git: { commitSha: "66adc9350f2cc9b250b69abddab733dd55e1a588", repositoryUrl: "https://github.com/organization/example-repository", }, name: "Webserver is down failing all requests", - service: "shopist", + services: ["shopist"], severity: "High", - startedAt: 1693491974000000000, + startedAt: 1707842944500000000, + team: "backend", version: "v1.12.07", }, }, diff --git a/features/v2/dora_metrics.feature b/features/v2/dora_metrics.feature index 87f233ef18a0..06909d7a3469 100644 --- a/features/v2/dora_metrics.feature +++ b/features/v2/dora_metrics.feature @@ -44,7 +44,7 @@ Feature: DORA Metrics Scenario: Send an incident event for DORA Metrics returns "OK - but delayed due to incident" response Given operation "CreateDORAIncident" enabled And new "CreateDORAIncident" request - And body with value {"data": {"attributes": {"env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests", "service": "shopist", "severity": "High", "started_at": 1693491974000000000, "version": "v1.12.07"}}} + And body with value {"data": {"attributes": {"env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}} When the request is sent Then the response status is 202 OK - but delayed due to incident @@ -52,6 +52,6 @@ Feature: DORA Metrics Scenario: Send an incident event for DORA Metrics returns "OK" response Given operation "CreateDORAIncident" enabled And new "CreateDORAIncident" request - And body with value {"data": {"attributes": {"finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests", "service": "shopist", "severity": "High", "started_at": 1693491974000000000, "version": "v1.12.07"}}} + And body with value {"data": {"attributes": {"finished_at": 1707842944600000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests", "services": ["shopist"], "severity": "High", "started_at": 1707842944500000000, "team": "backend", "version": "v1.12.07"}}} When the request is sent Then the response status is 200 OK diff --git a/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts b/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts index 7c91505043e6..0e54c97db8e6 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts @@ -24,7 +24,7 @@ export class DORAIncidentRequestAttributes { */ "git"?: DORAGitInfo; /** - * Incident ID + * Incident ID. Required to update a previously sent incident. */ "id"?: string; /** @@ -32,9 +32,9 @@ export class DORAIncidentRequestAttributes { */ "name"?: string; /** - * Service name from a service available in the Service Catalog. + * Service names impacted by the incident. If possible, use names registered in the Service Catalog. Required when the team field is not provided. */ - "service": string; + "services"?: Array; /** * Incident severity. */ @@ -43,6 +43,10 @@ export class DORAIncidentRequestAttributes { * Unix timestamp in nanoseconds when the incident started. */ "startedAt": number; + /** + * Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided. + */ + "team"?: string; /** * Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/). */ @@ -78,10 +82,9 @@ export class DORAIncidentRequestAttributes { baseName: "name", type: "string", }, - service: { - baseName: "service", - type: "string", - required: true, + services: { + baseName: "services", + type: "Array", }, severity: { baseName: "severity", @@ -93,6 +96,10 @@ export class DORAIncidentRequestAttributes { required: true, format: "int64", }, + team: { + baseName: "team", + type: "string", + }, version: { baseName: "version", type: "string", From 0fb77e7f9c6d5d8735004e467aae466f84cbb74f Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:40:47 +0000 Subject: [PATCH 06/41] Make grpc steps available for synthetics api multisteps tests (#1519) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +-- .generator/schemas/v1/openapi.yaml | 2 + .../frozen.json | 2 +- .../recording.har | 54 +++++++++---------- .../frozen.json | 2 +- .../recording.har | 26 ++++----- .../CreateSyntheticsAPITest_1279271422.ts | 29 ++++++++++ features/v1/given.json | 2 +- features/v1/synthetics.feature | 1 + ...ynthetics_api_test_multi_step_payload.json | 28 ++++++++++ .../models/ObjectSerializer.ts | 2 +- .../models/SyntheticsAPIStepSubtype.ts | 6 ++- 12 files changed, 113 insertions(+), 49 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 9ad7db37db3e..0df4169d5bba 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-14 10:49:59.534367", - "spec_repo_commit": "9348385b" + "regenerated": "2024-02-15 11:25:09.568399", + "spec_repo_commit": "14c48bc8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-14 10:49:59.548715", - "spec_repo_commit": "9348385b" + "regenerated": "2024-02-15 11:25:09.711746", + "spec_repo_commit": "14c48bc8" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 99631ba18dcc..c887fc9ec04f 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -13213,10 +13213,12 @@ components: only supporting `http`. enum: - http + - grpc example: http type: string x-enum-varnames: - HTTP + - GRPC SyntheticsAPITest: description: Object containing details about a Synthetic API test. properties: diff --git a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json index 69dfdcfd01c0..8a529f6bcefc 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json +++ b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json @@ -1 +1 @@ -"2024-01-26T10:20:27.109Z" +"2024-02-14T09:56:55.385Z" diff --git a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har index 8fb8fec91cb8..a8ac47544c9f 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har +++ b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "6f009174df89cdc1a7f659377b3e4c0f", + "_id": "4726b48260959663751fd8e1e5058a6d", "_order": 0, "cache": {}, "request": { - "bodySize": 1037, + "bodySize": 2152, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1706264427\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1706264427\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" + "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, "response": { - "bodySize": 1430, + "bodySize": 2654, "content": { "mimeType": "application/json", - "size": 1430, - "text": "{\"public_id\":\"izb-9gc-92w\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1706264427\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-01-26T10:20:27.717659+00:00\",\"modified_at\":\"2024-01-26T10:20:27.717659+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"79d-ysr-wwj\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1706264427\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":138446065,\"org_id\":569509,\"modified_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}" + "size": 2654, + "text": "{\"public_id\":\"6td-hmb-t6f\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-02-14T09:56:55.729504+00:00\",\"modified_at\":\"2024-02-14T09:56:55.729504+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"7g9-x3d-mid\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"xnr-5zr-293\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":139518955,\"org_id\":321813,\"modified_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"}}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 663, + "headersSize": 662, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:27.114Z", - "time": 707 + "startedDateTime": "2024-02-14T09:56:55.396Z", + "time": 409 }, { - "_id": "0d92c2e4779206e8c45c02f652cb21e4", + "_id": "847424fbdd469b078c913a9b3f81056e", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1706264427\",\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_public_id\":\"izb-9gc-92w\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" + "text": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1707904615\",\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_public_id\":\"6td-hmb-t6f\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/variables" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 510, - "text": "{\"id\":\"a586a64d-cd9f-4983-8d00-81dcefb919ac\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1706264427\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"parse_test_public_id\":\"izb-9gc-92w\",\"parse_test_name\":null,\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_extracted_at\":null,\"is_totp\":null,\"is_fido\":null,\"last_error\":null,\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}\n" + "text": "{\"id\":\"b8daafc5-09e1-4f63-9f44-c973b2ec57dc\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1707904615\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"parse_test_public_id\":\"6td-hmb-t6f\",\"parse_test_name\":null,\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_extracted_at\":null,\"is_totp\":null,\"is_fido\":null,\"last_error\":null,\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}\n" }, "cookies": [], "headers": [ @@ -104,17 +104,17 @@ "value": "application/json" } ], - "headersSize": 666, + "headersSize": 665, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:27.839Z", - "time": 455 + "startedDateTime": "2024-02-14T09:56:55.814Z", + "time": 755 }, { - "_id": "dcaa0b3835667c0a688e7b90e24d285e", + "_id": "171e1644a37e1d957f11cf7d90cef236", "_order": 0, "cache": {}, "request": { @@ -127,11 +127,11 @@ "value": "*/*" } ], - "headersSize": 548, + "headersSize": 547, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v1/synthetics/variables/a586a64d-cd9f-4983-8d00-81dcefb919ac" + "url": "https://api.datadoghq.com/api/v1/synthetics/variables/b8daafc5-09e1-4f63-9f44-c973b2ec57dc" }, "response": { "bodySize": 0, @@ -146,17 +146,17 @@ "value": "text/html; charset=utf-8" } ], - "headersSize": 649, + "headersSize": 648, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:28.304Z", - "time": 621 + "startedDateTime": "2024-02-14T09:56:56.578Z", + "time": 192 }, { - "_id": "862672111e7eed0d259e2f235ae804a3", + "_id": "0e9cc95d8a70460b3da208961d72ca43", "_order": 0, "cache": {}, "request": { @@ -180,7 +180,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"public_ids\":[\"izb-9gc-92w\"]}" + "text": "{\"public_ids\":[\"6td-hmb-t6f\"]}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" @@ -190,7 +190,7 @@ "content": { "mimeType": "application/json", "size": 96, - "text": "{\"deleted_tests\":[{\"public_id\":\"izb-9gc-92w\",\"deleted_at\":\"2024-01-26T10:20:29.374347+00:00\"}]}\n" + "text": "{\"deleted_tests\":[{\"public_id\":\"6td-hmb-t6f\",\"deleted_at\":\"2024-02-14T09:56:56.985642+00:00\"}]}\n" }, "cookies": [], "headers": [ @@ -199,14 +199,14 @@ "value": "application/json" } ], - "headersSize": 662, + "headersSize": 661, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:28.934Z", - "time": 915 + "startedDateTime": "2024-02-14T09:56:56.779Z", + "time": 379 } ], "pages": [], diff --git a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json index 3cc68cb9ad92..c55a7cce6b90 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json +++ b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json @@ -1 +1 @@ -"2024-01-26T10:20:47.505Z" +"2024-02-14T09:52:43.647Z" diff --git a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har index e192046d2074..e5058acd7ae2 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har +++ b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "16b71032f529c6bd020dab1b921b5307", + "_id": "f71c7ca79265b01927f01c9f8f766912", "_order": 0, "cache": {}, "request": { - "bodySize": 1109, + "bodySize": 2224, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1706264447\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1706264447\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" + "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, "response": { - "bodySize": 1502, + "bodySize": 2636, "content": { "mimeType": "application/json", - "size": 1502, - "text": "{\"public_id\":\"gvd-8ek-8j4\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1706264447\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-01-26T10:20:47.990304+00:00\",\"modified_at\":\"2024-01-26T10:20:47.990304+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"tj8-64v-kmn\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1706264447\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":138446072,\"org_id\":569509,\"modified_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}" + "size": 2636, + "text": "{\"public_id\":\"49h-gaa-dte\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-02-14T09:52:44.302597+00:00\",\"modified_at\":\"2024-02-14T09:52:44.302597+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"nt6-mfm-kis\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"ksz-bri-vu5\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":139518783,\"org_id\":569509,\"modified_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:47.508Z", - "time": 580 + "startedDateTime": "2024-02-14T09:52:43.656Z", + "time": 771 }, { - "_id": "1ccaa9c7993a7509c1791a7b61c7f3b6", + "_id": "5bdd6ed788b823f3e96b63759879ebeb", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"public_ids\":[\"gvd-8ek-8j4\"]}" + "text": "{\"public_ids\":[\"49h-gaa-dte\"]}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 96, - "text": "{\"deleted_tests\":[{\"public_id\":\"gvd-8ek-8j4\",\"deleted_at\":\"2024-01-26T10:20:48.529333+00:00\"}]}\n" + "text": "{\"deleted_tests\":[{\"public_id\":\"49h-gaa-dte\",\"deleted_at\":\"2024-02-14T09:52:44.978031+00:00\"}]}\n" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-01-26T10:20:48.096Z", - "time": 577 + "startedDateTime": "2024-02-14T09:52:44.448Z", + "time": 668 } ], "pages": [], diff --git a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts index 6364535811fa..c87e122d174b 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts @@ -52,6 +52,35 @@ const params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = { }, subtype: "http", }, + { + name: "GRPC CALL", + subtype: "grpc", + extractedValues: [], + allowFailure: false, + isCritical: true, + retry: { + count: 0, + interval: 300, + }, + assertions: [ + { + operator: "lessThan", + type: "responseTime", + target: 1000, + }, + ], + request: { + host: "grpcbin.test.k6.io", + port: 9000, + service: "grpcbin.GRPCBin", + method: "Index", + message: "{}", + compressedJsonDescriptor: + "eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==", + metadata: {}, + callType: "unary", + }, + }, ], }, locations: ["aws:us-east-2"], diff --git a/features/v1/given.json b/features/v1/given.json index 205b1ecb2f16..6ba2f4e62d0d 100644 --- a/features/v1/given.json +++ b/features/v1/given.json @@ -250,7 +250,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\"\n }\n ]\n },\n \"locations\": [\"aws:us-east-2\"],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": { \"count\": 3, \"interval\": 1000 },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\"testing:api\"],\n \"type\": \"api\"\n}\n" + "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\"\n },\n {\n \"name\": \"GRPC CALL\",\n \"subtype\": \"grpc\",\n \"extractedValues\": [],\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"grpcbin.test.k6.io\",\n \"port\": 9000,\n \"service\": \"grpcbin.GRPCBin\",\n \"method\": \"Index\",\n \"message\": \"{}\",\n \"compressedJsonDescriptor\": \"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\n \"metadata\": {},\n \"callType\": \"unary\"\n }\n }\n ]\n },\n \"locations\": [\"aws:us-east-2\"],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": { \"count\": 3, \"interval\": 1000 },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\"testing:api\"],\n \"type\": \"api\"\n}\n" } ], "step": "there is a valid \"synthetics_api_test_multi_step\" in the system", diff --git a/features/v1/synthetics.feature b/features/v1/synthetics.feature index 9b9722550cc5..36f747431546 100644 --- a/features/v1/synthetics.feature +++ b/features/v1/synthetics.feature @@ -203,6 +203,7 @@ Feature: Synthetics And the response "config.steps[0].retry.count" is equal to 5 And the response "config.steps[0].retry.interval" is equal to 1000 And the response "config.steps[0].extractedValues[0].secure" is equal to true + And the response "config.steps[1].request.host" is equal to "grpcbin.test.k6.io" @generated @skip @team:DataDog/synthetics-app Scenario: Delete a global variable returns "JSON format is wrong" response diff --git a/features/v1/synthetics_api_test_multi_step_payload.json b/features/v1/synthetics_api_test_multi_step_payload.json index f514958caa24..287784361564 100644 --- a/features/v1/synthetics_api_test_multi_step_payload.json +++ b/features/v1/synthetics_api_test_multi_step_payload.json @@ -41,6 +41,34 @@ "interval": 1000 }, "subtype": "http" + }, + { + "name": "GRPC CALL", + "subtype": "grpc", + "extractedValues": [], + "allowFailure": false, + "isCritical": true, + "retry": { + "count": 0, + "interval": 300 + }, + "assertions": [ + { + "operator": "lessThan", + "type": "responseTime", + "target": 1000 + } + ], + "request": { + "host": "grpcbin.test.k6.io", + "port": 9000, + "service": "grpcbin.GRPCBin", + "method": "Index", + "message": "{}", + "compressedJsonDescriptor": "eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==", + "metadata": {}, + "callType": "unary" + } } ] }, diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index 555bd7880fa6..942e133cf5d1 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -1130,7 +1130,7 @@ const enumsMap: { [key: string]: any[] } = { SunburstWidgetDefinitionType: ["sunburst"], SunburstWidgetLegendInlineAutomaticType: ["inline", "automatic"], SunburstWidgetLegendTableType: ["table", "none"], - SyntheticsAPIStepSubtype: ["http"], + SyntheticsAPIStepSubtype: ["http", "grpc"], SyntheticsAPITestType: ["api"], SyntheticsApiTestFailureCode: [ "BODY_TOO_LARGE", diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPIStepSubtype.ts b/packages/datadog-api-client-v1/models/SyntheticsAPIStepSubtype.ts index fab32846f097..97112e0239c8 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPIStepSubtype.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPIStepSubtype.ts @@ -10,5 +10,9 @@ import { UnparsedObject } from "../../datadog-api-client-common/util"; * The subtype of the Synthetic multistep API test step, currently only supporting `http`. */ -export type SyntheticsAPIStepSubtype = typeof HTTP | UnparsedObject; +export type SyntheticsAPIStepSubtype = + | typeof HTTP + | typeof GRPC + | UnparsedObject; export const HTTP = "http"; +export const GRPC = "grpc"; From 3e2a3c0e1ddcb775a8a57f9873240300d28314d8 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:23:06 +0000 Subject: [PATCH 07/41] Minor update to CBT documentation (#1522) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 ++-- packages/datadog-api-client-v2/apis/UsageMeteringApi.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 0df4169d5bba..07a23082d712 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-15 11:25:09.568399", - "spec_repo_commit": "14c48bc8" + "regenerated": "2024-02-15 17:40:09.256364", + "spec_repo_commit": "45fd84e5" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-15 11:25:09.711746", - "spec_repo_commit": "14c48bc8" + "regenerated": "2024-02-15 17:40:09.270868", + "spec_repo_commit": "45fd84e5" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3a7820429e6e..88f59f7fce6b 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -24052,7 +24052,7 @@ paths: /api/v2/cost_by_tag/active_billing_dimensions: get: description: Get active billing dimensions for cost attribution. Cost data for - a given month becomes available no later than the 17th of the following month. + a given month becomes available no later than the 19th of the following month. operationId: GetActiveBillingDimensions responses: '200': @@ -24094,7 +24094,7 @@ paths: get: description: "Get monthly cost attribution by tag across multi-org and single root-org accounts.\nCost Attribution data for a given month becomes available - no later than the 17th of the following month.\nThis API endpoint is paginated. + no later than the 19th of the following month.\nThis API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is\nset in the response. If it is, make another request and pass `next_record_id` as a parameter.\nPseudo code example:\n```\nresponse := GetMonthlyCostAttribution(start_month, diff --git a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts index 92e9fc3a3b37..4ab32dbf8dd4 100644 --- a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts @@ -1482,7 +1482,7 @@ export class UsageMeteringApi { } /** - * Get active billing dimensions for cost attribution. Cost data for a given month becomes available no later than the 17th of the following month. + * Get active billing dimensions for cost attribution. Cost data for a given month becomes available no later than the 19th of the following month. * @param param The request object */ public getActiveBillingDimensions( @@ -1609,7 +1609,7 @@ export class UsageMeteringApi { /** * Get monthly cost attribution by tag across multi-org and single root-org accounts. - * Cost Attribution data for a given month becomes available no later than the 17th of the following month. + * Cost Attribution data for a given month becomes available no later than the 19th of the following month. * This API endpoint is paginated. To make sure you receive all records, check if the value of `next_record_id` is * set in the response. If it is, make another request and pass `next_record_id` as a parameter. * Pseudo code example: From c22c8df72f4b15f1823612cfecfc3311f8956b8e Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:54:49 +0000 Subject: [PATCH 08/41] Add cloud run filter to GCP v1 and v2 spec (#1496) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +- .generator/schemas/v1/openapi.yaml | 12 ++ .generator/schemas/v2/openapi.yaml | 12 ++ .../frozen.json | 2 +- .../recording.har | 20 +- .../frozen.json | 1 + .../recording.har | 173 ++++++++++++++++++ .../frozen.json | 1 + .../recording.har | 109 +++++++++++ .../frozen.json | 1 + .../recording.har | 162 ++++++++++++++++ .../gcp-integration/CreateGCPIntegration.ts | 1 + .../UpdateGCPIntegration_3544259255.ts | 38 ++++ .../CreateGCPSTSAccount_194782945.ts | 30 +++ .../UpdateGCPSTSAccount_2241994060.ts | 34 ++++ features/v1/gcp_integration.feature | 16 +- features/v2/gcp_integration.feature | 27 ++- .../models/GCPAccount.ts | 9 + .../models/GCPSTSServiceAccountAttributes.ts | 9 + 19 files changed, 642 insertions(+), 23 deletions(-) create mode 100644 cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/frozen.json create mode 100644 cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/recording.har create mode 100644 cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/frozen.json create mode 100644 cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/recording.har create mode 100644 cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/frozen.json create mode 100644 cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/recording.har create mode 100644 examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.ts create mode 100644 examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.ts create mode 100644 examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.ts diff --git a/.apigentools-info b/.apigentools-info index 07a23082d712..4ecb97c01edc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-15 17:40:09.256364", - "spec_repo_commit": "45fd84e5" + "regenerated": "2024-02-16 18:03:02.278194", + "spec_repo_commit": "dc02d0d0" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-15 17:40:09.270868", - "spec_repo_commit": "45fd84e5" + "regenerated": "2024-02-16 18:03:02.294405", + "spec_repo_commit": "dc02d0d0" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c887fc9ec04f..89e57a83cb63 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3207,6 +3207,18 @@ components: key.' example: https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL type: string + cloud_run_revision_filters: + description: 'Limit the Cloud Run revisions that are pulled into Datadog + by using tags. + + Only Cloud Run revision resources that apply to specified filters are + imported into Datadog.' + example: + - $KEY:$VALUE + items: + description: Cloud Run Filters + type: string + type: array errors: description: An array of errors. example: diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 88f59f7fce6b..fed2ffd9be76 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7388,6 +7388,18 @@ components: description: Your service account email address. example: datadog-service-account@test-project.iam.gserviceaccount.com type: string + cloud_run_revision_filters: + description: 'List of filters to limit the Cloud Run revisions that are + pulled into Datadog by using tags. + + Only Cloud Run revision resources that apply to specified filters are + imported into Datadog.' + example: + - $KEY:$VALUE + items: + description: Cloud Run Filters + type: string + type: array host_filters: description: Your Host Filters. items: diff --git a/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/frozen.json b/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/frozen.json index 6b0116ccffc5..6cbe8c24d636 100644 --- a/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/frozen.json +++ b/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/frozen.json @@ -1 +1 @@ -"2023-12-20T13:18:07.717Z" +"2024-01-31T21:16:03.254Z" diff --git a/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/recording.har b/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/recording.har index 24e9b672b37b..9e3aa861b1d7 100644 --- a/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/recording.har +++ b/cassettes/v1/GCP-Integration_2417533655/Create-a-GCP-integration-returns-OK-response_610294268/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "b2cb47eb6ade915c2537254b4d580891", + "_id": "39099d420474c6096e87c89c0c161c61", "_order": 0, "cache": {}, "request": { - "bodySize": 645, + "bodySize": 685, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"e5bbc86fb86ab202@example.com\",\"client_id\":\"170307828717030782870\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}" + "text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"3af93b0f1c973838@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"dr:dre\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/gcp" @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-20T13:18:07.738Z", - "time": 787 + "startedDateTime": "2024-01-31T21:16:03.264Z", + "time": 428 }, { - "_id": "ec417b17fee2cfb4bfe3bcf49d0d30e7", + "_id": "06f3a96597322f4179870a809aaab104", "_order": 0, "cache": {}, "request": { @@ -79,13 +79,13 @@ "value": "application/json" } ], - "headersSize": 572, + "headersSize": 571, "httpVersion": "HTTP/1.1", "method": "DELETE", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"client_email\":\"e5bbc86fb86ab202@example.com\",\"client_id\":\"170307828717030782870\",\"project_id\":\"datadog-apitest\"}" + "text": "{\"client_email\":\"3af93b0f1c973838@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/gcp" @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-20T13:18:08.542Z", - "time": 412 + "startedDateTime": "2024-01-31T21:16:03.699Z", + "time": 121 } ], "pages": [], diff --git a/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/frozen.json b/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/frozen.json new file mode 100644 index 000000000000..c17ef3f60283 --- /dev/null +++ b/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/frozen.json @@ -0,0 +1 @@ +"2024-01-31T21:16:03.829Z" diff --git a/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/recording.har b/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/recording.har new file mode 100644 index 000000000000..8c1f14efe11c --- /dev/null +++ b/cassettes/v1/GCP-Integration_2417533655/Update-a-GCP-integration-cloud-run-revision-filters-returns-OK-response_1703063249/recording.har @@ -0,0 +1,173 @@ +{ + "log": { + "_recordingName": "GCP Integration/Update a GCP integration cloud run revision filters returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "d5af362cfd17a774895126db7016b73d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 645, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 570, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v1/integration/gcp" + }, + "response": { + "bodySize": 3, + "content": { + "mimeType": "application/json", + "size": 3, + "text": "{}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 492, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-01-31T21:16:03.836Z", + "time": 386 + }, + { + "_id": "b6bc74a2d4a7d7dcd8c4a4480213d777", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 688, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 569, + "httpVersion": "HTTP/1.1", + "method": "PUT", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"auth_provider_x509_cert_url\":\"https://www.googleapis.com/oauth2/v1/certs\",\"auth_uri\":\"https://accounts.google.com/o/oauth2/auth\",\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"client_x509_cert_url\":\"https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL\",\"cloud_run_revision_filters\":[\"merp:derp\"],\"host_filters\":\"key:value,filter:example\",\"is_cspm_enabled\":true,\"is_security_command_center_enabled\":true,\"private_key\":\"private_key\",\"private_key_id\":\"123456789abcdefghi123456789abcdefghijklm\",\"project_id\":\"datadog-apitest\",\"resource_collection_enabled\":true,\"token_uri\":\"https://accounts.google.com/o/oauth2/token\",\"type\":\"service_account\"}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v1/integration/gcp" + }, + "response": { + "bodySize": 3, + "content": { + "mimeType": "application/json", + "size": 3, + "text": "{}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 492, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-01-31T21:16:04.227Z", + "time": 137 + }, + { + "_id": "a91e4faee28489f69bbcf410954d7806", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 114, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 572, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"client_email\":\"edcdf6542ac6e6b6@example.com\",\"client_id\":\"170673576317067357630\",\"project_id\":\"datadog-apitest\"}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v1/integration/gcp" + }, + "response": { + "bodySize": 3, + "content": { + "mimeType": "application/json", + "size": 3, + "text": "{}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 492, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-01-31T21:16:04.370Z", + "time": 105 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/frozen.json b/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/frozen.json new file mode 100644 index 000000000000..6cf2fe42d16c --- /dev/null +++ b/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/frozen.json @@ -0,0 +1 @@ +"2024-01-31T21:16:04.924Z" diff --git a/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/recording.har b/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/recording.har new file mode 100644 index 000000000000..eca46657a157 --- /dev/null +++ b/cassettes/v2/GCP-Integration_2417533655/Create-a-new-entry-for-your-service-account-with-cloud-run-revision-filters-enabled-return_462544755/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "GCP Integration/Create a new entry for your service account with cloud run revision filters enabled returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "47a66398572b0d1d83f9556e64ce5555", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 185, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 578, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"client_email\":\"feb37f50ee7be467@test-project.iam.gserviceaccount.com\",\"cloud_run_revision_filters\":[\"meh:bleh\"],\"host_filters\":[]},\"type\":\"gcp_service_account\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" + }, + "response": { + "bodySize": 368, + "content": { + "mimeType": "application/json", + "size": 368, + "text": "{\"data\":{\"type\":\"gcp_service_account\",\"attributes\":{\"cloud_run_revision_filters\":[\"meh:bleh\"],\"resource_collection_enabled\":false,\"host_filters\":[],\"automute\":false,\"is_cspm_enabled\":false,\"account_tags\":[],\"client_email\":\"feb37f50ee7be467@test-project.iam.gserviceaccount.com\",\"is_security_command_center_enabled\":false},\"id\":\"e1157377-8d5c-4a94-9730-10c3fa9d6ff5\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 658, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-01-31T21:16:05.187Z", + "time": 392 + }, + { + "_id": "1a91e8834df76cf0f341faea9cbad7e6", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 551, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/e1157377-8d5c-4a94-9730-10c3fa9d6ff5" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 645, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-01-31T21:16:05.586Z", + "time": 111 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/frozen.json b/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/frozen.json new file mode 100644 index 000000000000..89d26a7c9058 --- /dev/null +++ b/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/frozen.json @@ -0,0 +1 @@ +"2024-01-31T21:16:05.705Z" diff --git a/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/recording.har b/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/recording.har new file mode 100644 index 000000000000..0e77dcffdc6f --- /dev/null +++ b/cassettes/v2/GCP-Integration_2417533655/Update-STS-Service-Account-returns-OK-response-with-cloud-run-revision-filters_459537172/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "GCP Integration/Update STS Service Account returns \"OK\" response with cloud run revision filters", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "2c875aa6d8b220953d2b892ece8be85c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 118, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 578, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"client_email\":\"a8e08a7fa29a1adb@example.com\",\"host_filters\":[]},\"type\":\"gcp_service_account\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/integration/gcp/accounts" + }, + "response": { + "bodySize": 333, + "content": { + "mimeType": "application/json", + "size": 333, + "text": "{\"data\":{\"type\":\"gcp_service_account\",\"id\":\"3e6ad31b-2da5-4ad4-878a-4d290520173b\",\"attributes\":{\"account_tags\":[],\"resource_collection_enabled\":false,\"is_cspm_enabled\":false,\"automute\":false,\"host_filters\":[],\"is_security_command_center_enabled\":false,\"cloud_run_revision_filters\":[],\"client_email\":\"a8e08a7fa29a1adb@example.com\"}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 658, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-01-31T21:16:05.708Z", + "time": 339 + }, + { + "_id": "c442f49c76e23033c03ea5ff456fe64a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 187, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 616, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"client_email\":\"a8e08a7fa29a1adb@example.com\",\"cloud_run_revision_filters\":[\"merp:derp\"]},\"id\":\"3e6ad31b-2da5-4ad4-878a-4d290520173b\",\"type\":\"gcp_service_account\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/3e6ad31b-2da5-4ad4-878a-4d290520173b" + }, + "response": { + "bodySize": 344, + "content": { + "mimeType": "application/json", + "size": 344, + "text": "{\"data\":{\"type\":\"gcp_service_account\",\"id\":\"3e6ad31b-2da5-4ad4-878a-4d290520173b\",\"attributes\":{\"cloud_run_revision_filters\":[\"merp:derp\"],\"host_filters\":[],\"automute\":false,\"is_security_command_center_enabled\":false,\"account_tags\":[],\"client_email\":\"a8e08a7fa29a1adb@example.com\",\"is_cspm_enabled\":false,\"resource_collection_enabled\":false}}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 658, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2024-01-31T21:16:06.052Z", + "time": 358 + }, + { + "_id": "749dee69703013d2fdb2a6627dea1d7f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 551, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/integration/gcp/accounts/3e6ad31b-2da5-4ad4-878a-4d290520173b" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 645, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-01-31T21:16:06.415Z", + "time": 102 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v1/gcp-integration/CreateGCPIntegration.ts b/examples/v1/gcp-integration/CreateGCPIntegration.ts index db7216b81a92..37aabd97c4d5 100644 --- a/examples/v1/gcp-integration/CreateGCPIntegration.ts +++ b/examples/v1/gcp-integration/CreateGCPIntegration.ts @@ -16,6 +16,7 @@ const params: v1.GCPIntegrationApiCreateGCPIntegrationRequest = { clientX509CertUrl: "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", hostFilters: "key:value,filter:example", + cloudRunRevisionFilters: ["dr:dre"], isCspmEnabled: true, isSecurityCommandCenterEnabled: true, privateKey: "private_key", diff --git a/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.ts b/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.ts new file mode 100644 index 000000000000..0063aab006f0 --- /dev/null +++ b/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.ts @@ -0,0 +1,38 @@ +/** + * Update a GCP integration cloud run revision filters returns "OK" response + */ + +import { client, v1 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v1.GCPIntegrationApi(configuration); + +const params: v1.GCPIntegrationApiUpdateGCPIntegrationRequest = { + body: { + authProviderX509CertUrl: "https://www.googleapis.com/oauth2/v1/certs", + authUri: "https://accounts.google.com/o/oauth2/auth", + clientEmail: "252bf553ef04b351@example.com", + clientId: "163662907116366290710", + clientX509CertUrl: + "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", + hostFilters: "key:value,filter:example", + cloudRunRevisionFilters: ["merp:derp"], + isCspmEnabled: true, + isSecurityCommandCenterEnabled: true, + privateKey: "private_key", + privateKeyId: "123456789abcdefghi123456789abcdefghijklm", + projectId: "datadog-apitest", + resourceCollectionEnabled: true, + tokenUri: "https://accounts.google.com/o/oauth2/token", + type: "service_account", + }, +}; + +apiInstance + .updateGCPIntegration(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.ts b/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.ts new file mode 100644 index 000000000000..4db838853a73 --- /dev/null +++ b/examples/v2/gcp-integration/CreateGCPSTSAccount_194782945.ts @@ -0,0 +1,30 @@ +/** + * Create a new entry for your service account with cloud run revision filters enabled returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.GCPIntegrationApi(configuration); + +const params: v2.GCPIntegrationApiCreateGCPSTSAccountRequest = { + body: { + data: { + attributes: { + cloudRunRevisionFilters: ["meh:bleh"], + clientEmail: "252bf553ef04b351@test-project.iam.gserviceaccount.com", + hostFilters: [], + }, + type: "gcp_service_account", + }, + }, +}; + +apiInstance + .createGCPSTSAccount(params) + .then((data: v2.GCPSTSServiceAccountResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.ts b/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.ts new file mode 100644 index 000000000000..98aebd7f9440 --- /dev/null +++ b/examples/v2/gcp-integration/UpdateGCPSTSAccount_2241994060.ts @@ -0,0 +1,34 @@ +/** + * Update STS Service Account returns "OK" response with cloud run revision filters + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.GCPIntegrationApi(configuration); + +// there is a valid "gcp_sts_account" in the system +const GCP_STS_ACCOUNT_DATA_ID = process.env.GCP_STS_ACCOUNT_DATA_ID as string; + +const params: v2.GCPIntegrationApiUpdateGCPSTSAccountRequest = { + body: { + data: { + attributes: { + clientEmail: "252bf553ef04b351@example.com", + cloudRunRevisionFilters: ["merp:derp"], + }, + id: GCP_STS_ACCOUNT_DATA_ID, + type: "gcp_service_account", + }, + }, + accountId: GCP_STS_ACCOUNT_DATA_ID, +}; + +apiInstance + .updateGCPSTSAccount(params) + .then((data: v2.GCPSTSServiceAccountResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/v1/gcp_integration.feature b/features/v1/gcp_integration.feature index cc078be2f030..2b656ab20230 100644 --- a/features/v1/gcp_integration.feature +++ b/features/v1/gcp_integration.feature @@ -13,21 +13,21 @@ Feature: GCP Integration @generated @skip @team:DataDog/gcp-integrations Scenario: Create a GCP integration returns "Bad Request" response Given new "CreateGCPIntegration" request - And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} + And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "cloud_run_revision_filters": ["$KEY:$VALUE"], "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} When the request is sent Then the response status is 400 Bad Request @team:DataDog/gcp-integrations Scenario: Create a GCP integration returns "OK" response Given new "CreateGCPIntegration" request - And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "{{unique_hash}}@example.com", "client_id": "{{ timestamp("now") }}{{ timestamp("now") }}0", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} + And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "{{unique_hash}}@example.com", "client_id": "{{ timestamp("now") }}{{ timestamp("now") }}0", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "host_filters": "key:value,filter:example", "cloud_run_revision_filters": ["dr:dre"], "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} When the request is sent Then the response status is 200 OK @generated @skip @team:DataDog/gcp-integrations Scenario: Delete a GCP integration returns "Bad Request" response Given new "DeleteGCPIntegration" request - And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} + And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "cloud_run_revision_filters": ["$KEY:$VALUE"], "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} When the request is sent Then the response status is 400 Bad Request @@ -51,10 +51,18 @@ Feature: GCP Integration When the request is sent Then the response status is 200 OK + @team:DataDog/gcp-integrations + Scenario: Update a GCP integration cloud run revision filters returns "OK" response + Given there is a valid "gcp_account" in the system + And new "UpdateGCPIntegration" request + And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "{{unique_hash}}@example.com", "client_id": "{{ timestamp("now") }}{{ timestamp("now") }}0", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "host_filters": "key:value,filter:example", "cloud_run_revision_filters": ["merp:derp"], "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/gcp-integrations Scenario: Update a GCP integration returns "Bad Request" response Given new "UpdateGCPIntegration" request - And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} + And body with value {"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "client_email": "api-dev@datadog-sandbox.iam.gserviceaccount.com", "client_id": "123456712345671234567", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/$CLIENT_EMAIL", "cloud_run_revision_filters": ["$KEY:$VALUE"], "errors": ["*"], "host_filters": "key:value,filter:example", "is_cspm_enabled": true, "is_security_command_center_enabled": true, "private_key": "private_key", "private_key_id": "123456789abcdefghi123456789abcdefghijklm", "project_id": "datadog-apitest", "resource_collection_enabled": true, "token_uri": "https://accounts.google.com/o/oauth2/token", "type": "service_account"} When the request is sent Then the response status is 400 Bad Request diff --git a/features/v2/gcp_integration.feature b/features/v2/gcp_integration.feature index e18714ba2e89..6085d6ed2f8d 100644 --- a/features/v2/gcp_integration.feature +++ b/features/v2/gcp_integration.feature @@ -34,14 +34,14 @@ Feature: GCP Integration @generated @skip @team:DataDog/gcp-integrations Scenario: Create a new entry for your service account returns "Bad Request" response Given new "CreateGCPSTSAccount" request - And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}} + And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters": ["$KEY:$VALUE"], "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/gcp-integrations Scenario: Create a new entry for your service account returns "Conflict" response Given new "CreateGCPSTSAccount" request - And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}} + And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters": ["$KEY:$VALUE"], "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}} When the request is sent Then the response status is 409 Conflict @@ -64,6 +64,16 @@ Feature: GCP Integration And the response "data.attributes.client_email" is equal to "{{ unique_hash }}@test-project.iam.gserviceaccount.com" And the response "data.attributes.account_tags" is equal to ["lorem", "ipsum"] + @team:DataDog/gcp-integrations + Scenario: Create a new entry for your service account with cloud run revision filters enabled returns "OK" response + Given new "CreateGCPSTSAccount" request + And body with value {"data": {"attributes": {"cloud_run_revision_filters": ["meh:bleh"], "client_email": "{{ unique_hash }}@test-project.iam.gserviceaccount.com", "host_filters": []}, "type": "gcp_service_account"}} + When the request is sent + Then the response status is 201 OK + And the response "data.type" is equal to "gcp_service_account" + And the response "data.attributes.client_email" is equal to "{{ unique_hash }}@test-project.iam.gserviceaccount.com" + And the response "data.attributes.cloud_run_revision_filters" is equal to ["meh:bleh"] + @team:DataDog/gcp-integrations Scenario: Create a new entry for your service account with cspm enabled returns "OK" response Given new "CreateGCPSTSAccount" request @@ -140,7 +150,7 @@ Feature: GCP Integration Scenario: Update STS Service Account returns "Bad Request" response Given new "UpdateGCPSTSAccount" request And request contains "account_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}} + And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters": ["$KEY:$VALUE"], "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}} When the request is sent Then the response status is 400 Bad Request @@ -148,7 +158,7 @@ Feature: GCP Integration Scenario: Update STS Service Account returns "Not Found" response Given new "UpdateGCPSTSAccount" request And request contains "account_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}} + And body with value {"data": {"attributes": {"account_tags": [], "client_email": "datadog-service-account@test-project.iam.gserviceaccount.com", "cloud_run_revision_filters": ["$KEY:$VALUE"], "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}} When the request is sent Then the response status is 404 Not Found @@ -161,6 +171,15 @@ Feature: GCP Integration When the request is sent Then the response status is 201 OK + @team:DataDog/gcp-integrations + Scenario: Update STS Service Account returns "OK" response with cloud run revision filters + Given there is a valid "gcp_sts_account" in the system + And new "UpdateGCPSTSAccount" request + And request contains "account_id" parameter from "gcp_sts_account.data.id" + And body with value {"data": {"attributes": {"client_email": "{{ unique_hash }}@example.com", "cloud_run_revision_filters": ["merp:derp"]}, "id": "{{ gcp_sts_account.data.id }}", "type": "gcp_service_account"}} + When the request is sent + Then the response status is 201 OK + @team:DataDog/gcp-integrations Scenario: Update STS Service Account returns "OK" response with enable resource collection turned on Given there is a valid "gcp_sts_account" in the system diff --git a/packages/datadog-api-client-v1/models/GCPAccount.ts b/packages/datadog-api-client-v1/models/GCPAccount.ts index b67d7de6fca5..0c821d97a0a9 100644 --- a/packages/datadog-api-client-v1/models/GCPAccount.ts +++ b/packages/datadog-api-client-v1/models/GCPAccount.ts @@ -35,6 +35,11 @@ export class GCPAccount { * where `$CLIENT_EMAIL` is the email found in your JSON service account key. */ "clientX509CertUrl"?: string; + /** + * Limit the Cloud Run revisions that are pulled into Datadog by using tags. + * Only Cloud Run revision resources that apply to specified filters are imported into Datadog. + */ + "cloudRunRevisionFilters"?: Array; /** * An array of errors. */ @@ -110,6 +115,10 @@ export class GCPAccount { baseName: "client_x509_cert_url", type: "string", }, + cloudRunRevisionFilters: { + baseName: "cloud_run_revision_filters", + type: "Array", + }, errors: { baseName: "errors", type: "Array", diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts index 1c972420e89c..500ece97d31f 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts @@ -22,6 +22,11 @@ export class GCPSTSServiceAccountAttributes { * Your service account email address. */ "clientEmail"?: string; + /** + * List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. + * Only Cloud Run revision resources that apply to specified filters are imported into Datadog. + */ + "cloudRunRevisionFilters"?: Array; /** * Your Host Filters. */ @@ -60,6 +65,10 @@ export class GCPSTSServiceAccountAttributes { baseName: "client_email", type: "string", }, + cloudRunRevisionFilters: { + baseName: "cloud_run_revision_filters", + type: "Array", + }, hostFilters: { baseName: "host_filters", type: "Array", From 4a1bb76d9e89442b01713c6d58de8e4c71c405f7 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:18:01 +0000 Subject: [PATCH 09/41] [SCV-141] Adding description to field that is conditionally required (#1524) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 3 ++- .../datadog-api-client-v2/models/CIAppAggregateSort.ts | 2 +- .../datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts | 2 +- .../datadog-api-client-v2/models/CIAppTestsGroupBy.ts | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 4ecb97c01edc..6f56b82ad501 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:03:02.278194", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-20 12:21:51.257109", + "spec_repo_commit": "7e467650" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-16 18:03:02.294405", - "spec_repo_commit": "dc02d0d0" + "regenerated": "2024-02-20 12:21:51.284380", + "spec_repo_commit": "7e467650" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fed2ffd9be76..5d118d9175cc 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2039,7 +2039,8 @@ components: type: number type: object CIAppAggregateSort: - description: A sort rule. + description: A sort rule. The `aggregation` field is required when `type` is + `measure`. example: aggregation: count order: asc diff --git a/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts b/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts index 7a0c9eeda3ab..512fea72306d 100644 --- a/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts +++ b/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts @@ -10,7 +10,7 @@ import { CIAppSortOrder } from "./CIAppSortOrder"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * A sort rule. + * A sort rule. The `aggregation` field is required when `type` is `measure`. */ export class CIAppAggregateSort { /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts index 797adbad8107..aaa4305769ad 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts @@ -32,7 +32,7 @@ export class CIAppPipelinesGroupBy { */ "missing"?: CIAppGroupByMissing; /** - * A sort rule. + * A sort rule. The `aggregation` field is required when `type` is `measure`. */ "sort"?: CIAppAggregateSort; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts b/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts index 7e9fd64e62bb..19ae24f75d39 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts @@ -32,7 +32,7 @@ export class CIAppTestsGroupBy { */ "missing"?: CIAppGroupByMissing; /** - * A sort rule. + * A sort rule. The `aggregation` field is required when `type` is `measure`. */ "sort"?: CIAppAggregateSort; /** From 213252da8e09bd4d07d1950520b026bdf6a0c731 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 19:43:17 +0000 Subject: [PATCH 10/41] Move under common tag Case Management (#1520) * remove old feature files * Regenerate client from commit 5ef419de of spec repo --------- Co-authored-by: Sherzod Karimov Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 32 +- .../frozen.json | 1 + .../recording.har | 20 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 30 +- .../frozen.json | 1 + .../recording.har | 24 +- .../frozen.json | 1 + .../recording.har | 28 +- .../frozen.json | 1 + .../recording.har | 46 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 40 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 30 +- .../frozen.json | 1 + .../recording.har | 20 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 26 +- .../frozen.json | 1 + .../recording.har | 20 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 26 +- .../frozen.json | 1 + .../recording.har | 26 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 26 +- .../frozen.json | 1 + .../recording.har | 24 +- .../frozen.json | 1 + .../recording.har | 6 +- .../frozen.json | 1 + .../recording.har | 26 +- .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../frozen.json | 1 - .../{cases => case-management}/ArchiveCase.ts | 4 +- .../{cases => case-management}/AssignCase.ts | 4 +- .../{cases => case-management}/CreateCase.ts | 6 +- .../CreateProject.ts | 4 +- .../DeleteProject.ts | 4 +- .../v2/{cases => case-management}/GetCase.ts | 4 +- .../GetProject.ts | 4 +- .../GetProjects.ts | 2 +- .../{cases => case-management}/SearchCases.ts | 2 +- .../SearchCases_3433960044.ts | 2 +- .../UnarchiveCase.ts | 4 +- .../UnassignCase.ts | 4 +- .../UpdatePriority.ts | 4 +- .../UpdateStatus.ts | 4 +- features/support/scenarios_model_mapping.ts | 48 +- ...{cases.feature => case_management.feature} | 82 ++- features/v2/cases_projects.feature | 82 --- features/v2/given.json | 2 +- features/v2/undo.json | 26 +- .../{CasesApi.ts => CaseManagementApi.ts} | 558 ++++++++++++++++-- .../apis/CasesProjectsApi.ts | 525 ---------------- packages/datadog-api-client-v2/index.ts | 32 +- 90 files changed, 945 insertions(+), 1000 deletions(-) create mode 100644 cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Archive-case-returns-Bad-Request-response_3307115673/recording.har (70%) create mode 100644 cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Archive-case-returns-Not-Found-response_3250820290/recording.har (91%) create mode 100644 cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Archive-case-returns-OK-response_1644289173/recording.har (54%) create mode 100644 cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Assign-case-returns-Bad-Request-response_1562814608/recording.har (71%) create mode 100644 cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Assign-case-returns-Not-Found-response_3693775655/recording.har (77%) create mode 100644 cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Assign-case-returns-OK-response_198940254/recording.har (59%) create mode 100644 cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Create-a-case-returns-Bad-Request-response_1348998798/recording.har (92%) create mode 100644 cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Create-a-case-returns-CREATED-response_3810133052/recording.har (59%) create mode 100644 cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har (88%) create mode 100644 cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har (57%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har (71%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unarchive-case-returns-Not-Found-response_2591944147/recording.har (91%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unarchive-case-returns-OK-response_720357866/recording.har (61%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unassign-case-returns-Bad-Request-response_1235480583/recording.har (71%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unassign-case-returns-Not-Found-response_2139056352/recording.har (91%) create mode 100644 cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Unassign-case-returns-OK-response_1230954147/recording.har (58%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-priority-returns-Bad-Request-response_270760096/recording.har (67%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-priority-returns-Not-Found-response_1985619607/recording.har (91%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-priority-returns-OK-response_1115539438/recording.har (57%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-status-returns-Bad-Request-response_4072076838/recording.har (69%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-status-returns-Not-Found-response_3322612333/recording.har (91%) create mode 100644 cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json rename cassettes/v2/{Cases_2740177670 => Case-Management_2486725080}/Update-case-status-returns-OK-response_35723180/recording.har (57%) delete mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json delete mode 100644 cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json rename examples/v2/{cases => case-management}/ArchiveCase.ts (82%) rename examples/v2/{cases => case-management}/AssignCase.ts (85%) rename examples/v2/{cases => case-management}/CreateCase.ts (83%) rename examples/v2/{cases-projects => case-management}/CreateProject.ts (81%) rename examples/v2/{cases-projects => case-management}/DeleteProject.ts (77%) rename examples/v2/{cases => case-management}/GetCase.ts (81%) rename examples/v2/{cases-projects => case-management}/GetProject.ts (78%) rename examples/v2/{cases-projects => case-management}/GetProjects.ts (86%) rename examples/v2/{cases => case-management}/SearchCases.ts (86%) rename examples/v2/{cases => case-management}/SearchCases_3433960044.ts (85%) rename examples/v2/{cases => case-management}/UnarchiveCase.ts (82%) rename examples/v2/{cases => case-management}/UnassignCase.ts (82%) rename examples/v2/{cases => case-management}/UpdatePriority.ts (83%) rename examples/v2/{cases => case-management}/UpdateStatus.ts (83%) rename features/v2/{cases.feature => case_management.feature} (76%) delete mode 100644 features/v2/cases_projects.feature rename packages/datadog-api-client-v2/apis/{CasesApi.ts => CaseManagementApi.ts} (70%) delete mode 100644 packages/datadog-api-client-v2/apis/CasesProjectsApi.ts diff --git a/.apigentools-info b/.apigentools-info index 6f56b82ad501..9a59aaf09227 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 12:21:51.257109", - "spec_repo_commit": "7e467650" + "regenerated": "2024-02-20 19:02:28.868806", + "spec_repo_commit": "5ef419de" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 12:21:51.284380", - "spec_repo_commit": "7e467650" + "regenerated": "2024-02-20 19:02:28.888150", + "spec_repo_commit": "5ef419de" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 5d118d9175cc..f58f161362ac 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -22766,7 +22766,7 @@ paths: - cases_read summary: Search cases tags: - - Cases + - Case Management x-pagination: limitParam: page[size] pageOffsetParam: page[offset] @@ -22805,7 +22805,7 @@ paths: - cases_write summary: Create a case tags: - - Cases + - Case Management /api/v2/cases/projects: get: description: Get all projects. @@ -22834,7 +22834,7 @@ paths: - cases_read summary: Get all projects tags: - - Cases Projects + - Case Management post: description: Create a project. operationId: CreateProject @@ -22869,7 +22869,7 @@ paths: - cases_write summary: Create a project tags: - - Cases Projects + - Case Management /api/v2/cases/projects/{project_id}: delete: description: Remove a project using the project's `id`. @@ -22896,7 +22896,7 @@ paths: - cases_write summary: Remove a project tags: - - Cases Projects + - Case Management get: description: Get the details of a project by `project_id`. operationId: GetProject @@ -22926,7 +22926,7 @@ paths: - cases_read summary: Get the details of a project tags: - - Cases Projects + - Case Management /api/v2/cases/{case_id}: get: description: Get the details of case by `case_id` @@ -22957,7 +22957,7 @@ paths: - cases_read summary: Get the details of a case tags: - - Cases + - Case Management /api/v2/cases/{case_id}/archive: post: description: Archive case @@ -22995,7 +22995,7 @@ paths: - cases_write summary: Archive case tags: - - Cases + - Case Management /api/v2/cases/{case_id}/assign: post: description: Assign case to a user @@ -23033,7 +23033,7 @@ paths: - cases_write summary: Assign case tags: - - Cases + - Case Management /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -23071,7 +23071,7 @@ paths: - cases_write summary: Update case priority tags: - - Cases + - Case Management /api/v2/cases/{case_id}/status: post: description: Update case status @@ -23109,7 +23109,7 @@ paths: - cases_write summary: Update case status tags: - - Cases + - Case Management /api/v2/cases/{case_id}/unarchive: post: description: Unarchive case @@ -23147,7 +23147,7 @@ paths: - cases_write summary: Unarchive case tags: - - Cases + - Case Management /api/v2/cases/{case_id}/unassign: post: description: Unassign case @@ -23185,7 +23185,7 @@ paths: - cases_write summary: Unassign case tags: - - Cases + - Case Management /api/v2/ci/pipeline: post: description: 'Send your pipeline event to your Datadog platform over HTTP. For @@ -34532,10 +34532,8 @@ tags: [Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more information. name: CI Visibility Tests -- description: View and manage cases within Datadog - name: Cases -- description: View and manage project within Case Management - name: Cases Projects +- description: View and manage cases and project within Case Management + name: Case Management - description: The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management page](https://docs.datadoghq.com/cloud_cost_management/) for more information. diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json new file mode 100644 index 000000000000..e52b37200136 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:15.159Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har similarity index 70% rename from cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har rename to cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har index dd8777de5b48..43cddb156772 100644 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Archive case returns \"Bad Request\" response", + "_recordingName": "Case Management/Archive case returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 747, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 747, - "text": "{\"data\":{\"id\":\"1f205230-5ea9-444e-a5f9-48f93d6a2cde\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:36.54518451Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"1f205230-5ea9-444e-a5f9-48f93d6a2cde\",\"key\":\"DDFC-2\",\"priority\":\"P4\",\"public_id\":\"62\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"4e49aede-4c04-42d3-b5bc-f8eb4c1340df\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:15.280494299Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4e49aede-4c04-42d3-b5bc-f8eb4c1340df\",\"key\":\"DDFC-182\",\"priority\":\"P4\",\"public_id\":\"242\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:36.261Z", - "time": 325 + "startedDateTime": "2024-02-14T18:55:15.167Z", + "time": 122 }, { - "_id": "2c0f4f458dc658dffb53fc17524fd2fd", + "_id": "36abb6ee469d97245458bc30d5a98423", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/1f205230-5ea9-444e-a5f9-48f93d6a2cde/archive" + "url": "https://api.datadoghq.com/api/v2/cases/4e49aede-4c04-42d3-b5bc-f8eb4c1340df/archive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T18:00:36.593Z", - "time": 299 + "startedDateTime": "2024-02-14T18:55:15.299Z", + "time": 69 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json new file mode 100644 index 000000000000..98018a7125ae --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:15.378Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har similarity index 91% rename from cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har rename to cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har index 2754e0f02874..cb217353d5c5 100644 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Archive case returns \"Not Found\" response", + "_recordingName": "Case Management/Archive case returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:07.953Z", - "time": 54 + "startedDateTime": "2024-02-14T18:55:15.381Z", + "time": 78 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json new file mode 100644 index 000000000000..e1742a10054a --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:15.466Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har similarity index 54% rename from cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har rename to cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har index 0c3543f64459..aed00405ce78 100644 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Archive case returns \"OK\" response", + "_recordingName": "Case Management/Archive case returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -26,7 +26,7 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:37.185776261Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"key\":\"DDFC-3\",\"priority\":\"P4\",\"public_id\":\"63\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"3752309b-6a77-4015-845a-02ff88647b4b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:15.546103234Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"3752309b-6a77-4015-845a-02ff88647b4b\",\"key\":\"DDFC-183\",\"priority\":\"P4\",\"public_id\":\"243\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:36.904Z", - "time": 318 + "startedDateTime": "2024-02-14T18:55:15.469Z", + "time": 87 }, { - "_id": "8a5e0b6d99bba8c73455cfaf3bd14fa2", + "_id": "1aa9fcd53f894d7a8c83a911899fa23a", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 594, + "headersSize": 595, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/99e6e8cd-f115-4168-8814-30776007f44c/archive" + "url": "https://api.datadoghq.com/api/v2/cases/3752309b-6a77-4015-845a-02ff88647b4b/archive" }, "response": { - "bodySize": 874, + "bodySize": 829, "content": { "mimeType": "application/vnd.api+json", - "size": 874, - "text": "{\"data\":{\"id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2024-02-07T18:00:37.47125606Z\",\"attributes\":{},\"created_at\":\"2024-02-07T18:00:37.185776Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"99e6e8cd-f115-4168-8814-30776007f44c\",\"key\":\"DDFC-3\",\"priority\":\"P4\",\"public_id\":\"63\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 829, + "text": "{\"data\":{\"id\":\"3752309b-6a77-4015-845a-02ff88647b4b\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2024-02-14T18:55:15.641594121Z\",\"attributes\":{},\"created_at\":\"2024-02-14T18:55:15.546103Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"3752309b-6a77-4015-845a-02ff88647b4b\",\"key\":\"DDFC-183\",\"priority\":\"P4\",\"public_id\":\"243\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:37.229Z", - "time": 284 + "startedDateTime": "2024-02-14T18:55:15.563Z", + "time": 79 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json new file mode 100644 index 000000000000..ae9e8926ad3f --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:15.651Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har similarity index 71% rename from cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har rename to cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har index e55a106e62a2..2adfd91743cc 100644 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Assign case returns \"Bad Request\" response", + "_recordingName": "Case Management/Assign case returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"4039be1a-5f87-4666-b986-a8396c0225c3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-12T13:25:56.280897807Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4039be1a-5f87-4666-b986-a8396c0225c3\",\"key\":\"DDFC-17\",\"priority\":\"P4\",\"public_id\":\"77\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"cf2e3b59-d504-4714-9853-38e4ceddb858\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:15.728783622Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"cf2e3b59-d504-4714-9853-38e4ceddb858\",\"key\":\"DDFC-184\",\"priority\":\"P4\",\"public_id\":\"244\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 639, + "headersSize": 640, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-12T13:25:56.131Z", - "time": 180 + "startedDateTime": "2024-02-14T18:55:15.655Z", + "time": 81 }, { - "_id": "14525dd1f9868c8a6c89279b8b2e7c21", + "_id": "ca5f66cb321f82c3eca16ff6645a4670", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"invalid-uuid\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/4039be1a-5f87-4666-b986-a8396c0225c3/assign" + "url": "https://api.datadoghq.com/api/v2/cases/cf2e3b59-d504-4714-9853-38e4ceddb858/assign" }, "response": { "bodySize": 166, @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 640, + "headersSize": 641, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-12T13:25:56.320Z", - "time": 60 + "startedDateTime": "2024-02-14T18:55:15.752Z", + "time": 72 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json new file mode 100644 index 000000000000..b4f3858355e8 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:15.832Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har similarity index 77% rename from cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har rename to cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har index f14cfbfc0918..cffefe10756f 100644 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Assign case returns \"Not Found\" response", + "_recordingName": "Case Management/Assign case returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "1873797ed953ac5e016a7e24e4d69188", + "_id": "ac94520998702c6540f2a77b1c0de9a9", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1707311348@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1707936915@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"14040f89-c5ba-11ee-87b5-f6892353f87d\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1707311348@datadoghq.com\",\"created_at\":\"2024-02-07T13:09:08.546371+00:00\",\"modified_at\":\"2024-02-07T13:09:08.546371+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1707311348@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/e0a6ed9703a1166a2c07bca15e37d0d6?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"9740b08d-cb6a-11ee-8bd8-2a1a3c7b5bdd\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1707936915@datadoghq.com\",\"created_at\":\"2024-02-14T18:55:15.963542+00:00\",\"modified_at\":\"2024-02-14T18:55:15.963542+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1707936915@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/379ecb2d1d9ca2e9ce66fa109609c256?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T13:09:08.437Z", - "time": 148 + "startedDateTime": "2024-02-14T18:55:15.835Z", + "time": 157 }, { - "_id": "9018b92e0bbedcd0dc0b9f6a749f7ce3", + "_id": "7e5fd7e024a2f324beaf9b46ee44611b", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"14040f89-c5ba-11ee-87b5-f6892353f87d\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"9740b08d-cb6a-11ee-8bd8-2a1a3c7b5bdd\"},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/assign" @@ -110,11 +110,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:08.592Z", - "time": 55 + "startedDateTime": "2024-02-14T18:55:15.999Z", + "time": 67 }, { - "_id": "a3c3af125456ebfdd3818f81136e3a00", + "_id": "ffd0c82c5ca2cde954a4a3f107c65693", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/14040f89-c5ba-11ee-87b5-f6892353f87d" + "url": "https://api.datadoghq.com/api/v2/users/9740b08d-cb6a-11ee-8bd8-2a1a3c7b5bdd" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2024-02-07T13:09:08.654Z", - "time": 199 + "startedDateTime": "2024-02-14T18:55:16.074Z", + "time": 281 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json new file mode 100644 index 000000000000..40f7ca843699 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:16.362Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har similarity index 59% rename from cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har rename to cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har index 864daa9b9717..eb0e005b9464 100644 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Assign case returns \"OK\" response", + "_recordingName": "Case Management/Assign case returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:38.353039559Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"key\":\"DDFC-5\",\"priority\":\"P4\",\"public_id\":\"65\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"2d07d89b-2f91-47c2-b3ea-ee28ffee5b4c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:16.445823452Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"2d07d89b-2f91-47c2-b3ea-ee28ffee5b4c\",\"key\":\"DDFC-185\",\"priority\":\"P4\",\"public_id\":\"245\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:38.151Z", - "time": 240 + "startedDateTime": "2024-02-14T18:55:16.366Z", + "time": 91 }, { - "_id": "cab62f98b410a5fa7744fb417093528b", + "_id": "3a3b68590ae21086b8f1998b28be9d94", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1707328838@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1707936916@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 667, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"created_at\":\"2024-02-07T18:00:38.645791+00:00\",\"modified_at\":\"2024-02-07T18:00:38.645791+00:00\",\"email\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/dd4005a3eca9e7c6aed30c77d193bc37?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"97a38d32-cb6a-11ee-9645-0a530ef9b7d3\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1707936916@datadoghq.com\",\"created_at\":\"2024-02-14T18:55:16.611469+00:00\",\"modified_at\":\"2024-02-14T18:55:16.611469+00:00\",\"email\":\"test-assign_case_returns_ok_response-1707936916@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/982f69dc821d8ef307cfc8907452899b?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:38.400Z", - "time": 313 + "startedDateTime": "2024-02-14T18:55:16.468Z", + "time": 183 }, { - "_id": "7e6da293a2771b77ea441ae9eb6f5a5e", + "_id": "c6589b42256f533731e7ef59e1f12c97", "_order": 0, "cache": {}, "request": { @@ -138,17 +138,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"97a38d32-cb6a-11ee-9645-0a530ef9b7d3\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/a0801fce-a045-4b66-ad78-effcd959fa4f/assign" + "url": "https://api.datadoghq.com/api/v2/cases/2d07d89b-2f91-47c2-b3ea-ee28ffee5b4c/assign" }, "response": { - "bodySize": 1181, + "bodySize": 1136, "content": { "mimeType": "application/vnd.api+json", - "size": 1181, - "text": "{\"data\":{\"id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:38.35304Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"a0801fce-a045-4b66-ad78-effcd959fa4f\",\"key\":\"DDFC-5\",\"modified_at\":\"2024-02-07T18:00:39.010235Z\",\"priority\":\"P4\",\"public_id\":\"65\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}},{\"id\":\"cced7029-c5e2-11ee-ac63-c24751e8bab0\",\"type\":\"user\",\"attributes\":{\"email\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1707328838@datadoghq.com\",\"name\":\"\"}}]}" + "size": 1136, + "text": "{\"data\":{\"id\":\"2d07d89b-2f91-47c2-b3ea-ee28ffee5b4c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:16.445823Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"2d07d89b-2f91-47c2-b3ea-ee28ffee5b4c\",\"key\":\"DDFC-185\",\"modified_at\":\"2024-02-14T18:55:16.737803Z\",\"priority\":\"P4\",\"public_id\":\"245\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"97a38d32-cb6a-11ee-9645-0a530ef9b7d3\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}},{\"id\":\"97a38d32-cb6a-11ee-9645-0a530ef9b7d3\",\"type\":\"user\",\"attributes\":{\"email\":\"test-assign_case_returns_ok_response-1707936916@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1707936916@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -163,11 +163,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:38.719Z", - "time": 333 + "startedDateTime": "2024-02-14T18:55:16.660Z", + "time": 83 }, { - "_id": "fe717567adbe91c8b08460c20fa5c5e9", + "_id": "47567621c475ed3f09042cc0c8040eb0", "_order": 0, "cache": {}, "request": { @@ -184,7 +184,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/cced7029-c5e2-11ee-ac63-c24751e8bab0" + "url": "https://api.datadoghq.com/api/v2/users/97a38d32-cb6a-11ee-9645-0a530ef9b7d3" }, "response": { "bodySize": 0, @@ -200,8 +200,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2024-02-07T18:00:39.058Z", - "time": 500 + "startedDateTime": "2024-02-14T18:55:16.750Z", + "time": 237 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json new file mode 100644 index 000000000000..790ff61e3795 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:16.995Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har similarity index 92% rename from cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har rename to cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har index 15a4053ac9b3..9f64330f570d 100644 --- a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Create a case returns \"Bad Request\" response", + "_recordingName": "Case Management/Create a case returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T13:09:09.418Z", - "time": 50 + "startedDateTime": "2024-02-14T18:55:16.998Z", + "time": 69 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json new file mode 100644 index 000000000000..46ee997762f6 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:17.074Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har similarity index 59% rename from cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har rename to cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har index e8e92bd1c1d9..dbf18f7442dc 100644 --- a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Create a case returns \"CREATED\" response", + "_recordingName": "Case Management/Create a case returns \"CREATED\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "36db496207ad731fd8d63ecdf39f6022", + "_id": "3829ffdbbba49b82d5b22090560ccb0f", "_order": 0, "cache": {}, "request": { @@ -26,13 +26,13 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1707328839@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1707936917@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"created_at\":\"2024-02-07T18:00:39.876070+00:00\",\"modified_at\":\"2024-02-07T18:00:39.876070+00:00\",\"email\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/e564f62a22caae2dd8e878a8d73c6328?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"97fb5e7f-cb6a-11ee-8de6-d2393b962484\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1707936917@datadoghq.com\",\"created_at\":\"2024-02-14T18:55:17.186960+00:00\",\"modified_at\":\"2024-02-14T18:55:17.186960+00:00\",\"email\":\"test-create_a_case_returns_created_response-1707936917@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/04ba872d0c124a11691bb75e2b774d08?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:39.569Z", - "time": 380 + "startedDateTime": "2024-02-14T18:55:17.077Z", + "time": 144 }, { - "_id": "dcf876745c6025c60298fd31cf40a6eb", + "_id": "70b806f66f2ae96de214b38e37c4c92d", "_order": 0, "cache": {}, "request": { @@ -79,23 +79,23 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 3b9b6a6abdcf0b9b\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 8216c516b64665ce\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"97fb5e7f-cb6a-11ee-8de6-d2393b962484\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 1119, + "bodySize": 1073, "content": { "mimeType": "application/vnd.api+json", - "size": 1119, - "text": "{\"data\":{\"id\":\"4045de8b-3808-4bb6-94c9-f55ced4811c7\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:40.197151067Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4045de8b-3808-4bb6-94c9-f55ced4811c7\",\"key\":\"DDFC-6\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"66\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 3b9b6a6abdcf0b9b\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}},{\"id\":\"cda929dc-c5e2-11ee-883d-6ad03867f364\",\"type\":\"user\",\"attributes\":{\"email\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1707328839@datadoghq.com\",\"name\":\"\"}}]}" + "size": 1073, + "text": "{\"data\":{\"id\":\"93237ca1-b5ee-4116-9bfc-d94f99cd9629\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:17.301872096Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"93237ca1-b5ee-4116-9bfc-d94f99cd9629\",\"key\":\"DDFC-186\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"246\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 8216c516b64665ce\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"97fb5e7f-cb6a-11ee-8de6-d2393b962484\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}},{\"id\":\"97fb5e7f-cb6a-11ee-8de6-d2393b962484\",\"type\":\"user\",\"attributes\":{\"email\":\"test-create_a_case_returns_created_response-1707936917@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1707936917@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:39.954Z", - "time": 283 + "startedDateTime": "2024-02-14T18:55:17.226Z", + "time": 91 }, { - "_id": "36b3e4125eb7c7bc95635e1f4e74d719", + "_id": "fe0bc43804b9aab79fa0a88b85ff1e27", "_order": 0, "cache": {}, "request": { @@ -127,11 +127,11 @@ "value": "*/*" } ], - "headersSize": 523, + "headersSize": 524, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/cda929dc-c5e2-11ee-883d-6ad03867f364" + "url": "https://api.datadoghq.com/api/v2/users/97fb5e7f-cb6a-11ee-8de6-d2393b962484" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2024-02-07T18:00:40.243Z", - "time": 491 + "startedDateTime": "2024-02-14T18:55:17.328Z", + "time": 338 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json new file mode 100644 index 000000000000..7d5b6b8f78db --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:17.678Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har similarity index 88% rename from cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har rename to cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har index 65c95a9dc9da..01f61fc90fa2 100644 --- a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Get the details of a case returns \"Not Found\" response", + "_recordingName": "Case Management/Get the details of a case returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -47,8 +47,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:09.934Z", - "time": 50 + "startedDateTime": "2024-02-14T18:55:17.681Z", + "time": 70 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json new file mode 100644 index 000000000000..f1f16abdb956 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:17.758Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har similarity index 57% rename from cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har rename to cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har index ec98a7f7c501..925710481052 100644 --- a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Get the details of a case returns \"OK\" response", + "_recordingName": "Case Management/Get the details of a case returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -26,7 +26,7 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.007812312Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"key\":\"DDFC-7\",\"priority\":\"P4\",\"public_id\":\"67\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"d981cc6f-654e-4528-8451-d3d99259d4d6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:17.837538892Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"d981cc6f-654e-4528-8451-d3d99259d4d6\",\"key\":\"DDFC-187\",\"priority\":\"P4\",\"public_id\":\"247\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:40.765Z", - "time": 285 + "startedDateTime": "2024-02-14T18:55:17.761Z", + "time": 76 }, { - "_id": "204e0ca357c0d6126f7b5c5f14d218bc", + "_id": "69d1db1f9175ddb957bda5f6e89ae333", "_order": 0, "cache": {}, "request": { @@ -74,18 +74,18 @@ "value": "application/json" } ], - "headersSize": 529, + "headersSize": 530, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749" + "url": "https://api.datadoghq.com/api/v2/cases/d981cc6f-654e-4528-8451-d3d99259d4d6" }, "response": { - "bodySize": 745, + "bodySize": 699, "content": { "mimeType": "application/vnd.api+json", - "size": 745, - "text": "{\"data\":{\"id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.007812Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8fd1a1c3-3f55-4d6b-807f-ca70bc0e5749\",\"key\":\"DDFC-7\",\"priority\":\"P4\",\"public_id\":\"67\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 699, + "text": "{\"data\":{\"id\":\"d981cc6f-654e-4528-8451-d3d99259d4d6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:17.837539Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"d981cc6f-654e-4528-8451-d3d99259d4d6\",\"key\":\"DDFC-187\",\"priority\":\"P4\",\"public_id\":\"247\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -100,8 +100,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:41.055Z", - "time": 332 + "startedDateTime": "2024-02-14T18:55:17.845Z", + "time": 80 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json new file mode 100644 index 000000000000..728fa7995767 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:17.936Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har similarity index 71% rename from cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har rename to cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har index 4b39beefb2fb..95b4b37b5d9c 100644 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unarchive case returns \"Bad Request\" response", + "_recordingName": "Case Management/Unarchive case returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"91b52d3b-4d67-4b7f-ba4d-da67d8b46798\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:41.662578539Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"91b52d3b-4d67-4b7f-ba4d-da67d8b46798\",\"key\":\"DDFC-8\",\"priority\":\"P4\",\"public_id\":\"68\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"7c588891-1486-4cf6-992f-f0c3a97f0245\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.021909299Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"7c588891-1486-4cf6-992f-f0c3a97f0245\",\"key\":\"DDFC-188\",\"priority\":\"P4\",\"public_id\":\"248\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:41.395Z", - "time": 307 + "startedDateTime": "2024-02-14T18:55:17.946Z", + "time": 86 }, { - "_id": "5b23316a1fcd0359328adfcea4f169b7", + "_id": "3cb0b5687b565978fb3b022598546774", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/91b52d3b-4d67-4b7f-ba4d-da67d8b46798/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/7c588891-1486-4cf6-992f-f0c3a97f0245/unarchive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T18:00:41.706Z", - "time": 315 + "startedDateTime": "2024-02-14T18:55:18.040Z", + "time": 86 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json new file mode 100644 index 000000000000..20aac1cc5369 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.130Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har similarity index 91% rename from cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har rename to cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har index 791f7cbd44db..88aba97ed501 100644 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unarchive case returns \"Not Found\" response", + "_recordingName": "Case Management/Unarchive case returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:10.332Z", - "time": 40 + "startedDateTime": "2024-02-14T18:55:18.133Z", + "time": 81 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json new file mode 100644 index 000000000000..712b0875bd73 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.220Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har similarity index 61% rename from cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har rename to cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har index 7aa39bff5854..67c99a61c4d8 100644 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unarchive case returns \"OK\" response", + "_recordingName": "Case Management/Unarchive case returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.286687881Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"key\":\"DDFC-9\",\"priority\":\"P4\",\"public_id\":\"69\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"56b03839-5199-4207-94e6-648f5c363d1d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.285988591Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"56b03839-5199-4207-94e6-648f5c363d1d\",\"key\":\"DDFC-189\",\"priority\":\"P4\",\"public_id\":\"249\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:42.029Z", - "time": 296 + "startedDateTime": "2024-02-14T18:55:18.222Z", + "time": 70 }, { - "_id": "b0b5632a23eb2bb37871201d11f2f4ea", + "_id": "4916ad792e8ec09f8dd7b6750db0879d", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/020e2ce7-9fe8-4273-81ae-1e5873fba9d3/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/56b03839-5199-4207-94e6-648f5c363d1d/unarchive" }, "response": { - "bodySize": 745, + "bodySize": 699, "content": { "mimeType": "application/vnd.api+json", - "size": 745, - "text": "{\"data\":{\"id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.286688Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"020e2ce7-9fe8-4273-81ae-1e5873fba9d3\",\"key\":\"DDFC-9\",\"priority\":\"P4\",\"public_id\":\"69\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 699, + "text": "{\"data\":{\"id\":\"56b03839-5199-4207-94e6-648f5c363d1d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.285989Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"56b03839-5199-4207-94e6-648f5c363d1d\",\"key\":\"DDFC-189\",\"priority\":\"P4\",\"public_id\":\"249\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:42.331Z", - "time": 301 + "startedDateTime": "2024-02-14T18:55:18.299Z", + "time": 58 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json new file mode 100644 index 000000000000..b5bd5de8c5a4 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.364Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har similarity index 71% rename from cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har rename to cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har index bddc33504871..5a89e29f3184 100644 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unassign case returns \"Bad Request\" response", + "_recordingName": "Case Management/Unassign case returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"8a6e4254-7429-4398-99c2-ba9363fb3f98\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:42.908434394Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8a6e4254-7429-4398-99c2-ba9363fb3f98\",\"key\":\"DDFC-10\",\"priority\":\"P4\",\"public_id\":\"70\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"4c89618c-11cc-40ba-bc6c-000e862910b1\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.434117143Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"4c89618c-11cc-40ba-bc6c-000e862910b1\",\"key\":\"DDFC-190\",\"priority\":\"P4\",\"public_id\":\"250\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:42.639Z", - "time": 308 + "startedDateTime": "2024-02-14T18:55:18.368Z", + "time": 67 }, { - "_id": "b1fb0b9798b0316c65c7308eace539bb", + "_id": "55fd3887c9460790f62fb43baff474d6", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/8a6e4254-7429-4398-99c2-ba9363fb3f98/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/4c89618c-11cc-40ba-bc6c-000e862910b1/unassign" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T18:00:42.953Z", - "time": 218 + "startedDateTime": "2024-02-14T18:55:18.444Z", + "time": 73 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json new file mode 100644 index 000000000000..615e05568050 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.522Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har similarity index 91% rename from cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har rename to cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har index 75963709ed64..836045bd4ae9 100644 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unassign case returns \"Not Found\" response", + "_recordingName": "Case Management/Unassign case returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:10.722Z", - "time": 39 + "startedDateTime": "2024-02-14T18:55:18.524Z", + "time": 83 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json new file mode 100644 index 000000000000..24d92385ebbc --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.613Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har similarity index 58% rename from cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har rename to cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har index e4e2d1af7ec8..fb39d9fccd7d 100644 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Unassign case returns \"OK\" response", + "_recordingName": "Case Management/Unassign case returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:43.427988311Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"key\":\"DDFC-11\",\"priority\":\"P4\",\"public_id\":\"71\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"fa3c26fc-fada-4308-8888-4067d97acf06\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.689935858Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"fa3c26fc-fada-4308-8888-4067d97acf06\",\"key\":\"DDFC-191\",\"priority\":\"P4\",\"public_id\":\"251\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:43.181Z", - "time": 291 + "startedDateTime": "2024-02-14T18:55:18.615Z", + "time": 75 }, { - "_id": "2f95a0d520ae92d5f3e1ac541bfe4bd0", + "_id": "3f0d8b4d9de6a8b71b20a4dd49686560", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/8c5de575-685c-4ac4-a78a-9774c4f2160b/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/fa3c26fc-fada-4308-8888-4067d97acf06/unassign" }, "response": { - "bodySize": 746, + "bodySize": 699, "content": { "mimeType": "application/vnd.api+json", - "size": 746, - "text": "{\"data\":{\"id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:43.427988Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"8c5de575-685c-4ac4-a78a-9774c4f2160b\",\"key\":\"DDFC-11\",\"priority\":\"P4\",\"public_id\":\"71\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 699, + "text": "{\"data\":{\"id\":\"fa3c26fc-fada-4308-8888-4067d97acf06\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.689936Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"fa3c26fc-fada-4308-8888-4067d97acf06\",\"key\":\"DDFC-191\",\"priority\":\"P4\",\"public_id\":\"251\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:43.477Z", - "time": 325 + "startedDateTime": "2024-02-14T18:55:18.696Z", + "time": 60 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json new file mode 100644 index 000000000000..0e24315c3862 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.767Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har similarity index 67% rename from cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har index 110785ebb7b5..04a26fd5aac8 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case priority returns \"Bad Request\" response", + "_recordingName": "Case Management/Update case priority returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -26,7 +26,7 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 748, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 748, - "text": "{\"data\":{\"id\":\"09077090-4370-4539-b9e5-445173f4fced\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.06773183Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"09077090-4370-4539-b9e5-445173f4fced\",\"key\":\"DDFC-12\",\"priority\":\"P4\",\"public_id\":\"72\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"683c81be-fa27-42c8-957c-897923a2f660\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:18.846163387Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"683c81be-fa27-42c8-957c-897923a2f660\",\"key\":\"DDFC-192\",\"priority\":\"P4\",\"public_id\":\"252\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:43.810Z", - "time": 297 + "startedDateTime": "2024-02-14T18:55:18.773Z", + "time": 74 }, { - "_id": "e2cc2f5678c10d2921fdc3df2edc80aa", + "_id": "66ade7a18fcb23e30477becade8c4e94", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 597, + "headersSize": 599, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P1234\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/09077090-4370-4539-b9e5-445173f4fced/priority" + "url": "https://api.datadoghq.com/api/v2/cases/683c81be-fa27-42c8-957c-897923a2f660/priority" }, "response": { "bodySize": 120, "content": { "mimeType": "application/vnd.api+json", "size": 120, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P3, P4, P5, NOT_DEFINED, P1, P2\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P1, P2, P3, P4, P5, NOT_DEFINED\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T18:00:44.112Z", - "time": 313 + "startedDateTime": "2024-02-14T18:55:18.853Z", + "time": 68 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json new file mode 100644 index 000000000000..3be5612450dd --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:18.927Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har similarity index 91% rename from cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har index a436a3d5b161..9b96f1141d29 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case priority returns \"Not Found\" response", + "_recordingName": "Case Management/Update case priority returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:11.087Z", - "time": 45 + "startedDateTime": "2024-02-14T18:55:18.930Z", + "time": 65 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json new file mode 100644 index 000000000000..190b1dfc3566 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:19.004Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har similarity index 57% rename from cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har index dcdeb1b3d849..9c7b954fd0b0 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case priority returns \"OK\" response", + "_recordingName": "Case Management/Update case priority returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.723781245Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"key\":\"DDFC-13\",\"priority\":\"P4\",\"public_id\":\"73\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"c55de906-a08b-4916-ade3-5f1b268379c3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:19.080339451Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"c55de906-a08b-4916-ade3-5f1b268379c3\",\"key\":\"DDFC-193\",\"priority\":\"P4\",\"public_id\":\"253\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:44.435Z", - "time": 331 + "startedDateTime": "2024-02-14T18:55:19.008Z", + "time": 73 }, { - "_id": "10019189077c6bb258201d3153e262b7", + "_id": "ef7275fda8379e3789c147bc672c6205", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/60fdb1eb-209a-4072-9db3-4d08a9c4180c/priority" + "url": "https://api.datadoghq.com/api/v2/cases/c55de906-a08b-4916-ade3-5f1b268379c3/priority" }, "response": { - "bodySize": 873, + "bodySize": 826, "content": { "mimeType": "application/vnd.api+json", - "size": 873, - "text": "{\"data\":{\"id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:44.723781Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"60fdb1eb-209a-4072-9db3-4d08a9c4180c\",\"key\":\"DDFC-13\",\"modified_at\":\"2024-02-07T18:00:45.028076Z\",\"priority\":\"P3\",\"public_id\":\"73\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 826, + "text": "{\"data\":{\"id\":\"c55de906-a08b-4916-ade3-5f1b268379c3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:19.080339Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"c55de906-a08b-4916-ade3-5f1b268379c3\",\"key\":\"DDFC-193\",\"modified_at\":\"2024-02-14T18:55:19.160763Z\",\"priority\":\"P3\",\"public_id\":\"253\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:44.770Z", - "time": 294 + "startedDateTime": "2024-02-14T18:55:19.089Z", + "time": 83 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json new file mode 100644 index 000000000000..f5d79d4e1d23 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:19.178Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har similarity index 69% rename from cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har index 07af7edee510..d607410f2e8d 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case status returns \"Bad Request\" response", + "_recordingName": "Case Management/Update case status returns \"Bad Request\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"243feddb-69f8-4e22-988a-8ae954b643fa\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.265151303Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"243feddb-69f8-4e22-988a-8ae954b643fa\",\"key\":\"DDFC-14\",\"priority\":\"P4\",\"public_id\":\"74\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"1732a7a1-667c-45e4-ad8c-73a1c1f9f6f0\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:19.251201316Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"1732a7a1-667c-45e4-ad8c-73a1c1f9f6f0\",\"key\":\"DDFC-194\",\"priority\":\"P4\",\"public_id\":\"254\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:45.071Z", - "time": 235 + "startedDateTime": "2024-02-14T18:55:19.181Z", + "time": 72 }, { - "_id": "c5f2d9862127f3dd8520055bb7d96b9e", + "_id": "5a6cd045981f051d23b974a2b1763207", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 594, + "headersSize": 595, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"OPENED\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/243feddb-69f8-4e22-988a-8ae954b643fa/status" + "url": "https://api.datadoghq.com/api/v2/cases/1732a7a1-667c-45e4-ad8c-73a1c1f9f6f0/status" }, "response": { "bodySize": 123, "content": { "mimeType": "application/vnd.api+json", "size": 123, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of CLOSED, SUNKNOWN, OPEN, IN_PROGRESS\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of SUNKNOWN, OPEN, IN_PROGRESS, CLOSED\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2024-02-07T18:00:45.312Z", - "time": 311 + "startedDateTime": "2024-02-14T18:55:19.263Z", + "time": 69 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json new file mode 100644 index 000000000000..f3458b3dc1a0 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:19.338Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har similarity index 91% rename from cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har index d3fcf156d862..ed0bea1a8139 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case status returns \"Not Found\" response", + "_recordingName": "Case Management/Update case status returns \"Not Found\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2024-02-07T13:09:11.473Z", - "time": 41 + "startedDateTime": "2024-02-14T18:55:19.341Z", + "time": 67 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json new file mode 100644 index 000000000000..5763f8a35887 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json @@ -0,0 +1 @@ +"2024-02-14T18:55:19.415Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har similarity index 57% rename from cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har rename to cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har index f921a2fc5062..b8840ae32236 100644 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har @@ -1,6 +1,6 @@ { "log": { - "_recordingName": "Cases/Update case status returns \"OK\" response", + "_recordingName": "Case Management/Update case status returns \"OK\" response", "creator": { "comment": "persister:fs", "name": "Polly.JS", @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 749, + "bodySize": 702, "content": { "mimeType": "application/vnd.api+json", - "size": 749, - "text": "{\"data\":{\"id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.905784777Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"key\":\"DDFC-15\",\"priority\":\"P4\",\"public_id\":\"75\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 702, + "text": "{\"data\":{\"id\":\"d1633979-1770-4e5b-a2d0-2ede9f2a8f43\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:19.487094769Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"d1633979-1770-4e5b-a2d0-2ede9f2a8f43\",\"key\":\"DDFC-195\",\"priority\":\"P4\",\"public_id\":\"255\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-02-07T18:00:45.630Z", - "time": 312 + "startedDateTime": "2024-02-14T18:55:19.424Z", + "time": 63 }, { - "_id": "2fa2347352a0ad7e0155a0f8fd387cf5", + "_id": "2e66ff377515540bc4d1467ad830a2f7", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"IN_PROGRESS\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/ceae478d-b504-4cb7-bad2-e8f8e5a0a77b/status" + "url": "https://api.datadoghq.com/api/v2/cases/d1633979-1770-4e5b-a2d0-2ede9f2a8f43/status" }, "response": { - "bodySize": 879, + "bodySize": 833, "content": { "mimeType": "application/vnd.api+json", - "size": 879, - "text": "{\"data\":{\"id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-07T18:00:45.905785Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"ceae478d-b504-4cb7-bad2-e8f8e5a0a77b\",\"key\":\"DDFC-15\",\"modified_at\":\"2024-02-07T18:00:46.22949Z\",\"priority\":\"P4\",\"public_id\":\"75\",\"status\":\"IN_PROGRESS\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}" + "size": 833, + "text": "{\"data\":{\"id\":\"d1633979-1770-4e5b-a2d0-2ede9f2a8f43\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"created_at\":\"2024-02-14T18:55:19.487095Z\",\"creation_source\":\"MANUAL\",\"description\":\"\",\"insights\":[],\"internal_id\":\"d1633979-1770-4e5b-a2d0-2ede9f2a8f43\",\"key\":\"DDFC-195\",\"modified_at\":\"2024-02-14T18:55:19.559421Z\",\"priority\":\"P4\",\"public_id\":\"255\",\"status\":\"IN_PROGRESS\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-07T18:00:45.949Z", - "time": 316 + "startedDateTime": "2024-02-14T18:55:19.490Z", + "time": 74 } ], "pages": [], diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json deleted file mode 100644 index 114f29730040..000000000000 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-Bad-Request-response_3307115673/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:35.988Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json deleted file mode 100644 index 812be9942e52..000000000000 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-Not-Found-response_3250820290/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:07.949Z" diff --git a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json b/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json deleted file mode 100644 index a3ee05736a82..000000000000 --- a/cassettes/v2/Cases_2740177670/Archive-case-returns-OK-response_1644289173/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:36.901Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json deleted file mode 100644 index 8f1c35000d1e..000000000000 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-Bad-Request-response_1562814608/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-12T13:25:55.665Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json deleted file mode 100644 index d90879b68cd2..000000000000 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-Not-Found-response_3693775655/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:08.433Z" diff --git a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json b/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json deleted file mode 100644 index 7bd7b4621489..000000000000 --- a/cassettes/v2/Cases_2740177670/Assign-case-returns-OK-response_198940254/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:38.147Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json b/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json deleted file mode 100644 index 01e5a0822878..000000000000 --- a/cassettes/v2/Cases_2740177670/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:09.415Z" diff --git a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json b/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json deleted file mode 100644 index 6538d04de9de..000000000000 --- a/cassettes/v2/Cases_2740177670/Create-a-case-returns-CREATED-response_3810133052/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:39.566Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json deleted file mode 100644 index 97764c182ce7..000000000000 --- a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:09.931Z" diff --git a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json b/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json deleted file mode 100644 index 8450add09f1f..000000000000 --- a/cassettes/v2/Cases_2740177670/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:40.743Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json deleted file mode 100644 index 4387924c5692..000000000000 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:41.393Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json deleted file mode 100644 index e262ee600635..000000000000 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:10.329Z" diff --git a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json b/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json deleted file mode 100644 index 4eba6229ac5a..000000000000 --- a/cassettes/v2/Cases_2740177670/Unarchive-case-returns-OK-response_720357866/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:42.027Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json deleted file mode 100644 index 469d1654d116..000000000000 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:42.637Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json deleted file mode 100644 index eb8b0e531caf..000000000000 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-Not-Found-response_2139056352/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:10.714Z" diff --git a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json b/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json deleted file mode 100644 index 18e07bb897f0..000000000000 --- a/cassettes/v2/Cases_2740177670/Unassign-case-returns-OK-response_1230954147/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:43.176Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json deleted file mode 100644 index cbb64dc36355..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:43.807Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json deleted file mode 100644 index 2546ec9213ad..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:11.084Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json deleted file mode 100644 index 774eeb79bdf8..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-priority-returns-OK-response_1115539438/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:44.433Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json deleted file mode 100644 index 68ada8be70d2..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:45.069Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json deleted file mode 100644 index 43be461f6587..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-Not-Found-response_3322612333/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T13:09:11.471Z" diff --git a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json b/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json deleted file mode 100644 index 95b10d1a8419..000000000000 --- a/cassettes/v2/Cases_2740177670/Update-case-status-returns-OK-response_35723180/frozen.json +++ /dev/null @@ -1 +0,0 @@ -"2024-02-07T18:00:45.628Z" diff --git a/examples/v2/cases/ArchiveCase.ts b/examples/v2/case-management/ArchiveCase.ts similarity index 82% rename from examples/v2/cases/ArchiveCase.ts rename to examples/v2/case-management/ArchiveCase.ts index aac7c128996b..eec5a55c0d43 100644 --- a/examples/v2/cases/ArchiveCase.ts +++ b/examples/v2/case-management/ArchiveCase.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiArchiveCaseRequest = { +const params: v2.CaseManagementApiArchiveCaseRequest = { body: { data: { type: "case", diff --git a/examples/v2/cases/AssignCase.ts b/examples/v2/case-management/AssignCase.ts similarity index 85% rename from examples/v2/cases/AssignCase.ts rename to examples/v2/case-management/AssignCase.ts index 95c2ebfc9dbc..40acf786b28f 100644 --- a/examples/v2/cases/AssignCase.ts +++ b/examples/v2/case-management/AssignCase.ts @@ -5,7 +5,7 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; @@ -13,7 +13,7 @@ const CASE_ID = process.env.CASE_ID as string; // there is a valid "user" in the system const USER_DATA_ID = process.env.USER_DATA_ID as string; -const params: v2.CasesApiAssignCaseRequest = { +const params: v2.CaseManagementApiAssignCaseRequest = { body: { data: { attributes: { diff --git a/examples/v2/cases/CreateCase.ts b/examples/v2/case-management/CreateCase.ts similarity index 83% rename from examples/v2/cases/CreateCase.ts rename to examples/v2/case-management/CreateCase.ts index 7ac2c29e0a16..fd8f695cae63 100644 --- a/examples/v2/cases/CreateCase.ts +++ b/examples/v2/case-management/CreateCase.ts @@ -5,17 +5,17 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "user" in the system const USER_DATA_ID = process.env.USER_DATA_ID as string; -const params: v2.CasesApiCreateCaseRequest = { +const params: v2.CaseManagementApiCreateCaseRequest = { body: { data: { attributes: { priority: "NOT_DEFINED", - title: "Security breach investigation in 3dcc5b2ebf9bfb8f", + title: "Security breach investigation in 0cfbc5cbc676ee71", type: "STANDARD", }, relationships: { diff --git a/examples/v2/cases-projects/CreateProject.ts b/examples/v2/case-management/CreateProject.ts similarity index 81% rename from examples/v2/cases-projects/CreateProject.ts rename to examples/v2/case-management/CreateProject.ts index f10656048afd..251a6db71814 100644 --- a/examples/v2/cases-projects/CreateProject.ts +++ b/examples/v2/case-management/CreateProject.ts @@ -5,9 +5,9 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesProjectsApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); -const params: v2.CasesProjectsApiCreateProjectRequest = { +const params: v2.CaseManagementApiCreateProjectRequest = { body: { data: { attributes: { diff --git a/examples/v2/cases-projects/DeleteProject.ts b/examples/v2/case-management/DeleteProject.ts similarity index 77% rename from examples/v2/cases-projects/DeleteProject.ts rename to examples/v2/case-management/DeleteProject.ts index 5a7918363e7b..1142a458fea6 100644 --- a/examples/v2/cases-projects/DeleteProject.ts +++ b/examples/v2/case-management/DeleteProject.ts @@ -5,9 +5,9 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesProjectsApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); -const params: v2.CasesProjectsApiDeleteProjectRequest = { +const params: v2.CaseManagementApiDeleteProjectRequest = { projectId: "project_id", }; diff --git a/examples/v2/cases/GetCase.ts b/examples/v2/case-management/GetCase.ts similarity index 81% rename from examples/v2/cases/GetCase.ts rename to examples/v2/case-management/GetCase.ts index 14a3dff5a1b8..f3b526dca121 100644 --- a/examples/v2/cases/GetCase.ts +++ b/examples/v2/case-management/GetCase.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiGetCaseRequest = { +const params: v2.CaseManagementApiGetCaseRequest = { caseId: CASE_ID, }; diff --git a/examples/v2/cases-projects/GetProject.ts b/examples/v2/case-management/GetProject.ts similarity index 78% rename from examples/v2/cases-projects/GetProject.ts rename to examples/v2/case-management/GetProject.ts index eeb418e01d9b..c1f8a0ecc085 100644 --- a/examples/v2/cases-projects/GetProject.ts +++ b/examples/v2/case-management/GetProject.ts @@ -5,9 +5,9 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesProjectsApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); -const params: v2.CasesProjectsApiGetProjectRequest = { +const params: v2.CaseManagementApiGetProjectRequest = { projectId: "project_id", }; diff --git a/examples/v2/cases-projects/GetProjects.ts b/examples/v2/case-management/GetProjects.ts similarity index 86% rename from examples/v2/cases-projects/GetProjects.ts rename to examples/v2/case-management/GetProjects.ts index e99aed53f53b..bb5e21c612a3 100644 --- a/examples/v2/cases-projects/GetProjects.ts +++ b/examples/v2/case-management/GetProjects.ts @@ -5,7 +5,7 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesProjectsApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); apiInstance .getProjects() diff --git a/examples/v2/cases/SearchCases.ts b/examples/v2/case-management/SearchCases.ts similarity index 86% rename from examples/v2/cases/SearchCases.ts rename to examples/v2/case-management/SearchCases.ts index 6abbdfc111b6..3ce4c2ddd7c2 100644 --- a/examples/v2/cases/SearchCases.ts +++ b/examples/v2/case-management/SearchCases.ts @@ -5,7 +5,7 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); apiInstance .searchCases() diff --git a/examples/v2/cases/SearchCases_3433960044.ts b/examples/v2/case-management/SearchCases_3433960044.ts similarity index 85% rename from examples/v2/cases/SearchCases_3433960044.ts rename to examples/v2/case-management/SearchCases_3433960044.ts index a2a056ab008a..d73cef958bb5 100644 --- a/examples/v2/cases/SearchCases_3433960044.ts +++ b/examples/v2/case-management/SearchCases_3433960044.ts @@ -5,7 +5,7 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); (async () => { try { diff --git a/examples/v2/cases/UnarchiveCase.ts b/examples/v2/case-management/UnarchiveCase.ts similarity index 82% rename from examples/v2/cases/UnarchiveCase.ts rename to examples/v2/case-management/UnarchiveCase.ts index 5f5a1f34c3e1..2d19f363ebe4 100644 --- a/examples/v2/cases/UnarchiveCase.ts +++ b/examples/v2/case-management/UnarchiveCase.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiUnarchiveCaseRequest = { +const params: v2.CaseManagementApiUnarchiveCaseRequest = { body: { data: { type: "case", diff --git a/examples/v2/cases/UnassignCase.ts b/examples/v2/case-management/UnassignCase.ts similarity index 82% rename from examples/v2/cases/UnassignCase.ts rename to examples/v2/case-management/UnassignCase.ts index 9c3970b81b02..7a7cf5f8e39f 100644 --- a/examples/v2/cases/UnassignCase.ts +++ b/examples/v2/case-management/UnassignCase.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiUnassignCaseRequest = { +const params: v2.CaseManagementApiUnassignCaseRequest = { body: { data: { type: "case", diff --git a/examples/v2/cases/UpdatePriority.ts b/examples/v2/case-management/UpdatePriority.ts similarity index 83% rename from examples/v2/cases/UpdatePriority.ts rename to examples/v2/case-management/UpdatePriority.ts index 1ee6c7c0ee81..e7a3620ceffb 100644 --- a/examples/v2/cases/UpdatePriority.ts +++ b/examples/v2/case-management/UpdatePriority.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiUpdatePriorityRequest = { +const params: v2.CaseManagementApiUpdatePriorityRequest = { body: { data: { attributes: { diff --git a/examples/v2/cases/UpdateStatus.ts b/examples/v2/case-management/UpdateStatus.ts similarity index 83% rename from examples/v2/cases/UpdateStatus.ts rename to examples/v2/case-management/UpdateStatus.ts index ff2055dde034..78c5e23f6fcf 100644 --- a/examples/v2/cases/UpdateStatus.ts +++ b/examples/v2/case-management/UpdateStatus.ts @@ -5,12 +5,12 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -const apiInstance = new v2.CasesApi(configuration); +const apiInstance = new v2.CaseManagementApi(configuration); // there is a valid "case" in the system const CASE_ID = process.env.CASE_ID as string; -const params: v2.CasesApiUpdateStatusRequest = { +const params: v2.CaseManagementApiUpdateStatusRequest = { body: { data: { attributes: { diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index cad59fd75145..628d310d7c2e 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -2731,6 +2731,30 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "CaseResponse", }, + "v2.GetProjects": { + "operationResponseType": "ProjectsResponse", + }, + "v2.CreateProject": { + "body": { + "type": "ProjectCreateRequest", + "format": "", + }, + "operationResponseType": "ProjectResponse", + }, + "v2.DeleteProject": { + "projectId": { + "type": "string", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.GetProject": { + "projectId": { + "type": "string", + "format": "", + }, + "operationResponseType": "ProjectResponse", + }, "v2.GetCase": { "caseId": { "type": "string", @@ -2804,30 +2828,6 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "CaseResponse", }, - "v2.GetProjects": { - "operationResponseType": "ProjectsResponse", - }, - "v2.CreateProject": { - "body": { - "type": "ProjectCreateRequest", - "format": "", - }, - "operationResponseType": "ProjectResponse", - }, - "v2.DeleteProject": { - "projectId": { - "type": "string", - "format": "", - }, - "operationResponseType": "void", - }, - "v2.GetProject": { - "projectId": { - "type": "string", - "format": "", - }, - "operationResponseType": "ProjectResponse", - }, "v2.CreateCIAppPipelineEvent": { "body": { "type": "CIAppCreatePipelineEventRequest", diff --git a/features/v2/cases.feature b/features/v2/case_management.feature similarity index 76% rename from features/v2/cases.feature rename to features/v2/case_management.feature index 5a0eca615554..2d99e555384a 100644 --- a/features/v2/cases.feature +++ b/features/v2/case_management.feature @@ -1,11 +1,11 @@ -@endpoint(cases) @endpoint(cases-v2) -Feature: Cases - View and manage cases within Datadog +@endpoint(case-management) @endpoint(case-management-v2) +Feature: Case Management + View and manage cases and project within Case Management Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "Cases" API + And an instance of "CaseManagement" API @team:DataDog/case-management Scenario: Archive case returns "Bad Request" response @@ -87,6 +87,45 @@ Feature: Cases When the request is sent Then the response status is 404 Not Found + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "Bad Request" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "CREATED" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 201 CREATED + + @generated @skip @team:DataDog/case-management + Scenario: Create a project returns "Not Found" response + Given new "CreateProject" request + And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "Bad Request" response + Given new "GetProjects" request + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "Not Found" response + Given new "GetProjects" request + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get all projects returns "OK" response + Given new "GetProjects" request + When the request is sent + Then the response status is 200 OK + @skip @team:DataDog/case-management Scenario: Get the details of a case returns "Bad Request" response Given new "GetCase" request @@ -110,6 +149,41 @@ Feature: Cases When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "Bad Request" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "Not Found" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/case-management + Scenario: Get the details of a project returns "OK" response + Given new "GetProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/case-management + Scenario: Remove a project returns "API error response" response + Given new "DeleteProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 API error response + + @generated @skip @team:DataDog/case-management + Scenario: Remove a project returns "No Content" response + Given new "DeleteProject" request + And request contains "project_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content + @generated @skip @team:DataDog/case-management Scenario: Search cases returns "Bad Request" response Given new "SearchCases" request diff --git a/features/v2/cases_projects.feature b/features/v2/cases_projects.feature deleted file mode 100644 index 1b3fe63e4995..000000000000 --- a/features/v2/cases_projects.feature +++ /dev/null @@ -1,82 +0,0 @@ -@endpoint(cases-projects) @endpoint(cases-projects-v2) -Feature: Cases Projects - View and manage project within Case Management - - Background: - Given a valid "apiKeyAuth" key in the system - And a valid "appKeyAuth" key in the system - And an instance of "CasesProjects" API - - @generated @skip @team:DataDog/case-management - Scenario: Create a project returns "Bad Request" response - Given new "CreateProject" request - And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/case-management - Scenario: Create a project returns "CREATED" response - Given new "CreateProject" request - And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} - When the request is sent - Then the response status is 201 CREATED - - @generated @skip @team:DataDog/case-management - Scenario: Create a project returns "Not Found" response - Given new "CreateProject" request - And body with value {"data": {"attributes": {"key": "SEC", "name": "Security Investigation"}, "type": "project"}} - When the request is sent - Then the response status is 404 Not Found - - @generated @skip @team:DataDog/case-management - Scenario: Get all projects returns "Bad Request" response - Given new "GetProjects" request - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/case-management - Scenario: Get all projects returns "Not Found" response - Given new "GetProjects" request - When the request is sent - Then the response status is 404 Not Found - - @generated @skip @team:DataDog/case-management - Scenario: Get all projects returns "OK" response - Given new "GetProjects" request - When the request is sent - Then the response status is 200 OK - - @generated @skip @team:DataDog/case-management - Scenario: Get the details of a project returns "Bad Request" response - Given new "GetProject" request - And request contains "project_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/case-management - Scenario: Get the details of a project returns "Not Found" response - Given new "GetProject" request - And request contains "project_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 404 Not Found - - @generated @skip @team:DataDog/case-management - Scenario: Get the details of a project returns "OK" response - Given new "GetProject" request - And request contains "project_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 200 OK - - @generated @skip @team:DataDog/case-management - Scenario: Remove a project returns "API error response" response - Given new "DeleteProject" request - And request contains "project_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 404 API error response - - @generated @skip @team:DataDog/case-management - Scenario: Remove a project returns "No Content" response - Given new "DeleteProject" request - And request contains "project_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 204 No Content diff --git a/features/v2/given.json b/features/v2/given.json index cbaee96cb71b..8c2a75b9b1b5 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -69,7 +69,7 @@ "source": "data", "step": "there is a valid \"case\" in the system", "key": "case", - "tag": "Cases", + "tag": "Case Management", "operationId": "CreateCase" }, { diff --git a/features/v2/undo.json b/features/v2/undo.json index 1268756c9d25..f58d4d353469 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -221,25 +221,25 @@ } }, "SearchCases": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "safe" } }, "CreateCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "safe" } }, "GetProjects": { - "tag": "Cases Projects", + "tag": "Case Management", "undo": { "type": "safe" } }, "CreateProject": { - "tag": "Cases Projects", + "tag": "Case Management", "undo": { "operationId": "DeleteProject", "parameters": [ @@ -252,55 +252,55 @@ } }, "DeleteProject": { - "tag": "Cases Projects", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "GetProject": { - "tag": "Cases Projects", + "tag": "Case Management", "undo": { "type": "safe" } }, "GetCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "safe" } }, "ArchiveCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "AssignCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "UpdatePriority": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "UpdateStatus": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "UnarchiveCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } }, "UnassignCase": { - "tag": "Cases", + "tag": "Case Management", "undo": { "type": "idempotent" } diff --git a/packages/datadog-api-client-v2/apis/CasesApi.ts b/packages/datadog-api-client-v2/apis/CaseManagementApi.ts similarity index 70% rename from packages/datadog-api-client-v2/apis/CasesApi.ts rename to packages/datadog-api-client-v2/apis/CaseManagementApi.ts index 8daee5956482..ca6b747dbdbf 100644 --- a/packages/datadog-api-client-v2/apis/CasesApi.ts +++ b/packages/datadog-api-client-v2/apis/CaseManagementApi.ts @@ -26,8 +26,11 @@ import { CaseSortableField } from "../models/CaseSortableField"; import { CasesResponse } from "../models/CasesResponse"; import { CaseUpdatePriorityRequest } from "../models/CaseUpdatePriorityRequest"; import { CaseUpdateStatusRequest } from "../models/CaseUpdateStatusRequest"; +import { ProjectCreateRequest } from "../models/ProjectCreateRequest"; +import { ProjectResponse } from "../models/ProjectResponse"; +import { ProjectsResponse } from "../models/ProjectsResponse"; -export class CasesApiRequestFactory extends BaseAPIRequestFactory { +export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { public async archiveCase( caseId: string, body: CaseEmptyRequest, @@ -53,7 +56,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.archiveCase") + .getServer("v2.CaseManagementApi.archiveCase") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -104,7 +107,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.assignCase") + .getServer("v2.CaseManagementApi.assignCase") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -146,7 +149,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.createCase") + .getServer("v2.CaseManagementApi.createCase") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -172,6 +175,82 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async createProject( + body: ProjectCreateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CaseManagementApi.createProject") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "ProjectCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteProject( + projectId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'projectId' is not null or undefined + if (projectId === null || projectId === undefined) { + throw new RequiredError("projectId", "deleteProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects/{project_id}".replace( + "{project_id}", + encodeURIComponent(String(projectId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CaseManagementApi.deleteProject") + .makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async getCase( caseId: string, _options?: Configuration @@ -191,7 +270,64 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.getCase") + .getServer("v2.CaseManagementApi.getCase") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getProject( + projectId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'projectId' is not null or undefined + if (projectId === null || projectId === undefined) { + throw new RequiredError("projectId", "getProject"); + } + + // Path Params + const localVarPath = "/api/v2/cases/projects/{project_id}".replace( + "{project_id}", + encodeURIComponent(String(projectId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CaseManagementApi.getProject") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getProjects(_options?: Configuration): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/cases/projects"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CaseManagementApi.getProjects") .makeRequestContext(localVarPath, HttpMethod.GET); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -221,7 +357,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.searchCases") + .getServer("v2.CaseManagementApi.searchCases") .makeRequestContext(localVarPath, HttpMethod.GET); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -293,7 +429,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.unarchiveCase") + .getServer("v2.CaseManagementApi.unarchiveCase") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -344,7 +480,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.unassignCase") + .getServer("v2.CaseManagementApi.unassignCase") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -395,7 +531,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.updatePriority") + .getServer("v2.CaseManagementApi.updatePriority") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -446,7 +582,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { // Make Request Context const requestContext = _config - .getServer("v2.CasesApi.updateStatus") + .getServer("v2.CaseManagementApi.updateStatus") .makeRequestContext(localVarPath, HttpMethod.POST); requestContext.setHeaderParam("Accept", "application/json"); requestContext.setHttpConfig(_config.httpConfig); @@ -473,7 +609,7 @@ export class CasesApiRequestFactory extends BaseAPIRequestFactory { } } -export class CasesApiResponseProcessor { +export class CaseManagementApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -660,6 +796,126 @@ export class CasesApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async createProject( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 201) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse" + ) as ProjectResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse", + "" + ) as ProjectResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteProject(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 204) { + return; + } + if ( + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -722,6 +978,132 @@ export class CasesApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProject(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse" + ) as ProjectResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectResponse", + "" + ) as ProjectResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProjects + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProjects( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode == 200) { + const body: ProjectsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectsResponse" + ) as ProjectsResponse; + return body; + } + if ( + response.httpStatusCode == 400 || + response.httpStatusCode == 401 || + response.httpStatusCode == 403 || + response.httpStatusCode == 404 || + response.httpStatusCode == 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "ProjectsResponse", + "" + ) as ProjectsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1035,7 +1417,7 @@ export class CasesApiResponseProcessor { } } -export interface CasesApiArchiveCaseRequest { +export interface CaseManagementApiArchiveCaseRequest { /** * Case's UUID or key * @type string @@ -1048,7 +1430,7 @@ export interface CasesApiArchiveCaseRequest { body: CaseEmptyRequest; } -export interface CasesApiAssignCaseRequest { +export interface CaseManagementApiAssignCaseRequest { /** * Case's UUID or key * @type string @@ -1061,7 +1443,7 @@ export interface CasesApiAssignCaseRequest { body: CaseAssignRequest; } -export interface CasesApiCreateCaseRequest { +export interface CaseManagementApiCreateCaseRequest { /** * Case payload * @type CaseCreateRequest @@ -1069,7 +1451,23 @@ export interface CasesApiCreateCaseRequest { body: CaseCreateRequest; } -export interface CasesApiGetCaseRequest { +export interface CaseManagementApiCreateProjectRequest { + /** + * Project payload + * @type ProjectCreateRequest + */ + body: ProjectCreateRequest; +} + +export interface CaseManagementApiDeleteProjectRequest { + /** + * Project UUID + * @type string + */ + projectId: string; +} + +export interface CaseManagementApiGetCaseRequest { /** * Case's UUID or key * @type string @@ -1077,7 +1475,15 @@ export interface CasesApiGetCaseRequest { caseId: string; } -export interface CasesApiSearchCasesRequest { +export interface CaseManagementApiGetProjectRequest { + /** + * Project UUID + * @type string + */ + projectId: string; +} + +export interface CaseManagementApiSearchCasesRequest { /** * Size for a given page. The maximum allowed value is 100. * @type number @@ -1105,7 +1511,7 @@ export interface CasesApiSearchCasesRequest { sortAsc?: boolean; } -export interface CasesApiUnarchiveCaseRequest { +export interface CaseManagementApiUnarchiveCaseRequest { /** * Case's UUID or key * @type string @@ -1118,7 +1524,7 @@ export interface CasesApiUnarchiveCaseRequest { body: CaseEmptyRequest; } -export interface CasesApiUnassignCaseRequest { +export interface CaseManagementApiUnassignCaseRequest { /** * Case's UUID or key * @type string @@ -1131,7 +1537,7 @@ export interface CasesApiUnassignCaseRequest { body: CaseEmptyRequest; } -export interface CasesApiUpdatePriorityRequest { +export interface CaseManagementApiUpdatePriorityRequest { /** * Case's UUID or key * @type string @@ -1144,7 +1550,7 @@ export interface CasesApiUpdatePriorityRequest { body: CaseUpdatePriorityRequest; } -export interface CasesApiUpdateStatusRequest { +export interface CaseManagementApiUpdateStatusRequest { /** * Case's UUID or key * @type string @@ -1157,21 +1563,21 @@ export interface CasesApiUpdateStatusRequest { body: CaseUpdateStatusRequest; } -export class CasesApi { - private requestFactory: CasesApiRequestFactory; - private responseProcessor: CasesApiResponseProcessor; +export class CaseManagementApi { + private requestFactory: CaseManagementApiRequestFactory; + private responseProcessor: CaseManagementApiResponseProcessor; private configuration: Configuration; public constructor( configuration: Configuration, - requestFactory?: CasesApiRequestFactory, - responseProcessor?: CasesApiResponseProcessor + requestFactory?: CaseManagementApiRequestFactory, + responseProcessor?: CaseManagementApiResponseProcessor ) { this.configuration = configuration; this.requestFactory = - requestFactory || new CasesApiRequestFactory(configuration); + requestFactory || new CaseManagementApiRequestFactory(configuration); this.responseProcessor = - responseProcessor || new CasesApiResponseProcessor(); + responseProcessor || new CaseManagementApiResponseProcessor(); } /** @@ -1179,7 +1585,7 @@ export class CasesApi { * @param param The request object */ public archiveCase( - param: CasesApiArchiveCaseRequest, + param: CaseManagementApiArchiveCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.archiveCase( @@ -1201,7 +1607,7 @@ export class CasesApi { * @param param The request object */ public assignCase( - param: CasesApiAssignCaseRequest, + param: CaseManagementApiAssignCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.assignCase( @@ -1223,7 +1629,7 @@ export class CasesApi { * @param param The request object */ public createCase( - param: CasesApiCreateCaseRequest, + param: CaseManagementApiCreateCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.createCase( @@ -1239,12 +1645,54 @@ export class CasesApi { }); } + /** + * Create a project. + * @param param The request object + */ + public createProject( + param: CaseManagementApiCreateProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.createProject( + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createProject(responseContext); + }); + }); + } + + /** + * Remove a project using the project's `id`. + * @param param The request object + */ + public deleteProject( + param: CaseManagementApiDeleteProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.deleteProject( + param.projectId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteProject(responseContext); + }); + }); + } + /** * Get the details of case by `case_id` * @param param The request object */ public getCase( - param: CasesApiGetCaseRequest, + param: CaseManagementApiGetCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.getCase( @@ -1260,12 +1708,48 @@ export class CasesApi { }); } + /** + * Get the details of a project by `project_id`. + * @param param The request object + */ + public getProject( + param: CaseManagementApiGetProjectRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.getProject( + param.projectId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getProject(responseContext); + }); + }); + } + + /** + * Get all projects. + * @param param The request object + */ + public getProjects(options?: Configuration): Promise { + const requestContextPromise = this.requestFactory.getProjects(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getProjects(responseContext); + }); + }); + } + /** * Search cases. * @param param The request object */ public searchCases( - param: CasesApiSearchCasesRequest = {}, + param: CaseManagementApiSearchCasesRequest = {}, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.searchCases( @@ -1289,7 +1773,7 @@ export class CasesApi { * Provide a paginated version of searchCases returning a generator with all the items. */ public async *searchCasesWithPagination( - param: CasesApiSearchCasesRequest = {}, + param: CaseManagementApiSearchCasesRequest = {}, options?: Configuration ): AsyncGenerator { let pageSize = 10; @@ -1337,7 +1821,7 @@ export class CasesApi { * @param param The request object */ public unarchiveCase( - param: CasesApiUnarchiveCaseRequest, + param: CaseManagementApiUnarchiveCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.unarchiveCase( @@ -1359,7 +1843,7 @@ export class CasesApi { * @param param The request object */ public unassignCase( - param: CasesApiUnassignCaseRequest, + param: CaseManagementApiUnassignCaseRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.unassignCase( @@ -1381,7 +1865,7 @@ export class CasesApi { * @param param The request object */ public updatePriority( - param: CasesApiUpdatePriorityRequest, + param: CaseManagementApiUpdatePriorityRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.updatePriority( @@ -1403,7 +1887,7 @@ export class CasesApi { * @param param The request object */ public updateStatus( - param: CasesApiUpdateStatusRequest, + param: CaseManagementApiUpdateStatusRequest, options?: Configuration ): Promise { const requestContextPromise = this.requestFactory.updateStatus( diff --git a/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts b/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts deleted file mode 100644 index 9418fd6cd5fa..000000000000 --- a/packages/datadog-api-client-v2/apis/CasesProjectsApi.ts +++ /dev/null @@ -1,525 +0,0 @@ -import { - BaseAPIRequestFactory, - RequiredError, -} from "../../datadog-api-client-common/baseapi"; -import { - Configuration, - applySecurityAuthentication, -} from "../../datadog-api-client-common/configuration"; -import { - RequestContext, - HttpMethod, - ResponseContext, -} from "../../datadog-api-client-common/http/http"; - -import { logger } from "../../../logger"; -import { ObjectSerializer } from "../models/ObjectSerializer"; -import { ApiException } from "../../datadog-api-client-common/exception"; - -import { APIErrorResponse } from "../models/APIErrorResponse"; -import { ProjectCreateRequest } from "../models/ProjectCreateRequest"; -import { ProjectResponse } from "../models/ProjectResponse"; -import { ProjectsResponse } from "../models/ProjectsResponse"; - -export class CasesProjectsApiRequestFactory extends BaseAPIRequestFactory { - public async createProject( - body: ProjectCreateRequest, - _options?: Configuration - ): Promise { - const _config = _options || this.configuration; - - // verify required parameter 'body' is not null or undefined - if (body === null || body === undefined) { - throw new RequiredError("body", "createProject"); - } - - // Path Params - const localVarPath = "/api/v2/cases/projects"; - - // Make Request Context - const requestContext = _config - .getServer("v2.CasesProjectsApi.createProject") - .makeRequestContext(localVarPath, HttpMethod.POST); - requestContext.setHeaderParam("Accept", "application/json"); - requestContext.setHttpConfig(_config.httpConfig); - - // Body Params - const contentType = ObjectSerializer.getPreferredMediaType([ - "application/json", - ]); - requestContext.setHeaderParam("Content-Type", contentType); - const serializedBody = ObjectSerializer.stringify( - ObjectSerializer.serialize(body, "ProjectCreateRequest", ""), - contentType - ); - requestContext.setBody(serializedBody); - - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "AuthZ", - "apiKeyAuth", - "appKeyAuth", - ]); - - return requestContext; - } - - public async deleteProject( - projectId: string, - _options?: Configuration - ): Promise { - const _config = _options || this.configuration; - - // verify required parameter 'projectId' is not null or undefined - if (projectId === null || projectId === undefined) { - throw new RequiredError("projectId", "deleteProject"); - } - - // Path Params - const localVarPath = "/api/v2/cases/projects/{project_id}".replace( - "{project_id}", - encodeURIComponent(String(projectId)) - ); - - // Make Request Context - const requestContext = _config - .getServer("v2.CasesProjectsApi.deleteProject") - .makeRequestContext(localVarPath, HttpMethod.DELETE); - requestContext.setHeaderParam("Accept", "*/*"); - requestContext.setHttpConfig(_config.httpConfig); - - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "AuthZ", - "apiKeyAuth", - "appKeyAuth", - ]); - - return requestContext; - } - - public async getProject( - projectId: string, - _options?: Configuration - ): Promise { - const _config = _options || this.configuration; - - // verify required parameter 'projectId' is not null or undefined - if (projectId === null || projectId === undefined) { - throw new RequiredError("projectId", "getProject"); - } - - // Path Params - const localVarPath = "/api/v2/cases/projects/{project_id}".replace( - "{project_id}", - encodeURIComponent(String(projectId)) - ); - - // Make Request Context - const requestContext = _config - .getServer("v2.CasesProjectsApi.getProject") - .makeRequestContext(localVarPath, HttpMethod.GET); - requestContext.setHeaderParam("Accept", "application/json"); - requestContext.setHttpConfig(_config.httpConfig); - - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "AuthZ", - "apiKeyAuth", - "appKeyAuth", - ]); - - return requestContext; - } - - public async getProjects(_options?: Configuration): Promise { - const _config = _options || this.configuration; - - // Path Params - const localVarPath = "/api/v2/cases/projects"; - - // Make Request Context - const requestContext = _config - .getServer("v2.CasesProjectsApi.getProjects") - .makeRequestContext(localVarPath, HttpMethod.GET); - requestContext.setHeaderParam("Accept", "application/json"); - requestContext.setHttpConfig(_config.httpConfig); - - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "AuthZ", - "apiKeyAuth", - "appKeyAuth", - ]); - - return requestContext; - } -} - -export class CasesProjectsApiResponseProcessor { - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to createProject - * @throws ApiException if the response code was not in [200, 299] - */ - public async createProject( - response: ResponseContext - ): Promise { - const contentType = ObjectSerializer.normalizeMediaType( - response.headers["content-type"] - ); - if (response.httpStatusCode == 201) { - const body: ProjectResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectResponse" - ) as ProjectResponse; - return body; - } - if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 - ) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: APIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "APIErrorResponse" - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException(response.httpStatusCode, body); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: ProjectResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectResponse", - "" - ) as ProjectResponse; - return body; - } - - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"' - ); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to deleteProject - * @throws ApiException if the response code was not in [200, 299] - */ - public async deleteProject(response: ResponseContext): Promise { - const contentType = ObjectSerializer.normalizeMediaType( - response.headers["content-type"] - ); - if (response.httpStatusCode == 204) { - return; - } - if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 - ) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: APIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "APIErrorResponse" - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException(response.httpStatusCode, body); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: void = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "void", - "" - ) as void; - return body; - } - - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"' - ); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to getProject - * @throws ApiException if the response code was not in [200, 299] - */ - public async getProject(response: ResponseContext): Promise { - const contentType = ObjectSerializer.normalizeMediaType( - response.headers["content-type"] - ); - if (response.httpStatusCode == 200) { - const body: ProjectResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectResponse" - ) as ProjectResponse; - return body; - } - if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 - ) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: APIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "APIErrorResponse" - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException(response.httpStatusCode, body); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: ProjectResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectResponse", - "" - ) as ProjectResponse; - return body; - } - - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"' - ); - } - - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to getProjects - * @throws ApiException if the response code was not in [200, 299] - */ - public async getProjects( - response: ResponseContext - ): Promise { - const contentType = ObjectSerializer.normalizeMediaType( - response.headers["content-type"] - ); - if (response.httpStatusCode == 200) { - const body: ProjectsResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectsResponse" - ) as ProjectsResponse; - return body; - } - if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 - ) { - const bodyText = ObjectSerializer.parse( - await response.body.text(), - contentType - ); - let body: APIErrorResponse; - try { - body = ObjectSerializer.deserialize( - bodyText, - "APIErrorResponse" - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText - ); - } - throw new ApiException(response.httpStatusCode, body); - } - - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: ProjectsResponse = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "ProjectsResponse", - "" - ) as ProjectsResponse; - return body; - } - - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"' - ); - } -} - -export interface CasesProjectsApiCreateProjectRequest { - /** - * Project payload - * @type ProjectCreateRequest - */ - body: ProjectCreateRequest; -} - -export interface CasesProjectsApiDeleteProjectRequest { - /** - * Project UUID - * @type string - */ - projectId: string; -} - -export interface CasesProjectsApiGetProjectRequest { - /** - * Project UUID - * @type string - */ - projectId: string; -} - -export class CasesProjectsApi { - private requestFactory: CasesProjectsApiRequestFactory; - private responseProcessor: CasesProjectsApiResponseProcessor; - private configuration: Configuration; - - public constructor( - configuration: Configuration, - requestFactory?: CasesProjectsApiRequestFactory, - responseProcessor?: CasesProjectsApiResponseProcessor - ) { - this.configuration = configuration; - this.requestFactory = - requestFactory || new CasesProjectsApiRequestFactory(configuration); - this.responseProcessor = - responseProcessor || new CasesProjectsApiResponseProcessor(); - } - - /** - * Create a project. - * @param param The request object - */ - public createProject( - param: CasesProjectsApiCreateProjectRequest, - options?: Configuration - ): Promise { - const requestContextPromise = this.requestFactory.createProject( - param.body, - options - ); - return requestContextPromise.then((requestContext) => { - return this.configuration.httpApi - .send(requestContext) - .then((responseContext) => { - return this.responseProcessor.createProject(responseContext); - }); - }); - } - - /** - * Remove a project using the project's `id`. - * @param param The request object - */ - public deleteProject( - param: CasesProjectsApiDeleteProjectRequest, - options?: Configuration - ): Promise { - const requestContextPromise = this.requestFactory.deleteProject( - param.projectId, - options - ); - return requestContextPromise.then((requestContext) => { - return this.configuration.httpApi - .send(requestContext) - .then((responseContext) => { - return this.responseProcessor.deleteProject(responseContext); - }); - }); - } - - /** - * Get the details of a project by `project_id`. - * @param param The request object - */ - public getProject( - param: CasesProjectsApiGetProjectRequest, - options?: Configuration - ): Promise { - const requestContextPromise = this.requestFactory.getProject( - param.projectId, - options - ); - return requestContextPromise.then((requestContext) => { - return this.configuration.httpApi - .send(requestContext) - .then((responseContext) => { - return this.responseProcessor.getProject(responseContext); - }); - }); - } - - /** - * Get all projects. - * @param param The request object - */ - public getProjects(options?: Configuration): Promise { - const requestContextPromise = this.requestFactory.getProjects(options); - return requestContextPromise.then((requestContext) => { - return this.configuration.httpApi - .send(requestContext) - .then((responseContext) => { - return this.responseProcessor.getProjects(responseContext); - }); - }); - } -} diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index dda0957ecfcd..433f1e20a489 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -46,24 +46,20 @@ export { } from "./apis/CIVisibilityTestsApi"; export { - CasesApiArchiveCaseRequest, - CasesApiAssignCaseRequest, - CasesApiCreateCaseRequest, - CasesApiGetCaseRequest, - CasesApiSearchCasesRequest, - CasesApiUnarchiveCaseRequest, - CasesApiUnassignCaseRequest, - CasesApiUpdatePriorityRequest, - CasesApiUpdateStatusRequest, - CasesApi, -} from "./apis/CasesApi"; - -export { - CasesProjectsApiCreateProjectRequest, - CasesProjectsApiDeleteProjectRequest, - CasesProjectsApiGetProjectRequest, - CasesProjectsApi, -} from "./apis/CasesProjectsApi"; + CaseManagementApiArchiveCaseRequest, + CaseManagementApiAssignCaseRequest, + CaseManagementApiCreateCaseRequest, + CaseManagementApiCreateProjectRequest, + CaseManagementApiDeleteProjectRequest, + CaseManagementApiGetCaseRequest, + CaseManagementApiGetProjectRequest, + CaseManagementApiSearchCasesRequest, + CaseManagementApiUnarchiveCaseRequest, + CaseManagementApiUnassignCaseRequest, + CaseManagementApiUpdatePriorityRequest, + CaseManagementApiUpdateStatusRequest, + CaseManagementApi, +} from "./apis/CaseManagementApi"; export { CloudCostManagementApiCreateCostAWSCURConfigRequest, From a7726fcca35e88b3e2df9ab2338943fa1b9c2735 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:21:47 +0000 Subject: [PATCH 11/41] Add clarification on metrics parameter filter[hours_ago] (#1527) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 +++- packages/datadog-api-client-v2/apis/MetricsApi.ts | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 9a59aaf09227..36ac874c525b 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 19:02:28.868806", - "spec_repo_commit": "5ef419de" + "regenerated": "2024-02-21 12:50:38.923679", + "spec_repo_commit": "1ec2d96a" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-20 19:02:28.888150", - "spec_repo_commit": "5ef419de" + "regenerated": "2024-02-21 12:50:38.947728", + "spec_repo_commit": "1ec2d96a" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f58f161362ac..35cf1d7425c3 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -28095,7 +28095,8 @@ paths: schema: type: string - description: The number of hours of look back (from now) to estimate cardinality - with. + with. Estimates are based on historical data, and unspecified fields default + to the minimum 49 hours. example: 49 in: query name: filter[hours_ago] @@ -28103,6 +28104,7 @@ paths: schema: format: int32 maximum: 2147483647 + minimum: 49 type: integer - description: The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9. diff --git a/packages/datadog-api-client-v2/apis/MetricsApi.ts b/packages/datadog-api-client-v2/apis/MetricsApi.ts index f30c68aac28b..42c672e977fc 100644 --- a/packages/datadog-api-client-v2/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/MetricsApi.ts @@ -1628,7 +1628,7 @@ export interface MetricsApiEstimateMetricsOutputSeriesRequest { */ filterGroups?: string; /** - * The number of hours of look back (from now) to estimate cardinality with. + * The number of hours of look back (from now) to estimate cardinality with. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours. * @type number */ filterHoursAgo?: number; From d23e5e9c9b98794123a1fd1fd5cb9a7032d2f813 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 20:43:09 +0000 Subject: [PATCH 12/41] Include user data with team membership resource (#1516) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 9 +++++++++ packages/datadog-api-client-v2/index.ts | 1 + .../models/ObjectSerializer.ts | 1 + .../models/UserTeamIncluded.ts | 14 ++++++++++++++ .../models/UserTeamResponse.ts | 9 +++++++++ 6 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 packages/datadog-api-client-v2/models/UserTeamIncluded.ts diff --git a/.apigentools-info b/.apigentools-info index 36ac874c525b..fc030ae2c99e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 12:50:38.923679", - "spec_repo_commit": "1ec2d96a" + "regenerated": "2024-02-21 20:20:08.840041", + "spec_repo_commit": "90ae1ed9" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 12:50:38.947728", - "spec_repo_commit": "1ec2d96a" + "regenerated": "2024-02-21 20:20:08.854932", + "spec_repo_commit": "90ae1ed9" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 35cf1d7425c3..ccb37d1f3128 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -21288,6 +21288,10 @@ components: required: - type type: object + UserTeamIncluded: + description: Included resources related to the team membership + oneOf: + - $ref: '#/components/schemas/User' UserTeamPermission: description: A user's permissions for a given team properties: @@ -21342,6 +21346,11 @@ components: properties: data: $ref: '#/components/schemas/UserTeam' + included: + description: Resources related to the team memberships + items: + $ref: '#/components/schemas/UserTeamIncluded' + type: array type: object UserTeamRole: description: The user's role within the team diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index 433f1e20a489..a7bdf3dd8467 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -1838,6 +1838,7 @@ export { UsersType } from "./models/UsersType"; export { UserTeam } from "./models/UserTeam"; export { UserTeamAttributes } from "./models/UserTeamAttributes"; export { UserTeamCreate } from "./models/UserTeamCreate"; +export { UserTeamIncluded } from "./models/UserTeamIncluded"; export { UserTeamPermission } from "./models/UserTeamPermission"; export { UserTeamPermissionAttributes } from "./models/UserTeamPermissionAttributes"; export { UserTeamPermissionType } from "./models/UserTeamPermissionType"; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 0924862eae24..c2935e9919e1 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -2954,6 +2954,7 @@ const oneOfMap: { [index: string]: string[] } = { TeamIncluded: ["User", "TeamLink", "UserTeamPermission"], TimeseriesQuery: ["MetricsTimeseriesQuery", "EventsTimeseriesQuery"], UserResponseIncludedItem: ["Organization", "Permission", "Role"], + UserTeamIncluded: ["User"], }; export class ObjectSerializer { diff --git a/packages/datadog-api-client-v2/models/UserTeamIncluded.ts b/packages/datadog-api-client-v2/models/UserTeamIncluded.ts new file mode 100644 index 000000000000..6e2abcf3540a --- /dev/null +++ b/packages/datadog-api-client-v2/models/UserTeamIncluded.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { User } from "./User"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Included resources related to the team membership + */ + +export type UserTeamIncluded = User | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/UserTeamResponse.ts b/packages/datadog-api-client-v2/models/UserTeamResponse.ts index e1f8864b6b53..79e04ec221c9 100644 --- a/packages/datadog-api-client-v2/models/UserTeamResponse.ts +++ b/packages/datadog-api-client-v2/models/UserTeamResponse.ts @@ -4,6 +4,7 @@ * Copyright 2020-Present Datadog, Inc. */ import { UserTeam } from "./UserTeam"; +import { UserTeamIncluded } from "./UserTeamIncluded"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; @@ -15,6 +16,10 @@ export class UserTeamResponse { * A user's relationship with a team */ "data"?: UserTeam; + /** + * Resources related to the team memberships + */ + "included"?: Array; /** * @ignore @@ -29,6 +34,10 @@ export class UserTeamResponse { baseName: "data", type: "UserTeam", }, + included: { + baseName: "included", + type: "Array", + }, }; /** From 1d43d9c1f6f6ad692dfa842b45117f782c67d285 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:22:47 +0000 Subject: [PATCH 13/41] add ASM serverless to usage metering API docs (#1529) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +++---- .generator/schemas/v1/openapi.yaml | 23 +++++++++++++++++++ .../models/ObjectSerializer.ts | 4 ++++ .../models/UsageAttributionSort.ts | 6 +++++ .../UsageAttributionSupportedMetrics.ts | 6 +++++ .../models/UsageSummaryDate.ts | 9 ++++++++ .../models/UsageSummaryDateOrg.ts | 9 ++++++++ .../models/UsageSummaryResponse.ts | 9 ++++++++ 8 files changed, 70 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index fc030ae2c99e..acd4db9971a6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 20:20:08.840041", - "spec_repo_commit": "90ae1ed9" + "regenerated": "2024-02-21 21:43:34.211905", + "spec_repo_commit": "ea7f4c9f" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 20:20:08.854932", - "spec_repo_commit": "90ae1ed9" + "regenerated": "2024-02-21 21:43:34.235823", + "spec_repo_commit": "ea7f4c9f" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 89e57a83cb63..78833ea7733a 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16870,6 +16870,8 @@ components: - appsec_fargate_percentage - estimated_rum_usage_attribution_usage - estimated_rum_usage_attribution_percentage + - asm_serverless_traced_invocations_usage + - asm_serverless_traced_invocations_percentage type: string x-enum-varnames: - API_PERCENTAGE @@ -16908,6 +16910,8 @@ components: - APPSEC_FARGATE_PERCENTAGE - ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE UsageAttributionSupportedMetrics: description: Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all). @@ -16958,6 +16962,8 @@ components: - appsec_fargate_percentage - estimated_rum_usage_attribution_usage - estimated_rum_usage_attribution_percentage + - asm_serverless_traced_invocations_usage + - asm_serverless_traced_invocations_percentage - '*' type: string x-enum-varnames: @@ -17007,6 +17013,8 @@ components: - APPSEC_FARGATE_PERCENTAGE - ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE - ALL UsageAttributionTagNames: additionalProperties: @@ -18717,6 +18725,11 @@ components: Fargate tasks over all hours in the current date for all organizations. format: int64 type: integer + asm_serverless_sum: + description: Shows the sum of all Application Security Monitoring Serverless + invocations over all hours in the current date for all organizations. + format: int64 + type: integer audit_logs_lines_indexed_sum: deprecated: true description: Shows the sum of audit logs lines indexed over all hours in @@ -19247,6 +19260,11 @@ components: Fargate tasks over all hours in the current months for the given org. format: int64 type: integer + asm_serverless_sum: + description: Shows the sum of all Application Security Monitoring Serverless + invocations over all hours in the current month for the given org. + format: int64 + type: integer audit_logs_lines_indexed_sum: deprecated: true description: Shows the sum of all audit logs lines indexed over all hours @@ -19790,6 +19808,11 @@ components: Fargate tasks over all hours in the current months for all organizations. format: int64 type: integer + asm_serverless_agg_sum: + description: Shows the sum of all Application Security Monitoring Serverless + invocations over all hours in the current months for all organizations. + format: int64 + type: integer audit_logs_lines_indexed_agg_sum: deprecated: true description: Shows the sum of all audit logs lines indexed over all hours diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index 942e133cf5d1..dfcb553e0bdd 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -1415,6 +1415,8 @@ const enumsMap: { [key: string]: any[] } = { "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", + "asm_serverless_traced_invocations_usage", + "asm_serverless_traced_invocations_percentage", ], UsageAttributionSupportedMetrics: [ "custom_timeseries_usage", @@ -1463,6 +1465,8 @@ const enumsMap: { [key: string]: any[] } = { "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", + "asm_serverless_traced_invocations_usage", + "asm_serverless_traced_invocations_percentage", "*", ], UsageMetricCategory: ["standard", "custom"], diff --git a/packages/datadog-api-client-v1/models/UsageAttributionSort.ts b/packages/datadog-api-client-v1/models/UsageAttributionSort.ts index cc7ef8ac9a43..8ff5d350cc6a 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionSort.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionSort.ts @@ -47,6 +47,8 @@ export type UsageAttributionSort = | typeof APPSEC_FARGATE_PERCENTAGE | typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE | typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE | UnparsedObject; export const API_PERCENTAGE = "api_percentage"; export const SNMP_USAGE = "snmp_usage"; @@ -90,3 +92,7 @@ export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage"; export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = + "asm_serverless_traced_invocations_usage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = + "asm_serverless_traced_invocations_percentage"; diff --git a/packages/datadog-api-client-v1/models/UsageAttributionSupportedMetrics.ts b/packages/datadog-api-client-v1/models/UsageAttributionSupportedMetrics.ts index 29f694652095..51156d5eb23a 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionSupportedMetrics.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionSupportedMetrics.ts @@ -57,6 +57,8 @@ export type UsageAttributionSupportedMetrics = | typeof APPSEC_FARGATE_PERCENTAGE | typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE | typeof ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE | typeof ALL | UnparsedObject; export const CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage"; @@ -111,4 +113,8 @@ export const ESTIMATED_RUM_USAGE_ATTRIBUTION_USAGE = "estimated_rum_usage_attribution_usage"; export const ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE = "estimated_rum_usage_attribution_percentage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = + "asm_serverless_traced_invocations_usage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = + "asm_serverless_traced_invocations_percentage"; export const ALL = "*"; diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts index 3d99bd5806a8..6a0b990ef384 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts @@ -35,6 +35,10 @@ export class UsageSummaryDate { * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current date for all organizations. */ "appsecFargateCountAvg"?: number; + /** + * Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current date for all organizations. + */ + "asmServerlessSum"?: number; /** * Shows the sum of audit logs lines indexed over all hours in the current date for all organizations. */ @@ -463,6 +467,11 @@ export class UsageSummaryDate { type: "number", format: "int64", }, + asmServerlessSum: { + baseName: "asm_serverless_sum", + type: "number", + format: "int64", + }, auditLogsLinesIndexedSum: { baseName: "audit_logs_lines_indexed_sum", type: "number", diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts index f1df45a4ed88..26aafd990a62 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts @@ -34,6 +34,10 @@ export class UsageSummaryDateOrg { * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for the given org. */ "appsecFargateCountAvg"?: number; + /** + * Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current month for the given org. + */ + "asmServerlessSum"?: number; /** * Shows the sum of all audit logs lines indexed over all hours in the current date for the given org. */ @@ -478,6 +482,11 @@ export class UsageSummaryDateOrg { type: "number", format: "int64", }, + asmServerlessSum: { + baseName: "asm_serverless_sum", + type: "number", + format: "int64", + }, auditLogsLinesIndexedSum: { baseName: "audit_logs_lines_indexed_sum", type: "number", diff --git a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts index 1072c9c9091a..d77a28503d95 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts @@ -36,6 +36,10 @@ export class UsageSummaryResponse { * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for all organizations. */ "appsecFargateCountAvgSum"?: number; + /** + * Shows the sum of all Application Security Monitoring Serverless invocations over all hours in the current months for all organizations. + */ + "asmServerlessAggSum"?: number; /** * Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations. */ @@ -508,6 +512,11 @@ export class UsageSummaryResponse { type: "number", format: "int64", }, + asmServerlessAggSum: { + baseName: "asm_serverless_agg_sum", + type: "number", + format: "int64", + }, auditLogsLinesIndexedAggSum: { baseName: "audit_logs_lines_indexed_agg_sum", type: "number", From 023ef15cee71edf83cfdf8528ec0979ec32b4870 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 22 Feb 2024 15:45:12 +0000 Subject: [PATCH 14/41] Mark `ListTagConfigurations` replay only (#1528) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- features/v2/metrics.feature | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index acd4db9971a6..8fa5b9075a63 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 21:43:34.211905", - "spec_repo_commit": "ea7f4c9f" + "regenerated": "2024-02-22 15:33:31.830184", + "spec_repo_commit": "a79d8d5b" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-21 21:43:34.235823", - "spec_repo_commit": "ea7f4c9f" + "regenerated": "2024-02-22 15:33:31.844885", + "spec_repo_commit": "a79d8d5b" } } } \ No newline at end of file diff --git a/features/v2/metrics.feature b/features/v2/metrics.feature index ce49ede3760e..59bebca45957 100644 --- a/features/v2/metrics.feature +++ b/features/v2/metrics.feature @@ -132,7 +132,7 @@ Feature: Metrics Then the response status is 200 Success And the response "data" has length 0 - @team:DataDog/metrics-experience + @replay-only @team:DataDog/metrics-experience Scenario: Get a list of metrics with configured filter returns "Success" response Given a valid "appKeyAuth" key in the system And new "ListTagConfigurations" request From 34e557a17771117dda18be8fb8dc71eea3e9cec1 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:39:46 +0000 Subject: [PATCH 15/41] Fix typo (#1530) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +- .generator/schemas/v1/openapi.yaml | 213 +++++++++--------- .../models/UsageAttributionBody.ts | 2 +- .../models/UsageSummaryDateOrg.ts | 4 +- .../models/UsageSummaryResponse.ts | 202 ++++++++--------- 5 files changed, 214 insertions(+), 215 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 8fa5b9075a63..dd35ffe8f77d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-22 15:33:31.830184", - "spec_repo_commit": "a79d8d5b" + "regenerated": "2024-02-23 10:58:52.788238", + "spec_repo_commit": "86101285" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-22 15:33:31.844885", - "spec_repo_commit": "a79d8d5b" + "regenerated": "2024-02-23 10:58:52.808553", + "spec_repo_commit": "86101285" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 78833ea7733a..c66253cd4857 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16773,7 +16773,7 @@ components: tags: $ref: '#/components/schemas/UsageAttributionTagNames' updated_at: - description: Shows the the most recent hour in the current months for all + description: Shows the the most recent hour in the current month for all organizations for which all usages were calculated. type: string values: @@ -19247,7 +19247,7 @@ components: type: integer apm_fargate_count_avg: description: Shows the average of all APM ECS Fargate tasks over all hours - in the current months for the given org. + in the current month for the given org. format: int64 type: integer apm_host_top99p: @@ -19257,7 +19257,7 @@ components: type: integer appsec_fargate_count_avg: description: Shows the average of all Application Security Monitoring ECS - Fargate tasks over all hours in the current months for the given org. + Fargate tasks over all hours in the current month for the given org. format: int64 type: integer asm_serverless_sum: @@ -19780,32 +19780,32 @@ components: properties: agent_host_top99p_sum: description: Shows the 99th percentile of all agent hosts over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer apm_azure_app_service_host_top99p_sum: description: Shows the 99th percentile of all Azure app services using APM - over all hours in the current months all organizations. + over all hours in the current month all organizations. format: int64 type: integer apm_devsecops_host_top99p_sum: description: Shows the 99th percentile of all APM DevSecOps hosts over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer apm_fargate_count_avg_sum: description: Shows the average of all APM ECS Fargate tasks over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer apm_host_top99p_sum: description: Shows the 99th percentile of all distinct APM hosts over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer appsec_fargate_count_avg_sum: description: Shows the average of all Application Security Monitoring ECS - Fargate tasks over all hours in the current months for all organizations. + Fargate tasks over all hours in the current month for all organizations. format: int64 type: integer asm_serverless_agg_sum: @@ -19816,7 +19816,7 @@ components: audit_logs_lines_indexed_agg_sum: deprecated: true description: Shows the sum of all audit logs lines indexed over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer audit_trail_enabled_hwm_sum: @@ -19826,77 +19826,77 @@ components: type: integer avg_profiled_fargate_tasks_sum: description: Shows the average of all profiled Fargate tasks over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer aws_host_top99p_sum: description: Shows the 99th percentile of all AWS hosts over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer aws_lambda_func_count: description: Shows the average of the number of functions that executed - 1 or more times each hour in the current months for all organizations. + 1 or more times each hour in the current month for all organizations. format: int64 type: integer aws_lambda_invocations_sum: description: Shows the sum of all AWS Lambda invocations over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer azure_app_service_top99p_sum: description: Shows the 99th percentile of all Azure app services over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer azure_host_top99p_sum: description: Shows the 99th percentile of all Azure hosts over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer billable_ingested_bytes_agg_sum: description: Shows the sum of all log bytes ingested over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer browser_rum_lite_session_count_agg_sum: description: Shows the sum of all browser lite sessions over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer browser_rum_replay_session_count_agg_sum: description: Shows the sum of all browser replay sessions over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer browser_rum_units_agg_sum: description: Shows the sum of all browser RUM units over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer ci_pipeline_indexed_spans_agg_sum: description: Shows the sum of all CI pipeline indexed spans over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer ci_test_indexed_spans_agg_sum: description: Shows the sum of all CI test indexed spans over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer ci_visibility_itr_committers_hwm_sum: description: Shows the high-water mark of all CI visibility intelligent - test runner committers over all hours in the current months for all organizations. + test runner committers over all hours in the current month for all organizations. format: int64 type: integer ci_visibility_pipeline_committers_hwm_sum: description: Shows the high-water mark of all CI visibility pipeline committers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer ci_visibility_test_committers_hwm_sum: description: Shows the high-water mark of all CI visibility test committers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer cloud_cost_management_aws_host_count_avg_sum: @@ -19916,12 +19916,12 @@ components: type: integer cloud_siem_events_agg_sum: description: Shows the sum of all Cloud Security Information and Event Management - events over all hours in the current months for all organizations. + events over all hours in the current month for all organizations. format: int64 type: integer container_avg_sum: description: Shows the average of all distinct containers over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer container_excl_agent_avg_sum: @@ -19931,123 +19931,123 @@ components: type: integer container_hwm_sum: description: Shows the sum of the high-water marks of all distinct containers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer csm_container_enterprise_compliance_count_agg_sum: description: Shows the sum of all Cloud Security Management Enterprise compliance - containers over all hours in the current months for all organizations. + containers over all hours in the current month for all organizations. format: int64 type: integer csm_container_enterprise_cws_count_agg_sum: description: Shows the sum of all Cloud Security Management Enterprise Cloud - Workload Security containers over all hours in the current months for - all organizations. + Workload Security containers over all hours in the current month for all + organizations. format: int64 type: integer csm_container_enterprise_total_count_agg_sum: description: Shows the sum of all Cloud Security Management Enterprise containers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_aas_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise Azure app services hosts over all hours in the current months + Enterprise Azure app services hosts over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_aws_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise AWS hosts over all hours in the current months for all organizations. + Enterprise AWS hosts over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_azure_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise Azure hosts over all hours in the current months for all organizations. + Enterprise Azure hosts over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_compliance_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise compliance hosts over all hours in the current months for all + Enterprise compliance hosts over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_cws_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer csm_host_enterprise_gcp_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise GCP hosts over all hours in the current months for all organizations. + Enterprise GCP hosts over all hours in the current month for all organizations. format: int64 type: integer csm_host_enterprise_total_host_count_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Enterprise hosts over all hours in the current months for all organizations. + Enterprise hosts over all hours in the current month for all organizations. format: int64 type: integer cspm_aas_host_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Pro Azure app services hosts over all hours in the current months for - all organizations. + Pro Azure app services hosts over all hours in the current month for all + organizations. format: int64 type: integer cspm_aws_host_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Pro AWS hosts over all hours in the current months for all organizations. + Pro AWS hosts over all hours in the current month for all organizations. format: int64 type: integer cspm_azure_host_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Pro Azure hosts over all hours in the current months for all organizations. + Pro Azure hosts over all hours in the current month for all organizations. format: int64 type: integer cspm_container_avg_sum: description: Shows the average number of Cloud Security Management Pro containers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer cspm_container_hwm_sum: description: Shows the sum of the the high-water marks of Cloud Security - Management Pro containers over all hours in the current months for all + Management Pro containers over all hours in the current month for all organizations. format: int64 type: integer cspm_gcp_host_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Pro GCP hosts over all hours in the current months for all organizations. + Pro GCP hosts over all hours in the current month for all organizations. format: int64 type: integer cspm_host_top99p_sum: description: Shows the 99th percentile of all Cloud Security Management - Pro hosts over all hours in the current months for all organizations. + Pro hosts over all hours in the current month for all organizations. format: int64 type: integer custom_historical_ts_sum: description: Shows the average number of distinct historical custom metrics - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer custom_live_ts_sum: description: Shows the average number of distinct live custom metrics over - all hours in the current months for all organizations. + all hours in the current month for all organizations. format: int64 type: integer custom_ts_sum: description: Shows the average number of distinct custom metrics over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer cws_containers_avg_sum: description: Shows the average of all distinct Cloud Workload Security containers - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer cws_host_top99p_sum: description: Shows the 99th percentile of all Cloud Workload Security hosts - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer dbm_host_top99p_sum: @@ -20061,80 +20061,79 @@ components: format: int64 type: integer end_date: - description: Shows the last date of usage in the current months for all - organizations. + description: Shows the last date of usage in the current month for all organizations. format: date-time type: string fargate_tasks_count_avg_sum: description: Shows the average of all Fargate tasks over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer fargate_tasks_count_hwm_sum: description: Shows the sum of the high-water marks of all Fargate tasks - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer forwarding_events_bytes_agg_sum: description: Shows the sum of all logs forwarding bytes over all hours in - the current months for all organizations (data available as of April 1, + the current month for all organizations (data available as of April 1, 2023) format: int64 type: integer gcp_host_top99p_sum: description: Shows the 99th percentile of all GCP hosts over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer heroku_host_top99p_sum: description: Shows the 99th percentile of all Heroku dynos over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer incident_management_monthly_active_users_hwm_sum: description: Shows sum of the the high-water marks of incident management - monthly active users in the current months for all organizations. + monthly active users in the current month for all organizations. format: int64 type: integer indexed_events_count_agg_sum: description: Shows the sum of all log events indexed over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer infra_host_top99p_sum: description: Shows the 99th percentile of all distinct infrastructure hosts - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer ingested_events_bytes_agg_sum: description: Shows the sum of all log bytes ingested over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer iot_device_agg_sum: description: Shows the sum of all IoT devices over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer iot_device_top99p_sum: description: Shows the 99th percentile of all IoT devices over all hours - in the current months of all organizations. + in the current month of all organizations. format: int64 type: integer last_updated: - description: Shows the the most recent hour in the current months for all + description: Shows the the most recent hour in the current month for all organizations for which all usages were calculated. format: date-time type: string live_indexed_events_agg_sum: description: Shows the sum of all live logs indexed over all hours in the - current months for all organizations (data available as of December 1, + current month for all organizations (data available as of December 1, 2020). format: int64 type: integer live_ingested_bytes_agg_sum: description: Shows the sum of all live logs bytes ingested over all hours - in the current months for all organizations (data available as of December + in the current month for all organizations (data available as of December 1, 2020). format: int64 type: integer @@ -20142,105 +20141,105 @@ components: $ref: '#/components/schemas/LogsByRetention' mobile_rum_lite_session_count_agg_sum: description: Shows the sum of all mobile lite sessions over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer mobile_rum_session_count_agg_sum: description: Shows the sum of all mobile RUM Sessions over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer mobile_rum_session_count_android_agg_sum: description: Shows the sum of all mobile RUM Sessions on Android over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer mobile_rum_session_count_flutter_agg_sum: description: Shows the sum of all mobile RUM Sessions on Flutter over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer mobile_rum_session_count_ios_agg_sum: description: Shows the sum of all mobile RUM Sessions on iOS over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer mobile_rum_session_count_reactnative_agg_sum: description: Shows the sum of all mobile RUM Sessions on React Native over - all hours in the current months for all organizations. + all hours in the current month for all organizations. format: int64 type: integer mobile_rum_session_count_roku_agg_sum: description: Shows the sum of all mobile RUM Sessions on Roku over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer mobile_rum_units_agg_sum: description: Shows the sum of all mobile RUM units over all hours in the - current months for all organizations. + current month for all organizations. format: int64 type: integer ndm_netflow_events_agg_sum: description: Shows the sum of all Network Device Monitoring NetFlow events - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer netflow_indexed_events_count_agg_sum: description: Shows the sum of all Network flows indexed over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer npm_host_top99p_sum: description: Shows the 99th percentile of all distinct Networks hosts over - all hours in the current months for all organizations. + all hours in the current month for all organizations. format: int64 type: integer observability_pipelines_bytes_processed_agg_sum: description: Sum of all observability pipelines bytes processed over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer online_archive_events_count_agg_sum: description: Sum of all online archived events over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer opentelemetry_apm_host_top99p_sum: description: Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer opentelemetry_host_top99p_sum: description: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer profiling_aas_count_top99p_sum: description: Shows the 99th percentile of all profiled Azure app services - over all hours in the current months for all organizations. + over all hours in the current month for all organizations. format: int64 type: integer profiling_container_agent_count_avg: description: Shows the average number of profiled containers over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer profiling_host_count_top99p_sum: description: Shows the 99th percentile of all profiled hosts over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer rehydrated_indexed_events_agg_sum: description: Shows the sum of all rehydrated logs indexed over all hours - in the current months for all organizations (data available as of December + in the current month for all organizations (data available as of December 1, 2020). format: int64 type: integer rehydrated_ingested_bytes_agg_sum: description: Shows the sum of all rehydrated logs bytes ingested over all - hours in the current months for all organizations (data available as of + hours in the current month for all organizations (data available as of December 1, 2020). format: int64 type: integer @@ -20251,27 +20250,27 @@ components: type: integer rum_session_count_agg_sum: description: Shows the sum of all browser RUM Lite Sessions over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer rum_total_session_count_agg_sum: description: Shows the sum of RUM Sessions (browser and mobile) over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer rum_units_agg_sum: description: Shows the sum of all browser and mobile RUM units over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer sds_apm_scanned_bytes_sum: description: Sum of all APM bytes scanned with sensitive data scanner in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer sds_events_scanned_bytes_sum: description: Sum of all event stream events bytes scanned with sensitive - data scanner in the current months for all organizations. + data scanner in the current month for all organizations. format: int64 type: integer sds_logs_scanned_bytes_sum: @@ -20281,7 +20280,7 @@ components: type: integer sds_rum_scanned_bytes_sum: description: Sum of all RUM bytes scanned with sensitive data scanner in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer sds_total_scanned_bytes_sum: @@ -20292,37 +20291,37 @@ components: type: integer serverless_apps_azure_count_avg_sum: description: Sum of the average number of Serverless Apps for Azure in the - current months for all organizations. + current month for all organizations. format: int64 type: integer serverless_apps_google_count_avg_sum: description: Sum of the average number of Serverless Apps for Google Cloud - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer serverless_apps_total_count_avg_sum: description: Sum of the average number of Serverless Apps for Azure and - Google Cloud in the current months for all organizations. + Google Cloud in the current month for all organizations. format: int64 type: integer start_date: - description: Shows the first date of usage in the current months for all + description: Shows the first date of usage in the current month for all organizations. format: date-time type: string synthetics_browser_check_calls_count_agg_sum: description: Shows the sum of all Synthetic browser tests over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer synthetics_check_calls_count_agg_sum: description: Shows the sum of all Synthetic API tests over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer synthetics_mobile_test_runs_agg_sum: description: Shows the sum of Synthetic mobile application tests over all - hours in the current months for all organizations. + hours in the current month for all organizations. format: int64 type: integer synthetics_parallel_testing_max_slots_hwm_sum: @@ -20332,17 +20331,17 @@ components: type: integer trace_search_indexed_events_count_agg_sum: description: Shows the sum of all Indexed Spans indexed over all hours in - the current months for all organizations. + the current month for all organizations. format: int64 type: integer twol_ingested_events_bytes_agg_sum: description: Shows the sum of all ingested APM span bytes over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer universal_service_monitoring_host_top99p_sum: description: Shows the 99th percentile of all Universal Service Monitoring - hosts over all hours in the current months for all organizations. + hosts over all hours in the current month for all organizations. format: int64 type: integer usage: @@ -20352,17 +20351,17 @@ components: type: array vsphere_host_top99p_sum: description: Shows the 99th percentile of all vSphere hosts over all hours - in the current months for all organizations. + in the current month for all organizations. format: int64 type: integer vuln_management_host_count_top99p_sum: description: Shows the 99th percentile of all Application Vulnerability - Management hosts over all hours in the current months for all organizations. + Management hosts over all hours in the current month for all organizations. format: int64 type: integer workflow_executions_usage_agg_sum: description: Sum of all workflows executed over all hours in the current - months for all organizations. + month for all organizations. format: int64 type: integer type: object diff --git a/packages/datadog-api-client-v1/models/UsageAttributionBody.ts b/packages/datadog-api-client-v1/models/UsageAttributionBody.ts index 316aaf0b9f97..e6db233c85b8 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionBody.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionBody.ts @@ -36,7 +36,7 @@ export class UsageAttributionBody { */ "tags"?: { [key: string]: Array }; /** - * Shows the the most recent hour in the current months for all organizations for which all usages were calculated. + * Shows the the most recent hour in the current month for all organizations for which all usages were calculated. */ "updatedAt"?: string; /** diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts index 26aafd990a62..5a83983e869f 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts @@ -23,7 +23,7 @@ export class UsageSummaryDateOrg { */ "apmDevsecopsHostTop99p"?: number; /** - * Shows the average of all APM ECS Fargate tasks over all hours in the current months for the given org. + * Shows the average of all APM ECS Fargate tasks over all hours in the current month for the given org. */ "apmFargateCountAvg"?: number; /** @@ -31,7 +31,7 @@ export class UsageSummaryDateOrg { */ "apmHostTop99p"?: number; /** - * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for the given org. + * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current month for the given org. */ "appsecFargateCountAvg"?: number; /** diff --git a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts index d77a28503d95..168af81d465c 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts @@ -13,27 +13,27 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; */ export class UsageSummaryResponse { /** - * Shows the 99th percentile of all agent hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all agent hosts over all hours in the current month for all organizations. */ "agentHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Azure app services using APM over all hours in the current months all organizations. + * Shows the 99th percentile of all Azure app services using APM over all hours in the current month all organizations. */ "apmAzureAppServiceHostTop99pSum"?: number; /** - * Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current month for all organizations. */ "apmDevsecopsHostTop99pSum"?: number; /** - * Shows the average of all APM ECS Fargate tasks over all hours in the current months for all organizations. + * Shows the average of all APM ECS Fargate tasks over all hours in the current month for all organizations. */ "apmFargateCountAvgSum"?: number; /** - * Shows the 99th percentile of all distinct APM hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all distinct APM hosts over all hours in the current month for all organizations. */ "apmHostTop99pSum"?: number; /** - * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current months for all organizations. + * Shows the average of all Application Security Monitoring ECS Fargate tasks over all hours in the current month for all organizations. */ "appsecFargateCountAvgSum"?: number; /** @@ -41,7 +41,7 @@ export class UsageSummaryResponse { */ "asmServerlessAggSum"?: number; /** - * Shows the sum of all audit logs lines indexed over all hours in the current months for all organizations. + * Shows the sum of all audit logs lines indexed over all hours in the current month for all organizations. */ "auditLogsLinesIndexedAggSum"?: number; /** @@ -49,63 +49,63 @@ export class UsageSummaryResponse { */ "auditTrailEnabledHwmSum"?: number; /** - * Shows the average of all profiled Fargate tasks over all hours in the current months for all organizations. + * Shows the average of all profiled Fargate tasks over all hours in the current month for all organizations. */ "avgProfiledFargateTasksSum"?: number; /** - * Shows the 99th percentile of all AWS hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all AWS hosts over all hours in the current month for all organizations. */ "awsHostTop99pSum"?: number; /** - * Shows the average of the number of functions that executed 1 or more times each hour in the current months for all organizations. + * Shows the average of the number of functions that executed 1 or more times each hour in the current month for all organizations. */ "awsLambdaFuncCount"?: number; /** - * Shows the sum of all AWS Lambda invocations over all hours in the current months for all organizations. + * Shows the sum of all AWS Lambda invocations over all hours in the current month for all organizations. */ "awsLambdaInvocationsSum"?: number; /** - * Shows the 99th percentile of all Azure app services over all hours in the current months for all organizations. + * Shows the 99th percentile of all Azure app services over all hours in the current month for all organizations. */ "azureAppServiceTop99pSum"?: number; /** - * Shows the 99th percentile of all Azure hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Azure hosts over all hours in the current month for all organizations. */ "azureHostTop99pSum"?: number; /** - * Shows the sum of all log bytes ingested over all hours in the current months for all organizations. + * Shows the sum of all log bytes ingested over all hours in the current month for all organizations. */ "billableIngestedBytesAggSum"?: number; /** - * Shows the sum of all browser lite sessions over all hours in the current months for all organizations. + * Shows the sum of all browser lite sessions over all hours in the current month for all organizations. */ "browserRumLiteSessionCountAggSum"?: number; /** - * Shows the sum of all browser replay sessions over all hours in the current months for all organizations. + * Shows the sum of all browser replay sessions over all hours in the current month for all organizations. */ "browserRumReplaySessionCountAggSum"?: number; /** - * Shows the sum of all browser RUM units over all hours in the current months for all organizations. + * Shows the sum of all browser RUM units over all hours in the current month for all organizations. */ "browserRumUnitsAggSum"?: number; /** - * Shows the sum of all CI pipeline indexed spans over all hours in the current months for all organizations. + * Shows the sum of all CI pipeline indexed spans over all hours in the current month for all organizations. */ "ciPipelineIndexedSpansAggSum"?: number; /** - * Shows the sum of all CI test indexed spans over all hours in the current months for all organizations. + * Shows the sum of all CI test indexed spans over all hours in the current month for all organizations. */ "ciTestIndexedSpansAggSum"?: number; /** - * Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current months for all organizations. + * Shows the high-water mark of all CI visibility intelligent test runner committers over all hours in the current month for all organizations. */ "ciVisibilityItrCommittersHwmSum"?: number; /** - * Shows the high-water mark of all CI visibility pipeline committers over all hours in the current months for all organizations. + * Shows the high-water mark of all CI visibility pipeline committers over all hours in the current month for all organizations. */ "ciVisibilityPipelineCommittersHwmSum"?: number; /** - * Shows the high-water mark of all CI visibility test committers over all hours in the current months for all organizations. + * Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations. */ "ciVisibilityTestCommittersHwmSum"?: number; /** @@ -121,11 +121,11 @@ export class UsageSummaryResponse { */ "cloudCostManagementHostCountAvgSum"?: number; /** - * Shows the sum of all Cloud Security Information and Event Management events over all hours in the current months for all organizations. + * Shows the sum of all Cloud Security Information and Event Management events over all hours in the current month for all organizations. */ "cloudSiemEventsAggSum"?: number; /** - * Shows the average of all distinct containers over all hours in the current months for all organizations. + * Shows the average of all distinct containers over all hours in the current month for all organizations. */ "containerAvgSum"?: number; /** @@ -133,95 +133,95 @@ export class UsageSummaryResponse { */ "containerExclAgentAvgSum"?: number; /** - * Shows the sum of the high-water marks of all distinct containers over all hours in the current months for all organizations. + * Shows the sum of the high-water marks of all distinct containers over all hours in the current month for all organizations. */ "containerHwmSum"?: number; /** - * Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current months for all organizations. + * Shows the sum of all Cloud Security Management Enterprise compliance containers over all hours in the current month for all organizations. */ "csmContainerEnterpriseComplianceCountAggSum"?: number; /** - * Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current months for all organizations. + * Shows the sum of all Cloud Security Management Enterprise Cloud Workload Security containers over all hours in the current month for all organizations. */ "csmContainerEnterpriseCwsCountAggSum"?: number; /** - * Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current months for all organizations. + * Shows the sum of all Cloud Security Management Enterprise containers over all hours in the current month for all organizations. */ "csmContainerEnterpriseTotalCountAggSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise Azure app services hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseAasHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise AWS hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseAwsHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise Azure hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseAzureHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise compliance hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseComplianceHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise Cloud Workload Security hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseCwsHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise GCP hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseGcpHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Enterprise hosts over all hours in the current month for all organizations. */ "csmHostEnterpriseTotalHostCountTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Pro Azure app services hosts over all hours in the current month for all organizations. */ "cspmAasHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Pro AWS hosts over all hours in the current month for all organizations. */ "cspmAwsHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Pro Azure hosts over all hours in the current month for all organizations. */ "cspmAzureHostTop99pSum"?: number; /** - * Shows the average number of Cloud Security Management Pro containers over all hours in the current months for all organizations. + * Shows the average number of Cloud Security Management Pro containers over all hours in the current month for all organizations. */ "cspmContainerAvgSum"?: number; /** - * Shows the sum of the the high-water marks of Cloud Security Management Pro containers over all hours in the current months for all organizations. + * Shows the sum of the the high-water marks of Cloud Security Management Pro containers over all hours in the current month for all organizations. */ "cspmContainerHwmSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Pro GCP hosts over all hours in the current month for all organizations. */ "cspmGcpHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current month for all organizations. */ "cspmHostTop99pSum"?: number; /** - * Shows the average number of distinct historical custom metrics over all hours in the current months for all organizations. + * Shows the average number of distinct historical custom metrics over all hours in the current month for all organizations. */ "customHistoricalTsSum"?: number; /** - * Shows the average number of distinct live custom metrics over all hours in the current months for all organizations. + * Shows the average number of distinct live custom metrics over all hours in the current month for all organizations. */ "customLiveTsSum"?: number; /** - * Shows the average number of distinct custom metrics over all hours in the current months for all organizations. + * Shows the average number of distinct custom metrics over all hours in the current month for all organizations. */ "customTsSum"?: number; /** - * Shows the average of all distinct Cloud Workload Security containers over all hours in the current months for all organizations. + * Shows the average of all distinct Cloud Workload Security containers over all hours in the current month for all organizations. */ "cwsContainersAvgSum"?: number; /** - * Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Cloud Workload Security hosts over all hours in the current month for all organizations. */ "cwsHostTop99pSum"?: number; /** @@ -233,63 +233,63 @@ export class UsageSummaryResponse { */ "dbmQueriesAvgSum"?: number; /** - * Shows the last date of usage in the current months for all organizations. + * Shows the last date of usage in the current month for all organizations. */ "endDate"?: Date; /** - * Shows the average of all Fargate tasks over all hours in the current months for all organizations. + * Shows the average of all Fargate tasks over all hours in the current month for all organizations. */ "fargateTasksCountAvgSum"?: number; /** - * Shows the sum of the high-water marks of all Fargate tasks over all hours in the current months for all organizations. + * Shows the sum of the high-water marks of all Fargate tasks over all hours in the current month for all organizations. */ "fargateTasksCountHwmSum"?: number; /** - * Shows the sum of all logs forwarding bytes over all hours in the current months for all organizations (data available as of April 1, 2023) + * Shows the sum of all logs forwarding bytes over all hours in the current month for all organizations (data available as of April 1, 2023) */ "forwardingEventsBytesAggSum"?: number; /** - * Shows the 99th percentile of all GCP hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all GCP hosts over all hours in the current month for all organizations. */ "gcpHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Heroku dynos over all hours in the current months for all organizations. + * Shows the 99th percentile of all Heroku dynos over all hours in the current month for all organizations. */ "herokuHostTop99pSum"?: number; /** - * Shows sum of the the high-water marks of incident management monthly active users in the current months for all organizations. + * Shows sum of the the high-water marks of incident management monthly active users in the current month for all organizations. */ "incidentManagementMonthlyActiveUsersHwmSum"?: number; /** - * Shows the sum of all log events indexed over all hours in the current months for all organizations. + * Shows the sum of all log events indexed over all hours in the current month for all organizations. */ "indexedEventsCountAggSum"?: number; /** - * Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all distinct infrastructure hosts over all hours in the current month for all organizations. */ "infraHostTop99pSum"?: number; /** - * Shows the sum of all log bytes ingested over all hours in the current months for all organizations. + * Shows the sum of all log bytes ingested over all hours in the current month for all organizations. */ "ingestedEventsBytesAggSum"?: number; /** - * Shows the sum of all IoT devices over all hours in the current months for all organizations. + * Shows the sum of all IoT devices over all hours in the current month for all organizations. */ "iotDeviceAggSum"?: number; /** - * Shows the 99th percentile of all IoT devices over all hours in the current months of all organizations. + * Shows the 99th percentile of all IoT devices over all hours in the current month of all organizations. */ "iotDeviceTop99pSum"?: number; /** - * Shows the the most recent hour in the current months for all organizations for which all usages were calculated. + * Shows the the most recent hour in the current month for all organizations for which all usages were calculated. */ "lastUpdated"?: Date; /** - * Shows the sum of all live logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020). + * Shows the sum of all live logs indexed over all hours in the current month for all organizations (data available as of December 1, 2020). */ "liveIndexedEventsAggSum"?: number; /** - * Shows the sum of all live logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020). + * Shows the sum of all live logs bytes ingested over all hours in the current month for all organizations (data available as of December 1, 2020). */ "liveIngestedBytesAggSum"?: number; /** @@ -297,83 +297,83 @@ export class UsageSummaryResponse { */ "logsByRetention"?: LogsByRetention; /** - * Shows the sum of all mobile lite sessions over all hours in the current months for all organizations. + * Shows the sum of all mobile lite sessions over all hours in the current month for all organizations. */ "mobileRumLiteSessionCountAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions over all hours in the current month for all organizations. */ "mobileRumSessionCountAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions on Android over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions on Android over all hours in the current month for all organizations. */ "mobileRumSessionCountAndroidAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current month for all organizations. */ "mobileRumSessionCountFlutterAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions on iOS over all hours in the current month for all organizations. */ "mobileRumSessionCountIosAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions on React Native over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions on React Native over all hours in the current month for all organizations. */ "mobileRumSessionCountReactnativeAggSum"?: number; /** - * Shows the sum of all mobile RUM Sessions on Roku over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM Sessions on Roku over all hours in the current month for all organizations. */ "mobileRumSessionCountRokuAggSum"?: number; /** - * Shows the sum of all mobile RUM units over all hours in the current months for all organizations. + * Shows the sum of all mobile RUM units over all hours in the current month for all organizations. */ "mobileRumUnitsAggSum"?: number; /** - * Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current months for all organizations. + * Shows the sum of all Network Device Monitoring NetFlow events over all hours in the current month for all organizations. */ "ndmNetflowEventsAggSum"?: number; /** - * Shows the sum of all Network flows indexed over all hours in the current months for all organizations. + * Shows the sum of all Network flows indexed over all hours in the current month for all organizations. */ "netflowIndexedEventsCountAggSum"?: number; /** - * Shows the 99th percentile of all distinct Networks hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all distinct Networks hosts over all hours in the current month for all organizations. */ "npmHostTop99pSum"?: number; /** - * Sum of all observability pipelines bytes processed over all hours in the current months for all organizations. + * Sum of all observability pipelines bytes processed over all hours in the current month for all organizations. */ "observabilityPipelinesBytesProcessedAggSum"?: number; /** - * Sum of all online archived events over all hours in the current months for all organizations. + * Sum of all online archived events over all hours in the current month for all organizations. */ "onlineArchiveEventsCountAggSum"?: number; /** - * Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations. + * Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations. */ "opentelemetryApmHostTop99pSum"?: number; /** - * Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations. + * Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current month for all organizations. */ "opentelemetryHostTop99pSum"?: number; /** - * Shows the 99th percentile of all profiled Azure app services over all hours in the current months for all organizations. + * Shows the 99th percentile of all profiled Azure app services over all hours in the current month for all organizations. */ "profilingAasCountTop99pSum"?: number; /** - * Shows the average number of profiled containers over all hours in the current months for all organizations. + * Shows the average number of profiled containers over all hours in the current month for all organizations. */ "profilingContainerAgentCountAvg"?: number; /** - * Shows the 99th percentile of all profiled hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all profiled hosts over all hours in the current month for all organizations. */ "profilingHostCountTop99pSum"?: number; /** - * Shows the sum of all rehydrated logs indexed over all hours in the current months for all organizations (data available as of December 1, 2020). + * Shows the sum of all rehydrated logs indexed over all hours in the current month for all organizations (data available as of December 1, 2020). */ "rehydratedIndexedEventsAggSum"?: number; /** - * Shows the sum of all rehydrated logs bytes ingested over all hours in the current months for all organizations (data available as of December 1, 2020). + * Shows the sum of all rehydrated logs bytes ingested over all hours in the current month for all organizations (data available as of December 1, 2020). */ "rehydratedIngestedBytesAggSum"?: number; /** @@ -381,23 +381,23 @@ export class UsageSummaryResponse { */ "rumBrowserAndMobileSessionCount"?: number; /** - * Shows the sum of all browser RUM Lite Sessions over all hours in the current months for all organizations. + * Shows the sum of all browser RUM Lite Sessions over all hours in the current month for all organizations. */ "rumSessionCountAggSum"?: number; /** - * Shows the sum of RUM Sessions (browser and mobile) over all hours in the current months for all organizations. + * Shows the sum of RUM Sessions (browser and mobile) over all hours in the current month for all organizations. */ "rumTotalSessionCountAggSum"?: number; /** - * Shows the sum of all browser and mobile RUM units over all hours in the current months for all organizations. + * Shows the sum of all browser and mobile RUM units over all hours in the current month for all organizations. */ "rumUnitsAggSum"?: number; /** - * Sum of all APM bytes scanned with sensitive data scanner in the current months for all organizations. + * Sum of all APM bytes scanned with sensitive data scanner in the current month for all organizations. */ "sdsApmScannedBytesSum"?: number; /** - * Sum of all event stream events bytes scanned with sensitive data scanner in the current months for all organizations. + * Sum of all event stream events bytes scanned with sensitive data scanner in the current month for all organizations. */ "sdsEventsScannedBytesSum"?: number; /** @@ -405,7 +405,7 @@ export class UsageSummaryResponse { */ "sdsLogsScannedBytesSum"?: number; /** - * Sum of all RUM bytes scanned with sensitive data scanner in the current months for all organizations. + * Sum of all RUM bytes scanned with sensitive data scanner in the current month for all organizations. */ "sdsRumScannedBytesSum"?: number; /** @@ -413,31 +413,31 @@ export class UsageSummaryResponse { */ "sdsTotalScannedBytesSum"?: number; /** - * Sum of the average number of Serverless Apps for Azure in the current months for all organizations. + * Sum of the average number of Serverless Apps for Azure in the current month for all organizations. */ "serverlessAppsAzureCountAvgSum"?: number; /** - * Sum of the average number of Serverless Apps for Google Cloud in the current months for all organizations. + * Sum of the average number of Serverless Apps for Google Cloud in the current month for all organizations. */ "serverlessAppsGoogleCountAvgSum"?: number; /** - * Sum of the average number of Serverless Apps for Azure and Google Cloud in the current months for all organizations. + * Sum of the average number of Serverless Apps for Azure and Google Cloud in the current month for all organizations. */ "serverlessAppsTotalCountAvgSum"?: number; /** - * Shows the first date of usage in the current months for all organizations. + * Shows the first date of usage in the current month for all organizations. */ "startDate"?: Date; /** - * Shows the sum of all Synthetic browser tests over all hours in the current months for all organizations. + * Shows the sum of all Synthetic browser tests over all hours in the current month for all organizations. */ "syntheticsBrowserCheckCallsCountAggSum"?: number; /** - * Shows the sum of all Synthetic API tests over all hours in the current months for all organizations. + * Shows the sum of all Synthetic API tests over all hours in the current month for all organizations. */ "syntheticsCheckCallsCountAggSum"?: number; /** - * Shows the sum of Synthetic mobile application tests over all hours in the current months for all organizations. + * Shows the sum of Synthetic mobile application tests over all hours in the current month for all organizations. */ "syntheticsMobileTestRunsAggSum"?: number; /** @@ -445,15 +445,15 @@ export class UsageSummaryResponse { */ "syntheticsParallelTestingMaxSlotsHwmSum"?: number; /** - * Shows the sum of all Indexed Spans indexed over all hours in the current months for all organizations. + * Shows the sum of all Indexed Spans indexed over all hours in the current month for all organizations. */ "traceSearchIndexedEventsCountAggSum"?: number; /** - * Shows the sum of all ingested APM span bytes over all hours in the current months for all organizations. + * Shows the sum of all ingested APM span bytes over all hours in the current month for all organizations. */ "twolIngestedEventsBytesAggSum"?: number; /** - * Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current month for all organizations. */ "universalServiceMonitoringHostTop99pSum"?: number; /** @@ -461,15 +461,15 @@ export class UsageSummaryResponse { */ "usage"?: Array; /** - * Shows the 99th percentile of all vSphere hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all vSphere hosts over all hours in the current month for all organizations. */ "vsphereHostTop99pSum"?: number; /** - * Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current months for all organizations. + * Shows the 99th percentile of all Application Vulnerability Management hosts over all hours in the current month for all organizations. */ "vulnManagementHostCountTop99pSum"?: number; /** - * Sum of all workflows executed over all hours in the current months for all organizations. + * Sum of all workflows executed over all hours in the current month for all organizations. */ "workflowExecutionsUsageAggSum"?: number; From c73ac2b78bcc65534d80d49208ac0c1165349bd2 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:37:53 +0000 Subject: [PATCH 16/41] Adds database queries enum (#1521) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 2 ++ .../models/MonitorFormulaAndFunctionEventsDataSource.ts | 2 ++ packages/datadog-api-client-v1/models/ObjectSerializer.ts | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index dd35ffe8f77d..a18e11b45794 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 10:58:52.788238", - "spec_repo_commit": "86101285" + "regenerated": "2024-02-23 12:49:53.373904", + "spec_repo_commit": "30d313fd" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 10:58:52.808553", - "spec_repo_commit": "86101285" + "regenerated": "2024-02-23 12:49:53.388814", + "spec_repo_commit": "30d313fd" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c66253cd4857..cc0f330168a0 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -6764,6 +6764,7 @@ components: - events - logs - spans + - database_queries example: rum type: string x-enum-varnames: @@ -6774,6 +6775,7 @@ components: - EVENTS - LOGS - SPANS + - DATABASE_QUERIES MonitorFormulaAndFunctionQueryDefinition: description: A formula and function query. oneOf: diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.ts index e8c942f32ef7..38836024b7ab 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.ts @@ -18,6 +18,7 @@ export type MonitorFormulaAndFunctionEventsDataSource = | typeof EVENTS | typeof LOGS | typeof SPANS + | typeof DATABASE_QUERIES | UnparsedObject; export const RUM = "rum"; export const CI_PIPELINES = "ci_pipelines"; @@ -26,3 +27,4 @@ export const AUDIT = "audit"; export const EVENTS = "events"; export const LOGS = "logs"; export const SPANS = "spans"; +export const DATABASE_QUERIES = "database_queries"; diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index dfcb553e0bdd..b06aa7567a8c 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -909,6 +909,7 @@ const enumsMap: { [key: string]: any[] } = { "events", "logs", "spans", + "database_queries", ], MonitorOptionsNotificationPresets: [ "show_all", From d789c7c437f2d59c26dbec1a35132349a64afa27 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 18:44:03 +0000 Subject: [PATCH 17/41] Add new products to usage API docs (#1534) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +- .generator/schemas/v1/openapi.yaml | 139 ++++++++++++++++++ .generator/schemas/v2/openapi.yaml | 6 +- .../models/HourlyUsageAttributionUsageType.ts | 10 ++ ...MonthlyUsageAttributionSupportedMetrics.ts | 10 ++ .../models/MonthlyUsageAttributionValues.ts | 36 +++++ .../models/ObjectSerializer.ts | 8 + .../models/UsageSummaryDate.ts | 63 ++++++++ .../models/UsageSummaryDateOrg.ts | 63 ++++++++ .../models/UsageSummaryResponse.ts | 63 ++++++++ .../apis/UsageMeteringApi.ts | 4 +- 11 files changed, 401 insertions(+), 9 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a18e11b45794..b243cb3e4068 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 12:49:53.373904", - "spec_repo_commit": "30d313fd" + "regenerated": "2024-02-23 18:04:53.691064", + "spec_repo_commit": "76697835" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 12:49:53.388814", - "spec_repo_commit": "30d313fd" + "regenerated": "2024-02-23 18:04:53.706750", + "spec_repo_commit": "76697835" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index cc0f330168a0..a00a3437ff87 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4083,6 +4083,8 @@ components: - apm_usm_usage - appsec_fargate_usage - appsec_usage + - asm_serverless_traced_invocations_usage + - asm_serverless_traced_invocations_percentage - browser_usage - ci_pipeline_indexed_spans_usage - ci_test_indexed_spans_usage @@ -4099,6 +4101,8 @@ components: - cws_hosts_usage - dbm_hosts_usage - dbm_queries_usage + - error_tracking_usage + - error_tracking_percentage - estimated_indexed_logs_usage - estimated_indexed_spans_usage - estimated_ingested_logs_usage @@ -4145,6 +4149,8 @@ components: - APM_USM_USAGE - APPSEC_FARGATE_USAGE - APPSEC_USAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE - BROWSER_USAGE - CI_PIPELINE_INDEXED_SPANS_USAGE - CI_TEST_INDEXED_SPANS_USAGE @@ -4161,6 +4167,8 @@ components: - CWS_HOSTS_USAGE - DBM_HOSTS_USAGE - DBM_QUERIES_USAGE + - ERROR_TRACKING_USAGE + - ERROR_TRACKING_PERCENTAGE - ESTIMATED_INDEXED_LOGS_USAGE - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INGESTED_LOGS_USAGE @@ -7762,6 +7770,8 @@ components: - apm_usm_percentage - appsec_usage - appsec_percentage + - asm_serverless_traced_invocations_usage + - asm_serverless_traced_invocations_percentage - browser_usage - browser_percentage - ci_visibility_itr_usage @@ -7788,6 +7798,8 @@ components: - dbm_hosts_usage - dbm_queries_percentage - dbm_queries_usage + - error_tracking_usage + - error_tracking_percentage - estimated_indexed_logs_usage - estimated_indexed_logs_percentage - estimated_ingested_logs_usage @@ -7885,6 +7897,8 @@ components: - APM_USM_PERCENTAGE - APPSEC_USAGE - APPSEC_PERCENTAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE - BROWSER_USAGE - BROWSER_PERCENTAGE - CI_VISIBILITY_ITR_USAGE @@ -7911,6 +7925,8 @@ components: - DBM_HOSTS_USAGE - DBM_QUERIES_PERCENTAGE - DBM_QUERIES_USAGE + - ERROR_TRACKING_USAGE + - ERROR_TRACKING_PERCENTAGE - ESTIMATED_INDEXED_LOGS_USAGE - ESTIMATED_INDEXED_LOGS_PERCENTAGE - ESTIMATED_INGESTED_LOGS_USAGE @@ -8049,6 +8065,16 @@ components: description: The Application Security Monitoring host usage by tag(s). format: double type: number + asm_serverless_traced_invocations_percentage: + description: The percentage of Application Security Monitoring Serverless + traced invocations usage by tag(s). + format: double + type: number + asm_serverless_traced_invocations_usage: + description: The Application Security Monitoring Serverless traced invocations + usage by tag(s). + format: double + type: number browser_percentage: description: The percentage of synthetic browser test usage by tag(s). format: double @@ -8184,6 +8210,14 @@ components: description: The Database Monitoring queries usage by tag(s). format: double type: number + error_tracking_percentage: + description: The percentage of error tracking events usage by tag(s). + format: double + type: number + error_tracking_usage: + description: The error tracking events usage by tag(s). + format: double + type: number estimated_indexed_logs_percentage: description: The percentage of estimated live indexed logs usage by tag(s). format: double @@ -18822,6 +18856,11 @@ components: given date and given organization. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg: + description: Host count average of Cloud Cost Management for GCP for the + given date and given organization. + format: int64 + type: integer cloud_cost_management_host_count_avg: description: Host count average of Cloud Cost Management for all cloud providers for the given date and given organization. @@ -18969,6 +19008,11 @@ components: over all hours in the current date for all organizations. format: int64 type: integer + error_tracking_events_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current date for the given org. + format: int64 + type: integer fargate_tasks_count_avg: description: Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. @@ -18979,6 +19023,31 @@ components: current date for all organizations. format: int64 type: integer + flex_logs_compute_large_avg: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_medium_avg: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_small_avg: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_xsmall_avg: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_stored_logs_avg: + description: Shows the average of all Flex Stored Logs over all hours in + the current date for the given org. + format: int64 + type: integer forwarding_events_bytes_sum: description: Shows the sum of all log bytes forwarded over all hours in the current date for all organizations. @@ -19358,6 +19427,11 @@ components: given date and given org. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg: + description: Host count average of Cloud Cost Management for GCP for the + given date and given org. + format: int64 + type: integer cloud_cost_management_host_count_avg: description: Host count average of Cloud Cost Management for all cloud providers for the given date and given org. @@ -19511,6 +19585,11 @@ components: queries over all hours in the current month for the given org. format: int64 type: integer + error_tracking_events_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current date for the given org. + format: int64 + type: integer fargate_tasks_count_avg: description: The average task count for Fargate. format: int64 @@ -19520,6 +19599,31 @@ components: in the current date for the given org. format: int64 type: integer + flex_logs_compute_large_avg: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_medium_avg: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_small_avg: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_xsmall_avg: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_stored_logs_avg: + description: Shows the average of all Flex Stored Logs over all hours in + the current date for the given org. + format: int64 + type: integer forwarding_events_bytes_sum: description: Shows the sum of all log bytes forwarded over all hours in the current date for the given org. @@ -19911,6 +20015,11 @@ components: Azure. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg_sum: + description: Sum of the host count average for Cloud Cost Management for + GCP. + format: int64 + type: integer cloud_cost_management_host_count_avg_sum: description: Sum of the host count average for Cloud Cost Management for all cloud providers. @@ -20066,6 +20175,11 @@ components: description: Shows the last date of usage in the current month for all organizations. format: date-time type: string + error_tracking_events_agg_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current months for all organizations. + format: int64 + type: integer fargate_tasks_count_avg_sum: description: Shows the average of all Fargate tasks over all hours in the current month for all organizations. @@ -20076,6 +20190,31 @@ components: over all hours in the current month for all organizations. format: int64 type: integer + flex_logs_compute_large_avg_sum: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_medium_avg_sum: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_small_avg_sum: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_xsmall_avg_sum: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_stored_logs_avg_sum: + description: Shows the average of all Flex Stored Logs over all hours in + the current months for all organizations. + format: int64 + type: integer forwarding_events_bytes_agg_sum: description: Shows the sum of all logs forwarding bytes over all hours in the current month for all organizations (data available as of April 1, diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ccb37d1f3128..dbf3a054c05c 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -33779,10 +33779,10 @@ paths: `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`, `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, - `cws`, `dbm`, `fargate`, + `cws`, `dbm`, `error_tracking`, - `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, - `iot`, + `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, + `ingested_spans`, `iot`, `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`, `observability_pipelines`, diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts index 12ca7c623857..bb4eed11d577 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts @@ -17,6 +17,8 @@ export type HourlyUsageAttributionUsageType = | typeof APM_USM_USAGE | typeof APPSEC_FARGATE_USAGE | typeof APPSEC_USAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE | typeof BROWSER_USAGE | typeof CI_PIPELINE_INDEXED_SPANS_USAGE | typeof CI_TEST_INDEXED_SPANS_USAGE @@ -33,6 +35,8 @@ export type HourlyUsageAttributionUsageType = | typeof CWS_HOSTS_USAGE | typeof DBM_HOSTS_USAGE | typeof DBM_QUERIES_USAGE + | typeof ERROR_TRACKING_USAGE + | typeof ERROR_TRACKING_PERCENTAGE | typeof ESTIMATED_INDEXED_LOGS_USAGE | typeof ESTIMATED_INDEXED_SPANS_USAGE | typeof ESTIMATED_INGESTED_LOGS_USAGE @@ -78,6 +82,10 @@ export const APM_HOST_USAGE = "apm_host_usage"; export const APM_USM_USAGE = "apm_usm_usage"; export const APPSEC_FARGATE_USAGE = "appsec_fargate_usage"; export const APPSEC_USAGE = "appsec_usage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = + "asm_serverless_traced_invocations_usage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = + "asm_serverless_traced_invocations_percentage"; export const BROWSER_USAGE = "browser_usage"; export const CI_PIPELINE_INDEXED_SPANS_USAGE = "ci_pipeline_indexed_spans_usage"; @@ -96,6 +104,8 @@ export const CWS_CONTAINERS_USAGE = "cws_containers_usage"; export const CWS_HOSTS_USAGE = "cws_hosts_usage"; export const DBM_HOSTS_USAGE = "dbm_hosts_usage"; export const DBM_QUERIES_USAGE = "dbm_queries_usage"; +export const ERROR_TRACKING_USAGE = "error_tracking_usage"; +export const ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage"; export const ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage"; export const ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage"; export const ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts index 6509775b7952..8a8f1333b3d0 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts @@ -23,6 +23,8 @@ export type MonthlyUsageAttributionSupportedMetrics = | typeof APM_USM_PERCENTAGE | typeof APPSEC_USAGE | typeof APPSEC_PERCENTAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE + | typeof ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE | typeof BROWSER_USAGE | typeof BROWSER_PERCENTAGE | typeof CI_VISIBILITY_ITR_USAGE @@ -49,6 +51,8 @@ export type MonthlyUsageAttributionSupportedMetrics = | typeof DBM_HOSTS_USAGE | typeof DBM_QUERIES_PERCENTAGE | typeof DBM_QUERIES_USAGE + | typeof ERROR_TRACKING_USAGE + | typeof ERROR_TRACKING_PERCENTAGE | typeof ESTIMATED_INDEXED_LOGS_USAGE | typeof ESTIMATED_INDEXED_LOGS_PERCENTAGE | typeof ESTIMATED_INGESTED_LOGS_USAGE @@ -145,6 +149,10 @@ export const APM_USM_USAGE = "apm_usm_usage"; export const APM_USM_PERCENTAGE = "apm_usm_percentage"; export const APPSEC_USAGE = "appsec_usage"; export const APPSEC_PERCENTAGE = "appsec_percentage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE = + "asm_serverless_traced_invocations_usage"; +export const ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = + "asm_serverless_traced_invocations_percentage"; export const BROWSER_USAGE = "browser_usage"; export const BROWSER_PERCENTAGE = "browser_percentage"; export const CI_VISIBILITY_ITR_USAGE = "ci_visibility_itr_usage"; @@ -174,6 +182,8 @@ export const DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage"; export const DBM_HOSTS_USAGE = "dbm_hosts_usage"; export const DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage"; export const DBM_QUERIES_USAGE = "dbm_queries_usage"; +export const ERROR_TRACKING_USAGE = "error_tracking_usage"; +export const ERROR_TRACKING_PERCENTAGE = "error_tracking_percentage"; export const ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage"; export const ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts index 413810619509..7fd8a2b7d906 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts @@ -58,6 +58,14 @@ export class MonthlyUsageAttributionValues { * The Application Security Monitoring host usage by tag(s). */ "appsecUsage"?: number; + /** + * The percentage of Application Security Monitoring Serverless traced invocations usage by tag(s). + */ + "asmServerlessTracedInvocationsPercentage"?: number; + /** + * The Application Security Monitoring Serverless traced invocations usage by tag(s). + */ + "asmServerlessTracedInvocationsUsage"?: number; /** * The percentage of synthetic browser test usage by tag(s). */ @@ -186,6 +194,14 @@ export class MonthlyUsageAttributionValues { * The Database Monitoring queries usage by tag(s). */ "dbmQueriesUsage"?: number; + /** + * The percentage of error tracking events usage by tag(s). + */ + "errorTrackingPercentage"?: number; + /** + * The error tracking events usage by tag(s). + */ + "errorTrackingUsage"?: number; /** * The percentage of estimated live indexed logs usage by tag(s). */ @@ -560,6 +576,16 @@ export class MonthlyUsageAttributionValues { type: "number", format: "double", }, + asmServerlessTracedInvocationsPercentage: { + baseName: "asm_serverless_traced_invocations_percentage", + type: "number", + format: "double", + }, + asmServerlessTracedInvocationsUsage: { + baseName: "asm_serverless_traced_invocations_usage", + type: "number", + format: "double", + }, browserPercentage: { baseName: "browser_percentage", type: "number", @@ -720,6 +746,16 @@ export class MonthlyUsageAttributionValues { type: "number", format: "double", }, + errorTrackingPercentage: { + baseName: "error_tracking_percentage", + type: "number", + format: "double", + }, + errorTrackingUsage: { + baseName: "error_tracking_usage", + type: "number", + format: "double", + }, estimatedIndexedLogsPercentage: { baseName: "estimated_indexed_logs_percentage", type: "number", diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index b06aa7567a8c..9ee8f26893a4 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -768,6 +768,8 @@ const enumsMap: { [key: string]: any[] } = { "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", + "asm_serverless_traced_invocations_usage", + "asm_serverless_traced_invocations_percentage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", @@ -784,6 +786,8 @@ const enumsMap: { [key: string]: any[] } = { "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", + "error_tracking_usage", + "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", @@ -960,6 +964,8 @@ const enumsMap: { [key: string]: any[] } = { "apm_usm_percentage", "appsec_usage", "appsec_percentage", + "asm_serverless_traced_invocations_usage", + "asm_serverless_traced_invocations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", @@ -986,6 +992,8 @@ const enumsMap: { [key: string]: any[] } = { "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", + "error_tracking_usage", + "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts index 6a0b990ef384..74fe4a53ea63 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts @@ -111,6 +111,10 @@ export class UsageSummaryDate { * Host count average of Cloud Cost Management for Azure for the given date and given organization. */ "cloudCostManagementAzureHostCountAvg"?: number; + /** + * Host count average of Cloud Cost Management for GCP for the given date and given organization. + */ + "cloudCostManagementGcpHostCountAvg"?: number; /** * Host count average of Cloud Cost Management for all cloud providers for the given date and given organization. */ @@ -223,6 +227,10 @@ export class UsageSummaryDate { * Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations. */ "dbmQueriesCountAvg"?: number; + /** + * Shows the sum of all Error Tracking events over all hours in the current date for the given org. + */ + "errorTrackingEventsSum"?: number; /** * Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. */ @@ -231,6 +239,26 @@ export class UsageSummaryDate { * Shows the average of all Fargate tasks over all hours in the current date for all organizations. */ "fargateTasksCountHwm"?: number; + /** + * Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org. + */ + "flexLogsComputeLargeAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org. + */ + "flexLogsComputeMediumAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org. + */ + "flexLogsComputeSmallAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org. + */ + "flexLogsComputeXsmallAvg"?: number; + /** + * Shows the average of all Flex Stored Logs over all hours in the current date for the given org. + */ + "flexStoredLogsAvg"?: number; /** * Shows the sum of all log bytes forwarded over all hours in the current date for all organizations. */ @@ -562,6 +590,11 @@ export class UsageSummaryDate { type: "number", format: "int64", }, + cloudCostManagementGcpHostCountAvg: { + baseName: "cloud_cost_management_gcp_host_count_avg", + type: "number", + format: "int64", + }, cloudCostManagementHostCountAvg: { baseName: "cloud_cost_management_host_count_avg", type: "number", @@ -702,6 +735,11 @@ export class UsageSummaryDate { type: "number", format: "int64", }, + errorTrackingEventsSum: { + baseName: "error_tracking_events_sum", + type: "number", + format: "int64", + }, fargateTasksCountAvg: { baseName: "fargate_tasks_count_avg", type: "number", @@ -712,6 +750,31 @@ export class UsageSummaryDate { type: "number", format: "int64", }, + flexLogsComputeLargeAvg: { + baseName: "flex_logs_compute_large_avg", + type: "number", + format: "int64", + }, + flexLogsComputeMediumAvg: { + baseName: "flex_logs_compute_medium_avg", + type: "number", + format: "int64", + }, + flexLogsComputeSmallAvg: { + baseName: "flex_logs_compute_small_avg", + type: "number", + format: "int64", + }, + flexLogsComputeXsmallAvg: { + baseName: "flex_logs_compute_xsmall_avg", + type: "number", + format: "int64", + }, + flexStoredLogsAvg: { + baseName: "flex_stored_logs_avg", + type: "number", + format: "int64", + }, forwardingEventsBytesSum: { baseName: "forwarding_events_bytes_sum", type: "number", diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts index 5a83983e869f..e4b40415ff29 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts @@ -110,6 +110,10 @@ export class UsageSummaryDateOrg { * Host count average of Cloud Cost Management for Azure for the given date and given org. */ "cloudCostManagementAzureHostCountAvg"?: number; + /** + * Host count average of Cloud Cost Management for GCP for the given date and given org. + */ + "cloudCostManagementGcpHostCountAvg"?: number; /** * Host count average of Cloud Cost Management for all cloud providers for the given date and given org. */ @@ -226,6 +230,10 @@ export class UsageSummaryDateOrg { * Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org. */ "dbmQueriesAvgSum"?: number; + /** + * Shows the sum of all Error Tracking events over all hours in the current date for the given org. + */ + "errorTrackingEventsSum"?: number; /** * The average task count for Fargate. */ @@ -234,6 +242,26 @@ export class UsageSummaryDateOrg { * Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org. */ "fargateTasksCountHwm"?: number; + /** + * Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org. + */ + "flexLogsComputeLargeAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org. + */ + "flexLogsComputeMediumAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org. + */ + "flexLogsComputeSmallAvg"?: number; + /** + * Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org. + */ + "flexLogsComputeXsmallAvg"?: number; + /** + * Shows the average of all Flex Stored Logs over all hours in the current date for the given org. + */ + "flexStoredLogsAvg"?: number; /** * Shows the sum of all log bytes forwarded over all hours in the current date for the given org. */ @@ -577,6 +605,11 @@ export class UsageSummaryDateOrg { type: "number", format: "int64", }, + cloudCostManagementGcpHostCountAvg: { + baseName: "cloud_cost_management_gcp_host_count_avg", + type: "number", + format: "int64", + }, cloudCostManagementHostCountAvg: { baseName: "cloud_cost_management_host_count_avg", type: "number", @@ -722,6 +755,11 @@ export class UsageSummaryDateOrg { type: "number", format: "int64", }, + errorTrackingEventsSum: { + baseName: "error_tracking_events_sum", + type: "number", + format: "int64", + }, fargateTasksCountAvg: { baseName: "fargate_tasks_count_avg", type: "number", @@ -732,6 +770,31 @@ export class UsageSummaryDateOrg { type: "number", format: "int64", }, + flexLogsComputeLargeAvg: { + baseName: "flex_logs_compute_large_avg", + type: "number", + format: "int64", + }, + flexLogsComputeMediumAvg: { + baseName: "flex_logs_compute_medium_avg", + type: "number", + format: "int64", + }, + flexLogsComputeSmallAvg: { + baseName: "flex_logs_compute_small_avg", + type: "number", + format: "int64", + }, + flexLogsComputeXsmallAvg: { + baseName: "flex_logs_compute_xsmall_avg", + type: "number", + format: "int64", + }, + flexStoredLogsAvg: { + baseName: "flex_stored_logs_avg", + type: "number", + format: "int64", + }, forwardingEventsBytesSum: { baseName: "forwarding_events_bytes_sum", type: "number", diff --git a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts index 168af81d465c..f822caed4d61 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts @@ -116,6 +116,10 @@ export class UsageSummaryResponse { * Sum of the host count average for Cloud Cost Management for Azure. */ "cloudCostManagementAzureHostCountAvgSum"?: number; + /** + * Sum of the host count average for Cloud Cost Management for GCP. + */ + "cloudCostManagementGcpHostCountAvgSum"?: number; /** * Sum of the host count average for Cloud Cost Management for all cloud providers. */ @@ -236,6 +240,10 @@ export class UsageSummaryResponse { * Shows the last date of usage in the current month for all organizations. */ "endDate"?: Date; + /** + * Shows the sum of all Error Tracking events over all hours in the current months for all organizations. + */ + "errorTrackingEventsAggSum"?: number; /** * Shows the average of all Fargate tasks over all hours in the current month for all organizations. */ @@ -244,6 +252,26 @@ export class UsageSummaryResponse { * Shows the sum of the high-water marks of all Fargate tasks over all hours in the current month for all organizations. */ "fargateTasksCountHwmSum"?: number; + /** + * Shows the average number of Flex Logs Compute Large Instances over all hours in the current months for all organizations. + */ + "flexLogsComputeLargeAvgSum"?: number; + /** + * Shows the average number of Flex Logs Compute Medium Instances over all hours in the current months for all organizations. + */ + "flexLogsComputeMediumAvgSum"?: number; + /** + * Shows the average number of Flex Logs Compute Small Instances over all hours in the current months for all organizations. + */ + "flexLogsComputeSmallAvgSum"?: number; + /** + * Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current months for all organizations. + */ + "flexLogsComputeXsmallAvgSum"?: number; + /** + * Shows the average of all Flex Stored Logs over all hours in the current months for all organizations. + */ + "flexStoredLogsAvgSum"?: number; /** * Shows the sum of all logs forwarding bytes over all hours in the current month for all organizations (data available as of April 1, 2023) */ @@ -612,6 +640,11 @@ export class UsageSummaryResponse { type: "number", format: "int64", }, + cloudCostManagementGcpHostCountAvgSum: { + baseName: "cloud_cost_management_gcp_host_count_avg_sum", + type: "number", + format: "int64", + }, cloudCostManagementHostCountAvgSum: { baseName: "cloud_cost_management_host_count_avg_sum", type: "number", @@ -762,6 +795,11 @@ export class UsageSummaryResponse { type: "Date", format: "date-time", }, + errorTrackingEventsAggSum: { + baseName: "error_tracking_events_agg_sum", + type: "number", + format: "int64", + }, fargateTasksCountAvgSum: { baseName: "fargate_tasks_count_avg_sum", type: "number", @@ -772,6 +810,31 @@ export class UsageSummaryResponse { type: "number", format: "int64", }, + flexLogsComputeLargeAvgSum: { + baseName: "flex_logs_compute_large_avg_sum", + type: "number", + format: "int64", + }, + flexLogsComputeMediumAvgSum: { + baseName: "flex_logs_compute_medium_avg_sum", + type: "number", + format: "int64", + }, + flexLogsComputeSmallAvgSum: { + baseName: "flex_logs_compute_small_avg_sum", + type: "number", + format: "int64", + }, + flexLogsComputeXsmallAvgSum: { + baseName: "flex_logs_compute_xsmall_avg_sum", + type: "number", + format: "int64", + }, + flexStoredLogsAvgSum: { + baseName: "flex_stored_logs_avg_sum", + type: "number", + format: "int64", + }, forwardingEventsBytesAggSum: { baseName: "forwarding_events_bytes_agg_sum", type: "number", diff --git a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts index 4ab32dbf8dd4..ee4475beb49e 100644 --- a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts @@ -1323,8 +1323,8 @@ export interface UsageMeteringApiGetHourlyUsageRequest { /** * Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`, * `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`, - * `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`, - * `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, + * `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `error_tracking`, + * `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, * `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`, `observability_pipelines`, * `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, * `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, and `timeseries`. From 5ff81676cf5196cdcecd58650d3fc676b5b79291 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:52:19 +0000 Subject: [PATCH 18/41] Remove US1 Note for Create a Monitor Endpoint (#1523) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 7 ++----- packages/datadog-api-client-v1/apis/MonitorsApi.ts | 4 +--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index b243cb3e4068..91702c7eea91 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 18:04:53.691064", - "spec_repo_commit": "76697835" + "regenerated": "2024-02-26 18:27:09.460981", + "spec_repo_commit": "65e025be" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-23 18:04:53.706750", - "spec_repo_commit": "76697835" + "regenerated": "2024-02-26 18:27:09.477057", + "spec_repo_commit": "65e025be" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a00a3437ff87..3544367815bd 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -26751,7 +26751,7 @@ paths: **Notes**: - Synthetic monitors are created through the Synthetics API. See the [Synthetics - API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for + API](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information. - Log monitors require an unscoped App Key. @@ -27058,10 +27058,7 @@ paths: - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. - - `#` an integer or decimal number used to set the threshold. - - - **NOTE** Database Monitoring monitors are in alpha on US1.' + - `#` an integer or decimal number used to set the threshold.' operationId: CreateMonitor requestBody: content: diff --git a/packages/datadog-api-client-v1/apis/MonitorsApi.ts b/packages/datadog-api-client-v1/apis/MonitorsApi.ts index 14b0607e07ec..ddf47de6c528 100644 --- a/packages/datadog-api-client-v1/apis/MonitorsApi.ts +++ b/packages/datadog-api-client-v1/apis/MonitorsApi.ts @@ -1419,7 +1419,7 @@ export class MonitorsApi { * - database-monitoring: `database-monitoring alert` * * **Notes**: - * - Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information. + * - Synthetic monitors are created through the Synthetics API. See the [Synthetics API](https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information. * - Log monitors require an unscoped App Key. * * #### Query Types @@ -1570,8 +1570,6 @@ export class MonitorsApi { * - `time_window` #m (between 1 and 2880), #h (between 1 and 48). * - `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`. * - `#` an integer or decimal number used to set the threshold. - * - * **NOTE** Database Monitoring monitors are in alpha on US1. * @param param The request object */ public createMonitor( From e2d4316c11e759d5d666654ad41c300f946f4234 Mon Sep 17 00:00:00 2001 From: skarimo <40482491+skarimo@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:10:52 -0500 Subject: [PATCH 19/41] Apply static analysis changes (#1488) * apply rules * generate * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec --- .generator/src/generator/templates/api/api.j2 | 2 +- .../templates/http/isomorphic-fetch.j2 | 15 +- README.md | 4 +- features/support/undo.ts | 4 +- .../http/isomorphic-fetch.ts | 15 +- .../apis/AWSIntegrationApi.ts | 98 +++--- .../apis/AWSLogsIntegrationApi.ts | 52 ++-- .../apis/AuthenticationApi.ts | 4 +- .../apis/AzureIntegrationApi.ts | 40 +-- .../apis/DashboardListsApi.ts | 38 +-- .../apis/DashboardsApi.ts | 120 ++++---- .../apis/DowntimesApi.ts | 56 ++-- .../datadog-api-client-v1/apis/EventsApi.ts | 20 +- .../apis/GCPIntegrationApi.ts | 32 +- .../datadog-api-client-v1/apis/HostsApi.ts | 32 +- .../datadog-api-client-v1/apis/IPRangesApi.ts | 4 +- .../apis/KeyManagementApi.ts | 82 ++--- .../datadog-api-client-v1/apis/LogsApi.ts | 12 +- .../apis/LogsIndexesApi.ts | 32 +- .../apis/LogsPipelinesApi.ts | 38 +-- .../datadog-api-client-v1/apis/MetricsApi.ts | 66 ++-- .../datadog-api-client-v1/apis/MonitorsApi.ts | 90 +++--- .../apis/NotebooksApi.ts | 48 +-- .../apis/OrganizationsApi.ts | 46 +-- .../apis/PagerDutyIntegrationApi.ts | 34 +-- .../apis/SecurityMonitoringApi.ts | 30 +- .../apis/ServiceChecksApi.ts | 12 +- .../ServiceLevelObjectiveCorrectionsApi.ts | 40 +-- .../apis/ServiceLevelObjectivesApi.ts | 88 +++--- .../apis/SlackIntegrationApi.ts | 50 +-- .../apis/SnapshotsApi.ts | 8 +- .../apis/SyntheticsApi.ts | 212 ++++++------- .../datadog-api-client-v1/apis/TagsApi.ts | 40 +-- .../apis/UsageMeteringApi.ts | 286 +++++++++--------- .../datadog-api-client-v1/apis/UsersApi.ts | 42 +-- .../apis/WebhooksIntegrationApi.ts | 72 ++--- .../apis/APIManagementApi.ts | 36 +-- .../apis/APMRetentionFiltersApi.ts | 48 +-- .../datadog-api-client-v2/apis/AuditApi.ts | 16 +- .../apis/AuthNMappingsApi.ts | 44 +-- .../apis/CIVisibilityPipelinesApi.ts | 42 +-- .../apis/CIVisibilityTestsApi.ts | 24 +- .../apis/CaseManagementApi.ts | 152 +++++----- .../apis/CloudCostManagementApi.ts | 64 ++-- .../apis/CloudWorkloadSecurityApi.ts | 46 +-- .../apis/CloudflareIntegrationApi.ts | 50 +-- .../apis/ConfluentCloudApi.ts | 100 +++--- .../apis/ContainerImagesApi.ts | 8 +- .../apis/ContainersApi.ts | 8 +- .../apis/DORAMetricsApi.ts | 12 +- .../apis/DashboardListsApi.ts | 38 +-- .../apis/DowntimesApi.ts | 44 +-- .../datadog-api-client-v2/apis/EventsApi.ts | 16 +- .../apis/FastlyIntegrationApi.ts | 100 +++--- .../apis/GCPIntegrationApi.ts | 50 +-- .../apis/IPAllowlistApi.ts | 18 +- .../apis/IncidentServicesApi.ts | 60 ++-- .../apis/IncidentTeamsApi.ts | 60 ++-- .../apis/IncidentsApi.ts | 216 ++++++------- .../apis/KeyManagementApi.ts | 124 ++++---- .../datadog-api-client-v2/apis/LogsApi.ts | 42 +-- .../apis/LogsArchivesApi.ts | 86 +++--- .../apis/LogsMetricsApi.ts | 40 +-- .../datadog-api-client-v2/apis/MetricsApi.ts | 136 ++++----- .../datadog-api-client-v2/apis/MonitorsApi.ts | 40 +-- .../apis/OktaIntegrationApi.ts | 50 +-- .../apis/OpsgenieIntegrationApi.ts | 48 +-- .../apis/OrganizationsApi.ts | 8 +- .../apis/PowerpackApi.ts | 24 +- .../apis/ProcessesApi.ts | 8 +- packages/datadog-api-client-v2/apis/RUMApi.ts | 50 +-- .../apis/RestrictionPoliciesApi.ts | 24 +- .../datadog-api-client-v2/apis/RolesApi.ts | 116 +++---- .../apis/SecurityMonitoringApi.ts | 202 ++++++------- .../apis/SensitiveDataScannerApi.ts | 80 ++--- .../apis/ServiceAccountsApi.ts | 52 ++-- .../apis/ServiceDefinitionApi.ts | 36 +-- .../apis/ServiceScorecardsApi.ts | 42 +-- .../datadog-api-client-v2/apis/SpansApi.ts | 28 +- .../apis/SpansMetricsApi.ts | 40 +-- .../apis/SyntheticsApi.ts | 8 +- .../datadog-api-client-v2/apis/TeamsApi.ts | 136 ++++----- .../apis/UsageMeteringApi.ts | 80 ++--- .../datadog-api-client-v2/apis/UsersApi.ts | 76 ++--- 84 files changed, 2347 insertions(+), 2345 deletions(-) diff --git a/.generator/src/generator/templates/api/api.j2 b/.generator/src/generator/templates/api/api.j2 index 91caa63eca15..a7f7cd45031b 100644 --- a/.generator/src/generator/templates/api/api.j2 +++ b/.generator/src/generator/templates/api/api.j2 @@ -166,7 +166,7 @@ export class {{ className }}ResponseProcessor { {%- set responseSchema = response|parameter_schema %} if ( {%- for responseCode in responseCodes -%} - {%- if not loop.first -%} || {%- endif -%} response.httpStatusCode == {{ responseCode }} + {%- if not loop.first -%} || {%- endif -%} response.httpStatusCode === {{ responseCode }} {%- endfor -%} ) { {%- if responseType %} diff --git a/.generator/src/generator/templates/http/isomorphic-fetch.j2 b/.generator/src/generator/templates/http/isomorphic-fetch.j2 index 9231ab16e415..3496ad06c214 100644 --- a/.generator/src/generator/templates/http/isomorphic-fetch.j2 +++ b/.generator/src/generator/templates/http/isomorphic-fetch.j2 @@ -3,6 +3,7 @@ import { fetch as crossFetch } from "cross-fetch"; import pako from "pako"; import bufferFrom from "buffer-from"; import { isBrowser, isNode } from "../util"; +import { logger } from "../../../logger"; export class IsomorphicFetchHttpLibrary implements HttpLibrary { public debug = false; @@ -27,11 +28,11 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { const headers = request.getHeaders(); if (typeof body === "string") { - if (headers["Content-Encoding"] == "gzip") { + if (headers["Content-Encoding"] === "gzip") { body = bufferFrom(pako.gzip(body).buffer); - } else if (headers["Content-Encoding"] == "deflate") { + } else if (headers["Content-Encoding"] === "deflate") { body = bufferFrom(pako.deflate(body).buffer); - } else if (headers["Content-Encoding"] == "zstd1") { + } else if (headers["Content-Encoding"] === "zstd1") { if (this.zstdCompressorCallback) { body = this.zstdCompressorCallback(body); } else { @@ -116,7 +117,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { } return response; } catch (error) { - console.error("An error occurred during the HTTP request:", error); + logger.error("An error occurred during the HTTP request:", error); throw error; } } @@ -128,7 +129,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { } private shouldRetry(enableRetry:boolean, currentAttempt:number, maxRetries:number, responseCode:number):boolean{ - return (responseCode == 429 || responseCode >=500 ) && maxRetries>currentAttempt && enableRetry + return (responseCode === 429 || responseCode >= 500 ) && maxRetries > currentAttempt && enableRetry } private calculateRetryInterval(currentAttempt:number, backoffBase:number, backoffMultiplier:number, headers: {[name: string]: string}) : number{ @@ -165,7 +166,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { : ""; const compress = request.getHttpConfig().compress ?? true; - console.debug( + logger.debug( "\nrequest: {\n", `\turl: ${url}\n`, `\tmethod: ${method}\n`, @@ -181,7 +182,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { /\n/g, "\n\t" ); - console.debug( + logger.debug( "response: {\n", `\tstatus: ${httpStatusCode}\n`, `\theaders: ${headers}\n` diff --git a/README.md b/README.md index f35dfd6cb4d2..b6cd4ef2ebfb 100644 --- a/README.md +++ b/README.md @@ -254,9 +254,9 @@ class HttpLibraryWithProxy implements client.HttpLibrary { const headers = request.getHeaders(); if (typeof body === "string") { - if (headers["Content-Encoding"] == "gzip") { + if (headers["Content-Encoding"] === "gzip") { body = bufferFrom(pako.gzip(body).buffer); - } else if (headers["Content-Encoding"] == "deflate") { + } else if (headers["Content-Encoding"] === "deflate") { body = bufferFrom(pako.deflate(body).buffer); } } diff --git a/features/support/undo.ts b/features/support/undo.ts index ed987f0dc8c7..299de22941d2 100644 --- a/features/support/undo.ts +++ b/features/support/undo.ts @@ -47,7 +47,7 @@ function buildUndoFor( request: any ): { (): void } { return async function () { - var apiName = operationUndo.tag.replace(/\s/g, ""); + let apiName = operationUndo.tag.replace(/\s/g, ""); if (operationUndo.undo.tag != null) { apiName = operationUndo.undo.tag.replace(/\s/g, ""); } @@ -87,7 +87,7 @@ function buildUndoFor( // perform operation const opts: { [key: string]: any } = {}; for (const p of operationUndo.undo.parameters) { - var dataSource: { [key: string]: any; }; + let dataSource: { [key: string]: any; }; if (p.origin === undefined) { dataSource = response; } else if (p.origin === "request") { diff --git a/packages/datadog-api-client-common/http/isomorphic-fetch.ts b/packages/datadog-api-client-common/http/isomorphic-fetch.ts index d67ca51c45f7..7076cd40af65 100644 --- a/packages/datadog-api-client-common/http/isomorphic-fetch.ts +++ b/packages/datadog-api-client-common/http/isomorphic-fetch.ts @@ -8,6 +8,7 @@ import { fetch as crossFetch } from "cross-fetch"; import pako from "pako"; import bufferFrom from "buffer-from"; import { isBrowser, isNode } from "../util"; +import { logger } from "../../../logger"; export class IsomorphicFetchHttpLibrary implements HttpLibrary { public debug = false; @@ -32,11 +33,11 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { const headers = request.getHeaders(); if (typeof body === "string") { - if (headers["Content-Encoding"] == "gzip") { + if (headers["Content-Encoding"] === "gzip") { body = bufferFrom(pako.gzip(body).buffer); - } else if (headers["Content-Encoding"] == "deflate") { + } else if (headers["Content-Encoding"] === "deflate") { body = bufferFrom(pako.deflate(body).buffer); - } else if (headers["Content-Encoding"] == "zstd1") { + } else if (headers["Content-Encoding"] === "zstd1") { if (this.zstdCompressorCallback) { body = this.zstdCompressorCallback(body); } else { @@ -122,7 +123,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { } return response; } catch (error) { - console.error("An error occurred during the HTTP request:", error); + logger.error("An error occurred during the HTTP request:", error); throw error; } } @@ -140,7 +141,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { responseCode: number ): boolean { return ( - (responseCode == 429 || responseCode >= 500) && + (responseCode === 429 || responseCode >= 500) && maxRetries > currentAttempt && enableRetry ); @@ -185,7 +186,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { : ""; const compress = request.getHttpConfig().compress ?? true; - console.debug( + logger.debug( "\nrequest: {\n", `\turl: ${url}\n`, `\tmethod: ${method}\n`, @@ -201,7 +202,7 @@ export class IsomorphicFetchHttpLibrary implements HttpLibrary { /\n/g, "\n\t" ); - console.debug( + logger.debug( "response: {\n", `\tstatus: ${httpStatusCode}\n`, `\theaders: ${headers}\n` diff --git a/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts index 729c065e4d62..ad9df4f7d326 100644 --- a/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AWSIntegrationApi.ts @@ -531,7 +531,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSAccountCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSAccountCreateResponse" @@ -539,10 +539,10 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -594,7 +594,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSEventBridgeCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSEventBridgeCreateResponse" @@ -602,9 +602,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -654,7 +654,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -662,9 +662,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -716,7 +716,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSAccountCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSAccountCreateResponse" @@ -724,9 +724,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -776,7 +776,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -784,10 +784,10 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -839,7 +839,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSEventBridgeDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSEventBridgeDeleteResponse" @@ -847,9 +847,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -899,7 +899,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -907,9 +907,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -961,14 +961,14 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" ) as Array; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1019,7 +1019,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSAccountListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSAccountListResponse" @@ -1027,9 +1027,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1081,7 +1081,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSEventBridgeListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSEventBridgeListResponse" @@ -1089,9 +1089,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1143,7 +1143,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSTagFilterListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSTagFilterListResponse" @@ -1151,9 +1151,9 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1203,7 +1203,7 @@ export class AWSIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -1211,10 +1211,10 @@ export class AWSIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts index 340bef122311..6d69747258e8 100644 --- a/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.ts @@ -293,7 +293,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSLogsAsyncResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSLogsAsyncResponse" @@ -301,9 +301,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -355,7 +355,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSLogsAsyncResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSLogsAsyncResponse" @@ -363,9 +363,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -415,7 +415,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -423,9 +423,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -475,7 +475,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -483,9 +483,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -535,7 +535,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -543,9 +543,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -597,7 +597,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -605,9 +605,9 @@ export class AWSLogsIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -659,7 +659,7 @@ export class AWSLogsIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -667,7 +667,7 @@ export class AWSLogsIntegrationApiResponseProcessor { ) as Array; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/AuthenticationApi.ts b/packages/datadog-api-client-v1/apis/AuthenticationApi.ts index 15ccb348071d..f54365f66ab7 100644 --- a/packages/datadog-api-client-v1/apis/AuthenticationApi.ts +++ b/packages/datadog-api-client-v1/apis/AuthenticationApi.ts @@ -54,7 +54,7 @@ export class AuthenticationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuthenticationValidationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -62,7 +62,7 @@ export class AuthenticationApiResponseProcessor { ) as AuthenticationValidationResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts b/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts index 59dc324426e4..fa4615024bf0 100644 --- a/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/AzureIntegrationApi.ts @@ -221,7 +221,7 @@ export class AzureIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -229,9 +229,9 @@ export class AzureIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -281,7 +281,7 @@ export class AzureIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -289,9 +289,9 @@ export class AzureIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -343,7 +343,7 @@ export class AzureIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -351,9 +351,9 @@ export class AzureIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -403,7 +403,7 @@ export class AzureIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -411,9 +411,9 @@ export class AzureIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -463,7 +463,7 @@ export class AzureIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -471,9 +471,9 @@ export class AzureIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/DashboardListsApi.ts b/packages/datadog-api-client-v1/apis/DashboardListsApi.ts index ffd5dd9955d6..6405cb01d721 100644 --- a/packages/datadog-api-client-v1/apis/DashboardListsApi.ts +++ b/packages/datadog-api-client-v1/apis/DashboardListsApi.ts @@ -223,7 +223,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardList" @@ -231,9 +231,9 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -285,7 +285,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardListDeleteResponse" @@ -293,9 +293,9 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -347,7 +347,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardList" @@ -355,9 +355,9 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -409,14 +409,14 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardListListResponse" ) as DashboardListListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -467,7 +467,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardList = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardList" @@ -475,10 +475,10 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/DashboardsApi.ts b/packages/datadog-api-client-v1/apis/DashboardsApi.ts index 4e1d48695fd6..4ab3a3366e85 100644 --- a/packages/datadog-api-client-v1/apis/DashboardsApi.ts +++ b/packages/datadog-api-client-v1/apis/DashboardsApi.ts @@ -655,7 +655,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Dashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Dashboard" @@ -663,9 +663,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -717,7 +717,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SharedDashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SharedDashboard" @@ -725,10 +725,10 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -780,7 +780,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardDeleteResponse" @@ -788,9 +788,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -840,14 +840,14 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -899,7 +899,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DeleteSharedDashboardResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DeleteSharedDashboardResponse" @@ -907,9 +907,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -961,13 +961,13 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1017,7 +1017,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Dashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Dashboard" @@ -1025,9 +1025,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1079,7 +1079,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SharedDashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SharedDashboard" @@ -1087,9 +1087,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1141,7 +1141,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SharedDashboardInvites = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SharedDashboardInvites" @@ -1149,9 +1149,9 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1203,14 +1203,14 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardSummary = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardSummary" ) as DashboardSummary; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1259,14 +1259,14 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1318,7 +1318,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: SharedDashboardInvites = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SharedDashboardInvites" @@ -1326,10 +1326,10 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1379,7 +1379,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Dashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Dashboard" @@ -1387,10 +1387,10 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1442,7 +1442,7 @@ export class DashboardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SharedDashboard = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SharedDashboard" @@ -1450,10 +1450,10 @@ export class DashboardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/DowntimesApi.ts b/packages/datadog-api-client-v1/apis/DowntimesApi.ts index d26da407bb68..1eff354a839c 100644 --- a/packages/datadog-api-client-v1/apis/DowntimesApi.ts +++ b/packages/datadog-api-client-v1/apis/DowntimesApi.ts @@ -313,13 +313,13 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -371,7 +371,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CanceledDowntimesIds = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CanceledDowntimesIds" @@ -379,10 +379,10 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -432,7 +432,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Downtime = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Downtime" @@ -440,9 +440,9 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -492,7 +492,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Downtime = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Downtime" @@ -500,9 +500,9 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -554,14 +554,14 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" ) as Array; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -612,7 +612,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -620,9 +620,9 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -672,7 +672,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Downtime = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Downtime" @@ -680,10 +680,10 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/EventsApi.ts b/packages/datadog-api-client-v1/apis/EventsApi.ts index 656b77cee595..a4250648baaa 100644 --- a/packages/datadog-api-client-v1/apis/EventsApi.ts +++ b/packages/datadog-api-client-v1/apis/EventsApi.ts @@ -204,14 +204,14 @@ export class EventsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: EventCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "EventCreateResponse" ) as EventCreateResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -260,7 +260,7 @@ export class EventsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: EventResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "EventResponse" @@ -268,9 +268,9 @@ export class EventsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -322,7 +322,7 @@ export class EventsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: EventListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "EventListResponse" @@ -330,9 +330,9 @@ export class EventsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts b/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts index 0ed116c7eb42..561d59d862ae 100644 --- a/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts @@ -180,7 +180,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -188,9 +188,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -240,7 +240,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -248,9 +248,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -302,7 +302,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -310,9 +310,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -362,7 +362,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -370,9 +370,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/HostsApi.ts b/packages/datadog-api-client-v1/apis/HostsApi.ts index 795242ece71d..1a586bba2bd3 100644 --- a/packages/datadog-api-client-v1/apis/HostsApi.ts +++ b/packages/datadog-api-client-v1/apis/HostsApi.ts @@ -236,7 +236,7 @@ export class HostsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HostTotals = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostTotals" @@ -244,9 +244,9 @@ export class HostsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -296,7 +296,7 @@ export class HostsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HostListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostListResponse" @@ -304,9 +304,9 @@ export class HostsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -356,7 +356,7 @@ export class HostsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HostMuteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostMuteResponse" @@ -364,9 +364,9 @@ export class HostsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -418,7 +418,7 @@ export class HostsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HostMuteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostMuteResponse" @@ -426,9 +426,9 @@ export class HostsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/IPRangesApi.ts b/packages/datadog-api-client-v1/apis/IPRangesApi.ts index fbbae630b264..25a4b039e49e 100644 --- a/packages/datadog-api-client-v1/apis/IPRangesApi.ts +++ b/packages/datadog-api-client-v1/apis/IPRangesApi.ts @@ -43,14 +43,14 @@ export class IPRangesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IPRanges = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IPRanges" ) as IPRanges; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/KeyManagementApi.ts b/packages/datadog-api-client-v1/apis/KeyManagementApi.ts index 8a2030aa4f57..89db76b1a484 100644 --- a/packages/datadog-api-client-v1/apis/KeyManagementApi.ts +++ b/packages/datadog-api-client-v1/apis/KeyManagementApi.ts @@ -400,7 +400,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApiKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApiKeyResponse" @@ -408,9 +408,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -462,7 +462,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -470,10 +470,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -525,7 +525,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApiKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApiKeyResponse" @@ -533,10 +533,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -588,7 +588,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -596,9 +596,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -648,7 +648,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApiKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApiKeyResponse" @@ -656,9 +656,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -710,7 +710,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -718,9 +718,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -772,14 +772,14 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApiKeyListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApiKeyListResponse" ) as ApiKeyListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -830,14 +830,14 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyListResponse" ) as ApplicationKeyListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -888,7 +888,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApiKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApiKeyResponse" @@ -896,10 +896,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -951,7 +951,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -959,11 +959,11 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/LogsApi.ts b/packages/datadog-api-client-v1/apis/LogsApi.ts index becb3c98e085..f223583dd1fa 100644 --- a/packages/datadog-api-client-v1/apis/LogsApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsApi.ts @@ -138,14 +138,14 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsListResponse" ) as LogsListResponse; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -168,7 +168,7 @@ export class LogsApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -217,14 +217,14 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" ) as any; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -241,7 +241,7 @@ export class LogsApiResponseProcessor { } throw new ApiException(response.httpStatusCode, body); } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts b/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts index 9929b2d7c333..9ad59a97e535 100644 --- a/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsIndexesApi.ts @@ -252,14 +252,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndex = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndex" ) as LogsIndex; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -282,7 +282,7 @@ export class LogsIndexesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -331,14 +331,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndex = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndex" ) as LogsIndex; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -358,7 +358,7 @@ export class LogsIndexesApiResponseProcessor { } throw new ApiException(response.httpStatusCode, body); } - if (response.httpStatusCode == 404) { + if (response.httpStatusCode === 404) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -412,14 +412,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndexesOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndexesOrder" ) as LogsIndexesOrder; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -470,14 +470,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndexListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndexListResponse" ) as LogsIndexListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -526,14 +526,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndex = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndex" ) as LogsIndex; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -556,7 +556,7 @@ export class LogsIndexesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403) { + if (response.httpStatusCode === 403) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -607,14 +607,14 @@ export class LogsIndexesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsIndexesOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsIndexesOrder" ) as LogsIndexesOrder; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -637,7 +637,7 @@ export class LogsIndexesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts b/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts index 916a0d65a1c2..7efb57792446 100644 --- a/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts +++ b/packages/datadog-api-client-v1/apis/LogsPipelinesApi.ts @@ -286,14 +286,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsPipeline = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsPipeline" ) as LogsPipeline; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -316,7 +316,7 @@ export class LogsPipelinesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -365,10 +365,10 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -391,7 +391,7 @@ export class LogsPipelinesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -442,14 +442,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsPipeline = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsPipeline" ) as LogsPipeline; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -472,7 +472,7 @@ export class LogsPipelinesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -523,14 +523,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsPipelinesOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsPipelinesOrder" ) as LogsPipelinesOrder; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -581,14 +581,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" ) as Array; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -639,14 +639,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsPipeline = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsPipeline" ) as LogsPipeline; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -669,7 +669,7 @@ export class LogsPipelinesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -720,14 +720,14 @@ export class LogsPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsPipelinesOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsPipelinesOrder" ) as LogsPipelinesOrder; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 422) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 422) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -750,7 +750,7 @@ export class LogsPipelinesApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v1/apis/MetricsApi.ts b/packages/datadog-api-client-v1/apis/MetricsApi.ts index ca5e9b3fd098..357f07dfe7a3 100644 --- a/packages/datadog-api-client-v1/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v1/apis/MetricsApi.ts @@ -376,7 +376,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricMetadata = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricMetadata" @@ -384,9 +384,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -438,7 +438,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricsListResponse" @@ -446,9 +446,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -500,7 +500,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricSearchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricSearchResponse" @@ -508,9 +508,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -562,7 +562,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricsQueryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricsQueryResponse" @@ -570,9 +570,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -624,7 +624,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: IntakePayloadAccepted = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IntakePayloadAccepted" @@ -632,11 +632,11 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -688,7 +688,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: IntakePayloadAccepted = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IntakePayloadAccepted" @@ -696,11 +696,11 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -752,7 +752,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricMetadata = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricMetadata" @@ -760,10 +760,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/MonitorsApi.ts b/packages/datadog-api-client-v1/apis/MonitorsApi.ts index ddf47de6c528..0efda4c533cb 100644 --- a/packages/datadog-api-client-v1/apis/MonitorsApi.ts +++ b/packages/datadog-api-client-v1/apis/MonitorsApi.ts @@ -551,7 +551,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200 || response.httpStatusCode == 409) { + if (response.httpStatusCode === 200 || response.httpStatusCode === 409) { const body: CheckCanDeleteMonitorResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CheckCanDeleteMonitorResponse" @@ -559,9 +559,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -611,7 +611,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Monitor = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Monitor" @@ -619,9 +619,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -673,7 +673,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DeletedMonitor = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DeletedMonitor" @@ -681,11 +681,11 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -735,7 +735,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Monitor = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Monitor" @@ -743,10 +743,10 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -798,7 +798,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -806,9 +806,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -860,7 +860,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorGroupSearchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorGroupSearchResponse" @@ -868,9 +868,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -922,7 +922,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorSearchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorSearchResponse" @@ -930,9 +930,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -982,7 +982,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Monitor = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Monitor" @@ -990,11 +990,11 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1046,7 +1046,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -1054,9 +1054,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1106,7 +1106,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -1114,9 +1114,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/NotebooksApi.ts b/packages/datadog-api-client-v1/apis/NotebooksApi.ts index 1c00ac6488e3..dfa7d465aad4 100644 --- a/packages/datadog-api-client-v1/apis/NotebooksApi.ts +++ b/packages/datadog-api-client-v1/apis/NotebooksApi.ts @@ -292,7 +292,7 @@ export class NotebooksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: NotebookResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "NotebookResponse" @@ -300,9 +300,9 @@ export class NotebooksApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -352,14 +352,14 @@ export class NotebooksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -411,7 +411,7 @@ export class NotebooksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: NotebookResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "NotebookResponse" @@ -419,10 +419,10 @@ export class NotebooksApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -474,7 +474,7 @@ export class NotebooksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: NotebooksResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "NotebooksResponse" @@ -482,9 +482,9 @@ export class NotebooksApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -536,7 +536,7 @@ export class NotebooksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: NotebookResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "NotebookResponse" @@ -544,11 +544,11 @@ export class NotebooksApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/OrganizationsApi.ts b/packages/datadog-api-client-v1/apis/OrganizationsApi.ts index 455af8050bf4..1909aa0fd068 100644 --- a/packages/datadog-api-client-v1/apis/OrganizationsApi.ts +++ b/packages/datadog-api-client-v1/apis/OrganizationsApi.ts @@ -270,7 +270,7 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OrganizationCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OrganizationCreateResponse" @@ -278,9 +278,9 @@ export class OrganizationsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -332,7 +332,7 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OrgDowngradedResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OrgDowngradedResponse" @@ -340,9 +340,9 @@ export class OrganizationsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -394,7 +394,7 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OrganizationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OrganizationResponse" @@ -402,9 +402,9 @@ export class OrganizationsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -456,14 +456,14 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OrganizationListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OrganizationListResponse" ) as OrganizationListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -514,7 +514,7 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OrganizationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OrganizationResponse" @@ -522,9 +522,9 @@ export class OrganizationsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -576,7 +576,7 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IdpResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IdpResponse" @@ -584,10 +584,10 @@ export class OrganizationsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 415 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 415 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts b/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts index 6a3995239426..969b41680cfd 100644 --- a/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts @@ -203,7 +203,7 @@ export class PagerDutyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: PagerDutyServiceName = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PagerDutyServiceName" @@ -211,9 +211,9 @@ export class PagerDutyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -265,13 +265,13 @@ export class PagerDutyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -323,7 +323,7 @@ export class PagerDutyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PagerDutyServiceName = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PagerDutyServiceName" @@ -331,9 +331,9 @@ export class PagerDutyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -385,14 +385,14 @@ export class PagerDutyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts b/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts index 4a13fae7c634..5274b9d73d70 100644 --- a/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts +++ b/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.ts @@ -201,7 +201,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SuccessfulSignalUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SuccessfulSignalUpdateResponse" @@ -209,10 +209,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -264,7 +264,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SuccessfulSignalUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SuccessfulSignalUpdateResponse" @@ -272,10 +272,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -327,7 +327,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SuccessfulSignalUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SuccessfulSignalUpdateResponse" @@ -335,10 +335,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts b/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts index 9db318fb113a..d0568a019711 100644 --- a/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceChecksApi.ts @@ -74,7 +74,7 @@ export class ServiceChecksApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: IntakePayloadAccepted = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IntakePayloadAccepted" @@ -82,11 +82,11 @@ export class ServiceChecksApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts b/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts index 44811bf54a00..c3753d0e4558 100644 --- a/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.ts @@ -238,7 +238,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOCorrectionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOCorrectionResponse" @@ -246,10 +246,10 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -299,13 +299,13 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -357,7 +357,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOCorrectionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOCorrectionResponse" @@ -365,9 +365,9 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -419,14 +419,14 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOCorrectionListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOCorrectionListResponse" ) as SLOCorrectionListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -477,7 +477,7 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOCorrectionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOCorrectionResponse" @@ -485,10 +485,10 @@ export class ServiceLevelObjectiveCorrectionsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts b/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts index 6ad790395dee..bd24af4099d0 100644 --- a/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts +++ b/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.ts @@ -541,7 +541,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200 || response.httpStatusCode == 409) { + if (response.httpStatusCode === 200 || response.httpStatusCode === 409) { const body: CheckCanDeleteSLOResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CheckCanDeleteSLOResponse" @@ -549,9 +549,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -601,7 +601,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOListResponse" @@ -609,9 +609,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -663,7 +663,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200 || response.httpStatusCode == 409) { + if (response.httpStatusCode === 200 || response.httpStatusCode === 409) { const body: SLODeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLODeleteResponse" @@ -671,9 +671,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -725,7 +725,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOBulkDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOBulkDeleteResponse" @@ -733,9 +733,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -785,7 +785,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOResponse" @@ -793,9 +793,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -847,7 +847,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOCorrectionListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOCorrectionListResponse" @@ -855,10 +855,10 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -910,7 +910,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOHistoryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOHistoryResponse" @@ -918,10 +918,10 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -971,7 +971,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOListResponse" @@ -979,10 +979,10 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1034,7 +1034,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SearchSLOResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SearchSLOResponse" @@ -1042,9 +1042,9 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1094,7 +1094,7 @@ export class ServiceLevelObjectivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SLOListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SLOListResponse" @@ -1102,10 +1102,10 @@ export class ServiceLevelObjectivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts b/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts index 7a0a25511840..c5bf8f8092dc 100644 --- a/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/SlackIntegrationApi.ts @@ -254,7 +254,7 @@ export class SlackIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SlackIntegrationChannel = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SlackIntegrationChannel" @@ -262,10 +262,10 @@ export class SlackIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -317,7 +317,7 @@ export class SlackIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SlackIntegrationChannel = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SlackIntegrationChannel" @@ -325,10 +325,10 @@ export class SlackIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -380,7 +380,7 @@ export class SlackIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" @@ -388,10 +388,10 @@ export class SlackIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -443,14 +443,14 @@ export class SlackIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -502,7 +502,7 @@ export class SlackIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SlackIntegrationChannel = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SlackIntegrationChannel" @@ -510,10 +510,10 @@ export class SlackIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/SnapshotsApi.ts b/packages/datadog-api-client-v1/apis/SnapshotsApi.ts index 4fd5f8a6caf6..89cfdf48974f 100644 --- a/packages/datadog-api-client-v1/apis/SnapshotsApi.ts +++ b/packages/datadog-api-client-v1/apis/SnapshotsApi.ts @@ -128,7 +128,7 @@ export class SnapshotsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: GraphSnapshot = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GraphSnapshot" @@ -136,9 +136,9 @@ export class SnapshotsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/SyntheticsApi.ts b/packages/datadog-api-client-v1/apis/SyntheticsApi.ts index d73827f4d913..4bc9609848bb 100644 --- a/packages/datadog-api-client-v1/apis/SyntheticsApi.ts +++ b/packages/datadog-api-client-v1/apis/SyntheticsApi.ts @@ -1244,7 +1244,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsGlobalVariable = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsGlobalVariable" @@ -1252,9 +1252,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1306,7 +1306,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsPrivateLocationCreationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1315,9 +1315,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 402 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 402 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1370,7 +1370,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsAPITest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsAPITest" @@ -1378,10 +1378,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 402 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 402 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1433,7 +1433,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsBrowserTest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsBrowserTest" @@ -1441,10 +1441,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 402 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 402 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1494,14 +1494,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1551,10 +1551,10 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1605,7 +1605,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsDeleteTestsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsDeleteTestsResponse" @@ -1613,10 +1613,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1668,7 +1668,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsGlobalVariable = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsGlobalVariable" @@ -1676,9 +1676,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1730,7 +1730,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsAPITest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsAPITest" @@ -1738,9 +1738,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1792,7 +1792,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsGetAPITestLatestResultsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1801,9 +1801,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1856,7 +1856,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsAPITestResultFull = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsAPITestResultFull" @@ -1864,9 +1864,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1918,7 +1918,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsBrowserTest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsBrowserTest" @@ -1926,9 +1926,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1980,7 +1980,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsGetBrowserTestLatestResultsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1989,9 +1989,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2044,7 +2044,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsBrowserTestResultFull = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2053,9 +2053,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2108,7 +2108,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsGlobalVariable = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsGlobalVariable" @@ -2116,9 +2116,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2170,14 +2170,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsPrivateLocation = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsPrivateLocation" ) as SyntheticsPrivateLocation; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2228,14 +2228,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsBatchDetails = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsBatchDetails" ) as SyntheticsBatchDetails; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2286,14 +2286,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: Array = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "Array" ) as Array; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2344,7 +2344,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsTestDetails = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsTestDetails" @@ -2352,9 +2352,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2406,7 +2406,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsListGlobalVariablesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2414,7 +2414,7 @@ export class SyntheticsApiResponseProcessor { ) as SyntheticsListGlobalVariablesResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2466,14 +2466,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsLocations = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsLocations" ) as SyntheticsLocations; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2524,7 +2524,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsListTestsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsListTestsResponse" @@ -2532,9 +2532,9 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2586,7 +2586,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsTestDetails = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsTestDetails" @@ -2594,10 +2594,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2649,7 +2649,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsTriggerCITestsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2657,7 +2657,7 @@ export class SyntheticsApiResponseProcessor { ) as SyntheticsTriggerCITestsResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2709,7 +2709,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsTriggerCITestsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2717,7 +2717,7 @@ export class SyntheticsApiResponseProcessor { ) as SyntheticsTriggerCITestsResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2769,7 +2769,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsAPITest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsAPITest" @@ -2777,10 +2777,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2832,7 +2832,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsBrowserTest = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsBrowserTest" @@ -2840,10 +2840,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2895,14 +2895,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SyntheticsPrivateLocation = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SyntheticsPrivateLocation" ) as SyntheticsPrivateLocation; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2953,7 +2953,7 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: boolean = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "boolean" @@ -2961,10 +2961,10 @@ export class SyntheticsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/TagsApi.ts b/packages/datadog-api-client-v1/apis/TagsApi.ts index 1a10b0331687..1e3e8e393986 100644 --- a/packages/datadog-api-client-v1/apis/TagsApi.ts +++ b/packages/datadog-api-client-v1/apis/TagsApi.ts @@ -270,7 +270,7 @@ export class TagsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: HostTags = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostTags" @@ -278,9 +278,9 @@ export class TagsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -330,13 +330,13 @@ export class TagsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -386,7 +386,7 @@ export class TagsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HostTags = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostTags" @@ -394,9 +394,9 @@ export class TagsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -446,7 +446,7 @@ export class TagsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TagToHosts = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TagToHosts" @@ -454,9 +454,9 @@ export class TagsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -506,7 +506,7 @@ export class TagsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: HostTags = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HostTags" @@ -514,9 +514,9 @@ export class TagsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts index 5bed00b06f15..35d3f26ebb35 100644 --- a/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v1/apis/UsageMeteringApi.ts @@ -2103,14 +2103,14 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageCustomReportsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageCustomReportsResponse" ) as UsageCustomReportsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2161,14 +2161,14 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HourlyUsageAttributionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HourlyUsageAttributionResponse" ) as HourlyUsageAttributionResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2219,7 +2219,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageIncidentManagementResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2228,9 +2228,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2283,7 +2283,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageIngestedSpansResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageIngestedSpansResponse" @@ -2291,9 +2291,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2345,14 +2345,14 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageCustomReportsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageCustomReportsResponse" ) as UsageCustomReportsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2403,7 +2403,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonthlyUsageAttributionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2411,7 +2411,7 @@ export class UsageMeteringApiResponseProcessor { ) as MonthlyUsageAttributionResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2463,7 +2463,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSpecifiedCustomReportsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2472,9 +2472,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2527,7 +2527,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSpecifiedCustomReportsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2536,10 +2536,10 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2592,7 +2592,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageAnalyzedLogsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageAnalyzedLogsResponse" @@ -2600,9 +2600,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2654,14 +2654,14 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageAttributionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageAttributionResponse" ) as UsageAttributionResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2712,7 +2712,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageAuditLogsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageAuditLogsResponse" @@ -2720,9 +2720,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2774,7 +2774,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageBillableSummaryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageBillableSummaryResponse" @@ -2782,9 +2782,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2836,7 +2836,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageCIVisibilityResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageCIVisibilityResponse" @@ -2844,9 +2844,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2898,7 +2898,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageCloudSecurityPostureManagementResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2907,9 +2907,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2962,7 +2962,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageCWSResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageCWSResponse" @@ -2970,9 +2970,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3024,7 +3024,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageDBMResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageDBMResponse" @@ -3032,9 +3032,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3086,7 +3086,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageFargateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageFargateResponse" @@ -3094,9 +3094,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3148,7 +3148,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageHostsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageHostsResponse" @@ -3156,9 +3156,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3210,7 +3210,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageIndexedSpansResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageIndexedSpansResponse" @@ -3218,9 +3218,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3272,7 +3272,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageIoTResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageIoTResponse" @@ -3280,9 +3280,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3334,7 +3334,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageLambdaResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageLambdaResponse" @@ -3342,9 +3342,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3396,7 +3396,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageLogsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageLogsResponse" @@ -3404,9 +3404,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3458,7 +3458,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageLogsByIndexResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageLogsByIndexResponse" @@ -3466,9 +3466,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3520,7 +3520,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageLogsByRetentionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageLogsByRetentionResponse" @@ -3528,9 +3528,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3582,7 +3582,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageNetworkFlowsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageNetworkFlowsResponse" @@ -3590,9 +3590,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3644,7 +3644,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageNetworkHostsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageNetworkHostsResponse" @@ -3652,9 +3652,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3706,7 +3706,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageOnlineArchiveResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageOnlineArchiveResponse" @@ -3714,9 +3714,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3768,7 +3768,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageProfilingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageProfilingResponse" @@ -3776,9 +3776,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3830,7 +3830,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageRumSessionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageRumSessionsResponse" @@ -3838,9 +3838,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3892,7 +3892,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageRumUnitsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageRumUnitsResponse" @@ -3900,9 +3900,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -3954,7 +3954,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSDSResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSDSResponse" @@ -3962,9 +3962,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4016,7 +4016,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSNMPResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSNMPResponse" @@ -4024,9 +4024,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4078,7 +4078,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSummaryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSummaryResponse" @@ -4086,9 +4086,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4140,7 +4140,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSyntheticsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSyntheticsResponse" @@ -4148,9 +4148,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4202,7 +4202,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSyntheticsAPIResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSyntheticsAPIResponse" @@ -4210,9 +4210,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4264,7 +4264,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageSyntheticsBrowserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageSyntheticsBrowserResponse" @@ -4272,9 +4272,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4326,7 +4326,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageTimeseriesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageTimeseriesResponse" @@ -4334,9 +4334,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -4388,7 +4388,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageTopAvgMetricsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsageTopAvgMetricsResponse" @@ -4396,9 +4396,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/UsersApi.ts b/packages/datadog-api-client-v1/apis/UsersApi.ts index 8430c9fe38d8..762303aff2fb 100644 --- a/packages/datadog-api-client-v1/apis/UsersApi.ts +++ b/packages/datadog-api-client-v1/apis/UsersApi.ts @@ -217,7 +217,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -225,10 +225,10 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -280,7 +280,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserDisableResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserDisableResponse" @@ -288,10 +288,10 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -341,7 +341,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -349,9 +349,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -401,14 +401,14 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserListResponse" ) as UserListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -457,7 +457,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -465,10 +465,10 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts b/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts index 41926e8f8b16..72683aafc2db 100644 --- a/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts +++ b/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.ts @@ -388,7 +388,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: WebhooksIntegration = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "WebhooksIntegration" @@ -396,9 +396,9 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -450,7 +450,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: WebhooksIntegrationCustomVariableResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -459,9 +459,9 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -514,13 +514,13 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -572,13 +572,13 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -630,7 +630,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: WebhooksIntegration = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "WebhooksIntegration" @@ -638,10 +638,10 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -693,7 +693,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: WebhooksIntegrationCustomVariableResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -702,10 +702,10 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -758,7 +758,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: WebhooksIntegration = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "WebhooksIntegration" @@ -766,10 +766,10 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -821,7 +821,7 @@ export class WebhooksIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: WebhooksIntegrationCustomVariableResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -830,10 +830,10 @@ export class WebhooksIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/APIManagementApi.ts b/packages/datadog-api-client-v2/apis/APIManagementApi.ts index 2922b8e0f51f..7d348fb163ce 100644 --- a/packages/datadog-api-client-v2/apis/APIManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/APIManagementApi.ts @@ -212,14 +212,14 @@ export class APIManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: CreateOpenAPIResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CreateOpenAPIResponse" ) as CreateOpenAPIResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 403) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 403) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -242,7 +242,7 @@ export class APIManagementApiResponseProcessor { body ); } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -291,13 +291,13 @@ export class APIManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -321,7 +321,7 @@ export class APIManagementApiResponseProcessor { body ); } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -370,14 +370,14 @@ export class APIManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HttpFile = (await response.getBodyAsFile()) as HttpFile; return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -401,7 +401,7 @@ export class APIManagementApiResponseProcessor { body ); } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -449,7 +449,7 @@ export class APIManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UpdateOpenAPIResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UpdateOpenAPIResponse" @@ -457,9 +457,9 @@ export class APIManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -483,7 +483,7 @@ export class APIManagementApiResponseProcessor { body ); } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts b/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts index 71e49bef2157..ebf16aa76c1c 100644 --- a/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts +++ b/packages/datadog-api-client-v2/apis/APMRetentionFiltersApi.ts @@ -264,7 +264,7 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RetentionFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RetentionFilterResponse" @@ -272,10 +272,10 @@ export class APMRetentionFiltersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -327,13 +327,13 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -385,7 +385,7 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RetentionFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RetentionFilterResponse" @@ -393,9 +393,9 @@ export class APMRetentionFiltersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -447,14 +447,14 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RetentionFiltersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RetentionFiltersResponse" ) as RetentionFiltersResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -505,13 +505,13 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -563,7 +563,7 @@ export class APMRetentionFiltersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RetentionFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RetentionFilterResponse" @@ -571,10 +571,10 @@ export class APMRetentionFiltersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/AuditApi.ts b/packages/datadog-api-client-v2/apis/AuditApi.ts index 0d6ca6c857bc..acb37eaa4d8f 100644 --- a/packages/datadog-api-client-v2/apis/AuditApi.ts +++ b/packages/datadog-api-client-v2/apis/AuditApi.ts @@ -140,7 +140,7 @@ export class AuditApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuditLogsEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuditLogsEventsResponse" @@ -148,9 +148,9 @@ export class AuditApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -202,7 +202,7 @@ export class AuditApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuditLogsEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuditLogsEventsResponse" @@ -210,9 +210,9 @@ export class AuditApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts b/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts index 198445393dd7..37c194688dcf 100644 --- a/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts +++ b/packages/datadog-api-client-v2/apis/AuthNMappingsApi.ts @@ -255,7 +255,7 @@ export class AuthNMappingsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuthNMappingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuthNMappingResponse" @@ -263,10 +263,10 @@ export class AuthNMappingsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -316,13 +316,13 @@ export class AuthNMappingsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -374,7 +374,7 @@ export class AuthNMappingsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuthNMappingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuthNMappingResponse" @@ -382,9 +382,9 @@ export class AuthNMappingsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -436,14 +436,14 @@ export class AuthNMappingsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuthNMappingsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuthNMappingsResponse" ) as AuthNMappingsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -494,7 +494,7 @@ export class AuthNMappingsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AuthNMappingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AuthNMappingResponse" @@ -502,12 +502,12 @@ export class AuthNMappingsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts b/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts index 738426487d0d..6cb257a897f1 100644 --- a/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts +++ b/packages/datadog-api-client-v2/apis/CIVisibilityPipelinesApi.ts @@ -229,7 +229,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppPipelinesAnalyticsAggregateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -238,9 +238,9 @@ export class CIVisibilityPipelinesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -293,7 +293,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -301,14 +301,14 @@ export class CIVisibilityPipelinesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 || - response.httpStatusCode == 500 || - response.httpStatusCode == 503 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 || + response.httpStatusCode === 500 || + response.httpStatusCode === 503 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -360,7 +360,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppPipelineEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CIAppPipelineEventsResponse" @@ -368,9 +368,9 @@ export class CIVisibilityPipelinesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -422,7 +422,7 @@ export class CIVisibilityPipelinesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppPipelineEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CIAppPipelineEventsResponse" @@ -430,9 +430,9 @@ export class CIVisibilityPipelinesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts index 84c3dbee1311..d994a8087d35 100644 --- a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts +++ b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts @@ -189,7 +189,7 @@ export class CIVisibilityTestsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppTestsAnalyticsAggregateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -198,9 +198,9 @@ export class CIVisibilityTestsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -253,7 +253,7 @@ export class CIVisibilityTestsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppTestEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CIAppTestEventsResponse" @@ -261,9 +261,9 @@ export class CIVisibilityTestsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -315,7 +315,7 @@ export class CIVisibilityTestsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CIAppTestEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CIAppTestEventsResponse" @@ -323,9 +323,9 @@ export class CIVisibilityTestsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CaseManagementApi.ts b/packages/datadog-api-client-v2/apis/CaseManagementApi.ts index ca6b747dbdbf..e76a3c9cf166 100644 --- a/packages/datadog-api-client-v2/apis/CaseManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/CaseManagementApi.ts @@ -621,7 +621,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -629,11 +629,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -683,7 +683,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -691,11 +691,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -745,7 +745,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -753,11 +753,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -809,7 +809,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: ProjectResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ProjectResponse" @@ -817,11 +817,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -871,13 +871,13 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -927,7 +927,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -935,11 +935,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -989,7 +989,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ProjectResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ProjectResponse" @@ -997,11 +997,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1053,7 +1053,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ProjectsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ProjectsResponse" @@ -1061,11 +1061,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1115,7 +1115,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CasesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CasesResponse" @@ -1123,11 +1123,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1177,7 +1177,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -1185,11 +1185,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1239,7 +1239,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -1247,11 +1247,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1303,7 +1303,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -1311,11 +1311,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1365,7 +1365,7 @@ export class CaseManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CaseResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CaseResponse" @@ -1373,11 +1373,11 @@ export class CaseManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts b/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts index c11e6259959d..bc7fffc53c12 100644 --- a/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudCostManagementApi.ts @@ -412,7 +412,7 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AwsCURConfigResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AwsCURConfigResponse" @@ -420,9 +420,9 @@ export class CloudCostManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -474,7 +474,7 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AzureUCConfigPairsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AzureUCConfigPairsResponse" @@ -482,9 +482,9 @@ export class CloudCostManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -536,13 +536,13 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -594,13 +594,13 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -652,14 +652,14 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudCostActivityResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CloudCostActivityResponse" ) as CloudCostActivityResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -710,7 +710,7 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AWSRelatedAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AWSRelatedAccountsResponse" @@ -718,9 +718,9 @@ export class CloudCostManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -772,14 +772,14 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AwsCURConfigsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AwsCURConfigsResponse" ) as AwsCURConfigsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -830,14 +830,14 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AzureUCConfigsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AzureUCConfigsResponse" ) as AzureUCConfigsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -888,14 +888,14 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AwsCURConfigsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AwsCURConfigsResponse" ) as AwsCURConfigsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -946,7 +946,7 @@ export class CloudCostManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: AzureUCConfigPairsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "AzureUCConfigPairsResponse" @@ -954,9 +954,9 @@ export class CloudCostManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts index 375bf03c416d..7f3dcd39d2e7 100644 --- a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts @@ -279,7 +279,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudWorkloadSecurityAgentRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -288,10 +288,10 @@ export class CloudWorkloadSecurityApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -344,13 +344,13 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -402,11 +402,11 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HttpFile = (await response.getBodyAsFile()) as HttpFile; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -454,7 +454,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudWorkloadSecurityAgentRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -463,9 +463,9 @@ export class CloudWorkloadSecurityApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -518,7 +518,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudWorkloadSecurityAgentRulesListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -526,7 +526,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { ) as CloudWorkloadSecurityAgentRulesListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -578,7 +578,7 @@ export class CloudWorkloadSecurityApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudWorkloadSecurityAgentRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -587,11 +587,11 @@ export class CloudWorkloadSecurityApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts b/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts index fb427eed7fb5..258293efe25e 100644 --- a/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudflareIntegrationApi.ts @@ -222,7 +222,7 @@ export class CloudflareIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: CloudflareAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CloudflareAccountResponse" @@ -230,10 +230,10 @@ export class CloudflareIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -285,14 +285,14 @@ export class CloudflareIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -344,7 +344,7 @@ export class CloudflareIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudflareAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CloudflareAccountResponse" @@ -352,10 +352,10 @@ export class CloudflareIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -407,7 +407,7 @@ export class CloudflareIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudflareAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CloudflareAccountsResponse" @@ -415,10 +415,10 @@ export class CloudflareIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -470,7 +470,7 @@ export class CloudflareIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CloudflareAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CloudflareAccountResponse" @@ -478,10 +478,10 @@ export class CloudflareIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts b/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts index 579f775a4729..269023299487 100644 --- a/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts +++ b/packages/datadog-api-client-v2/apis/ConfluentCloudApi.ts @@ -444,7 +444,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: ConfluentAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentAccountResponse" @@ -452,10 +452,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -507,7 +507,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: ConfluentResourceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentResourceResponse" @@ -515,10 +515,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -570,14 +570,14 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -629,14 +629,14 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -688,7 +688,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentAccountResponse" @@ -696,10 +696,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -751,7 +751,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentResourceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentResourceResponse" @@ -759,10 +759,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -814,7 +814,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentAccountsResponse" @@ -822,10 +822,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -877,7 +877,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentResourcesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentResourcesResponse" @@ -885,10 +885,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -940,7 +940,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentAccountResponse" @@ -948,10 +948,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1003,7 +1003,7 @@ export class ConfluentCloudApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ConfluentResourceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ConfluentResourceResponse" @@ -1011,10 +1011,10 @@ export class ConfluentCloudApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts b/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts index fd12ee3c4c74..638429e5b35f 100644 --- a/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts +++ b/packages/datadog-api-client-v2/apis/ContainerImagesApi.ts @@ -95,7 +95,7 @@ export class ContainerImagesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ContainerImagesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ContainerImagesResponse" @@ -103,9 +103,9 @@ export class ContainerImagesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ContainersApi.ts b/packages/datadog-api-client-v2/apis/ContainersApi.ts index d1244ce648ed..9424f7fcb54b 100644 --- a/packages/datadog-api-client-v2/apis/ContainersApi.ts +++ b/packages/datadog-api-client-v2/apis/ContainersApi.ts @@ -95,7 +95,7 @@ export class ContainersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ContainersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ContainersResponse" @@ -103,9 +103,9 @@ export class ContainersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts b/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts index f7d607a7138e..64d3578d4e2a 100644 --- a/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/DORAMetricsApi.ts @@ -125,14 +125,14 @@ export class DORAMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200 || response.httpStatusCode == 202) { + if (response.httpStatusCode === 200 || response.httpStatusCode === 202) { const body: DORADeploymentResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DORADeploymentResponse" ) as DORADeploymentResponse; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -155,7 +155,7 @@ export class DORAMetricsApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -206,14 +206,14 @@ export class DORAMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200 || response.httpStatusCode == 202) { + if (response.httpStatusCode === 200 || response.httpStatusCode === 202) { const body: DORAIncidentResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DORAIncidentResponse" ) as DORAIncidentResponse; return body; } - if (response.httpStatusCode == 400) { + if (response.httpStatusCode === 400) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -236,7 +236,7 @@ export class DORAMetricsApiResponseProcessor { body ); } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v2/apis/DashboardListsApi.ts b/packages/datadog-api-client-v2/apis/DashboardListsApi.ts index 5d9b719d8f1e..602bdf05802b 100644 --- a/packages/datadog-api-client-v2/apis/DashboardListsApi.ts +++ b/packages/datadog-api-client-v2/apis/DashboardListsApi.ts @@ -229,7 +229,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListAddItemsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardListAddItemsResponse" @@ -237,10 +237,10 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -292,7 +292,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListDeleteItemsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -301,10 +301,10 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -357,7 +357,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListItems = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DashboardListItems" @@ -365,9 +365,9 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -419,7 +419,7 @@ export class DashboardListsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DashboardListUpdateItemsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -428,10 +428,10 @@ export class DashboardListsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/DowntimesApi.ts b/packages/datadog-api-client-v2/apis/DowntimesApi.ts index ed6ec254ef7a..22fe07dcad7a 100644 --- a/packages/datadog-api-client-v2/apis/DowntimesApi.ts +++ b/packages/datadog-api-client-v2/apis/DowntimesApi.ts @@ -315,13 +315,13 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -373,7 +373,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DowntimeResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DowntimeResponse" @@ -381,9 +381,9 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -435,7 +435,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DowntimeResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DowntimeResponse" @@ -443,10 +443,10 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -498,14 +498,14 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListDowntimesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListDowntimesResponse" ) as ListDowntimesResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -556,14 +556,14 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorDowntimeMatchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorDowntimeMatchResponse" ) as MonitorDowntimeMatchResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -614,7 +614,7 @@ export class DowntimesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: DowntimeResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "DowntimeResponse" @@ -622,10 +622,10 @@ export class DowntimesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/EventsApi.ts b/packages/datadog-api-client-v2/apis/EventsApi.ts index f18640a38645..75e3ee45312e 100644 --- a/packages/datadog-api-client-v2/apis/EventsApi.ts +++ b/packages/datadog-api-client-v2/apis/EventsApi.ts @@ -142,7 +142,7 @@ export class EventsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: EventsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "EventsListResponse" @@ -150,9 +150,9 @@ export class EventsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -204,7 +204,7 @@ export class EventsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: EventsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "EventsListResponse" @@ -212,9 +212,9 @@ export class EventsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts b/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts index d74cb83ca04e..1b53b144f335 100644 --- a/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/FastlyIntegrationApi.ts @@ -444,7 +444,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: FastlyAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyAccountResponse" @@ -452,10 +452,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -507,7 +507,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: FastlyServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyServiceResponse" @@ -515,10 +515,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -568,14 +568,14 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -625,14 +625,14 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -684,7 +684,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyAccountResponse" @@ -692,10 +692,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -747,7 +747,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyServiceResponse" @@ -755,10 +755,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -810,7 +810,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyAccountsResponse" @@ -818,10 +818,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -873,7 +873,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyServicesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyServicesResponse" @@ -881,10 +881,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -936,7 +936,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyAccountResponse" @@ -944,10 +944,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -999,7 +999,7 @@ export class FastlyIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: FastlyServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "FastlyServiceResponse" @@ -1007,10 +1007,10 @@ export class FastlyIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts b/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts index 92ec47e51130..314fdefaa00c 100644 --- a/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts @@ -249,7 +249,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: GCPSTSServiceAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GCPSTSServiceAccountResponse" @@ -257,11 +257,11 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -311,13 +311,13 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -369,14 +369,14 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: GCPSTSDelegateAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GCPSTSDelegateAccountResponse" ) as GCPSTSDelegateAccountResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -427,7 +427,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: GCPSTSServiceAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GCPSTSServiceAccountsResponse" @@ -435,9 +435,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -489,7 +489,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: GCPSTSDelegateAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GCPSTSDelegateAccountResponse" @@ -497,9 +497,9 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -551,7 +551,7 @@ export class GCPIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: GCPSTSServiceAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GCPSTSServiceAccountResponse" @@ -559,10 +559,10 @@ export class GCPIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts b/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts index a3f8c5072d48..c544f6a702d2 100644 --- a/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts +++ b/packages/datadog-api-client-v2/apis/IPAllowlistApi.ts @@ -101,7 +101,7 @@ export class IPAllowlistApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IPAllowlistResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IPAllowlistResponse" @@ -109,9 +109,9 @@ export class IPAllowlistApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -163,7 +163,7 @@ export class IPAllowlistApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IPAllowlistResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IPAllowlistResponse" @@ -171,10 +171,10 @@ export class IPAllowlistApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts b/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts index a491e1317ba3..f017a902c64f 100644 --- a/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentServicesApi.ts @@ -289,7 +289,7 @@ export class IncidentServicesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: IncidentServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentServiceResponse" @@ -297,11 +297,11 @@ export class IncidentServicesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -351,15 +351,15 @@ export class IncidentServicesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -411,7 +411,7 @@ export class IncidentServicesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentServiceResponse" @@ -419,11 +419,11 @@ export class IncidentServicesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -475,7 +475,7 @@ export class IncidentServicesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentServicesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentServicesResponse" @@ -483,11 +483,11 @@ export class IncidentServicesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -539,7 +539,7 @@ export class IncidentServicesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentServiceResponse" @@ -547,11 +547,11 @@ export class IncidentServicesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts b/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts index 6d3fefb19584..7f47f36e8b9c 100644 --- a/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentTeamsApi.ts @@ -289,7 +289,7 @@ export class IncidentTeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: IncidentTeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTeamResponse" @@ -297,11 +297,11 @@ export class IncidentTeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -351,15 +351,15 @@ export class IncidentTeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -411,7 +411,7 @@ export class IncidentTeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTeamResponse" @@ -419,11 +419,11 @@ export class IncidentTeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -475,7 +475,7 @@ export class IncidentTeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTeamsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTeamsResponse" @@ -483,11 +483,11 @@ export class IncidentTeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -539,7 +539,7 @@ export class IncidentTeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTeamResponse" @@ -547,11 +547,11 @@ export class IncidentTeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/IncidentsApi.ts b/packages/datadog-api-client-v2/apis/IncidentsApi.ts index 1c85c0717f31..af8d25e75a8a 100644 --- a/packages/datadog-api-client-v2/apis/IncidentsApi.ts +++ b/packages/datadog-api-client-v2/apis/IncidentsApi.ts @@ -1049,7 +1049,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: IncidentResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentResponse" @@ -1057,11 +1057,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1113,7 +1113,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: IncidentIntegrationMetadataResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1122,11 +1122,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1179,7 +1179,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: IncidentTodoResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTodoResponse" @@ -1187,11 +1187,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1241,15 +1241,15 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1301,15 +1301,15 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1359,15 +1359,15 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1419,7 +1419,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentResponse" @@ -1427,11 +1427,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1483,7 +1483,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentIntegrationMetadataResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1492,11 +1492,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1549,7 +1549,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTodoResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTodoResponse" @@ -1557,11 +1557,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1613,7 +1613,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentAttachmentsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentAttachmentsResponse" @@ -1621,11 +1621,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1677,7 +1677,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentIntegrationMetadataListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1686,11 +1686,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1743,7 +1743,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentsResponse" @@ -1751,11 +1751,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1807,7 +1807,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTodoListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTodoListResponse" @@ -1815,11 +1815,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1871,7 +1871,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentSearchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentSearchResponse" @@ -1879,11 +1879,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1935,7 +1935,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentResponse" @@ -1943,11 +1943,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1999,7 +1999,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentAttachmentUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2008,11 +2008,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2065,7 +2065,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentIntegrationMetadataResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2074,11 +2074,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2131,7 +2131,7 @@ export class IncidentsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: IncidentTodoResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IncidentTodoResponse" @@ -2139,11 +2139,11 @@ export class IncidentsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/KeyManagementApi.ts b/packages/datadog-api-client-v2/apis/KeyManagementApi.ts index a45236afa577..23ef20766220 100644 --- a/packages/datadog-api-client-v2/apis/KeyManagementApi.ts +++ b/packages/datadog-api-client-v2/apis/KeyManagementApi.ts @@ -748,7 +748,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: APIKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "APIKeyResponse" @@ -756,9 +756,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -810,7 +810,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -818,9 +818,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -870,13 +870,13 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -926,13 +926,13 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -984,13 +984,13 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1040,7 +1040,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: APIKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "APIKeyResponse" @@ -1048,9 +1048,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1102,7 +1102,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -1110,10 +1110,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1165,7 +1165,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -1173,9 +1173,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1227,7 +1227,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: APIKeysResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "APIKeysResponse" @@ -1235,9 +1235,9 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1289,7 +1289,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListApplicationKeysResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListApplicationKeysResponse" @@ -1297,10 +1297,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1352,7 +1352,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListApplicationKeysResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListApplicationKeysResponse" @@ -1360,10 +1360,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1415,7 +1415,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: APIKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "APIKeyResponse" @@ -1423,10 +1423,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1478,7 +1478,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -1486,10 +1486,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1541,7 +1541,7 @@ export class KeyManagementApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -1549,10 +1549,10 @@ export class KeyManagementApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/LogsApi.ts b/packages/datadog-api-client-v2/apis/LogsApi.ts index 02b3ee90a8fd..85d32b26f2b0 100644 --- a/packages/datadog-api-client-v2/apis/LogsApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsApi.ts @@ -262,7 +262,7 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsAggregateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsAggregateResponse" @@ -270,9 +270,9 @@ export class LogsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -322,7 +322,7 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsListResponse" @@ -330,9 +330,9 @@ export class LogsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -384,7 +384,7 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsListResponse" @@ -392,9 +392,9 @@ export class LogsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -444,7 +444,7 @@ export class LogsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: any = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "any" @@ -452,14 +452,14 @@ export class LogsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 || - response.httpStatusCode == 500 || - response.httpStatusCode == 503 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 || + response.httpStatusCode === 500 || + response.httpStatusCode === 503 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts b/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts index c6e7ac9f2f63..d5eaa6827059 100644 --- a/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsArchivesApi.ts @@ -424,14 +424,14 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -483,7 +483,7 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchive = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchive" @@ -491,9 +491,9 @@ export class LogsArchivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -543,14 +543,14 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -600,7 +600,7 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchive = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchive" @@ -608,10 +608,10 @@ export class LogsArchivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -663,14 +663,14 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchiveOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchiveOrder" ) as LogsArchiveOrder; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -721,7 +721,7 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RolesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RolesResponse" @@ -729,10 +729,10 @@ export class LogsArchivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -784,14 +784,14 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchives = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchives" ) as LogsArchives; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -840,14 +840,14 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -899,7 +899,7 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchive = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchive" @@ -907,10 +907,10 @@ export class LogsArchivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -962,7 +962,7 @@ export class LogsArchivesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsArchiveOrder = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsArchiveOrder" @@ -970,10 +970,10 @@ export class LogsArchivesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts b/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts index 1d0e6b6cd172..9d5763275f55 100644 --- a/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/LogsMetricsApi.ts @@ -221,7 +221,7 @@ export class LogsMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsMetricResponse" @@ -229,10 +229,10 @@ export class LogsMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -282,13 +282,13 @@ export class LogsMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -340,7 +340,7 @@ export class LogsMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsMetricResponse" @@ -348,9 +348,9 @@ export class LogsMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -402,14 +402,14 @@ export class LogsMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsMetricsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsMetricsResponse" ) as LogsMetricsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -460,7 +460,7 @@ export class LogsMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: LogsMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "LogsMetricResponse" @@ -468,10 +468,10 @@ export class LogsMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/MetricsApi.ts b/packages/datadog-api-client-v2/apis/MetricsApi.ts index 42c672e977fc..1b649af5fdcd 100644 --- a/packages/datadog-api-client-v2/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/MetricsApi.ts @@ -714,7 +714,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: MetricBulkTagConfigResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricBulkTagConfigResponse" @@ -722,10 +722,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -777,7 +777,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: MetricTagConfigurationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricTagConfigurationResponse" @@ -785,10 +785,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -840,7 +840,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: MetricBulkTagConfigResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricBulkTagConfigResponse" @@ -848,10 +848,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -903,13 +903,13 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -961,7 +961,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricEstimateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricEstimateResponse" @@ -969,10 +969,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1024,7 +1024,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricSuggestedTagsAndAggregationsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1033,10 +1033,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1089,7 +1089,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricTagConfigurationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricTagConfigurationResponse" @@ -1097,9 +1097,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1151,7 +1151,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricsAndMetricTagConfigurationsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1160,9 +1160,9 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1215,7 +1215,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricAllTagsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricAllTagsResponse" @@ -1223,10 +1223,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1278,7 +1278,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricVolumesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricVolumesResponse" @@ -1286,10 +1286,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1341,7 +1341,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ScalarFormulaQueryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ScalarFormulaQueryResponse" @@ -1349,10 +1349,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1404,7 +1404,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TimeseriesFormulaQueryResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TimeseriesFormulaQueryResponse" @@ -1412,10 +1412,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1467,7 +1467,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 202) { + if (response.httpStatusCode === 202) { const body: IntakePayloadAccepted = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "IntakePayloadAccepted" @@ -1475,11 +1475,11 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 408 || - response.httpStatusCode == 413 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 408 || + response.httpStatusCode === 413 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1531,7 +1531,7 @@ export class MetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MetricTagConfigurationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MetricTagConfigurationResponse" @@ -1539,10 +1539,10 @@ export class MetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/MonitorsApi.ts b/packages/datadog-api-client-v2/apis/MonitorsApi.ts index 15c159adfdcb..637604b5c150 100644 --- a/packages/datadog-api-client-v2/apis/MonitorsApi.ts +++ b/packages/datadog-api-client-v2/apis/MonitorsApi.ts @@ -221,7 +221,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorConfigPolicyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorConfigPolicyResponse" @@ -229,9 +229,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -283,14 +283,14 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -342,7 +342,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorConfigPolicyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorConfigPolicyResponse" @@ -350,9 +350,9 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -404,7 +404,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorConfigPolicyListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -412,7 +412,7 @@ export class MonitorsApiResponseProcessor { ) as MonitorConfigPolicyListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -464,7 +464,7 @@ export class MonitorsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonitorConfigPolicyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonitorConfigPolicyResponse" @@ -472,10 +472,10 @@ export class MonitorsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts b/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts index 0495ab4916bd..fac70d2832de 100644 --- a/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/OktaIntegrationApi.ts @@ -222,7 +222,7 @@ export class OktaIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: OktaAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OktaAccountResponse" @@ -230,10 +230,10 @@ export class OktaIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -283,14 +283,14 @@ export class OktaIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -342,7 +342,7 @@ export class OktaIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OktaAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OktaAccountResponse" @@ -350,10 +350,10 @@ export class OktaIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -405,7 +405,7 @@ export class OktaIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OktaAccountsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OktaAccountsResponse" @@ -413,10 +413,10 @@ export class OktaIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -468,7 +468,7 @@ export class OktaIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OktaAccountResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OktaAccountResponse" @@ -476,10 +476,10 @@ export class OktaIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts b/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts index 4f0c834eacb6..ec54ea8952e0 100644 --- a/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.ts @@ -222,7 +222,7 @@ export class OpsgenieIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: OpsgenieServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OpsgenieServiceResponse" @@ -230,10 +230,10 @@ export class OpsgenieIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -283,14 +283,14 @@ export class OpsgenieIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -342,7 +342,7 @@ export class OpsgenieIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OpsgenieServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OpsgenieServiceResponse" @@ -350,11 +350,11 @@ export class OpsgenieIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -406,14 +406,14 @@ export class OpsgenieIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OpsgenieServicesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OpsgenieServicesResponse" ) as OpsgenieServicesResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -464,7 +464,7 @@ export class OpsgenieIntegrationApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OpsgenieServiceResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OpsgenieServiceResponse" @@ -472,11 +472,11 @@ export class OpsgenieIntegrationApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/OrganizationsApi.ts b/packages/datadog-api-client-v2/apis/OrganizationsApi.ts index bdf5611d1c86..6e05eb7677ca 100644 --- a/packages/datadog-api-client-v2/apis/OrganizationsApi.ts +++ b/packages/datadog-api-client-v2/apis/OrganizationsApi.ts @@ -65,13 +65,13 @@ export class OrganizationsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/PowerpackApi.ts b/packages/datadog-api-client-v2/apis/PowerpackApi.ts index 974b4de3961e..092ee31588cd 100644 --- a/packages/datadog-api-client-v2/apis/PowerpackApi.ts +++ b/packages/datadog-api-client-v2/apis/PowerpackApi.ts @@ -240,14 +240,14 @@ export class PowerpackApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PowerpackResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PowerpackResponse" ) as PowerpackResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -296,10 +296,10 @@ export class PowerpackApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -350,14 +350,14 @@ export class PowerpackApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PowerpackResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PowerpackResponse" ) as PowerpackResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -408,14 +408,14 @@ export class PowerpackApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListPowerpacksResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListPowerpacksResponse" ) as ListPowerpacksResponse; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -466,7 +466,7 @@ export class PowerpackApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PowerpackResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PowerpackResponse" @@ -474,9 +474,9 @@ export class PowerpackApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ProcessesApi.ts b/packages/datadog-api-client-v2/apis/ProcessesApi.ts index 232a31b91531..e0291b12b270 100644 --- a/packages/datadog-api-client-v2/apis/ProcessesApi.ts +++ b/packages/datadog-api-client-v2/apis/ProcessesApi.ts @@ -102,7 +102,7 @@ export class ProcessesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ProcessSummariesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ProcessSummariesResponse" @@ -110,9 +110,9 @@ export class ProcessesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/RUMApi.ts b/packages/datadog-api-client-v2/apis/RUMApi.ts index 49747f0988a6..51ed41117f90 100644 --- a/packages/datadog-api-client-v2/apis/RUMApi.ts +++ b/packages/datadog-api-client-v2/apis/RUMApi.ts @@ -379,7 +379,7 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMAnalyticsAggregateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMAnalyticsAggregateResponse" @@ -387,9 +387,9 @@ export class RUMApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -441,14 +441,14 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMApplicationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMApplicationResponse" ) as RUMApplicationResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -497,10 +497,10 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -551,14 +551,14 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMApplicationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMApplicationResponse" ) as RUMApplicationResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -609,14 +609,14 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMApplicationsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMApplicationsResponse" ) as RUMApplicationsResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -667,7 +667,7 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMEventsResponse" @@ -675,9 +675,9 @@ export class RUMApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -729,7 +729,7 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMEventsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMEventsResponse" @@ -737,9 +737,9 @@ export class RUMApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -791,7 +791,7 @@ export class RUMApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RUMApplicationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RUMApplicationResponse" @@ -799,10 +799,10 @@ export class RUMApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts b/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts index 85a965acaba5..62e91725ea64 100644 --- a/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts +++ b/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.ts @@ -152,13 +152,13 @@ export class RestrictionPoliciesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -210,7 +210,7 @@ export class RestrictionPoliciesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RestrictionPolicyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RestrictionPolicyResponse" @@ -218,9 +218,9 @@ export class RestrictionPoliciesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -272,7 +272,7 @@ export class RestrictionPoliciesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RestrictionPolicyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RestrictionPolicyResponse" @@ -280,9 +280,9 @@ export class RestrictionPoliciesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/RolesApi.ts b/packages/datadog-api-client-v2/apis/RolesApi.ts index 1da9b1109af2..2c53fad94142 100644 --- a/packages/datadog-api-client-v2/apis/RolesApi.ts +++ b/packages/datadog-api-client-v2/apis/RolesApi.ts @@ -647,7 +647,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PermissionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PermissionsResponse" @@ -655,10 +655,10 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -710,7 +710,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsersResponse" @@ -718,10 +718,10 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -771,7 +771,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RoleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RoleResponse" @@ -779,11 +779,11 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -835,7 +835,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RoleCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RoleCreateResponse" @@ -843,9 +843,9 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -895,13 +895,13 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -951,7 +951,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RoleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RoleResponse" @@ -959,9 +959,9 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1013,7 +1013,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PermissionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PermissionsResponse" @@ -1021,9 +1021,9 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1075,7 +1075,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PermissionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PermissionsResponse" @@ -1083,9 +1083,9 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1135,14 +1135,14 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RolesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RolesResponse" ) as RolesResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1193,7 +1193,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsersResponse" @@ -1201,9 +1201,9 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1255,7 +1255,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PermissionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PermissionsResponse" @@ -1263,10 +1263,10 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1318,7 +1318,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsersResponse" @@ -1326,10 +1326,10 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1381,7 +1381,7 @@ export class RolesApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: RoleUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "RoleUpdateResponse" @@ -1389,11 +1389,11 @@ export class RolesApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts index 4f0d256e6c2d..48540c08d71b 100644 --- a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts +++ b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts @@ -1204,7 +1204,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityFilterResponse" @@ -1212,10 +1212,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1267,7 +1267,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityMonitoringRuleResponse" @@ -1275,9 +1275,9 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1329,7 +1329,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSuppressionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1338,10 +1338,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1392,13 +1392,13 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1450,13 +1450,13 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1508,13 +1508,13 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1566,7 +1566,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalTriageUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1575,10 +1575,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1631,7 +1631,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalTriageUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1640,10 +1640,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1696,7 +1696,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalTriageUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1705,10 +1705,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1761,7 +1761,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: GetFindingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "GetFindingResponse" @@ -1769,10 +1769,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1827,7 +1827,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityFilterResponse" @@ -1835,9 +1835,9 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1889,14 +1889,14 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityMonitoringRuleResponse" ) as SecurityMonitoringRuleResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1947,7 +1947,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1955,7 +1955,7 @@ export class SecurityMonitoringApiResponseProcessor { ) as SecurityMonitoringSignalResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2007,7 +2007,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSuppressionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2016,9 +2016,9 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2071,7 +2071,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListFindingsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListFindingsResponse" @@ -2079,10 +2079,10 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2137,14 +2137,14 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityFiltersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityFiltersResponse" ) as SecurityFiltersResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2195,7 +2195,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringListRulesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2203,7 +2203,7 @@ export class SecurityMonitoringApiResponseProcessor { ) as SecurityMonitoringListRulesResponse; return body; } - if (response.httpStatusCode == 400 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 400 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2255,7 +2255,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2264,9 +2264,9 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2319,7 +2319,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSuppressionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2327,7 +2327,7 @@ export class SecurityMonitoringApiResponseProcessor { ) as SecurityMonitoringSuppressionsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -2379,7 +2379,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: BulkMuteFindingsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "BulkMuteFindingsResponse" @@ -2387,11 +2387,11 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2446,7 +2446,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSignalsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2455,9 +2455,9 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2510,7 +2510,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityFilterResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityFilterResponse" @@ -2518,11 +2518,11 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2574,7 +2574,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SecurityMonitoringRuleResponse" @@ -2582,11 +2582,11 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 401 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -2638,7 +2638,7 @@ export class SecurityMonitoringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SecurityMonitoringSuppressionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -2647,11 +2647,11 @@ export class SecurityMonitoringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts b/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts index cedf02bf024a..34d0112f3697 100644 --- a/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts +++ b/packages/datadog-api-client-v2/apis/SensitiveDataScannerApi.ts @@ -450,7 +450,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerCreateGroupResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -459,9 +459,9 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -514,7 +514,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerCreateRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -523,9 +523,9 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -578,7 +578,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerGroupDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -587,10 +587,10 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -643,7 +643,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerRuleDeleteResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -652,10 +652,10 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -708,7 +708,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerGetConfigResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -717,9 +717,9 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -772,7 +772,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerStandardPatternsResponseData = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -781,9 +781,9 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -836,7 +836,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerReorderGroupsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -845,9 +845,9 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -900,7 +900,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerGroupUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -909,10 +909,10 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -965,7 +965,7 @@ export class SensitiveDataScannerApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SensitiveDataScannerRuleUpdateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -974,10 +974,10 @@ export class SensitiveDataScannerApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts b/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts index afa7cb285e2c..bcf9d97439d1 100644 --- a/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceAccountsApi.ts @@ -370,7 +370,7 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -378,9 +378,9 @@ export class ServiceAccountsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -432,7 +432,7 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: ApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ApplicationKeyResponse" @@ -440,9 +440,9 @@ export class ServiceAccountsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -494,13 +494,13 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -552,7 +552,7 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PartialApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PartialApplicationKeyResponse" @@ -560,9 +560,9 @@ export class ServiceAccountsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -614,7 +614,7 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListApplicationKeysResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListApplicationKeysResponse" @@ -622,10 +622,10 @@ export class ServiceAccountsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -677,7 +677,7 @@ export class ServiceAccountsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PartialApplicationKeyResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PartialApplicationKeyResponse" @@ -685,10 +685,10 @@ export class ServiceAccountsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts index 13b77dae4a51..9dacb74ec8c8 100644 --- a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts @@ -215,7 +215,7 @@ export class ServiceDefinitionApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ServiceDefinitionCreateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -224,10 +224,10 @@ export class ServiceDefinitionApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -280,14 +280,14 @@ export class ServiceDefinitionApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -339,7 +339,7 @@ export class ServiceDefinitionApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ServiceDefinitionGetResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ServiceDefinitionGetResponse" @@ -347,11 +347,11 @@ export class ServiceDefinitionApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -403,14 +403,14 @@ export class ServiceDefinitionApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ServiceDefinitionsListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ServiceDefinitionsListResponse" ) as ServiceDefinitionsListResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts b/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts index 7e5da6bc49b9..4708448c7849 100644 --- a/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.ts @@ -381,7 +381,7 @@ export class ServiceScorecardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OutcomesBatchResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OutcomesBatchResponse" @@ -389,9 +389,9 @@ export class ServiceScorecardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -443,7 +443,7 @@ export class ServiceScorecardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: CreateRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CreateRuleResponse" @@ -451,9 +451,9 @@ export class ServiceScorecardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -503,14 +503,14 @@ export class ServiceScorecardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -562,7 +562,7 @@ export class ServiceScorecardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OutcomesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OutcomesResponse" @@ -570,9 +570,9 @@ export class ServiceScorecardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -624,7 +624,7 @@ export class ServiceScorecardsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ListRulesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ListRulesResponse" @@ -632,9 +632,9 @@ export class ServiceScorecardsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/SpansApi.ts b/packages/datadog-api-client-v2/apis/SpansApi.ts index 55c0ce0494ae..082a568e709f 100644 --- a/packages/datadog-api-client-v2/apis/SpansApi.ts +++ b/packages/datadog-api-client-v2/apis/SpansApi.ts @@ -194,7 +194,7 @@ export class SpansApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansAggregateResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansAggregateResponse" @@ -202,9 +202,9 @@ export class SpansApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -256,7 +256,7 @@ export class SpansApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansListResponse" @@ -264,10 +264,10 @@ export class SpansApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -322,7 +322,7 @@ export class SpansApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansListResponse" @@ -330,10 +330,10 @@ export class SpansApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts b/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts index 4b6637d4a3c1..569b8b247d14 100644 --- a/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/SpansMetricsApi.ts @@ -219,7 +219,7 @@ export class SpansMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansMetricResponse" @@ -227,10 +227,10 @@ export class SpansMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -280,13 +280,13 @@ export class SpansMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -338,7 +338,7 @@ export class SpansMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansMetricResponse" @@ -346,9 +346,9 @@ export class SpansMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -400,14 +400,14 @@ export class SpansMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansMetricsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansMetricsResponse" ) as SpansMetricsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -458,7 +458,7 @@ export class SpansMetricsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: SpansMetricResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "SpansMetricResponse" @@ -466,10 +466,10 @@ export class SpansMetricsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/SyntheticsApi.ts b/packages/datadog-api-client-v2/apis/SyntheticsApi.ts index 5beeeebbf73a..3dc8b39d8eb3 100644 --- a/packages/datadog-api-client-v2/apis/SyntheticsApi.ts +++ b/packages/datadog-api-client-v2/apis/SyntheticsApi.ts @@ -103,14 +103,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OnDemandConcurrencyCapResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OnDemandConcurrencyCapResponse" ) as OnDemandConcurrencyCapResponse; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -161,14 +161,14 @@ export class SyntheticsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: OnDemandConcurrencyCapResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "OnDemandConcurrencyCapResponse" ) as OnDemandConcurrencyCapResponse; return body; } - if (response.httpStatusCode == 429) { + if (response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType diff --git a/packages/datadog-api-client-v2/apis/TeamsApi.ts b/packages/datadog-api-client-v2/apis/TeamsApi.ts index 5c53ebf5287c..36ecdefb81a7 100644 --- a/packages/datadog-api-client-v2/apis/TeamsApi.ts +++ b/packages/datadog-api-client-v2/apis/TeamsApi.ts @@ -846,7 +846,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: TeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamResponse" @@ -854,9 +854,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -908,7 +908,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamLinkResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamLinkResponse" @@ -916,10 +916,10 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -971,7 +971,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserTeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserTeamResponse" @@ -979,10 +979,10 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1032,13 +1032,13 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1088,13 +1088,13 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1144,13 +1144,13 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1200,7 +1200,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamResponse" @@ -1208,9 +1208,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1262,7 +1262,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamLinkResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamLinkResponse" @@ -1270,9 +1270,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1324,7 +1324,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamLinksResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamLinksResponse" @@ -1332,9 +1332,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1386,7 +1386,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserTeamsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserTeamsResponse" @@ -1394,9 +1394,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1448,7 +1448,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamPermissionSettingsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamPermissionSettingsResponse" @@ -1456,9 +1456,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1510,14 +1510,14 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserTeamsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserTeamsResponse" ) as UserTeamsResponse; return body; } - if (response.httpStatusCode == 404 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 404 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1566,14 +1566,14 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamsResponse" ) as TeamsResponse; return body; } - if (response.httpStatusCode == 403 || response.httpStatusCode == 429) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -1622,7 +1622,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamResponse" @@ -1630,11 +1630,11 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 409 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1686,7 +1686,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamLinkResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamLinkResponse" @@ -1694,9 +1694,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1748,7 +1748,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserTeamResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserTeamResponse" @@ -1756,9 +1756,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1810,7 +1810,7 @@ export class TeamsApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: TeamPermissionSettingResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "TeamPermissionSettingResponse" @@ -1818,9 +1818,9 @@ export class TeamsApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts index ee4475beb49e..297a9fc08cef 100644 --- a/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts +++ b/packages/datadog-api-client-v2/apis/UsageMeteringApi.ts @@ -639,7 +639,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ActiveBillingDimensionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -648,9 +648,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -703,7 +703,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CostByOrgResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CostByOrgResponse" @@ -711,9 +711,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -765,7 +765,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CostByOrgResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CostByOrgResponse" @@ -773,9 +773,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -827,7 +827,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: CostByOrgResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "CostByOrgResponse" @@ -835,9 +835,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -889,7 +889,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: HourlyUsageResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "HourlyUsageResponse" @@ -897,9 +897,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -951,7 +951,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: MonthlyCostAttributionResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "MonthlyCostAttributionResponse" @@ -959,9 +959,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1013,7 +1013,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: ProjectedCostResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "ProjectedCostResponse" @@ -1021,9 +1021,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1075,7 +1075,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageApplicationSecurityMonitoringResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1084,9 +1084,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1139,7 +1139,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageLambdaTracedInvocationsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1148,9 +1148,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -1203,7 +1203,7 @@ export class UsageMeteringApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsageObservabilityPipelinesResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), @@ -1212,9 +1212,9 @@ export class UsageMeteringApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), diff --git a/packages/datadog-api-client-v2/apis/UsersApi.ts b/packages/datadog-api-client-v2/apis/UsersApi.ts index 2dc98d4c153a..58e1c54b5fda 100644 --- a/packages/datadog-api-client-v2/apis/UsersApi.ts +++ b/packages/datadog-api-client-v2/apis/UsersApi.ts @@ -417,7 +417,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -425,9 +425,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -477,13 +477,13 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 204) { + if (response.httpStatusCode === 204) { return; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -535,7 +535,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserInvitationResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserInvitationResponse" @@ -543,9 +543,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -595,7 +595,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -603,9 +603,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -657,7 +657,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -665,9 +665,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -719,7 +719,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: PermissionsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "PermissionsResponse" @@ -727,9 +727,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 429 + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -779,7 +779,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UsersResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UsersResponse" @@ -787,9 +787,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -841,7 +841,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 201) { + if (response.httpStatusCode === 201) { const body: UserInvitationsResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserInvitationsResponse" @@ -849,9 +849,9 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), @@ -901,7 +901,7 @@ export class UsersApiResponseProcessor { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode == 200) { + if (response.httpStatusCode === 200) { const body: UserResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), "UserResponse" @@ -909,11 +909,11 @@ export class UsersApiResponseProcessor { return body; } if ( - response.httpStatusCode == 400 || - response.httpStatusCode == 403 || - response.httpStatusCode == 404 || - response.httpStatusCode == 422 || - response.httpStatusCode == 429 + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 422 || + response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( await response.body.text(), From 6973f3253f2697fcf07cb95a65b375016ff8ab73 Mon Sep 17 00:00:00 2001 From: skarimo <40482491+skarimo@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:17:37 -0500 Subject: [PATCH 20/41] Setup static analysis (#1485) * Enable static analysis * run on master merge * ignore examples --- .github/workflows/static-analysis.datadog.yml | 22 +++++++++++++++++++ static-analysis.datadog.yml | 8 +++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/static-analysis.datadog.yml create mode 100644 static-analysis.datadog.yml diff --git a/.github/workflows/static-analysis.datadog.yml b/.github/workflows/static-analysis.datadog.yml new file mode 100644 index 000000000000..c7ad3ffec1a0 --- /dev/null +++ b/.github/workflows/static-analysis.datadog.yml @@ -0,0 +1,22 @@ +on: + push: + branches: [master] + +jobs: + check-quality: + runs-on: ubuntu-latest + name: Datadog Static Analyzer + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Check code meets quality standards + id: datadog-static-analysis + uses: DataDog/datadog-static-analyzer-github-action@v1 + with: + dd_api_key: ${{ secrets.DD_API_KEY }} + dd_app_key: ${{ secrets.DD_APP_KEY }} + dd_service: datadog-api-client-typescript + dd_site: datadoghq.com + dd_env: ci + cpu_count: 2 + \ No newline at end of file diff --git a/static-analysis.datadog.yml b/static-analysis.datadog.yml new file mode 100644 index 000000000000..072c5048602a --- /dev/null +++ b/static-analysis.datadog.yml @@ -0,0 +1,8 @@ +rulesets: +- typescript-best-practices # ensure best practices are followed +- typescript-code-style # code-style enforcement for TypeScript +- typescript-inclusive # ensure that we use inclusive wording in our codebase +- typescript-common-security # ensure your TypeScript code is safe and secure + +ignore-paths: + - examples/ From de845fbd61293b099dc27a92a47c8e95c150103f Mon Sep 17 00:00:00 2001 From: Kevin Zou <17015060+nkzou@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:18:31 -0500 Subject: [PATCH 21/41] Implement additionalProperties on all models by default (#1532) * implement additionalProperties * handle empty object being falsy --- .generator/src/generator/openapi.py | 2 + .../templates/model/ObjectSerializer.j2 | 47 ++++++++++++----- .../src/generator/templates/model/model.j2 | 12 ++--- .../models/APIErrorResponse.ts | 11 ++++ .../models/AWSAccount.ts | 11 ++++ .../models/AWSAccountAndLambdaRequest.ts | 11 ++++ .../models/AWSAccountCreateResponse.ts | 11 ++++ .../models/AWSAccountDeleteRequest.ts | 11 ++++ .../models/AWSAccountListResponse.ts | 11 ++++ .../AWSEventBridgeAccountConfiguration.ts | 11 ++++ .../models/AWSEventBridgeCreateRequest.ts | 11 ++++ .../models/AWSEventBridgeCreateResponse.ts | 11 ++++ .../models/AWSEventBridgeDeleteRequest.ts | 11 ++++ .../models/AWSEventBridgeDeleteResponse.ts | 11 ++++ .../models/AWSEventBridgeListResponse.ts | 11 ++++ .../models/AWSEventBridgeSource.ts | 11 ++++ .../models/AWSLogsAsyncError.ts | 11 ++++ .../models/AWSLogsAsyncResponse.ts | 11 ++++ .../models/AWSLogsLambda.ts | 11 ++++ .../models/AWSLogsListResponse.ts | 11 ++++ .../models/AWSLogsListServicesResponse.ts | 11 ++++ .../models/AWSLogsServicesRequest.ts | 11 ++++ .../models/AWSTagFilter.ts | 11 ++++ .../models/AWSTagFilterCreateRequest.ts | 11 ++++ .../models/AWSTagFilterDeleteRequest.ts | 11 ++++ .../models/AWSTagFilterListResponse.ts | 11 ++++ .../models/AddSignalToIncidentRequest.ts | 11 ++++ .../models/AlertGraphWidgetDefinition.ts | 11 ++++ .../models/AlertValueWidgetDefinition.ts | 11 ++++ .../datadog-api-client-v1/models/ApiKey.ts | 11 ++++ .../models/ApiKeyListResponse.ts | 11 ++++ .../models/ApiKeyResponse.ts | 11 ++++ .../models/ApmStatsQueryColumnType.ts | 11 ++++ .../models/ApmStatsQueryDefinition.ts | 11 ++++ .../models/ApplicationKey.ts | 11 ++++ .../models/ApplicationKeyListResponse.ts | 11 ++++ .../models/ApplicationKeyResponse.ts | 11 ++++ .../AuthenticationValidationResponse.ts | 11 ++++ .../models/AzureAccount.ts | 11 ++++ .../models/CancelDowntimesByScopeRequest.ts | 11 ++++ .../models/CanceledDowntimesIds.ts | 11 ++++ .../models/ChangeWidgetDefinition.ts | 11 ++++ .../models/ChangeWidgetRequest.ts | 11 ++++ .../models/CheckCanDeleteMonitorResponse.ts | 11 ++++ .../CheckCanDeleteMonitorResponseData.ts | 11 ++++ .../models/CheckCanDeleteSLOResponse.ts | 11 ++++ .../models/CheckCanDeleteSLOResponseData.ts | 11 ++++ .../models/CheckStatusWidgetDefinition.ts | 11 ++++ .../datadog-api-client-v1/models/Creator.ts | 11 ++++ .../datadog-api-client-v1/models/Dashboard.ts | 11 ++++ .../models/DashboardBulkActionData.ts | 11 ++++ .../models/DashboardBulkDeleteRequest.ts | 11 ++++ .../models/DashboardDeleteResponse.ts | 11 ++++ .../models/DashboardGlobalTime.ts | 11 ++++ .../models/DashboardList.ts | 11 ++++ .../models/DashboardListDeleteResponse.ts | 11 ++++ .../models/DashboardListListResponse.ts | 11 ++++ .../models/DashboardRestoreRequest.ts | 11 ++++ .../models/DashboardSummary.ts | 11 ++++ .../models/DashboardSummaryDefinition.ts | 11 ++++ .../models/DashboardTemplateVariable.ts | 11 ++++ .../models/DashboardTemplateVariablePreset.ts | 11 ++++ .../DashboardTemplateVariablePresetValue.ts | 11 ++++ .../models/DeleteSharedDashboardResponse.ts | 11 ++++ .../models/DeletedMonitor.ts | 11 ++++ .../models/DistributionPointsPayload.ts | 11 ++++ .../models/DistributionPointsSeries.ts | 11 ++++ .../models/DistributionWidgetDefinition.ts | 11 ++++ .../models/DistributionWidgetRequest.ts | 11 ++++ .../models/DistributionWidgetXAxis.ts | 11 ++++ .../models/DistributionWidgetYAxis.ts | 11 ++++ .../datadog-api-client-v1/models/Downtime.ts | 11 ++++ .../models/DowntimeChild.ts | 11 ++++ .../models/DowntimeRecurrence.ts | 11 ++++ .../datadog-api-client-v1/models/Event.ts | 11 ++++ .../models/EventCreateRequest.ts | 11 ++++ .../models/EventCreateResponse.ts | 11 ++++ .../models/EventListResponse.ts | 11 ++++ .../models/EventQueryDefinition.ts | 11 ++++ .../models/EventResponse.ts | 11 ++++ .../models/EventStreamWidgetDefinition.ts | 11 ++++ .../models/EventTimelineWidgetDefinition.ts | 11 ++++ ...nctionApmDependencyStatsQueryDefinition.ts | 11 ++++ ...FunctionApmResourceStatsQueryDefinition.ts | 11 ++++ ...mulaAndFunctionCloudCostQueryDefinition.ts | 11 ++++ .../FormulaAndFunctionEventQueryDefinition.ts | 11 ++++ ...aAndFunctionEventQueryDefinitionCompute.ts | 11 ++++ ...laAndFunctionEventQueryDefinitionSearch.ts | 11 ++++ .../FormulaAndFunctionEventQueryGroupBy.ts | 11 ++++ ...FormulaAndFunctionEventQueryGroupBySort.ts | 11 ++++ ...FormulaAndFunctionMetricQueryDefinition.ts | 11 ++++ ...ormulaAndFunctionProcessQueryDefinition.ts | 11 ++++ .../FormulaAndFunctionSLOQueryDefinition.ts | 11 ++++ .../models/FreeTextWidgetDefinition.ts | 11 ++++ .../models/FunnelQuery.ts | 11 ++++ .../models/FunnelStep.ts | 11 ++++ .../models/FunnelWidgetDefinition.ts | 11 ++++ .../models/FunnelWidgetRequest.ts | 11 ++++ .../models/GCPAccount.ts | 11 ++++ .../models/GeomapWidgetDefinition.ts | 11 ++++ .../models/GeomapWidgetDefinitionStyle.ts | 11 ++++ .../models/GeomapWidgetDefinitionView.ts | 11 ++++ .../models/GeomapWidgetRequest.ts | 11 ++++ .../models/GraphSnapshot.ts | 11 ++++ .../models/GroupWidgetDefinition.ts | 11 ++++ .../models/HTTPLogError.ts | 11 ++++ .../models/HeatMapWidgetDefinition.ts | 11 ++++ .../models/HeatMapWidgetRequest.ts | 11 ++++ packages/datadog-api-client-v1/models/Host.ts | 11 ++++ .../models/HostListResponse.ts | 11 ++++ .../models/HostMapRequest.ts | 11 ++++ .../models/HostMapWidgetDefinition.ts | 11 ++++ .../models/HostMapWidgetDefinitionRequests.ts | 11 ++++ .../models/HostMapWidgetDefinitionStyle.ts | 11 ++++ .../datadog-api-client-v1/models/HostMeta.ts | 11 ++++ .../models/HostMetaInstallMethod.ts | 11 ++++ .../models/HostMetrics.ts | 11 ++++ .../models/HostMuteResponse.ts | 11 ++++ .../models/HostMuteSettings.ts | 11 ++++ .../datadog-api-client-v1/models/HostTags.ts | 11 ++++ .../models/HostTotals.ts | 11 ++++ .../models/HourlyUsageAttributionBody.ts | 11 ++++ .../models/HourlyUsageAttributionMetadata.ts | 11 ++++ .../HourlyUsageAttributionPagination.ts | 11 ++++ .../models/HourlyUsageAttributionResponse.ts | 11 ++++ .../models/IFrameWidgetDefinition.ts | 11 ++++ .../models/IPPrefixesAPI.ts | 11 ++++ .../models/IPPrefixesAPM.ts | 11 ++++ .../models/IPPrefixesAgents.ts | 11 ++++ .../models/IPPrefixesGlobal.ts | 11 ++++ .../models/IPPrefixesLogs.ts | 11 ++++ .../models/IPPrefixesOrchestrator.ts | 11 ++++ .../models/IPPrefixesProcess.ts | 11 ++++ .../models/IPPrefixesRemoteConfiguration.ts | 11 ++++ .../models/IPPrefixesSynthetics.ts | 11 ++++ .../IPPrefixesSyntheticsPrivateLocations.ts | 11 ++++ .../models/IPPrefixesWebhooks.ts | 11 ++++ .../datadog-api-client-v1/models/IPRanges.ts | 11 ++++ .../models/IdpFormData.ts | 11 ++++ .../models/IdpResponse.ts | 11 ++++ .../models/ImageWidgetDefinition.ts | 11 ++++ .../models/IntakePayloadAccepted.ts | 11 ++++ .../models/ListStreamColumn.ts | 11 ++++ .../models/ListStreamComputeItems.ts | 11 ++++ .../models/ListStreamGroupByItems.ts | 11 ++++ .../models/ListStreamQuery.ts | 11 ++++ .../models/ListStreamWidgetDefinition.ts | 11 ++++ .../models/ListStreamWidgetRequest.ts | 11 ++++ packages/datadog-api-client-v1/models/Log.ts | 11 ++++ .../models/LogContent.ts | 11 ++++ .../models/LogQueryDefinition.ts | 11 ++++ .../models/LogQueryDefinitionGroupBy.ts | 11 ++++ .../models/LogQueryDefinitionGroupBySort.ts | 11 ++++ .../models/LogQueryDefinitionSearch.ts | 11 ++++ .../models/LogStreamWidgetDefinition.ts | 11 ++++ .../models/LogsAPIError.ts | 11 ++++ .../models/LogsAPIErrorResponse.ts | 11 ++++ .../models/LogsArithmeticProcessor.ts | 11 ++++ .../models/LogsAttributeRemapper.ts | 11 ++++ .../models/LogsByRetention.ts | 11 ++++ .../models/LogsByRetentionMonthlyUsage.ts | 11 ++++ .../models/LogsByRetentionOrgUsage.ts | 11 ++++ .../models/LogsByRetentionOrgs.ts | 11 ++++ .../models/LogsCategoryProcessor.ts | 11 ++++ .../models/LogsCategoryProcessorCategory.ts | 11 ++++ .../models/LogsDailyLimitReset.ts | 11 ++++ .../models/LogsDateRemapper.ts | 11 ++++ .../models/LogsExclusion.ts | 11 ++++ .../models/LogsExclusionFilter.ts | 11 ++++ .../models/LogsFilter.ts | 11 ++++ .../models/LogsGeoIPParser.ts | 11 ++++ .../models/LogsGrokParser.ts | 11 ++++ .../models/LogsGrokParserRules.ts | 11 ++++ .../datadog-api-client-v1/models/LogsIndex.ts | 11 ++++ .../models/LogsIndexListResponse.ts | 11 ++++ .../models/LogsIndexUpdateRequest.ts | 11 ++++ .../models/LogsIndexesOrder.ts | 11 ++++ .../models/LogsListRequest.ts | 11 ++++ .../models/LogsListRequestTime.ts | 11 ++++ .../models/LogsListResponse.ts | 11 ++++ .../models/LogsLookupProcessor.ts | 11 ++++ .../models/LogsMessageRemapper.ts | 11 ++++ .../models/LogsPipeline.ts | 11 ++++ .../models/LogsPipelineProcessor.ts | 11 ++++ .../models/LogsPipelinesOrder.ts | 11 ++++ .../models/LogsQueryCompute.ts | 11 ++++ .../models/LogsRetentionAggSumUsage.ts | 11 ++++ .../models/LogsRetentionSumUsage.ts | 11 ++++ .../models/LogsServiceRemapper.ts | 11 ++++ .../models/LogsStatusRemapper.ts | 11 ++++ .../models/LogsStringBuilderProcessor.ts | 11 ++++ .../models/LogsTraceRemapper.ts | 11 ++++ .../models/LogsURLParser.ts | 11 ++++ .../models/LogsUserAgentParser.ts | 11 ++++ .../models/MatchingDowntime.ts | 11 ++++ .../models/MetricMetadata.ts | 11 ++++ .../models/MetricSearchResponse.ts | 11 ++++ .../models/MetricSearchResponseResults.ts | 11 ++++ .../models/MetricsListResponse.ts | 11 ++++ .../models/MetricsPayload.ts | 11 ++++ .../models/MetricsQueryMetadata.ts | 11 ++++ .../models/MetricsQueryResponse.ts | 11 ++++ .../models/MetricsQueryUnit.ts | 11 ++++ .../datadog-api-client-v1/models/Monitor.ts | 11 ++++ ...rFormulaAndFunctionEventQueryDefinition.ts | 11 ++++ ...aAndFunctionEventQueryDefinitionCompute.ts | 11 ++++ ...laAndFunctionEventQueryDefinitionSearch.ts | 11 ++++ ...itorFormulaAndFunctionEventQueryGroupBy.ts | 11 ++++ ...FormulaAndFunctionEventQueryGroupBySort.ts | 11 ++++ .../models/MonitorGroupSearchResponse.ts | 11 ++++ .../MonitorGroupSearchResponseCounts.ts | 11 ++++ .../models/MonitorGroupSearchResult.ts | 11 ++++ .../models/MonitorOptions.ts | 11 ++++ .../models/MonitorOptionsAggregation.ts | 11 ++++ .../models/MonitorOptionsCustomSchedule.ts | 11 ++++ .../MonitorOptionsCustomScheduleRecurrence.ts | 11 ++++ .../models/MonitorOptionsSchedulingOptions.ts | 11 ++++ ...ptionsSchedulingOptionsEvaluationWindow.ts | 11 ++++ .../models/MonitorSearchCountItem.ts | 11 ++++ .../models/MonitorSearchResponse.ts | 11 ++++ .../models/MonitorSearchResponseCounts.ts | 11 ++++ .../models/MonitorSearchResponseMetadata.ts | 11 ++++ .../models/MonitorSearchResult.ts | 11 ++++ .../models/MonitorSearchResultNotification.ts | 11 ++++ .../models/MonitorState.ts | 11 ++++ .../models/MonitorStateGroup.ts | 11 ++++ .../models/MonitorSummaryWidgetDefinition.ts | 11 ++++ .../models/MonitorThresholdWindowOptions.ts | 11 ++++ .../models/MonitorThresholds.ts | 11 ++++ .../models/MonitorUpdateRequest.ts | 11 ++++ .../models/MonthlyUsageAttributionBody.ts | 11 ++++ .../models/MonthlyUsageAttributionMetadata.ts | 11 ++++ .../MonthlyUsageAttributionPagination.ts | 11 ++++ .../models/MonthlyUsageAttributionResponse.ts | 11 ++++ .../models/MonthlyUsageAttributionValues.ts | 11 ++++ .../models/NoteWidgetDefinition.ts | 11 ++++ .../models/NotebookAbsoluteTime.ts | 11 ++++ .../models/NotebookAuthor.ts | 11 ++++ .../models/NotebookCellResponse.ts | 11 ++++ .../models/NotebookCellUpdateRequest.ts | 11 ++++ .../models/NotebookCreateData.ts | 11 ++++ .../models/NotebookCreateDataAttributes.ts | 11 ++++ .../models/NotebookCreateRequest.ts | 11 ++++ .../NotebookDistributionCellAttributes.ts | 11 ++++ .../models/NotebookHeatMapCellAttributes.ts | 11 ++++ .../models/NotebookLogStreamCellAttributes.ts | 11 ++++ .../models/NotebookMarkdownCellAttributes.ts | 11 ++++ .../models/NotebookMarkdownCellDefinition.ts | 11 ++++ .../models/NotebookMetadata.ts | 11 ++++ .../models/NotebookRelativeTime.ts | 11 ++++ .../models/NotebookResponse.ts | 11 ++++ .../models/NotebookResponseData.ts | 11 ++++ .../models/NotebookResponseDataAttributes.ts | 11 ++++ .../models/NotebookSplitBy.ts | 11 ++++ .../NotebookTimeseriesCellAttributes.ts | 11 ++++ .../models/NotebookToplistCellAttributes.ts | 11 ++++ .../models/NotebookUpdateData.ts | 11 ++++ .../models/NotebookUpdateDataAttributes.ts | 11 ++++ .../models/NotebookUpdateRequest.ts | 11 ++++ .../models/NotebooksResponse.ts | 11 ++++ .../models/NotebooksResponseData.ts | 11 ++++ .../models/NotebooksResponseDataAttributes.ts | 11 ++++ .../models/NotebooksResponseMeta.ts | 11 ++++ .../models/NotebooksResponsePage.ts | 11 ++++ .../models/ObjectSerializer.ts | 51 ++++++++++++------- .../models/OrgDowngradedResponse.ts | 11 ++++ .../models/Organization.ts | 11 ++++ .../models/OrganizationBilling.ts | 11 ++++ .../models/OrganizationCreateBody.ts | 11 ++++ .../models/OrganizationCreateResponse.ts | 11 ++++ .../models/OrganizationListResponse.ts | 11 ++++ .../models/OrganizationResponse.ts | 11 ++++ .../models/OrganizationSettings.ts | 11 ++++ .../models/OrganizationSettingsSaml.ts | 11 ++++ ...ationSettingsSamlAutocreateUsersDomains.ts | 11 ++++ ...ganizationSettingsSamlIdpInitiatedLogin.ts | 11 ++++ .../OrganizationSettingsSamlStrictMode.ts | 11 ++++ .../models/OrganizationSubscription.ts | 11 ++++ .../models/PagerDutyService.ts | 11 ++++ .../models/PagerDutyServiceKey.ts | 11 ++++ .../models/PagerDutyServiceName.ts | 11 ++++ .../models/Pagination.ts | 11 ++++ .../PowerpackTemplateVariableContents.ts | 11 ++++ .../models/PowerpackTemplateVariables.ts | 11 ++++ .../models/PowerpackWidgetDefinition.ts | 11 ++++ .../models/ProcessQueryDefinition.ts | 11 ++++ .../models/QueryValueWidgetDefinition.ts | 11 ++++ .../models/QueryValueWidgetRequest.ts | 11 ++++ .../ReferenceTableLogsLookupProcessor.ts | 11 ++++ .../models/ResponseMetaAttributes.ts | 11 ++++ .../models/RunWorkflowWidgetDefinition.ts | 11 ++++ .../models/RunWorkflowWidgetInput.ts | 11 ++++ .../models/SLOBulkDeleteError.ts | 11 ++++ .../models/SLOBulkDeleteResponse.ts | 11 ++++ .../models/SLOBulkDeleteResponseData.ts | 11 ++++ .../models/SLOCorrection.ts | 11 ++++ .../models/SLOCorrectionCreateData.ts | 11 ++++ .../models/SLOCorrectionCreateRequest.ts | 11 ++++ .../SLOCorrectionCreateRequestAttributes.ts | 11 ++++ .../models/SLOCorrectionListResponse.ts | 11 ++++ .../models/SLOCorrectionResponse.ts | 11 ++++ .../models/SLOCorrectionResponseAttributes.ts | 11 ++++ ...SLOCorrectionResponseAttributesModifier.ts | 11 ++++ .../models/SLOCorrectionUpdateData.ts | 11 ++++ .../models/SLOCorrectionUpdateRequest.ts | 11 ++++ .../SLOCorrectionUpdateRequestAttributes.ts | 11 ++++ .../models/SLOCreator.ts | 11 ++++ .../models/SLODeleteResponse.ts | 11 ++++ .../models/SLOFormula.ts | 11 ++++ .../models/SLOHistoryMetrics.ts | 11 ++++ .../models/SLOHistoryMetricsSeries.ts | 11 ++++ .../models/SLOHistoryMetricsSeriesMetadata.ts | 11 ++++ .../SLOHistoryMetricsSeriesMetadataUnit.ts | 11 ++++ .../models/SLOHistoryMonitor.ts | 11 ++++ .../models/SLOHistoryResponse.ts | 11 ++++ .../models/SLOHistoryResponseData.ts | 11 ++++ .../models/SLOHistoryResponseError.ts | 11 ++++ .../models/SLOHistoryResponseErrorWithType.ts | 11 ++++ .../models/SLOHistorySLIData.ts | 11 ++++ .../models/SLOListResponse.ts | 11 ++++ .../models/SLOListResponseMetadata.ts | 11 ++++ .../models/SLOListResponseMetadataPage.ts | 11 ++++ .../models/SLOListWidgetDefinition.ts | 11 ++++ .../models/SLOListWidgetQuery.ts | 11 ++++ .../models/SLOListWidgetRequest.ts | 11 ++++ .../models/SLOOverallStatuses.ts | 11 ++++ .../models/SLORawErrorBudgetRemaining.ts | 11 ++++ .../models/SLOResponse.ts | 11 ++++ .../models/SLOResponseData.ts | 11 ++++ .../datadog-api-client-v1/models/SLOStatus.ts | 11 ++++ .../models/SLOThreshold.ts | 11 ++++ .../models/SLOTimeSliceCondition.ts | 11 ++++ .../models/SLOTimeSliceQuery.ts | 11 ++++ .../models/SLOWidgetDefinition.ts | 11 ++++ .../models/ScatterPlotRequest.ts | 11 ++++ .../models/ScatterPlotWidgetDefinition.ts | 11 ++++ .../ScatterPlotWidgetDefinitionRequests.ts | 11 ++++ .../models/ScatterplotTableRequest.ts | 11 ++++ .../models/ScatterplotWidgetFormula.ts | 11 ++++ .../models/SearchSLOQuery.ts | 11 ++++ .../models/SearchSLOResponse.ts | 11 ++++ .../models/SearchSLOResponseData.ts | 11 ++++ .../models/SearchSLOResponseDataAttributes.ts | 11 ++++ .../SearchSLOResponseDataAttributesFacets.ts | 11 ++++ ...LOResponseDataAttributesFacetsObjectInt.ts | 11 ++++ ...esponseDataAttributesFacetsObjectString.ts | 11 ++++ .../models/SearchSLOResponseLinks.ts | 11 ++++ .../models/SearchSLOResponseMeta.ts | 11 ++++ .../models/SearchSLOResponseMetaPage.ts | 11 ++++ .../models/SearchSLOThreshold.ts | 11 ++++ .../models/SearchServiceLevelObjective.ts | 11 ++++ .../SearchServiceLevelObjectiveAttributes.ts | 11 ++++ .../models/SearchServiceLevelObjectiveData.ts | 11 ++++ .../models/SelectableTemplateVariableItems.ts | 11 ++++ .../datadog-api-client-v1/models/Series.ts | 11 ++++ .../models/ServiceCheck.ts | 11 ++++ .../models/ServiceLevelObjective.ts | 11 ++++ .../models/ServiceLevelObjectiveQuery.ts | 11 ++++ .../models/ServiceLevelObjectiveRequest.ts | 11 ++++ .../models/ServiceMapWidgetDefinition.ts | 11 ++++ .../models/ServiceSummaryWidgetDefinition.ts | 11 ++++ .../models/SharedDashboard.ts | 11 ++++ .../models/SharedDashboardAuthor.ts | 11 ++++ .../models/SharedDashboardInvites.ts | 11 ++++ .../SharedDashboardInvitesDataObject.ts | 11 ++++ ...redDashboardInvitesDataObjectAttributes.ts | 11 ++++ .../models/SharedDashboardInvitesMeta.ts | 11 ++++ .../models/SharedDashboardInvitesMetaPage.ts | 11 ++++ .../models/SharedDashboardUpdateRequest.ts | 11 ++++ .../SharedDashboardUpdateRequestGlobalTime.ts | 11 ++++ .../models/SignalAssigneeUpdateRequest.ts | 11 ++++ .../models/SignalStateUpdateRequest.ts | 11 ++++ .../models/SlackIntegrationChannel.ts | 11 ++++ .../models/SlackIntegrationChannelDisplay.ts | 11 ++++ .../models/SplitConfig.ts | 11 ++++ .../models/SplitConfigSortCompute.ts | 11 ++++ .../models/SplitDimension.ts | 11 ++++ .../models/SplitGraphWidgetDefinition.ts | 11 ++++ .../datadog-api-client-v1/models/SplitSort.ts | 11 ++++ .../models/SplitVectorEntryItem.ts | 11 ++++ .../models/SuccessfulSignalUpdateResponse.ts | 11 ++++ .../models/SunburstWidgetDefinition.ts | 11 ++++ .../SunburstWidgetLegendInlineAutomatic.ts | 11 ++++ .../models/SunburstWidgetLegendTable.ts | 11 ++++ .../models/SunburstWidgetRequest.ts | 11 ++++ .../models/SyntheticsAPIStep.ts | 11 ++++ .../models/SyntheticsAPITest.ts | 11 ++++ .../models/SyntheticsAPITestConfig.ts | 11 ++++ .../models/SyntheticsAPITestResultData.ts | 11 ++++ .../models/SyntheticsAPITestResultFull.ts | 11 ++++ .../SyntheticsAPITestResultFullCheck.ts | 11 ++++ .../models/SyntheticsAPITestResultShort.ts | 11 ++++ .../SyntheticsAPITestResultShortResult.ts | 11 ++++ .../models/SyntheticsApiTestResultFailure.ts | 11 ++++ .../SyntheticsAssertionJSONPathTarget.ts | 11 ++++ ...SyntheticsAssertionJSONPathTargetTarget.ts | 11 ++++ .../models/SyntheticsAssertionTarget.ts | 11 ++++ .../models/SyntheticsAssertionXPathTarget.ts | 11 ++++ .../SyntheticsAssertionXPathTargetTarget.ts | 11 ++++ .../models/SyntheticsBasicAuthDigest.ts | 11 ++++ .../models/SyntheticsBasicAuthNTLM.ts | 11 ++++ .../models/SyntheticsBasicAuthOauthClient.ts | 11 ++++ .../models/SyntheticsBasicAuthOauthROP.ts | 11 ++++ .../models/SyntheticsBasicAuthSigv4.ts | 11 ++++ .../models/SyntheticsBasicAuthWeb.ts | 11 ++++ .../models/SyntheticsBatchDetails.ts | 11 ++++ .../models/SyntheticsBatchDetailsData.ts | 11 ++++ .../models/SyntheticsBatchResult.ts | 11 ++++ .../models/SyntheticsBrowserError.ts | 11 ++++ .../models/SyntheticsBrowserTest.ts | 11 ++++ .../models/SyntheticsBrowserTestConfig.ts | 11 ++++ .../models/SyntheticsBrowserTestResultData.ts | 11 ++++ .../SyntheticsBrowserTestResultFailure.ts | 11 ++++ .../models/SyntheticsBrowserTestResultFull.ts | 11 ++++ .../SyntheticsBrowserTestResultFullCheck.ts | 11 ++++ .../SyntheticsBrowserTestResultShort.ts | 11 ++++ .../SyntheticsBrowserTestResultShortResult.ts | 11 ++++ .../SyntheticsBrowserTestRumSettings.ts | 11 ++++ .../models/SyntheticsBrowserVariable.ts | 11 ++++ .../models/SyntheticsCIBatchMetadata.ts | 11 ++++ .../models/SyntheticsCIBatchMetadataCI.ts | 11 ++++ .../models/SyntheticsCIBatchMetadataGit.ts | 11 ++++ .../SyntheticsCIBatchMetadataPipeline.ts | 11 ++++ .../SyntheticsCIBatchMetadataProvider.ts | 11 ++++ .../models/SyntheticsCITest.ts | 11 ++++ .../models/SyntheticsCITestBody.ts | 11 ++++ .../models/SyntheticsConfigVariable.ts | 11 ++++ .../models/SyntheticsCoreWebVitals.ts | 11 ++++ .../models/SyntheticsDeleteTestsPayload.ts | 11 ++++ .../models/SyntheticsDeleteTestsResponse.ts | 11 ++++ .../models/SyntheticsDeletedTest.ts | 11 ++++ .../models/SyntheticsDevice.ts | 11 ++++ ...ntheticsGetAPITestLatestResultsResponse.ts | 11 ++++ ...ticsGetBrowserTestLatestResultsResponse.ts | 11 ++++ .../models/SyntheticsGlobalVariable.ts | 11 ++++ .../SyntheticsGlobalVariableAttributes.ts | 11 ++++ .../models/SyntheticsGlobalVariableOptions.ts | 11 ++++ ...yntheticsGlobalVariableParseTestOptions.ts | 11 ++++ .../SyntheticsGlobalVariableTOTPParameters.ts | 11 ++++ .../models/SyntheticsGlobalVariableValue.ts | 11 ++++ .../SyntheticsListGlobalVariablesResponse.ts | 11 ++++ .../models/SyntheticsListTestsResponse.ts | 11 ++++ .../models/SyntheticsLocation.ts | 11 ++++ .../models/SyntheticsLocations.ts | 11 ++++ .../models/SyntheticsParsingOptions.ts | 11 ++++ .../models/SyntheticsPatchTestBody.ts | 11 ++++ .../models/SyntheticsPatchTestOperation.ts | 11 ++++ .../models/SyntheticsPrivateLocation.ts | 11 ++++ ...ntheticsPrivateLocationCreationResponse.ts | 11 ++++ ...ocationCreationResponseResultEncryption.ts | 11 ++++ .../SyntheticsPrivateLocationMetadata.ts | 11 ++++ .../SyntheticsPrivateLocationSecrets.ts | 11 ++++ ...icsPrivateLocationSecretsAuthentication.ts | 11 ++++ ...sPrivateLocationSecretsConfigDecryption.ts | 11 ++++ .../models/SyntheticsSSLCertificate.ts | 11 ++++ .../models/SyntheticsSSLCertificateIssuer.ts | 11 ++++ .../models/SyntheticsSSLCertificateSubject.ts | 11 ++++ .../models/SyntheticsStep.ts | 11 ++++ .../models/SyntheticsStepDetail.ts | 11 ++++ .../models/SyntheticsStepDetailWarning.ts | 11 ++++ .../models/SyntheticsTestCiOptions.ts | 11 ++++ .../models/SyntheticsTestConfig.ts | 11 ++++ .../models/SyntheticsTestDetails.ts | 11 ++++ .../models/SyntheticsTestOptions.ts | 11 ++++ .../SyntheticsTestOptionsMonitorOptions.ts | 11 ++++ .../models/SyntheticsTestOptionsRetry.ts | 11 ++++ .../models/SyntheticsTestOptionsScheduling.ts | 11 ++++ ...yntheticsTestOptionsSchedulingTimeframe.ts | 11 ++++ .../models/SyntheticsTestRequest.ts | 11 ++++ .../SyntheticsTestRequestCertificate.ts | 11 ++++ .../SyntheticsTestRequestCertificateItem.ts | 11 ++++ .../models/SyntheticsTestRequestProxy.ts | 11 ++++ .../models/SyntheticsTiming.ts | 11 ++++ .../models/SyntheticsTriggerBody.ts | 11 ++++ .../models/SyntheticsTriggerCITestLocation.ts | 11 ++++ .../SyntheticsTriggerCITestRunResult.ts | 11 ++++ .../SyntheticsTriggerCITestsResponse.ts | 11 ++++ .../models/SyntheticsTriggerTest.ts | 11 ++++ .../SyntheticsUpdateTestPauseStatusPayload.ts | 11 ++++ .../models/SyntheticsVariableParser.ts | 11 ++++ .../models/TableWidgetDefinition.ts | 11 ++++ .../models/TableWidgetRequest.ts | 11 ++++ .../models/TagToHosts.ts | 11 ++++ .../models/TimeseriesBackground.ts | 11 ++++ .../models/TimeseriesWidgetDefinition.ts | 11 ++++ .../models/TimeseriesWidgetExpressionAlias.ts | 11 ++++ .../models/TimeseriesWidgetRequest.ts | 11 ++++ .../models/ToplistWidgetDefinition.ts | 11 ++++ .../models/ToplistWidgetFlat.ts | 11 ++++ .../models/ToplistWidgetRequest.ts | 11 ++++ .../models/ToplistWidgetStacked.ts | 11 ++++ .../models/ToplistWidgetStyle.ts | 11 ++++ .../models/TopologyMapWidgetDefinition.ts | 11 ++++ .../models/TopologyQuery.ts | 11 ++++ .../models/TopologyRequest.ts | 11 ++++ .../models/TreeMapWidgetDefinition.ts | 11 ++++ .../models/TreeMapWidgetRequest.ts | 11 ++++ .../models/UsageAnalyzedLogsHour.ts | 11 ++++ .../models/UsageAnalyzedLogsResponse.ts | 11 ++++ .../models/UsageAttributionAggregatesBody.ts | 11 ++++ .../models/UsageAttributionBody.ts | 11 ++++ .../models/UsageAttributionMetadata.ts | 11 ++++ .../models/UsageAttributionPagination.ts | 11 ++++ .../models/UsageAttributionResponse.ts | 11 ++++ .../models/UsageAttributionValues.ts | 11 ++++ .../models/UsageAuditLogsHour.ts | 11 ++++ .../models/UsageAuditLogsResponse.ts | 11 ++++ .../models/UsageBillableSummaryBody.ts | 11 ++++ .../models/UsageBillableSummaryHour.ts | 11 ++++ .../models/UsageBillableSummaryKeys.ts | 11 ++++ .../models/UsageBillableSummaryResponse.ts | 11 ++++ .../models/UsageCIVisibilityHour.ts | 11 ++++ .../models/UsageCIVisibilityResponse.ts | 11 ++++ .../models/UsageCWSHour.ts | 11 ++++ .../models/UsageCWSResponse.ts | 11 ++++ ...UsageCloudSecurityPostureManagementHour.ts | 11 ++++ ...eCloudSecurityPostureManagementResponse.ts | 11 ++++ .../models/UsageCustomReportsAttributes.ts | 11 ++++ .../models/UsageCustomReportsData.ts | 11 ++++ .../models/UsageCustomReportsMeta.ts | 11 ++++ .../models/UsageCustomReportsPage.ts | 11 ++++ .../models/UsageCustomReportsResponse.ts | 11 ++++ .../models/UsageDBMHour.ts | 11 ++++ .../models/UsageDBMResponse.ts | 11 ++++ .../models/UsageFargateHour.ts | 11 ++++ .../models/UsageFargateResponse.ts | 11 ++++ .../models/UsageHostHour.ts | 11 ++++ .../models/UsageHostsResponse.ts | 11 ++++ .../models/UsageIncidentManagementHour.ts | 11 ++++ .../models/UsageIncidentManagementResponse.ts | 11 ++++ .../models/UsageIndexedSpansHour.ts | 11 ++++ .../models/UsageIndexedSpansResponse.ts | 11 ++++ .../models/UsageIngestedSpansHour.ts | 11 ++++ .../models/UsageIngestedSpansResponse.ts | 11 ++++ .../models/UsageIoTHour.ts | 11 ++++ .../models/UsageIoTResponse.ts | 11 ++++ .../models/UsageLambdaHour.ts | 11 ++++ .../models/UsageLambdaResponse.ts | 11 ++++ .../models/UsageLogsByIndexHour.ts | 11 ++++ .../models/UsageLogsByIndexResponse.ts | 11 ++++ .../models/UsageLogsByRetentionHour.ts | 11 ++++ .../models/UsageLogsByRetentionResponse.ts | 11 ++++ .../models/UsageLogsHour.ts | 11 ++++ .../models/UsageLogsResponse.ts | 11 ++++ .../models/UsageNetworkFlowsHour.ts | 11 ++++ .../models/UsageNetworkFlowsResponse.ts | 11 ++++ .../models/UsageNetworkHostsHour.ts | 11 ++++ .../models/UsageNetworkHostsResponse.ts | 11 ++++ .../models/UsageOnlineArchiveHour.ts | 11 ++++ .../models/UsageOnlineArchiveResponse.ts | 11 ++++ .../models/UsageProfilingHour.ts | 11 ++++ .../models/UsageProfilingResponse.ts | 11 ++++ .../models/UsageRumSessionsHour.ts | 11 ++++ .../models/UsageRumSessionsResponse.ts | 11 ++++ .../models/UsageRumUnitsHour.ts | 11 ++++ .../models/UsageRumUnitsResponse.ts | 11 ++++ .../models/UsageSDSHour.ts | 11 ++++ .../models/UsageSDSResponse.ts | 11 ++++ .../models/UsageSNMPHour.ts | 11 ++++ .../models/UsageSNMPResponse.ts | 11 ++++ .../UsageSpecifiedCustomReportsAttributes.ts | 11 ++++ .../models/UsageSpecifiedCustomReportsData.ts | 11 ++++ .../models/UsageSpecifiedCustomReportsMeta.ts | 11 ++++ .../models/UsageSpecifiedCustomReportsPage.ts | 11 ++++ .../UsageSpecifiedCustomReportsResponse.ts | 11 ++++ .../models/UsageSummaryDate.ts | 11 ++++ .../models/UsageSummaryDateOrg.ts | 11 ++++ .../models/UsageSummaryResponse.ts | 11 ++++ .../models/UsageSyntheticsAPIHour.ts | 11 ++++ .../models/UsageSyntheticsAPIResponse.ts | 11 ++++ .../models/UsageSyntheticsBrowserHour.ts | 11 ++++ .../models/UsageSyntheticsBrowserResponse.ts | 11 ++++ .../models/UsageSyntheticsHour.ts | 11 ++++ .../models/UsageSyntheticsResponse.ts | 11 ++++ .../models/UsageTimeseriesHour.ts | 11 ++++ .../models/UsageTimeseriesResponse.ts | 11 ++++ .../models/UsageTopAvgMetricsHour.ts | 11 ++++ .../models/UsageTopAvgMetricsMetadata.ts | 11 ++++ .../models/UsageTopAvgMetricsPagination.ts | 11 ++++ .../models/UsageTopAvgMetricsResponse.ts | 11 ++++ packages/datadog-api-client-v1/models/User.ts | 11 ++++ .../models/UserDisableResponse.ts | 11 ++++ .../models/UserListResponse.ts | 11 ++++ .../models/UserResponse.ts | 11 ++++ .../models/WebhooksIntegration.ts | 11 ++++ .../WebhooksIntegrationCustomVariable.ts | 11 ++++ ...bhooksIntegrationCustomVariableResponse.ts | 11 ++++ ...sIntegrationCustomVariableUpdateRequest.ts | 11 ++++ .../WebhooksIntegrationUpdateRequest.ts | 11 ++++ .../datadog-api-client-v1/models/Widget.ts | 11 ++++ .../models/WidgetAxis.ts | 11 ++++ .../models/WidgetConditionalFormat.ts | 11 ++++ .../models/WidgetCustomLink.ts | 11 ++++ .../models/WidgetEvent.ts | 11 ++++ .../models/WidgetFieldSort.ts | 11 ++++ .../models/WidgetFormula.ts | 11 ++++ .../models/WidgetFormulaLimit.ts | 11 ++++ .../models/WidgetFormulaStyle.ts | 11 ++++ .../models/WidgetLayout.ts | 11 ++++ .../models/WidgetMarker.ts | 11 ++++ .../models/WidgetRequestStyle.ts | 11 ++++ .../models/WidgetStyle.ts | 11 ++++ .../models/WidgetTime.ts | 11 ++++ .../models/APIErrorResponse.ts | 11 ++++ .../models/APIKeyCreateAttributes.ts | 11 ++++ .../models/APIKeyCreateData.ts | 11 ++++ .../models/APIKeyCreateRequest.ts | 11 ++++ .../models/APIKeyRelationships.ts | 11 ++++ .../models/APIKeyResponse.ts | 11 ++++ .../models/APIKeyUpdateAttributes.ts | 11 ++++ .../models/APIKeyUpdateData.ts | 11 ++++ .../models/APIKeyUpdateRequest.ts | 11 ++++ .../models/APIKeysResponse.ts | 11 ++++ .../models/APIKeysResponseMeta.ts | 11 ++++ .../models/APIKeysResponseMetaPage.ts | 11 ++++ .../models/AWSRelatedAccount.ts | 11 ++++ .../models/AWSRelatedAccountAttributes.ts | 11 ++++ .../models/AWSRelatedAccountsResponse.ts | 11 ++++ .../ActiveBillingDimensionsAttributes.ts | 11 ++++ .../models/ActiveBillingDimensionsBody.ts | 11 ++++ .../models/ActiveBillingDimensionsResponse.ts | 11 ++++ .../models/ApplicationKeyCreateAttributes.ts | 11 ++++ .../models/ApplicationKeyCreateData.ts | 11 ++++ .../models/ApplicationKeyCreateRequest.ts | 11 ++++ .../models/ApplicationKeyRelationships.ts | 11 ++++ .../models/ApplicationKeyResponse.ts | 11 ++++ .../models/ApplicationKeyResponseMeta.ts | 11 ++++ .../models/ApplicationKeyResponseMetaPage.ts | 11 ++++ .../models/ApplicationKeyUpdateAttributes.ts | 11 ++++ .../models/ApplicationKeyUpdateData.ts | 11 ++++ .../models/ApplicationKeyUpdateRequest.ts | 11 ++++ .../models/AuditLogsEvent.ts | 11 ++++ .../models/AuditLogsEventAttributes.ts | 11 ++++ .../models/AuditLogsEventsResponse.ts | 11 ++++ .../models/AuditLogsQueryFilter.ts | 11 ++++ .../models/AuditLogsQueryOptions.ts | 11 ++++ .../models/AuditLogsQueryPageOptions.ts | 11 ++++ .../models/AuditLogsResponseLinks.ts | 11 ++++ .../models/AuditLogsResponseMetadata.ts | 11 ++++ .../models/AuditLogsResponsePage.ts | 11 ++++ .../models/AuditLogsSearchEventsRequest.ts | 11 ++++ .../models/AuditLogsWarning.ts | 11 ++++ .../models/AuthNMapping.ts | 11 ++++ .../models/AuthNMappingAttributes.ts | 11 ++++ .../models/AuthNMappingCreateAttributes.ts | 11 ++++ .../models/AuthNMappingCreateData.ts | 11 ++++ .../models/AuthNMappingCreateRelationships.ts | 11 ++++ .../models/AuthNMappingCreateRequest.ts | 11 ++++ .../models/AuthNMappingRelationships.ts | 11 ++++ .../models/AuthNMappingResponse.ts | 11 ++++ .../models/AuthNMappingUpdateAttributes.ts | 11 ++++ .../models/AuthNMappingUpdateData.ts | 11 ++++ .../models/AuthNMappingUpdateRelationships.ts | 11 ++++ .../models/AuthNMappingUpdateRequest.ts | 11 ++++ .../models/AuthNMappingsResponse.ts | 11 ++++ .../models/AwsCURConfig.ts | 11 ++++ .../models/AwsCURConfigAttributes.ts | 11 ++++ .../models/AwsCURConfigPatchData.ts | 11 ++++ .../models/AwsCURConfigPatchRequest.ts | 11 ++++ .../AwsCURConfigPatchRequestAttributes.ts | 11 ++++ .../models/AwsCURConfigPostData.ts | 11 ++++ .../models/AwsCURConfigPostRequest.ts | 11 ++++ .../AwsCURConfigPostRequestAttributes.ts | 11 ++++ .../models/AwsCURConfigResponse.ts | 11 ++++ .../models/AwsCURConfigsResponse.ts | 11 ++++ .../models/AzureUCConfig.ts | 11 ++++ .../models/AzureUCConfigPair.ts | 11 ++++ .../models/AzureUCConfigPairAttributes.ts | 11 ++++ .../models/AzureUCConfigPairsResponse.ts | 11 ++++ .../models/AzureUCConfigPatchData.ts | 11 ++++ .../models/AzureUCConfigPatchRequest.ts | 11 ++++ .../AzureUCConfigPatchRequestAttributes.ts | 11 ++++ .../models/AzureUCConfigPostData.ts | 11 ++++ .../models/AzureUCConfigPostRequest.ts | 11 ++++ .../AzureUCConfigPostRequestAttributes.ts | 11 ++++ .../models/AzureUCConfigsResponse.ts | 11 ++++ .../models/BillConfig.ts | 11 ++++ .../models/BulkMuteFindingsRequest.ts | 11 ++++ .../models/BulkMuteFindingsRequestData.ts | 11 ++++ .../models/BulkMuteFindingsRequestMeta.ts | 11 ++++ .../BulkMuteFindingsRequestMetaFindings.ts | 11 ++++ .../models/BulkMuteFindingsResponse.ts | 11 ++++ .../models/BulkMuteFindingsResponseData.ts | 11 ++++ ...IAppAggregateBucketValueTimeseriesPoint.ts | 11 ++++ .../models/CIAppAggregateSort.ts | 11 ++++ .../models/CIAppCIError.ts | 11 ++++ .../models/CIAppCompute.ts | 11 ++++ .../models/CIAppCreatePipelineEventRequest.ts | 11 ++++ ...AppCreatePipelineEventRequestAttributes.ts | 11 ++++ .../CIAppCreatePipelineEventRequestData.ts | 11 ++++ .../models/CIAppEventAttributes.ts | 11 ++++ .../models/CIAppGitInfo.ts | 11 ++++ .../models/CIAppGroupByHistogram.ts | 11 ++++ .../models/CIAppHostInfo.ts | 11 ++++ .../models/CIAppPipelineEvent.ts | 11 ++++ .../models/CIAppPipelineEventAttributes.ts | 11 ++++ .../models/CIAppPipelineEventJob.ts | 11 ++++ .../CIAppPipelineEventParentPipeline.ts | 11 ++++ .../models/CIAppPipelineEventPipeline.ts | 11 ++++ .../CIAppPipelineEventPreviousPipeline.ts | 11 ++++ .../models/CIAppPipelineEventStage.ts | 11 ++++ .../models/CIAppPipelineEventStep.ts | 11 ++++ .../models/CIAppPipelineEventsRequest.ts | 11 ++++ .../models/CIAppPipelineEventsResponse.ts | 11 ++++ .../models/CIAppPipelinesAggregateRequest.ts | 11 ++++ ...IAppPipelinesAggregationBucketsResponse.ts | 11 ++++ ...IAppPipelinesAnalyticsAggregateResponse.ts | 11 ++++ .../models/CIAppPipelinesBucketResponse.ts | 11 ++++ .../models/CIAppPipelinesGroupBy.ts | 11 ++++ .../models/CIAppPipelinesQueryFilter.ts | 11 ++++ .../models/CIAppQueryOptions.ts | 11 ++++ .../models/CIAppQueryPageOptions.ts | 11 ++++ .../models/CIAppResponseLinks.ts | 11 ++++ .../models/CIAppResponseMetadata.ts | 11 ++++ .../CIAppResponseMetadataWithPagination.ts | 11 ++++ .../models/CIAppResponsePage.ts | 11 ++++ .../models/CIAppTestEvent.ts | 11 ++++ .../models/CIAppTestEventsRequest.ts | 11 ++++ .../models/CIAppTestEventsResponse.ts | 11 ++++ .../models/CIAppTestsAggregateRequest.ts | 11 ++++ .../CIAppTestsAggregationBucketsResponse.ts | 11 ++++ .../CIAppTestsAnalyticsAggregateResponse.ts | 11 ++++ .../models/CIAppTestsBucketResponse.ts | 11 ++++ .../models/CIAppTestsGroupBy.ts | 11 ++++ .../models/CIAppTestsQueryFilter.ts | 11 ++++ .../models/CIAppWarning.ts | 11 ++++ packages/datadog-api-client-v2/models/Case.ts | 11 ++++ .../models/CaseAssign.ts | 11 ++++ .../models/CaseAssignAttributes.ts | 11 ++++ .../models/CaseAssignRequest.ts | 11 ++++ .../models/CaseAttributes.ts | 11 ++++ .../models/CaseCreate.ts | 11 ++++ .../models/CaseCreateAttributes.ts | 11 ++++ .../models/CaseCreateRelationships.ts | 11 ++++ .../models/CaseCreateRequest.ts | 11 ++++ .../datadog-api-client-v2/models/CaseEmpty.ts | 11 ++++ .../models/CaseEmptyRequest.ts | 11 ++++ .../models/CaseRelationships.ts | 11 ++++ .../models/CaseResponse.ts | 11 ++++ .../models/CaseUpdatePriority.ts | 11 ++++ .../models/CaseUpdatePriorityAttributes.ts | 11 ++++ .../models/CaseUpdatePriorityRequest.ts | 11 ++++ .../models/CaseUpdateStatus.ts | 11 ++++ .../models/CaseUpdateStatusAttributes.ts | 11 ++++ .../models/CaseUpdateStatusRequest.ts | 11 ++++ .../models/CasesResponse.ts | 11 ++++ .../models/CasesResponseMeta.ts | 11 ++++ .../models/CasesResponseMetaPagination.ts | 11 ++++ .../models/ChargebackBreakdown.ts | 11 ++++ ...CloudConfigurationComplianceRuleOptions.ts | 11 ++++ .../models/CloudConfigurationRegoRule.ts | 11 ++++ .../CloudConfigurationRuleCaseCreate.ts | 11 ++++ ...onfigurationRuleComplianceSignalOptions.ts | 11 ++++ .../CloudConfigurationRuleCreatePayload.ts | 11 ++++ .../models/CloudConfigurationRuleOptions.ts | 11 ++++ .../models/CloudCostActivity.ts | 11 ++++ .../models/CloudCostActivityAttributes.ts | 11 ++++ .../models/CloudCostActivityResponse.ts | 11 ++++ ...loudWorkloadSecurityAgentRuleAttributes.ts | 11 ++++ ...rkloadSecurityAgentRuleCreateAttributes.ts | 11 ++++ ...loudWorkloadSecurityAgentRuleCreateData.ts | 11 ++++ ...dWorkloadSecurityAgentRuleCreateRequest.ts | 11 ++++ ...kloadSecurityAgentRuleCreatorAttributes.ts | 11 ++++ .../CloudWorkloadSecurityAgentRuleData.ts | 11 ++++ .../CloudWorkloadSecurityAgentRuleResponse.ts | 11 ++++ ...rkloadSecurityAgentRuleUpdateAttributes.ts | 11 ++++ ...loudWorkloadSecurityAgentRuleUpdateData.ts | 11 ++++ ...dWorkloadSecurityAgentRuleUpdateRequest.ts | 11 ++++ ...kloadSecurityAgentRuleUpdaterAttributes.ts | 11 ++++ ...dWorkloadSecurityAgentRulesListResponse.ts | 11 ++++ .../models/CloudflareAccountCreateRequest.ts | 11 ++++ ...loudflareAccountCreateRequestAttributes.ts | 11 ++++ .../CloudflareAccountCreateRequestData.ts | 11 ++++ .../models/CloudflareAccountResponse.ts | 11 ++++ .../CloudflareAccountResponseAttributes.ts | 11 ++++ .../models/CloudflareAccountResponseData.ts | 11 ++++ .../models/CloudflareAccountUpdateRequest.ts | 11 ++++ ...loudflareAccountUpdateRequestAttributes.ts | 11 ++++ .../CloudflareAccountUpdateRequestData.ts | 11 ++++ .../models/CloudflareAccountsResponse.ts | 11 ++++ .../models/ConfluentAccountCreateRequest.ts | 11 ++++ ...ConfluentAccountCreateRequestAttributes.ts | 11 ++++ .../ConfluentAccountCreateRequestData.ts | 11 ++++ .../ConfluentAccountResourceAttributes.ts | 11 ++++ .../models/ConfluentAccountResponse.ts | 11 ++++ .../ConfluentAccountResponseAttributes.ts | 11 ++++ .../models/ConfluentAccountResponseData.ts | 11 ++++ .../models/ConfluentAccountUpdateRequest.ts | 11 ++++ ...ConfluentAccountUpdateRequestAttributes.ts | 11 ++++ .../ConfluentAccountUpdateRequestData.ts | 11 ++++ .../models/ConfluentAccountsResponse.ts | 11 ++++ .../models/ConfluentResourceRequest.ts | 11 ++++ .../ConfluentResourceRequestAttributes.ts | 11 ++++ .../models/ConfluentResourceRequestData.ts | 11 ++++ .../models/ConfluentResourceResponse.ts | 11 ++++ .../ConfluentResourceResponseAttributes.ts | 11 ++++ .../models/ConfluentResourceResponseData.ts | 11 ++++ .../models/ConfluentResourcesResponse.ts | 11 ++++ .../datadog-api-client-v2/models/Container.ts | 11 ++++ .../models/ContainerAttributes.ts | 11 ++++ .../models/ContainerGroup.ts | 11 ++++ .../models/ContainerGroupAttributes.ts | 11 ++++ .../models/ContainerGroupRelationships.ts | 11 ++++ .../models/ContainerGroupRelationshipsLink.ts | 11 ++++ .../ContainerGroupRelationshipsLinks.ts | 11 ++++ .../models/ContainerImage.ts | 11 ++++ .../models/ContainerImageAttributes.ts | 11 ++++ .../models/ContainerImageFlavor.ts | 11 ++++ .../models/ContainerImageGroup.ts | 11 ++++ .../models/ContainerImageGroupAttributes.ts | 11 ++++ ...tainerImageGroupImagesRelationshipsLink.ts | 11 ++++ .../ContainerImageGroupRelationships.ts | 11 ++++ .../ContainerImageGroupRelationshipsLinks.ts | 11 ++++ .../models/ContainerImageMeta.ts | 11 ++++ .../models/ContainerImageMetaPage.ts | 11 ++++ .../models/ContainerImageVulnerabilities.ts | 11 ++++ .../models/ContainerImagesResponse.ts | 11 ++++ .../models/ContainerImagesResponseLinks.ts | 11 ++++ .../models/ContainerMeta.ts | 11 ++++ .../models/ContainerMetaPage.ts | 11 ++++ .../models/ContainersResponse.ts | 11 ++++ .../models/ContainersResponseLinks.ts | 11 ++++ .../models/CostAttributionAggregatesBody.ts | 11 ++++ .../datadog-api-client-v2/models/CostByOrg.ts | 11 ++++ .../models/CostByOrgAttributes.ts | 11 ++++ .../models/CostByOrgResponse.ts | 11 ++++ .../models/CreateOpenAPIResponse.ts | 11 ++++ .../models/CreateOpenAPIResponseAttributes.ts | 11 ++++ .../models/CreateOpenAPIResponseData.ts | 11 ++++ .../models/CreateRuleRequest.ts | 11 ++++ .../models/CreateRuleRequestData.ts | 11 ++++ .../models/CreateRuleResponse.ts | 11 ++++ .../models/CreateRuleResponseData.ts | 11 ++++ .../datadog-api-client-v2/models/Creator.ts | 11 ++++ .../models/DORADeploymentRequest.ts | 11 ++++ .../models/DORADeploymentRequestAttributes.ts | 11 ++++ .../models/DORADeploymentRequestData.ts | 11 ++++ .../models/DORADeploymentResponse.ts | 11 ++++ .../models/DORADeploymentResponseData.ts | 11 ++++ .../models/DORAGitInfo.ts | 11 ++++ .../models/DORAIncidentRequest.ts | 11 ++++ .../models/DORAIncidentRequestAttributes.ts | 11 ++++ .../models/DORAIncidentRequestData.ts | 11 ++++ .../models/DORAIncidentResponse.ts | 11 ++++ .../models/DORAIncidentResponseData.ts | 11 ++++ .../models/DashboardListAddItemsRequest.ts | 11 ++++ .../models/DashboardListAddItemsResponse.ts | 11 ++++ .../models/DashboardListDeleteItemsRequest.ts | 11 ++++ .../DashboardListDeleteItemsResponse.ts | 11 ++++ .../models/DashboardListItem.ts | 11 ++++ .../models/DashboardListItemRequest.ts | 11 ++++ .../models/DashboardListItemResponse.ts | 11 ++++ .../models/DashboardListItems.ts | 11 ++++ .../models/DashboardListUpdateItemsRequest.ts | 11 ++++ .../DashboardListUpdateItemsResponse.ts | 11 ++++ .../models/DataScalarColumn.ts | 11 ++++ .../models/DetailedFinding.ts | 11 ++++ .../models/DetailedFindingAttributes.ts | 11 ++++ .../models/DowntimeCreateRequest.ts | 11 ++++ .../models/DowntimeCreateRequestAttributes.ts | 11 ++++ .../models/DowntimeCreateRequestData.ts | 11 ++++ .../models/DowntimeMeta.ts | 11 ++++ .../models/DowntimeMetaPage.ts | 11 ++++ .../models/DowntimeMonitorIdentifierId.ts | 11 ++++ .../models/DowntimeMonitorIdentifierTags.ts | 11 ++++ .../DowntimeMonitorIncludedAttributes.ts | 11 ++++ .../models/DowntimeMonitorIncludedItem.ts | 11 ++++ .../models/DowntimeRelationships.ts | 11 ++++ .../models/DowntimeRelationshipsCreatedBy.ts | 11 ++++ .../DowntimeRelationshipsCreatedByData.ts | 11 ++++ .../models/DowntimeRelationshipsMonitor.ts | 11 ++++ .../DowntimeRelationshipsMonitorData.ts | 11 ++++ .../models/DowntimeResponse.ts | 11 ++++ .../models/DowntimeResponseAttributes.ts | 11 ++++ .../models/DowntimeResponseData.ts | 11 ++++ ...DowntimeScheduleCurrentDowntimeResponse.ts | 11 ++++ ...ntimeScheduleOneTimeCreateUpdateRequest.ts | 11 ++++ .../models/DowntimeScheduleOneTimeResponse.ts | 11 ++++ ...meScheduleRecurrenceCreateUpdateRequest.ts | 11 ++++ .../DowntimeScheduleRecurrenceResponse.ts | 11 ++++ ...owntimeScheduleRecurrencesCreateRequest.ts | 11 ++++ .../DowntimeScheduleRecurrencesResponse.ts | 11 ++++ ...owntimeScheduleRecurrencesUpdateRequest.ts | 11 ++++ .../models/DowntimeUpdateRequest.ts | 11 ++++ .../models/DowntimeUpdateRequestAttributes.ts | 11 ++++ .../models/DowntimeUpdateRequestData.ts | 11 ++++ .../datadog-api-client-v2/models/Event.ts | 11 ++++ .../models/EventAttributes.ts | 11 ++++ .../models/EventResponse.ts | 11 ++++ .../models/EventResponseAttributes.ts | 11 ++++ .../models/EventsCompute.ts | 11 ++++ .../models/EventsGroupBy.ts | 11 ++++ .../models/EventsGroupBySort.ts | 11 ++++ .../models/EventsListRequest.ts | 11 ++++ .../models/EventsListResponse.ts | 11 ++++ .../models/EventsListResponseLinks.ts | 11 ++++ .../models/EventsQueryFilter.ts | 11 ++++ .../models/EventsQueryOptions.ts | 11 ++++ .../models/EventsRequestPage.ts | 11 ++++ .../models/EventsResponseMetadata.ts | 11 ++++ .../models/EventsResponseMetadataPage.ts | 11 ++++ .../models/EventsScalarQuery.ts | 11 ++++ .../models/EventsSearch.ts | 11 ++++ .../models/EventsTimeseriesQuery.ts | 11 ++++ .../models/EventsWarning.ts | 11 ++++ .../models/FastlyAccounResponseAttributes.ts | 11 ++++ .../models/FastlyAccountCreateRequest.ts | 11 ++++ .../FastlyAccountCreateRequestAttributes.ts | 11 ++++ .../models/FastlyAccountCreateRequestData.ts | 11 ++++ .../models/FastlyAccountResponse.ts | 11 ++++ .../models/FastlyAccountResponseData.ts | 11 ++++ .../models/FastlyAccountUpdateRequest.ts | 11 ++++ .../FastlyAccountUpdateRequestAttributes.ts | 11 ++++ .../models/FastlyAccountUpdateRequestData.ts | 11 ++++ .../models/FastlyAccountsResponse.ts | 11 ++++ .../models/FastlyService.ts | 11 ++++ .../models/FastlyServiceAttributes.ts | 11 ++++ .../models/FastlyServiceData.ts | 11 ++++ .../models/FastlyServiceRequest.ts | 11 ++++ .../models/FastlyServiceResponse.ts | 11 ++++ .../models/FastlyServicesResponse.ts | 11 ++++ .../datadog-api-client-v2/models/Finding.ts | 11 ++++ .../models/FindingAttributes.ts | 11 ++++ .../models/FormulaLimit.ts | 11 ++++ .../models/FullAPIKey.ts | 11 ++++ .../models/FullAPIKeyAttributes.ts | 11 ++++ .../models/FullApplicationKey.ts | 11 ++++ .../models/FullApplicationKeyAttributes.ts | 11 ++++ .../models/GCPSTSDelegateAccount.ts | 11 ++++ .../models/GCPSTSDelegateAccountAttributes.ts | 11 ++++ .../models/GCPSTSDelegateAccountResponse.ts | 11 ++++ .../models/GCPSTSServiceAccount.ts | 11 ++++ .../models/GCPSTSServiceAccountAttributes.ts | 11 ++++ .../GCPSTSServiceAccountCreateRequest.ts | 11 ++++ .../models/GCPSTSServiceAccountData.ts | 11 ++++ .../models/GCPSTSServiceAccountResponse.ts | 11 ++++ .../GCPSTSServiceAccountUpdateRequest.ts | 11 ++++ .../GCPSTSServiceAccountUpdateRequestData.ts | 11 ++++ .../models/GCPSTSServiceAccountsResponse.ts | 11 ++++ .../models/GCPServiceAccountMeta.ts | 11 ++++ .../models/GetFindingResponse.ts | 11 ++++ .../models/GroupScalarColumn.ts | 11 ++++ .../models/HTTPCIAppError.ts | 11 ++++ .../models/HTTPCIAppErrors.ts | 11 ++++ .../models/HTTPLogError.ts | 11 ++++ .../models/HTTPLogErrors.ts | 11 ++++ .../models/HourlyUsage.ts | 11 ++++ .../models/HourlyUsageAttributes.ts | 11 ++++ .../models/HourlyUsageMeasurement.ts | 11 ++++ .../models/HourlyUsageMetadata.ts | 11 ++++ .../models/HourlyUsagePagination.ts | 11 ++++ .../models/HourlyUsageResponse.ts | 11 ++++ .../models/IPAllowlistAttributes.ts | 11 ++++ .../models/IPAllowlistData.ts | 11 ++++ .../models/IPAllowlistEntry.ts | 11 ++++ .../models/IPAllowlistEntryAttributes.ts | 11 ++++ .../models/IPAllowlistEntryData.ts | 11 ++++ .../models/IPAllowlistResponse.ts | 11 ++++ .../models/IPAllowlistUpdateRequest.ts | 11 ++++ .../models/IdPMetadataFormData.ts | 11 ++++ .../models/IncidentAttachmentData.ts | 11 ++++ .../IncidentAttachmentLinkAttributes.ts | 11 ++++ ...ttachmentLinkAttributesAttachmentObject.ts | 11 ++++ .../IncidentAttachmentPostmortemAttributes.ts | 11 ++++ .../models/IncidentAttachmentRelationships.ts | 11 ++++ .../models/IncidentAttachmentUpdateData.ts | 11 ++++ .../models/IncidentAttachmentUpdateRequest.ts | 11 ++++ .../IncidentAttachmentUpdateResponse.ts | 11 ++++ ...ntsPostmortemAttributesAttachmentObject.ts | 11 ++++ .../models/IncidentAttachmentsResponse.ts | 11 ++++ .../models/IncidentCreateAttributes.ts | 11 ++++ .../models/IncidentCreateData.ts | 11 ++++ .../models/IncidentCreateRelationships.ts | 11 ++++ .../models/IncidentCreateRequest.ts | 11 ++++ .../IncidentFieldAttributesMultipleValue.ts | 11 ++++ .../IncidentFieldAttributesSingleValue.ts | 11 ++++ .../IncidentIntegrationMetadataAttributes.ts | 11 ++++ .../IncidentIntegrationMetadataCreateData.ts | 11 ++++ ...ncidentIntegrationMetadataCreateRequest.ts | 11 ++++ ...IncidentIntegrationMetadataListResponse.ts | 11 ++++ .../IncidentIntegrationMetadataPatchData.ts | 11 ++++ ...IncidentIntegrationMetadataPatchRequest.ts | 11 ++++ .../IncidentIntegrationMetadataResponse.ts | 11 ++++ ...IncidentIntegrationMetadataResponseData.ts | 11 ++++ .../IncidentIntegrationRelationships.ts | 11 ++++ .../models/IncidentNonDatadogCreator.ts | 11 ++++ .../models/IncidentNotificationHandle.ts | 11 ++++ .../models/IncidentResponse.ts | 11 ++++ .../models/IncidentResponseAttributes.ts | 11 ++++ .../models/IncidentResponseData.ts | 11 ++++ .../models/IncidentResponseMeta.ts | 11 ++++ .../models/IncidentResponseMetaPagination.ts | 11 ++++ .../models/IncidentResponseRelationships.ts | 11 ++++ .../models/IncidentSearchResponse.ts | 11 ++++ .../IncidentSearchResponseAttributes.ts | 11 ++++ .../models/IncidentSearchResponseData.ts | 11 ++++ .../IncidentSearchResponseFacetsData.ts | 11 ++++ .../IncidentSearchResponseFieldFacetData.ts | 11 ++++ .../IncidentSearchResponseIncidentsData.ts | 11 ++++ .../models/IncidentSearchResponseMeta.ts | 11 ++++ .../IncidentSearchResponseNumericFacetData.ts | 11 ++++ ...earchResponseNumericFacetDataAggregates.ts | 11 ++++ ...entSearchResponsePropertyFieldFacetData.ts | 11 ++++ .../IncidentSearchResponseUserFacetData.ts | 11 ++++ .../models/IncidentServiceCreateAttributes.ts | 11 ++++ .../models/IncidentServiceCreateData.ts | 11 ++++ .../models/IncidentServiceCreateRequest.ts | 11 ++++ .../models/IncidentServiceRelationships.ts | 11 ++++ .../models/IncidentServiceResponse.ts | 11 ++++ .../IncidentServiceResponseAttributes.ts | 11 ++++ .../models/IncidentServiceResponseData.ts | 11 ++++ .../models/IncidentServiceUpdateAttributes.ts | 11 ++++ .../models/IncidentServiceUpdateData.ts | 11 ++++ .../models/IncidentServiceUpdateRequest.ts | 11 ++++ .../models/IncidentServicesResponse.ts | 11 ++++ .../models/IncidentTeamCreateAttributes.ts | 11 ++++ .../models/IncidentTeamCreateData.ts | 11 ++++ .../models/IncidentTeamCreateRequest.ts | 11 ++++ .../models/IncidentTeamRelationships.ts | 11 ++++ .../models/IncidentTeamResponse.ts | 11 ++++ .../models/IncidentTeamResponseAttributes.ts | 11 ++++ .../models/IncidentTeamResponseData.ts | 11 ++++ .../models/IncidentTeamUpdateAttributes.ts | 11 ++++ .../models/IncidentTeamUpdateData.ts | 11 ++++ .../models/IncidentTeamUpdateRequest.ts | 11 ++++ .../models/IncidentTeamsResponse.ts | 11 ++++ ...entTimelineCellMarkdownCreateAttributes.ts | 11 ++++ ...lineCellMarkdownCreateAttributesContent.ts | 11 ++++ .../models/IncidentTodoAnonymousAssignee.ts | 11 ++++ .../models/IncidentTodoAttributes.ts | 11 ++++ .../models/IncidentTodoCreateData.ts | 11 ++++ .../models/IncidentTodoCreateRequest.ts | 11 ++++ .../models/IncidentTodoListResponse.ts | 11 ++++ .../models/IncidentTodoPatchData.ts | 11 ++++ .../models/IncidentTodoPatchRequest.ts | 11 ++++ .../models/IncidentTodoRelationships.ts | 11 ++++ .../models/IncidentTodoResponse.ts | 11 ++++ .../models/IncidentTodoResponseData.ts | 11 ++++ .../models/IncidentUpdateAttributes.ts | 11 ++++ .../models/IncidentUpdateData.ts | 11 ++++ .../models/IncidentUpdateRelationships.ts | 11 ++++ .../models/IncidentUpdateRequest.ts | 11 ++++ .../models/IncidentsResponse.ts | 11 ++++ .../models/IntakePayloadAccepted.ts | 11 ++++ .../models/JSONAPIErrorItem.ts | 11 ++++ .../models/JSONAPIErrorResponse.ts | 11 ++++ .../models/JiraIntegrationMetadata.ts | 11 ++++ .../JiraIntegrationMetadataIssuesItem.ts | 11 ++++ .../datadog-api-client-v2/models/JiraIssue.ts | 11 ++++ .../models/JiraIssueResult.ts | 11 ++++ .../models/ListApplicationKeysResponse.ts | 11 ++++ .../models/ListDowntimesResponse.ts | 11 ++++ .../models/ListFindingsResponse.ts | 11 ++++ .../models/ListPowerpacksResponse.ts | 11 ++++ .../models/ListRulesResponse.ts | 11 ++++ .../models/ListRulesResponseDataItem.ts | 11 ++++ .../models/ListRulesResponseLinks.ts | 11 ++++ packages/datadog-api-client-v2/models/Log.ts | 11 ++++ .../models/LogAttributes.ts | 11 ++++ .../models/LogsAggregateBucket.ts | 11 ++++ ...LogsAggregateBucketValueTimeseriesPoint.ts | 11 ++++ .../models/LogsAggregateRequest.ts | 11 ++++ .../models/LogsAggregateRequestPage.ts | 11 ++++ .../models/LogsAggregateResponse.ts | 11 ++++ .../models/LogsAggregateResponseData.ts | 11 ++++ .../models/LogsAggregateSort.ts | 11 ++++ .../models/LogsArchive.ts | 11 ++++ .../models/LogsArchiveAttributes.ts | 11 ++++ .../models/LogsArchiveCreateRequest.ts | 11 ++++ .../LogsArchiveCreateRequestAttributes.ts | 11 ++++ .../LogsArchiveCreateRequestDefinition.ts | 11 ++++ .../models/LogsArchiveDefinition.ts | 11 ++++ .../models/LogsArchiveDestinationAzure.ts | 11 ++++ .../models/LogsArchiveDestinationGCS.ts | 11 ++++ .../models/LogsArchiveDestinationS3.ts | 11 ++++ .../models/LogsArchiveIntegrationAzure.ts | 11 ++++ .../models/LogsArchiveIntegrationGCS.ts | 11 ++++ .../models/LogsArchiveIntegrationS3.ts | 11 ++++ .../models/LogsArchiveOrder.ts | 11 ++++ .../models/LogsArchiveOrderAttributes.ts | 11 ++++ .../models/LogsArchiveOrderDefinition.ts | 11 ++++ .../models/LogsArchives.ts | 11 ++++ .../models/LogsCompute.ts | 11 ++++ .../models/LogsGroupBy.ts | 11 ++++ .../models/LogsGroupByHistogram.ts | 11 ++++ .../models/LogsListRequest.ts | 11 ++++ .../models/LogsListRequestPage.ts | 11 ++++ .../models/LogsListResponse.ts | 11 ++++ .../models/LogsListResponseLinks.ts | 11 ++++ .../models/LogsMetricCompute.ts | 11 ++++ .../models/LogsMetricCreateAttributes.ts | 11 ++++ .../models/LogsMetricCreateData.ts | 11 ++++ .../models/LogsMetricCreateRequest.ts | 11 ++++ .../models/LogsMetricFilter.ts | 11 ++++ .../models/LogsMetricGroupBy.ts | 11 ++++ .../models/LogsMetricResponse.ts | 11 ++++ .../models/LogsMetricResponseAttributes.ts | 11 ++++ .../models/LogsMetricResponseCompute.ts | 11 ++++ .../models/LogsMetricResponseData.ts | 11 ++++ .../models/LogsMetricResponseFilter.ts | 11 ++++ .../models/LogsMetricResponseGroupBy.ts | 11 ++++ .../models/LogsMetricUpdateAttributes.ts | 11 ++++ .../models/LogsMetricUpdateCompute.ts | 11 ++++ .../models/LogsMetricUpdateData.ts | 11 ++++ .../models/LogsMetricUpdateRequest.ts | 11 ++++ .../models/LogsMetricsResponse.ts | 11 ++++ .../models/LogsQueryFilter.ts | 11 ++++ .../models/LogsQueryOptions.ts | 11 ++++ .../models/LogsResponseMetadata.ts | 11 ++++ .../models/LogsResponseMetadataPage.ts | 11 ++++ .../models/LogsWarning.ts | 11 ++++ .../datadog-api-client-v2/models/Metric.ts | 11 ++++ .../models/MetricAllTags.ts | 11 ++++ .../models/MetricAllTagsAttributes.ts | 11 ++++ .../models/MetricAllTagsResponse.ts | 11 ++++ .../models/MetricBulkTagConfigCreate.ts | 11 ++++ .../MetricBulkTagConfigCreateAttributes.ts | 11 ++++ .../MetricBulkTagConfigCreateRequest.ts | 11 ++++ .../models/MetricBulkTagConfigDelete.ts | 11 ++++ .../MetricBulkTagConfigDeleteAttributes.ts | 11 ++++ .../MetricBulkTagConfigDeleteRequest.ts | 11 ++++ .../models/MetricBulkTagConfigResponse.ts | 11 ++++ .../models/MetricBulkTagConfigStatus.ts | 11 ++++ .../MetricBulkTagConfigStatusAttributes.ts | 11 ++++ .../models/MetricCustomAggregation.ts | 11 ++++ .../models/MetricDistinctVolume.ts | 11 ++++ .../models/MetricDistinctVolumeAttributes.ts | 11 ++++ .../models/MetricEstimate.ts | 11 ++++ .../models/MetricEstimateAttributes.ts | 11 ++++ .../models/MetricEstimateResponse.ts | 11 ++++ .../models/MetricIngestedIndexedVolume.ts | 11 ++++ .../MetricIngestedIndexedVolumeAttributes.ts | 11 ++++ .../models/MetricMetadata.ts | 11 ++++ .../models/MetricOrigin.ts | 11 ++++ .../models/MetricPayload.ts | 11 ++++ .../models/MetricPoint.ts | 11 ++++ .../models/MetricResource.ts | 11 ++++ .../models/MetricSeries.ts | 11 ++++ .../MetricSuggestedTagsAndAggregations.ts | 11 ++++ ...ricSuggestedTagsAndAggregationsResponse.ts | 11 ++++ .../models/MetricSuggestedTagsAttributes.ts | 11 ++++ .../models/MetricTagConfiguration.ts | 11 ++++ .../MetricTagConfigurationAttributes.ts | 11 ++++ .../MetricTagConfigurationCreateAttributes.ts | 11 ++++ .../MetricTagConfigurationCreateData.ts | 11 ++++ .../MetricTagConfigurationCreateRequest.ts | 11 ++++ .../models/MetricTagConfigurationResponse.ts | 11 ++++ .../MetricTagConfigurationUpdateAttributes.ts | 11 ++++ .../MetricTagConfigurationUpdateData.ts | 11 ++++ .../MetricTagConfigurationUpdateRequest.ts | 11 ++++ .../models/MetricVolumesResponse.ts | 11 ++++ ...tricsAndMetricTagConfigurationsResponse.ts | 11 ++++ .../models/MetricsScalarQuery.ts | 11 ++++ .../models/MetricsTimeseriesQuery.ts | 11 ++++ ...nitorConfigPolicyAttributeCreateRequest.ts | 11 ++++ ...MonitorConfigPolicyAttributeEditRequest.ts | 11 ++++ .../MonitorConfigPolicyAttributeResponse.ts | 11 ++++ .../models/MonitorConfigPolicyCreateData.ts | 11 ++++ .../MonitorConfigPolicyCreateRequest.ts | 11 ++++ .../models/MonitorConfigPolicyEditData.ts | 11 ++++ .../models/MonitorConfigPolicyEditRequest.ts | 11 ++++ .../models/MonitorConfigPolicyListResponse.ts | 11 ++++ .../models/MonitorConfigPolicyResponse.ts | 11 ++++ .../models/MonitorConfigPolicyResponseData.ts | 11 ++++ .../models/MonitorConfigPolicyTagPolicy.ts | 11 ++++ ...nitorConfigPolicyTagPolicyCreateRequest.ts | 11 ++++ .../models/MonitorDowntimeMatchResponse.ts | 11 ++++ .../MonitorDowntimeMatchResponseAttributes.ts | 11 ++++ .../MonitorDowntimeMatchResponseData.ts | 11 ++++ .../models/MonitorType.ts | 11 ++++ .../MonthlyCostAttributionAttributes.ts | 11 ++++ .../models/MonthlyCostAttributionBody.ts | 11 ++++ .../models/MonthlyCostAttributionMeta.ts | 11 ++++ .../MonthlyCostAttributionPagination.ts | 11 ++++ .../models/MonthlyCostAttributionResponse.ts | 11 ++++ .../models/NullableRelationshipToUser.ts | 11 ++++ .../models/NullableRelationshipToUserData.ts | 11 ++++ .../models/NullableUserRelationship.ts | 11 ++++ .../models/NullableUserRelationshipData.ts | 11 ++++ .../models/ObjectSerializer.ts | 51 ++++++++++++------- .../models/OktaAccount.ts | 11 ++++ .../models/OktaAccountAttributes.ts | 11 ++++ .../models/OktaAccountRequest.ts | 11 ++++ .../models/OktaAccountResponse.ts | 11 ++++ .../models/OktaAccountResponseData.ts | 11 ++++ .../models/OktaAccountUpdateRequest.ts | 11 ++++ .../OktaAccountUpdateRequestAttributes.ts | 11 ++++ .../models/OktaAccountUpdateRequestData.ts | 11 ++++ .../models/OktaAccountsResponse.ts | 11 ++++ .../models/OnDemandConcurrencyCap.ts | 11 ++++ .../OnDemandConcurrencyCapAttributes.ts | 11 ++++ .../models/OnDemandConcurrencyCapResponse.ts | 11 ++++ .../models/OpenAPIEndpoint.ts | 11 ++++ .../models/OpenAPIFile.ts | 11 ++++ .../models/OpsgenieServiceCreateAttributes.ts | 11 ++++ .../models/OpsgenieServiceCreateData.ts | 11 ++++ .../models/OpsgenieServiceCreateRequest.ts | 11 ++++ .../models/OpsgenieServiceResponse.ts | 11 ++++ .../OpsgenieServiceResponseAttributes.ts | 11 ++++ .../models/OpsgenieServiceResponseData.ts | 11 ++++ .../models/OpsgenieServiceUpdateAttributes.ts | 11 ++++ .../models/OpsgenieServiceUpdateData.ts | 11 ++++ .../models/OpsgenieServiceUpdateRequest.ts | 11 ++++ .../models/OpsgenieServicesResponse.ts | 11 ++++ .../models/Organization.ts | 11 ++++ .../models/OrganizationAttributes.ts | 11 ++++ .../models/OutcomesBatchAttributes.ts | 11 ++++ .../models/OutcomesBatchRequest.ts | 11 ++++ .../models/OutcomesBatchRequestData.ts | 11 ++++ .../models/OutcomesBatchRequestItem.ts | 11 ++++ .../models/OutcomesBatchResponse.ts | 11 ++++ .../models/OutcomesBatchResponseAttributes.ts | 11 ++++ .../models/OutcomesBatchResponseMeta.ts | 11 ++++ .../models/OutcomesResponse.ts | 11 ++++ .../models/OutcomesResponseDataItem.ts | 11 ++++ .../models/OutcomesResponseIncludedItem.ts | 11 ++++ .../OutcomesResponseIncludedRuleAttributes.ts | 11 ++++ .../models/OutcomesResponseLinks.ts | 11 ++++ .../models/Pagination.ts | 11 ++++ .../models/PartialAPIKey.ts | 11 ++++ .../models/PartialAPIKeyAttributes.ts | 11 ++++ .../models/PartialApplicationKey.ts | 11 ++++ .../models/PartialApplicationKeyAttributes.ts | 11 ++++ .../models/PartialApplicationKeyResponse.ts | 11 ++++ .../models/Permission.ts | 11 ++++ .../models/PermissionAttributes.ts | 11 ++++ .../models/PermissionsResponse.ts | 11 ++++ .../datadog-api-client-v2/models/Powerpack.ts | 11 ++++ .../models/PowerpackAttributes.ts | 11 ++++ .../models/PowerpackData.ts | 11 ++++ .../models/PowerpackGroupWidget.ts | 11 ++++ .../models/PowerpackGroupWidgetDefinition.ts | 11 ++++ .../models/PowerpackGroupWidgetLayout.ts | 11 ++++ .../models/PowerpackInnerWidgetLayout.ts | 11 ++++ .../models/PowerpackInnerWidgets.ts | 11 ++++ .../models/PowerpackRelationships.ts | 11 ++++ .../models/PowerpackResponse.ts | 11 ++++ .../models/PowerpackResponseLinks.ts | 11 ++++ .../models/PowerpackTemplateVariable.ts | 11 ++++ .../models/PowerpacksResponseMeta.ts | 11 ++++ .../PowerpacksResponseMetaPagination.ts | 11 ++++ .../models/ProcessSummariesMeta.ts | 11 ++++ .../models/ProcessSummariesMetaPage.ts | 11 ++++ .../models/ProcessSummariesResponse.ts | 11 ++++ .../models/ProcessSummary.ts | 11 ++++ .../models/ProcessSummaryAttributes.ts | 11 ++++ .../datadog-api-client-v2/models/Project.ts | 11 ++++ .../models/ProjectAttributes.ts | 11 ++++ .../models/ProjectCreate.ts | 11 ++++ .../models/ProjectCreateAttributes.ts | 11 ++++ .../models/ProjectCreateRequest.ts | 11 ++++ .../models/ProjectRelationship.ts | 11 ++++ .../models/ProjectRelationshipData.ts | 11 ++++ .../models/ProjectRelationships.ts | 11 ++++ .../models/ProjectResponse.ts | 11 ++++ .../models/ProjectedCost.ts | 11 ++++ .../models/ProjectedCostAttributes.ts | 11 ++++ .../models/ProjectedCostResponse.ts | 11 ++++ .../models/ProjectsResponse.ts | 11 ++++ .../models/QueryFormula.ts | 11 ++++ .../RUMAggregateBucketValueTimeseriesPoint.ts | 11 ++++ .../models/RUMAggregateRequest.ts | 11 ++++ .../models/RUMAggregateSort.ts | 11 ++++ .../models/RUMAggregationBucketsResponse.ts | 11 ++++ .../models/RUMAnalyticsAggregateResponse.ts | 11 ++++ .../models/RUMApplication.ts | 11 ++++ .../models/RUMApplicationAttributes.ts | 11 ++++ .../models/RUMApplicationCreate.ts | 11 ++++ .../models/RUMApplicationCreateAttributes.ts | 11 ++++ .../models/RUMApplicationCreateRequest.ts | 11 ++++ .../models/RUMApplicationList.ts | 11 ++++ .../models/RUMApplicationListAttributes.ts | 11 ++++ .../models/RUMApplicationResponse.ts | 11 ++++ .../models/RUMApplicationUpdate.ts | 11 ++++ .../models/RUMApplicationUpdateAttributes.ts | 11 ++++ .../models/RUMApplicationUpdateRequest.ts | 11 ++++ .../models/RUMApplicationsResponse.ts | 11 ++++ .../models/RUMBucketResponse.ts | 11 ++++ .../models/RUMCompute.ts | 11 ++++ .../datadog-api-client-v2/models/RUMEvent.ts | 11 ++++ .../models/RUMEventAttributes.ts | 11 ++++ .../models/RUMEventsResponse.ts | 11 ++++ .../models/RUMGroupBy.ts | 11 ++++ .../models/RUMGroupByHistogram.ts | 11 ++++ .../models/RUMQueryFilter.ts | 11 ++++ .../models/RUMQueryOptions.ts | 11 ++++ .../models/RUMQueryPageOptions.ts | 11 ++++ .../models/RUMResponseLinks.ts | 11 ++++ .../models/RUMResponseMetadata.ts | 11 ++++ .../models/RUMResponsePage.ts | 11 ++++ .../models/RUMSearchEventsRequest.ts | 11 ++++ .../models/RUMWarning.ts | 11 ++++ .../RelationshipToIncidentAttachment.ts | 11 ++++ .../RelationshipToIncidentAttachmentData.ts | 11 ++++ .../RelationshipToIncidentImpactData.ts | 11 ++++ .../models/RelationshipToIncidentImpacts.ts | 11 ++++ ...onshipToIncidentIntegrationMetadataData.ts | 11 ++++ ...ationshipToIncidentIntegrationMetadatas.ts | 11 ++++ .../RelationshipToIncidentPostmortem.ts | 11 ++++ .../RelationshipToIncidentPostmortemData.ts | 11 ++++ .../RelationshipToIncidentResponderData.ts | 11 ++++ .../RelationshipToIncidentResponders.ts | 11 ++++ ...ationshipToIncidentUserDefinedFieldData.ts | 11 ++++ ...RelationshipToIncidentUserDefinedFields.ts | 11 ++++ .../models/RelationshipToOrganization.ts | 11 ++++ .../models/RelationshipToOrganizationData.ts | 11 ++++ .../models/RelationshipToOrganizations.ts | 11 ++++ .../models/RelationshipToOutcome.ts | 11 ++++ .../models/RelationshipToOutcomeData.ts | 11 ++++ .../models/RelationshipToPermission.ts | 11 ++++ .../models/RelationshipToPermissionData.ts | 11 ++++ .../models/RelationshipToPermissions.ts | 11 ++++ .../models/RelationshipToRole.ts | 11 ++++ .../models/RelationshipToRoleData.ts | 11 ++++ .../models/RelationshipToRoles.ts | 11 ++++ .../models/RelationshipToRule.ts | 11 ++++ .../models/RelationshipToRuleData.ts | 11 ++++ .../models/RelationshipToRuleDataObject.ts | 11 ++++ .../RelationshipToSAMLAssertionAttribute.ts | 11 ++++ ...elationshipToSAMLAssertionAttributeData.ts | 11 ++++ .../models/RelationshipToTeamLinkData.ts | 11 ++++ .../models/RelationshipToTeamLinks.ts | 11 ++++ .../models/RelationshipToUser.ts | 11 ++++ .../models/RelationshipToUserData.ts | 11 ++++ .../RelationshipToUserTeamPermission.ts | 11 ++++ .../RelationshipToUserTeamPermissionData.ts | 11 ++++ .../models/RelationshipToUserTeamTeam.ts | 11 ++++ .../models/RelationshipToUserTeamTeamData.ts | 11 ++++ .../models/RelationshipToUserTeamUser.ts | 11 ++++ .../models/RelationshipToUserTeamUserData.ts | 11 ++++ .../models/RelationshipToUsers.ts | 11 ++++ .../models/ReorderRetentionFiltersRequest.ts | 11 ++++ .../models/ResponseMetaAttributes.ts | 11 ++++ .../models/RestrictionPolicy.ts | 11 ++++ .../models/RestrictionPolicyAttributes.ts | 11 ++++ .../models/RestrictionPolicyBinding.ts | 11 ++++ .../models/RestrictionPolicyResponse.ts | 11 ++++ .../models/RestrictionPolicyUpdateRequest.ts | 11 ++++ .../models/RetentionFilter.ts | 11 ++++ .../models/RetentionFilterAll.ts | 11 ++++ .../models/RetentionFilterAllAttributes.ts | 11 ++++ .../models/RetentionFilterAttributes.ts | 11 ++++ .../models/RetentionFilterCreateAttributes.ts | 11 ++++ .../models/RetentionFilterCreateData.ts | 11 ++++ .../models/RetentionFilterCreateRequest.ts | 11 ++++ .../models/RetentionFilterResponse.ts | 11 ++++ .../models/RetentionFilterUpdateData.ts | 11 ++++ .../models/RetentionFilterUpdateRequest.ts | 11 ++++ .../RetentionFilterWithoutAttributes.ts | 11 ++++ .../models/RetentionFiltersResponse.ts | 11 ++++ packages/datadog-api-client-v2/models/Role.ts | 11 ++++ .../models/RoleAttributes.ts | 11 ++++ .../datadog-api-client-v2/models/RoleClone.ts | 11 ++++ .../models/RoleCloneAttributes.ts | 11 ++++ .../models/RoleCloneRequest.ts | 11 ++++ .../models/RoleCreateAttributes.ts | 11 ++++ .../models/RoleCreateData.ts | 11 ++++ .../models/RoleCreateRequest.ts | 11 ++++ .../models/RoleCreateResponse.ts | 11 ++++ .../models/RoleCreateResponseData.ts | 11 ++++ .../models/RoleRelationships.ts | 11 ++++ .../models/RoleResponse.ts | 11 ++++ .../models/RoleResponseRelationships.ts | 11 ++++ .../models/RoleUpdateAttributes.ts | 11 ++++ .../models/RoleUpdateData.ts | 11 ++++ .../models/RoleUpdateRequest.ts | 11 ++++ .../models/RoleUpdateResponse.ts | 11 ++++ .../models/RoleUpdateResponseData.ts | 11 ++++ .../models/RolesResponse.ts | 11 ++++ .../models/RuleAttributes.ts | 11 ++++ .../models/RuleOutcomeRelationships.ts | 11 ++++ .../models/SAMLAssertionAttribute.ts | 11 ++++ .../SAMLAssertionAttributeAttributes.ts | 11 ++++ .../models/ScalarFormulaQueryRequest.ts | 11 ++++ .../models/ScalarFormulaQueryResponse.ts | 11 ++++ .../models/ScalarFormulaRequest.ts | 11 ++++ .../models/ScalarFormulaRequestAttributes.ts | 11 ++++ .../models/ScalarFormulaResponseAtrributes.ts | 11 ++++ .../models/ScalarMeta.ts | 11 ++++ .../models/ScalarResponse.ts | 11 ++++ .../models/SecurityFilter.ts | 11 ++++ .../models/SecurityFilterAttributes.ts | 11 ++++ .../models/SecurityFilterCreateAttributes.ts | 11 ++++ .../models/SecurityFilterCreateData.ts | 11 ++++ .../models/SecurityFilterCreateRequest.ts | 11 ++++ .../models/SecurityFilterExclusionFilter.ts | 11 ++++ .../SecurityFilterExclusionFilterResponse.ts | 11 ++++ .../models/SecurityFilterMeta.ts | 11 ++++ .../models/SecurityFilterResponse.ts | 11 ++++ .../models/SecurityFilterUpdateAttributes.ts | 11 ++++ .../models/SecurityFilterUpdateData.ts | 11 ++++ .../models/SecurityFilterUpdateRequest.ts | 11 ++++ .../models/SecurityFiltersResponse.ts | 11 ++++ .../models/SecurityMonitoringFilter.ts | 11 ++++ .../SecurityMonitoringListRulesResponse.ts | 11 ++++ .../models/SecurityMonitoringRuleCase.ts | 11 ++++ .../SecurityMonitoringRuleCaseCreate.ts | 11 ++++ ...tyMonitoringRuleImpossibleTravelOptions.ts | 11 ++++ .../SecurityMonitoringRuleNewValueOptions.ts | 11 ++++ .../models/SecurityMonitoringRuleOptions.ts | 11 ++++ ...SecurityMonitoringRuleThirdPartyOptions.ts | 11 ++++ .../SecurityMonitoringRuleUpdatePayload.ts | 11 ++++ .../models/SecurityMonitoringSignal.ts | 11 ++++ ...onitoringSignalAssigneeUpdateAttributes.ts | 11 ++++ ...urityMonitoringSignalAssigneeUpdateData.ts | 11 ++++ ...tyMonitoringSignalAssigneeUpdateRequest.ts | 11 ++++ .../SecurityMonitoringSignalAttributes.ts | 11 ++++ ...nitoringSignalIncidentsUpdateAttributes.ts | 11 ++++ ...rityMonitoringSignalIncidentsUpdateData.ts | 11 ++++ ...yMonitoringSignalIncidentsUpdateRequest.ts | 11 ++++ .../SecurityMonitoringSignalListRequest.ts | 11 ++++ ...curityMonitoringSignalListRequestFilter.ts | 11 ++++ ...SecurityMonitoringSignalListRequestPage.ts | 11 ++++ .../SecurityMonitoringSignalResponse.ts | 11 ++++ ...curityMonitoringSignalRuleCreatePayload.ts | 11 ++++ .../SecurityMonitoringSignalRuleQuery.ts | 11 ++++ .../SecurityMonitoringSignalRuleResponse.ts | 11 ++++ ...curityMonitoringSignalRuleResponseQuery.ts | 11 ++++ ...tyMonitoringSignalStateUpdateAttributes.ts | 11 ++++ ...SecurityMonitoringSignalStateUpdateData.ts | 11 ++++ ...urityMonitoringSignalStateUpdateRequest.ts | 11 ++++ ...ecurityMonitoringSignalTriageAttributes.ts | 11 ++++ ...ecurityMonitoringSignalTriageUpdateData.ts | 11 ++++ ...ityMonitoringSignalTriageUpdateResponse.ts | 11 ++++ .../SecurityMonitoringSignalsListResponse.ts | 11 ++++ ...urityMonitoringSignalsListResponseLinks.ts | 11 ++++ ...curityMonitoringSignalsListResponseMeta.ts | 11 ++++ ...tyMonitoringSignalsListResponseMetaPage.ts | 11 ++++ ...rityMonitoringStandardRuleCreatePayload.ts | 11 ++++ .../SecurityMonitoringStandardRuleQuery.ts | 11 ++++ .../SecurityMonitoringStandardRuleResponse.ts | 11 ++++ .../models/SecurityMonitoringSuppression.ts | 11 ++++ ...SecurityMonitoringSuppressionAttributes.ts | 11 ++++ ...tyMonitoringSuppressionCreateAttributes.ts | 11 ++++ ...SecurityMonitoringSuppressionCreateData.ts | 11 ++++ ...urityMonitoringSuppressionCreateRequest.ts | 11 ++++ .../SecurityMonitoringSuppressionResponse.ts | 11 ++++ ...tyMonitoringSuppressionUpdateAttributes.ts | 11 ++++ ...SecurityMonitoringSuppressionUpdateData.ts | 11 ++++ ...urityMonitoringSuppressionUpdateRequest.ts | 11 ++++ .../SecurityMonitoringSuppressionsResponse.ts | 11 ++++ .../SecurityMonitoringThirdPartyRootQuery.ts | 11 ++++ .../SecurityMonitoringThirdPartyRuleCase.ts | 11 ++++ ...urityMonitoringThirdPartyRuleCaseCreate.ts | 11 ++++ .../models/SecurityMonitoringTriageUser.ts | 11 ++++ .../models/SecurityMonitoringUser.ts | 11 ++++ .../SensitiveDataScannerConfigRequest.ts | 11 ++++ .../SensitiveDataScannerConfiguration.ts | 11 ++++ .../SensitiveDataScannerConfigurationData.ts | 11 ++++ ...veDataScannerConfigurationRelationships.ts | 11 ++++ ...SensitiveDataScannerCreateGroupResponse.ts | 11 ++++ .../SensitiveDataScannerCreateRuleResponse.ts | 11 ++++ .../models/SensitiveDataScannerFilter.ts | 11 ++++ .../SensitiveDataScannerGetConfigResponse.ts | 11 ++++ ...nsitiveDataScannerGetConfigResponseData.ts | 11 ++++ .../models/SensitiveDataScannerGroup.ts | 11 ++++ .../SensitiveDataScannerGroupAttributes.ts | 11 ++++ .../models/SensitiveDataScannerGroupCreate.ts | 11 ++++ .../SensitiveDataScannerGroupCreateRequest.ts | 11 ++++ .../models/SensitiveDataScannerGroupData.ts | 11 ++++ .../SensitiveDataScannerGroupDeleteRequest.ts | 11 ++++ ...SensitiveDataScannerGroupDeleteResponse.ts | 11 ++++ .../SensitiveDataScannerGroupIncludedItem.ts | 11 ++++ .../models/SensitiveDataScannerGroupItem.ts | 11 ++++ .../models/SensitiveDataScannerGroupList.ts | 11 ++++ .../SensitiveDataScannerGroupRelationships.ts | 11 ++++ .../SensitiveDataScannerGroupResponse.ts | 11 ++++ .../models/SensitiveDataScannerGroupUpdate.ts | 11 ++++ .../SensitiveDataScannerGroupUpdateRequest.ts | 11 ++++ ...SensitiveDataScannerGroupUpdateResponse.ts | 11 ++++ ...DataScannerIncludedKeywordConfiguration.ts | 11 ++++ .../models/SensitiveDataScannerMeta.ts | 11 ++++ .../SensitiveDataScannerMetaVersionOnly.ts | 11 ++++ .../SensitiveDataScannerReorderConfig.ts | 11 ++++ ...nsitiveDataScannerReorderGroupsResponse.ts | 11 ++++ .../models/SensitiveDataScannerRule.ts | 11 ++++ .../SensitiveDataScannerRuleAttributes.ts | 11 ++++ .../models/SensitiveDataScannerRuleCreate.ts | 11 ++++ .../SensitiveDataScannerRuleCreateRequest.ts | 11 ++++ .../models/SensitiveDataScannerRuleData.ts | 11 ++++ .../SensitiveDataScannerRuleDeleteRequest.ts | 11 ++++ .../SensitiveDataScannerRuleDeleteResponse.ts | 11 ++++ .../SensitiveDataScannerRuleIncludedItem.ts | 11 ++++ .../SensitiveDataScannerRuleRelationships.ts | 11 ++++ .../SensitiveDataScannerRuleResponse.ts | 11 ++++ .../models/SensitiveDataScannerRuleUpdate.ts | 11 ++++ .../SensitiveDataScannerRuleUpdateRequest.ts | 11 ++++ .../SensitiveDataScannerRuleUpdateResponse.ts | 11 ++++ .../SensitiveDataScannerStandardPattern.ts | 11 ++++ ...iveDataScannerStandardPatternAttributes.ts | 11 ++++ ...SensitiveDataScannerStandardPatternData.ts | 11 ++++ ...DataScannerStandardPatternsResponseData.ts | 11 ++++ ...DataScannerStandardPatternsResponseItem.ts | 11 ++++ .../SensitiveDataScannerTextReplacement.ts | 11 ++++ .../models/ServiceAccountCreateAttributes.ts | 11 ++++ .../models/ServiceAccountCreateData.ts | 11 ++++ .../models/ServiceAccountCreateRequest.ts | 11 ++++ .../models/ServiceDefinitionCreateResponse.ts | 11 ++++ .../models/ServiceDefinitionData.ts | 11 ++++ .../models/ServiceDefinitionDataAttributes.ts | 11 ++++ .../models/ServiceDefinitionGetResponse.ts | 11 ++++ .../models/ServiceDefinitionMeta.ts | 11 ++++ .../models/ServiceDefinitionMetaWarnings.ts | 11 ++++ .../models/ServiceDefinitionV1.ts | 11 ++++ .../models/ServiceDefinitionV1Contact.ts | 11 ++++ .../models/ServiceDefinitionV1Info.ts | 11 ++++ .../models/ServiceDefinitionV1Integrations.ts | 11 ++++ .../models/ServiceDefinitionV1Org.ts | 11 ++++ .../models/ServiceDefinitionV1Resource.ts | 11 ++++ .../models/ServiceDefinitionV2.ts | 11 ++++ .../models/ServiceDefinitionV2Doc.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1Email.ts | 11 ++++ .../ServiceDefinitionV2Dot1Integrations.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1Link.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1MSTeams.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1Opsgenie.ts | 11 ++++ .../ServiceDefinitionV2Dot1Pagerduty.ts | 11 ++++ .../models/ServiceDefinitionV2Dot1Slack.ts | 11 ++++ .../models/ServiceDefinitionV2Dot2.ts | 11 ++++ .../models/ServiceDefinitionV2Dot2Contact.ts | 11 ++++ .../ServiceDefinitionV2Dot2Integrations.ts | 11 ++++ .../models/ServiceDefinitionV2Dot2Link.ts | 11 ++++ .../models/ServiceDefinitionV2Dot2Opsgenie.ts | 11 ++++ .../ServiceDefinitionV2Dot2Pagerduty.ts | 11 ++++ .../models/ServiceDefinitionV2Email.ts | 11 ++++ .../models/ServiceDefinitionV2Integrations.ts | 11 ++++ .../models/ServiceDefinitionV2Link.ts | 11 ++++ .../models/ServiceDefinitionV2MSTeams.ts | 11 ++++ .../models/ServiceDefinitionV2Opsgenie.ts | 11 ++++ .../models/ServiceDefinitionV2Repo.ts | 11 ++++ .../models/ServiceDefinitionV2Slack.ts | 11 ++++ .../models/ServiceDefinitionsListResponse.ts | 11 ++++ .../models/ServiceNowTicket.ts | 11 ++++ .../models/ServiceNowTicketResult.ts | 11 ++++ .../models/SlackIntegrationMetadata.ts | 11 ++++ .../SlackIntegrationMetadataChannelItem.ts | 11 ++++ packages/datadog-api-client-v2/models/Span.ts | 11 ++++ .../models/SpansAggregateBucket.ts | 11 ++++ .../models/SpansAggregateBucketAttributes.ts | 11 ++++ ...pansAggregateBucketValueTimeseriesPoint.ts | 11 ++++ .../models/SpansAggregateData.ts | 11 ++++ .../models/SpansAggregateRequest.ts | 11 ++++ .../models/SpansAggregateRequestAttributes.ts | 11 ++++ .../models/SpansAggregateResponse.ts | 11 ++++ .../models/SpansAggregateResponseMetadata.ts | 11 ++++ .../models/SpansAggregateSort.ts | 11 ++++ .../models/SpansAttributes.ts | 11 ++++ .../models/SpansCompute.ts | 11 ++++ .../models/SpansFilter.ts | 11 ++++ .../models/SpansFilterCreate.ts | 11 ++++ .../models/SpansGroupBy.ts | 11 ++++ .../models/SpansGroupByHistogram.ts | 11 ++++ .../models/SpansListRequest.ts | 11 ++++ .../models/SpansListRequestAttributes.ts | 11 ++++ .../models/SpansListRequestData.ts | 11 ++++ .../models/SpansListRequestPage.ts | 11 ++++ .../models/SpansListResponse.ts | 11 ++++ .../models/SpansListResponseLinks.ts | 11 ++++ .../models/SpansListResponseMetadata.ts | 11 ++++ .../models/SpansMetricCompute.ts | 11 ++++ .../models/SpansMetricCreateAttributes.ts | 11 ++++ .../models/SpansMetricCreateData.ts | 11 ++++ .../models/SpansMetricCreateRequest.ts | 11 ++++ .../models/SpansMetricFilter.ts | 11 ++++ .../models/SpansMetricGroupBy.ts | 11 ++++ .../models/SpansMetricResponse.ts | 11 ++++ .../models/SpansMetricResponseAttributes.ts | 11 ++++ .../models/SpansMetricResponseCompute.ts | 11 ++++ .../models/SpansMetricResponseData.ts | 11 ++++ .../models/SpansMetricResponseFilter.ts | 11 ++++ .../models/SpansMetricResponseGroupBy.ts | 11 ++++ .../models/SpansMetricUpdateAttributes.ts | 11 ++++ .../models/SpansMetricUpdateCompute.ts | 11 ++++ .../models/SpansMetricUpdateData.ts | 11 ++++ .../models/SpansMetricUpdateRequest.ts | 11 ++++ .../models/SpansMetricsResponse.ts | 11 ++++ .../models/SpansQueryFilter.ts | 11 ++++ .../models/SpansQueryOptions.ts | 11 ++++ .../models/SpansResponseMetadataPage.ts | 11 ++++ .../models/SpansWarning.ts | 11 ++++ packages/datadog-api-client-v2/models/Team.ts | 11 ++++ .../models/TeamAttributes.ts | 11 ++++ .../models/TeamCreate.ts | 11 ++++ .../models/TeamCreateAttributes.ts | 11 ++++ .../models/TeamCreateRelationships.ts | 11 ++++ .../models/TeamCreateRequest.ts | 11 ++++ .../datadog-api-client-v2/models/TeamLink.ts | 11 ++++ .../models/TeamLinkAttributes.ts | 11 ++++ .../models/TeamLinkCreate.ts | 11 ++++ .../models/TeamLinkCreateRequest.ts | 11 ++++ .../models/TeamLinkResponse.ts | 11 ++++ .../models/TeamLinksResponse.ts | 11 ++++ .../models/TeamPermissionSetting.ts | 11 ++++ .../models/TeamPermissionSettingAttributes.ts | 11 ++++ .../models/TeamPermissionSettingResponse.ts | 11 ++++ .../models/TeamPermissionSettingUpdate.ts | 11 ++++ .../TeamPermissionSettingUpdateAttributes.ts | 11 ++++ .../TeamPermissionSettingUpdateRequest.ts | 11 ++++ .../models/TeamPermissionSettingsResponse.ts | 11 ++++ .../models/TeamRelationships.ts | 11 ++++ .../models/TeamRelationshipsLinks.ts | 11 ++++ .../models/TeamResponse.ts | 11 ++++ .../models/TeamUpdate.ts | 11 ++++ .../models/TeamUpdateAttributes.ts | 11 ++++ .../models/TeamUpdateRelationships.ts | 11 ++++ .../models/TeamUpdateRequest.ts | 11 ++++ .../models/TeamsResponse.ts | 11 ++++ .../models/TeamsResponseLinks.ts | 11 ++++ .../models/TeamsResponseMeta.ts | 11 ++++ .../models/TeamsResponseMetaPagination.ts | 11 ++++ .../models/TimeseriesFormulaQueryRequest.ts | 11 ++++ .../models/TimeseriesFormulaQueryResponse.ts | 11 ++++ .../models/TimeseriesFormulaRequest.ts | 11 ++++ .../TimeseriesFormulaRequestAttributes.ts | 11 ++++ .../models/TimeseriesResponse.ts | 11 ++++ .../models/TimeseriesResponseAttributes.ts | 11 ++++ .../models/TimeseriesResponseSeries.ts | 11 ++++ packages/datadog-api-client-v2/models/Unit.ts | 11 ++++ .../models/UpdateOpenAPIResponse.ts | 11 ++++ .../models/UpdateOpenAPIResponseAttributes.ts | 11 ++++ .../models/UpdateOpenAPIResponseData.ts | 11 ++++ ...geApplicationSecurityMonitoringResponse.ts | 11 ++++ .../models/UsageAttributesObject.ts | 11 ++++ .../models/UsageDataObject.ts | 11 ++++ .../UsageLambdaTracedInvocationsResponse.ts | 11 ++++ .../UsageObservabilityPipelinesResponse.ts | 11 ++++ .../models/UsageTimeSeriesObject.ts | 11 ++++ packages/datadog-api-client-v2/models/User.ts | 11 ++++ .../models/UserAttributes.ts | 11 ++++ .../models/UserCreateAttributes.ts | 11 ++++ .../models/UserCreateData.ts | 11 ++++ .../models/UserCreateRequest.ts | 11 ++++ .../models/UserInvitationData.ts | 11 ++++ .../models/UserInvitationDataAttributes.ts | 11 ++++ .../models/UserInvitationRelationships.ts | 11 ++++ .../models/UserInvitationResponse.ts | 11 ++++ .../models/UserInvitationResponseData.ts | 11 ++++ .../models/UserInvitationsRequest.ts | 11 ++++ .../models/UserInvitationsResponse.ts | 11 ++++ .../models/UserRelationshipData.ts | 11 ++++ .../models/UserRelationships.ts | 11 ++++ .../models/UserResponse.ts | 11 ++++ .../models/UserResponseRelationships.ts | 11 ++++ .../datadog-api-client-v2/models/UserTeam.ts | 11 ++++ .../models/UserTeamAttributes.ts | 11 ++++ .../models/UserTeamCreate.ts | 11 ++++ .../models/UserTeamPermission.ts | 11 ++++ .../models/UserTeamPermissionAttributes.ts | 11 ++++ .../models/UserTeamRelationships.ts | 11 ++++ .../models/UserTeamRequest.ts | 11 ++++ .../models/UserTeamResponse.ts | 11 ++++ .../models/UserTeamUpdate.ts | 11 ++++ .../models/UserTeamUpdateRequest.ts | 11 ++++ .../models/UserTeamsResponse.ts | 11 ++++ .../models/UserUpdateAttributes.ts | 11 ++++ .../models/UserUpdateData.ts | 11 ++++ .../models/UserUpdateRequest.ts | 11 ++++ .../models/UsersRelationship.ts | 11 ++++ .../models/UsersResponse.ts | 11 ++++ 1660 files changed, 18315 insertions(+), 53 deletions(-) diff --git a/.generator/src/generator/openapi.py b/.generator/src/generator/openapi.py index ce2ef0d8dc64..d95d4105a09c 100644 --- a/.generator/src/generator/openapi.py +++ b/.generator/src/generator/openapi.py @@ -55,6 +55,8 @@ def form_parameter(operation): def type_to_typescript(schema, alternative_name=None, check_nullable=True): """Return Typescript type name for the type.""" + if schema is True or schema is {}: + return "any" name = get_name(schema) if name and "items" not in schema and not is_primitive(schema): if "enum" in schema: diff --git a/.generator/src/generator/templates/model/ObjectSerializer.j2 b/.generator/src/generator/templates/model/ObjectSerializer.j2 index 6a900831b808..77ad4ea08cf7 100644 --- a/.generator/src/generator/templates/model/ObjectSerializer.j2 +++ b/.generator/src/generator/templates/model/ObjectSerializer.j2 @@ -127,22 +127,43 @@ export class ObjectSerializer { const attributesMap = typeMap[type].getAttributeTypeMap(); const instance: {[index: string]: any} = {}; - for (const attributeName in attributesMap) { + for (const attributeName in data) { const attributeObj = attributesMap[attributeName]; - if (attributeName == "additionalProperties") { - if (data.additionalProperties) { - for (const key in data.additionalProperties) { - instance[key] = ObjectSerializer.serialize( - data.additionalProperties[key], - attributeObj.type, - attributeObj.format - ); - } - } + if ( + attributeName === "_unparsed" || + attributeName === "additionalProperties" + ) { continue; + } else if ( + attributeObj === undefined && + !("additionalProperties" in attributesMap) + ) { + throw new Error( + "unexpected attribute " + attributeName + " of type " + type + ); + } else if (attributeObj) { + instance[attributeObj.baseName] = ObjectSerializer.serialize( + data[attributeName], + attributeObj.type, + attributeObj.format + ); } - instance[attributeObj.baseName] = ObjectSerializer.serialize(data[attributeName], attributeObj.type, attributeObj.format); - // check for required properties + } + + let additionalProperties = attributesMap["additionalProperties"] + if (additionalProperties && data.additionalProperties) { + for (const key in data.additionalProperties) { + instance[key] = ObjectSerializer.serialize( + data.additionalProperties[key], + additionalProperties.type, + additionalProperties.format + ); + } + } + + // check for required properties + for (const attributeName in attributesMap) { + const attributeObj = attributesMap[attributeName]; if (attributeObj?.required && instance[attributeObj.baseName] === undefined) { throw new Error(`missing required property '${attributeObj.baseName}'`); } diff --git a/.generator/src/generator/templates/model/model.j2 b/.generator/src/generator/templates/model/model.j2 index baed8b019ed3..5dc92dad4f8e 100644 --- a/.generator/src/generator/templates/model/model.j2 +++ b/.generator/src/generator/templates/model/model.j2 @@ -33,14 +33,14 @@ export class {{ name }} { {%- endif %} "{{ attr|attribute_name }}"{%- if not isRequired %}?{%- endif %}: {{ type_to_typescript(schema) }}{%- if isRequired and isNullable %}|null{%- endif %}; {%- endfor %} -{%- if model.get("additionalProperties") %} +{%- if model.additionalProperties is not false %} /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ - "additionalProperties"?: { [key: string]: {{ type_to_typescript(model["additionalProperties"]) }} }; + "additionalProperties"?: { [key: string]: {{ type_to_typescript(model.get("additionalProperties", {})) }} }; {%- endif %} /** @@ -65,13 +65,13 @@ export class {{ name }} { {%- if format %} "format": "{{ format }}", {%- endif %} - }{%- if loop.nextitem or model.get("additionalProperties") %},{%- endif %} + }{%- if loop.nextitem or model.additionalProperties is not false %},{%- endif %} {%- endfor %} - {%- if model.get("additionalProperties") %} - {%- set format = get_format_for_schema(model["additionalProperties"]) %} + {%- if model.additionalProperties is not false %} + {%- set format = get_format_for_schema(model.get("additionalProperties", {})) %} "additionalProperties": { "baseName": "additionalProperties", - "type": "{{ type_to_typescript(model["additionalProperties"], check_nullable=False) }}", + "type": "{{ type_to_typescript(model.get("additionalProperties", {}), check_nullable=False) }}", {%- if format %} "format": "{{ format }}", {%- endif %} diff --git a/packages/datadog-api-client-v1/models/APIErrorResponse.ts b/packages/datadog-api-client-v1/models/APIErrorResponse.ts index d25131d0ccbb..454ecfbad648 100644 --- a/packages/datadog-api-client-v1/models/APIErrorResponse.ts +++ b/packages/datadog-api-client-v1/models/APIErrorResponse.ts @@ -15,6 +15,13 @@ export class APIErrorResponse { */ "errors": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class APIErrorResponse { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSAccount.ts b/packages/datadog-api-client-v1/models/AWSAccount.ts index 2fb67b7fb2c6..f03618a2e85f 100644 --- a/packages/datadog-api-client-v1/models/AWSAccount.ts +++ b/packages/datadog-api-client-v1/models/AWSAccount.ts @@ -64,6 +64,13 @@ export class AWSAccount { */ "secretAccessKey"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -117,6 +124,10 @@ export class AWSAccount { baseName: "secret_access_key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSAccountAndLambdaRequest.ts b/packages/datadog-api-client-v1/models/AWSAccountAndLambdaRequest.ts index f7ab4947eb39..f7d70d0abf2e 100644 --- a/packages/datadog-api-client-v1/models/AWSAccountAndLambdaRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSAccountAndLambdaRequest.ts @@ -19,6 +19,13 @@ export class AWSAccountAndLambdaRequest { */ "lambdaArn": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class AWSAccountAndLambdaRequest { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSAccountCreateResponse.ts b/packages/datadog-api-client-v1/models/AWSAccountCreateResponse.ts index 53678753b3c5..13f2e820ae0d 100644 --- a/packages/datadog-api-client-v1/models/AWSAccountCreateResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSAccountCreateResponse.ts @@ -15,6 +15,13 @@ export class AWSAccountCreateResponse { */ "externalId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class AWSAccountCreateResponse { baseName: "external_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSAccountDeleteRequest.ts b/packages/datadog-api-client-v1/models/AWSAccountDeleteRequest.ts index 171d1d57b935..7e923a472220 100644 --- a/packages/datadog-api-client-v1/models/AWSAccountDeleteRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSAccountDeleteRequest.ts @@ -23,6 +23,13 @@ export class AWSAccountDeleteRequest { */ "roleName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class AWSAccountDeleteRequest { baseName: "role_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSAccountListResponse.ts b/packages/datadog-api-client-v1/models/AWSAccountListResponse.ts index 8e55831322b6..cb6f5af2c6a2 100644 --- a/packages/datadog-api-client-v1/models/AWSAccountListResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSAccountListResponse.ts @@ -16,6 +16,13 @@ export class AWSAccountListResponse { */ "accounts"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AWSAccountListResponse { baseName: "accounts", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeAccountConfiguration.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeAccountConfiguration.ts index 8b931178f246..42056cad3cdb 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeAccountConfiguration.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeAccountConfiguration.ts @@ -25,6 +25,13 @@ export class AWSEventBridgeAccountConfiguration { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class AWSEventBridgeAccountConfiguration { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeCreateRequest.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeCreateRequest.ts index 22697abc28e1..0cfbe449099f 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeCreateRequest.ts @@ -29,6 +29,13 @@ export class AWSEventBridgeCreateRequest { */ "region"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class AWSEventBridgeCreateRequest { baseName: "region", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeCreateResponse.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeCreateResponse.ts index bc4f987d2816..1df22dd8153c 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeCreateResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeCreateResponse.ts @@ -28,6 +28,13 @@ export class AWSEventBridgeCreateResponse { */ "status"?: AWSEventBridgeCreateStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class AWSEventBridgeCreateResponse { baseName: "status", type: "AWSEventBridgeCreateStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteRequest.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteRequest.ts index 9dd05d5d00a7..c8027fdff1df 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteRequest.ts @@ -23,6 +23,13 @@ export class AWSEventBridgeDeleteRequest { */ "region"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class AWSEventBridgeDeleteRequest { baseName: "region", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteResponse.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteResponse.ts index d2644774b3b8..85beefcc7989 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeDeleteResponse.ts @@ -16,6 +16,13 @@ export class AWSEventBridgeDeleteResponse { */ "status"?: AWSEventBridgeDeleteStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AWSEventBridgeDeleteResponse { baseName: "status", type: "AWSEventBridgeDeleteStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeListResponse.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeListResponse.ts index f9c052be493e..9b96ccb247dc 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeListResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeListResponse.ts @@ -20,6 +20,13 @@ export class AWSEventBridgeListResponse { */ "isInstalled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class AWSEventBridgeListResponse { baseName: "isInstalled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSEventBridgeSource.ts b/packages/datadog-api-client-v1/models/AWSEventBridgeSource.ts index 6d493e97a30d..8460ada4cb21 100644 --- a/packages/datadog-api-client-v1/models/AWSEventBridgeSource.ts +++ b/packages/datadog-api-client-v1/models/AWSEventBridgeSource.ts @@ -19,6 +19,13 @@ export class AWSEventBridgeSource { */ "region"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AWSEventBridgeSource { baseName: "region", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsAsyncError.ts b/packages/datadog-api-client-v1/models/AWSLogsAsyncError.ts index 7eb350654741..838068196027 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsAsyncError.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsAsyncError.ts @@ -19,6 +19,13 @@ export class AWSLogsAsyncError { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AWSLogsAsyncError { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsAsyncResponse.ts b/packages/datadog-api-client-v1/models/AWSLogsAsyncResponse.ts index 236f2e7b2769..7b90b9d8bf17 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsAsyncResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsAsyncResponse.ts @@ -20,6 +20,13 @@ export class AWSLogsAsyncResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class AWSLogsAsyncResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsLambda.ts b/packages/datadog-api-client-v1/models/AWSLogsLambda.ts index 8c2b51d06d18..1a5b6fc69d9b 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsLambda.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsLambda.ts @@ -15,6 +15,13 @@ export class AWSLogsLambda { */ "arn"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class AWSLogsLambda { baseName: "arn", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsListResponse.ts b/packages/datadog-api-client-v1/models/AWSLogsListResponse.ts index 3011c3683a6e..6b70a80eeb62 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsListResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsListResponse.ts @@ -24,6 +24,13 @@ export class AWSLogsListResponse { */ "services"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class AWSLogsListResponse { baseName: "services", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsListServicesResponse.ts b/packages/datadog-api-client-v1/models/AWSLogsListServicesResponse.ts index b9c54037944e..3610015261ec 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsListServicesResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsListServicesResponse.ts @@ -19,6 +19,13 @@ export class AWSLogsListServicesResponse { */ "label"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AWSLogsListServicesResponse { baseName: "label", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSLogsServicesRequest.ts b/packages/datadog-api-client-v1/models/AWSLogsServicesRequest.ts index 4e10da184a28..4f612b7b36f9 100644 --- a/packages/datadog-api-client-v1/models/AWSLogsServicesRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSLogsServicesRequest.ts @@ -19,6 +19,13 @@ export class AWSLogsServicesRequest { */ "services": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class AWSLogsServicesRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSTagFilter.ts b/packages/datadog-api-client-v1/models/AWSTagFilter.ts index 8610b87401e6..8f115de37542 100644 --- a/packages/datadog-api-client-v1/models/AWSTagFilter.ts +++ b/packages/datadog-api-client-v1/models/AWSTagFilter.ts @@ -20,6 +20,13 @@ export class AWSTagFilter { */ "tagFilterStr"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class AWSTagFilter { baseName: "tag_filter_str", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSTagFilterCreateRequest.ts b/packages/datadog-api-client-v1/models/AWSTagFilterCreateRequest.ts index b866365b2027..14909ba73b89 100644 --- a/packages/datadog-api-client-v1/models/AWSTagFilterCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSTagFilterCreateRequest.ts @@ -24,6 +24,13 @@ export class AWSTagFilterCreateRequest { */ "tagFilterStr"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class AWSTagFilterCreateRequest { baseName: "tag_filter_str", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSTagFilterDeleteRequest.ts b/packages/datadog-api-client-v1/models/AWSTagFilterDeleteRequest.ts index f69f36a53831..18a9457b6e3c 100644 --- a/packages/datadog-api-client-v1/models/AWSTagFilterDeleteRequest.ts +++ b/packages/datadog-api-client-v1/models/AWSTagFilterDeleteRequest.ts @@ -20,6 +20,13 @@ export class AWSTagFilterDeleteRequest { */ "namespace"?: AWSNamespace; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class AWSTagFilterDeleteRequest { baseName: "namespace", type: "AWSNamespace", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AWSTagFilterListResponse.ts b/packages/datadog-api-client-v1/models/AWSTagFilterListResponse.ts index 40e5c56a2117..e67bfdf40d28 100644 --- a/packages/datadog-api-client-v1/models/AWSTagFilterListResponse.ts +++ b/packages/datadog-api-client-v1/models/AWSTagFilterListResponse.ts @@ -16,6 +16,13 @@ export class AWSTagFilterListResponse { */ "filters"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AWSTagFilterListResponse { baseName: "filters", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AddSignalToIncidentRequest.ts b/packages/datadog-api-client-v1/models/AddSignalToIncidentRequest.ts index 79d340ec043b..b99eabce89e6 100644 --- a/packages/datadog-api-client-v1/models/AddSignalToIncidentRequest.ts +++ b/packages/datadog-api-client-v1/models/AddSignalToIncidentRequest.ts @@ -23,6 +23,13 @@ export class AddSignalToIncidentRequest { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class AddSignalToIncidentRequest { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AlertGraphWidgetDefinition.ts b/packages/datadog-api-client-v1/models/AlertGraphWidgetDefinition.ts index b51d0849a8de..27d894788a5b 100644 --- a/packages/datadog-api-client-v1/models/AlertGraphWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/AlertGraphWidgetDefinition.ts @@ -43,6 +43,13 @@ export class AlertGraphWidgetDefinition { */ "vizType": WidgetVizType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class AlertGraphWidgetDefinition { type: "WidgetVizType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AlertValueWidgetDefinition.ts b/packages/datadog-api-client-v1/models/AlertValueWidgetDefinition.ts index eb2e2ea5b0b1..3ed34e27db18 100644 --- a/packages/datadog-api-client-v1/models/AlertValueWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/AlertValueWidgetDefinition.ts @@ -45,6 +45,13 @@ export class AlertValueWidgetDefinition { */ "unit"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -89,6 +96,10 @@ export class AlertValueWidgetDefinition { baseName: "unit", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApiKey.ts b/packages/datadog-api-client-v1/models/ApiKey.ts index 83d99f264684..732746e5ad50 100644 --- a/packages/datadog-api-client-v1/models/ApiKey.ts +++ b/packages/datadog-api-client-v1/models/ApiKey.ts @@ -27,6 +27,13 @@ export class ApiKey { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class ApiKey { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApiKeyListResponse.ts b/packages/datadog-api-client-v1/models/ApiKeyListResponse.ts index 27820d9df199..c269659fb092 100644 --- a/packages/datadog-api-client-v1/models/ApiKeyListResponse.ts +++ b/packages/datadog-api-client-v1/models/ApiKeyListResponse.ts @@ -16,6 +16,13 @@ export class ApiKeyListResponse { */ "apiKeys"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApiKeyListResponse { baseName: "api_keys", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApiKeyResponse.ts b/packages/datadog-api-client-v1/models/ApiKeyResponse.ts index d3ed0eae590b..3848317bd93c 100644 --- a/packages/datadog-api-client-v1/models/ApiKeyResponse.ts +++ b/packages/datadog-api-client-v1/models/ApiKeyResponse.ts @@ -16,6 +16,13 @@ export class ApiKeyResponse { */ "apiKey"?: ApiKey; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApiKeyResponse { baseName: "api_key", type: "ApiKey", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApmStatsQueryColumnType.ts b/packages/datadog-api-client-v1/models/ApmStatsQueryColumnType.ts index 624156e8c320..4c6fc5213686 100644 --- a/packages/datadog-api-client-v1/models/ApmStatsQueryColumnType.ts +++ b/packages/datadog-api-client-v1/models/ApmStatsQueryColumnType.ts @@ -29,6 +29,13 @@ export class ApmStatsQueryColumnType { */ "order"?: WidgetSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ApmStatsQueryColumnType { baseName: "order", type: "WidgetSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApmStatsQueryDefinition.ts b/packages/datadog-api-client-v1/models/ApmStatsQueryDefinition.ts index d368a0a754c6..ef16bda8bf21 100644 --- a/packages/datadog-api-client-v1/models/ApmStatsQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/ApmStatsQueryDefinition.ts @@ -41,6 +41,13 @@ export class ApmStatsQueryDefinition { */ "service": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class ApmStatsQueryDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApplicationKey.ts b/packages/datadog-api-client-v1/models/ApplicationKey.ts index 674558d09d59..df4429747cad 100644 --- a/packages/datadog-api-client-v1/models/ApplicationKey.ts +++ b/packages/datadog-api-client-v1/models/ApplicationKey.ts @@ -23,6 +23,13 @@ export class ApplicationKey { */ "owner"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class ApplicationKey { baseName: "owner", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApplicationKeyListResponse.ts b/packages/datadog-api-client-v1/models/ApplicationKeyListResponse.ts index cf7ed36af6fc..8074e88e68bf 100644 --- a/packages/datadog-api-client-v1/models/ApplicationKeyListResponse.ts +++ b/packages/datadog-api-client-v1/models/ApplicationKeyListResponse.ts @@ -16,6 +16,13 @@ export class ApplicationKeyListResponse { */ "applicationKeys"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApplicationKeyListResponse { baseName: "application_keys", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ApplicationKeyResponse.ts b/packages/datadog-api-client-v1/models/ApplicationKeyResponse.ts index 45be13a771a8..15989de08463 100644 --- a/packages/datadog-api-client-v1/models/ApplicationKeyResponse.ts +++ b/packages/datadog-api-client-v1/models/ApplicationKeyResponse.ts @@ -16,6 +16,13 @@ export class ApplicationKeyResponse { */ "applicationKey"?: ApplicationKey; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApplicationKeyResponse { baseName: "application_key", type: "ApplicationKey", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AuthenticationValidationResponse.ts b/packages/datadog-api-client-v1/models/AuthenticationValidationResponse.ts index 948669539582..6200c52adb5f 100644 --- a/packages/datadog-api-client-v1/models/AuthenticationValidationResponse.ts +++ b/packages/datadog-api-client-v1/models/AuthenticationValidationResponse.ts @@ -15,6 +15,13 @@ export class AuthenticationValidationResponse { */ "valid"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class AuthenticationValidationResponse { baseName: "valid", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/AzureAccount.ts b/packages/datadog-api-client-v1/models/AzureAccount.ts index 130da906840a..b590a82ef1d7 100644 --- a/packages/datadog-api-client-v1/models/AzureAccount.ts +++ b/packages/datadog-api-client-v1/models/AzureAccount.ts @@ -67,6 +67,13 @@ export class AzureAccount { */ "tenantName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -128,6 +135,10 @@ export class AzureAccount { baseName: "tenant_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CancelDowntimesByScopeRequest.ts b/packages/datadog-api-client-v1/models/CancelDowntimesByScopeRequest.ts index 82d2a85874aa..f8e63b1e02c2 100644 --- a/packages/datadog-api-client-v1/models/CancelDowntimesByScopeRequest.ts +++ b/packages/datadog-api-client-v1/models/CancelDowntimesByScopeRequest.ts @@ -17,6 +17,13 @@ export class CancelDowntimesByScopeRequest { */ "scope": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class CancelDowntimesByScopeRequest { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CanceledDowntimesIds.ts b/packages/datadog-api-client-v1/models/CanceledDowntimesIds.ts index 961c44b292d5..1e12be1069e2 100644 --- a/packages/datadog-api-client-v1/models/CanceledDowntimesIds.ts +++ b/packages/datadog-api-client-v1/models/CanceledDowntimesIds.ts @@ -15,6 +15,13 @@ export class CanceledDowntimesIds { */ "cancelledIds"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CanceledDowntimesIds { type: "Array", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ChangeWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ChangeWidgetDefinition.ts index 9b2831b7433b..0b6b950d90f7 100644 --- a/packages/datadog-api-client-v1/models/ChangeWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ChangeWidgetDefinition.ts @@ -47,6 +47,13 @@ export class ChangeWidgetDefinition { */ "type": ChangeWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -86,6 +93,10 @@ export class ChangeWidgetDefinition { type: "ChangeWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ChangeWidgetRequest.ts b/packages/datadog-api-client-v1/models/ChangeWidgetRequest.ts index 01539b2ddbf7..368da5d7e89f 100644 --- a/packages/datadog-api-client-v1/models/ChangeWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/ChangeWidgetRequest.ts @@ -92,6 +92,13 @@ export class ChangeWidgetRequest { */ "showPresent"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -173,6 +180,10 @@ export class ChangeWidgetRequest { baseName: "show_present", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponse.ts b/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponse.ts index f1bcaa11eb1a..8482c21557db 100644 --- a/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponse.ts +++ b/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponse.ts @@ -20,6 +20,13 @@ export class CheckCanDeleteMonitorResponse { */ "errors"?: { [key: string]: Array }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CheckCanDeleteMonitorResponse { baseName: "errors", type: "{ [key: string]: Array; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.ts b/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.ts index 2088f9fb0039..9623ee225240 100644 --- a/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.ts +++ b/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.ts @@ -15,6 +15,13 @@ export class CheckCanDeleteMonitorResponseData { */ "ok"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CheckCanDeleteMonitorResponseData { type: "Array", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponse.ts b/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponse.ts index ae01097bb580..b1382dfeff2e 100644 --- a/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponse.ts +++ b/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponse.ts @@ -20,6 +20,13 @@ export class CheckCanDeleteSLOResponse { */ "errors"?: { [key: string]: string }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CheckCanDeleteSLOResponse { baseName: "errors", type: "{ [key: string]: string; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.ts b/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.ts index 7029775c9423..e5c5a10f26fd 100644 --- a/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.ts +++ b/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.ts @@ -15,6 +15,13 @@ export class CheckCanDeleteSLOResponseData { */ "ok"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class CheckCanDeleteSLOResponseData { baseName: "ok", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/CheckStatusWidgetDefinition.ts b/packages/datadog-api-client-v1/models/CheckStatusWidgetDefinition.ts index 531443dc0c83..837e49fd4a38 100644 --- a/packages/datadog-api-client-v1/models/CheckStatusWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/CheckStatusWidgetDefinition.ts @@ -55,6 +55,13 @@ export class CheckStatusWidgetDefinition { */ "type": CheckStatusWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -107,6 +114,10 @@ export class CheckStatusWidgetDefinition { type: "CheckStatusWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Creator.ts b/packages/datadog-api-client-v1/models/Creator.ts index 20a563dcd65e..43ecd8dec43f 100644 --- a/packages/datadog-api-client-v1/models/Creator.ts +++ b/packages/datadog-api-client-v1/models/Creator.ts @@ -23,6 +23,13 @@ export class Creator { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class Creator { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Dashboard.ts b/packages/datadog-api-client-v1/models/Dashboard.ts index 453200e69174..b4acf71a5e3d 100644 --- a/packages/datadog-api-client-v1/models/Dashboard.ts +++ b/packages/datadog-api-client-v1/models/Dashboard.ts @@ -91,6 +91,13 @@ export class Dashboard { */ "widgets": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -173,6 +180,10 @@ export class Dashboard { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardBulkActionData.ts b/packages/datadog-api-client-v1/models/DashboardBulkActionData.ts index 9063241e9d20..c374715ae303 100644 --- a/packages/datadog-api-client-v1/models/DashboardBulkActionData.ts +++ b/packages/datadog-api-client-v1/models/DashboardBulkActionData.ts @@ -20,6 +20,13 @@ export class DashboardBulkActionData { */ "type": DashboardResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class DashboardBulkActionData { type: "DashboardResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardBulkDeleteRequest.ts b/packages/datadog-api-client-v1/models/DashboardBulkDeleteRequest.ts index aea28fd533d9..625226965170 100644 --- a/packages/datadog-api-client-v1/models/DashboardBulkDeleteRequest.ts +++ b/packages/datadog-api-client-v1/models/DashboardBulkDeleteRequest.ts @@ -16,6 +16,13 @@ export class DashboardBulkDeleteRequest { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DashboardBulkDeleteRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardDeleteResponse.ts b/packages/datadog-api-client-v1/models/DashboardDeleteResponse.ts index 47ef6117cada..50718f9ac370 100644 --- a/packages/datadog-api-client-v1/models/DashboardDeleteResponse.ts +++ b/packages/datadog-api-client-v1/models/DashboardDeleteResponse.ts @@ -15,6 +15,13 @@ export class DashboardDeleteResponse { */ "deletedDashboardId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class DashboardDeleteResponse { baseName: "deleted_dashboard_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardGlobalTime.ts b/packages/datadog-api-client-v1/models/DashboardGlobalTime.ts index 2dc38560f0f2..6fe23e0c9c8f 100644 --- a/packages/datadog-api-client-v1/models/DashboardGlobalTime.ts +++ b/packages/datadog-api-client-v1/models/DashboardGlobalTime.ts @@ -16,6 +16,13 @@ export class DashboardGlobalTime { */ "liveSpan"?: DashboardGlobalTimeLiveSpan; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardGlobalTime { baseName: "live_span", type: "DashboardGlobalTimeLiveSpan", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardList.ts b/packages/datadog-api-client-v1/models/DashboardList.ts index 04970dcc3803..879d7086cbbc 100644 --- a/packages/datadog-api-client-v1/models/DashboardList.ts +++ b/packages/datadog-api-client-v1/models/DashboardList.ts @@ -44,6 +44,13 @@ export class DashboardList { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -90,6 +97,10 @@ export class DashboardList { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardListDeleteResponse.ts b/packages/datadog-api-client-v1/models/DashboardListDeleteResponse.ts index 983f86a9b730..ac1b49bcd42e 100644 --- a/packages/datadog-api-client-v1/models/DashboardListDeleteResponse.ts +++ b/packages/datadog-api-client-v1/models/DashboardListDeleteResponse.ts @@ -15,6 +15,13 @@ export class DashboardListDeleteResponse { */ "deletedDashboardListId"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListDeleteResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardListListResponse.ts b/packages/datadog-api-client-v1/models/DashboardListListResponse.ts index dffed7a5ddeb..9839d90513a1 100644 --- a/packages/datadog-api-client-v1/models/DashboardListListResponse.ts +++ b/packages/datadog-api-client-v1/models/DashboardListListResponse.ts @@ -16,6 +16,13 @@ export class DashboardListListResponse { */ "dashboardLists"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListListResponse { baseName: "dashboard_lists", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardRestoreRequest.ts b/packages/datadog-api-client-v1/models/DashboardRestoreRequest.ts index c8b14a34b1ca..f0fe997449b3 100644 --- a/packages/datadog-api-client-v1/models/DashboardRestoreRequest.ts +++ b/packages/datadog-api-client-v1/models/DashboardRestoreRequest.ts @@ -16,6 +16,13 @@ export class DashboardRestoreRequest { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DashboardRestoreRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardSummary.ts b/packages/datadog-api-client-v1/models/DashboardSummary.ts index 8fe969f5f4e1..67e25b374301 100644 --- a/packages/datadog-api-client-v1/models/DashboardSummary.ts +++ b/packages/datadog-api-client-v1/models/DashboardSummary.ts @@ -16,6 +16,13 @@ export class DashboardSummary { */ "dashboards"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardSummary { baseName: "dashboards", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardSummaryDefinition.ts b/packages/datadog-api-client-v1/models/DashboardSummaryDefinition.ts index 5782121bd71f..9291f75e03a7 100644 --- a/packages/datadog-api-client-v1/models/DashboardSummaryDefinition.ts +++ b/packages/datadog-api-client-v1/models/DashboardSummaryDefinition.ts @@ -50,6 +50,13 @@ export class DashboardSummaryDefinition { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -97,6 +104,10 @@ export class DashboardSummaryDefinition { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardTemplateVariable.ts b/packages/datadog-api-client-v1/models/DashboardTemplateVariable.ts index 55bce177ce30..0dab91774af1 100644 --- a/packages/datadog-api-client-v1/models/DashboardTemplateVariable.ts +++ b/packages/datadog-api-client-v1/models/DashboardTemplateVariable.ts @@ -31,6 +31,13 @@ export class DashboardTemplateVariable { */ "prefix"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class DashboardTemplateVariable { baseName: "prefix", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardTemplateVariablePreset.ts b/packages/datadog-api-client-v1/models/DashboardTemplateVariablePreset.ts index 88227fba8b1c..019e4ac063b2 100644 --- a/packages/datadog-api-client-v1/models/DashboardTemplateVariablePreset.ts +++ b/packages/datadog-api-client-v1/models/DashboardTemplateVariablePreset.ts @@ -20,6 +20,13 @@ export class DashboardTemplateVariablePreset { */ "templateVariables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class DashboardTemplateVariablePreset { baseName: "template_variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DashboardTemplateVariablePresetValue.ts b/packages/datadog-api-client-v1/models/DashboardTemplateVariablePresetValue.ts index df27c5a3f5da..ae900da320df 100644 --- a/packages/datadog-api-client-v1/models/DashboardTemplateVariablePresetValue.ts +++ b/packages/datadog-api-client-v1/models/DashboardTemplateVariablePresetValue.ts @@ -23,6 +23,13 @@ export class DashboardTemplateVariablePresetValue { */ "values"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class DashboardTemplateVariablePresetValue { baseName: "values", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DeleteSharedDashboardResponse.ts b/packages/datadog-api-client-v1/models/DeleteSharedDashboardResponse.ts index 30f666377d24..9fe48b01ba29 100644 --- a/packages/datadog-api-client-v1/models/DeleteSharedDashboardResponse.ts +++ b/packages/datadog-api-client-v1/models/DeleteSharedDashboardResponse.ts @@ -15,6 +15,13 @@ export class DeleteSharedDashboardResponse { */ "deletedPublicDashboardToken"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class DeleteSharedDashboardResponse { baseName: "deleted_public_dashboard_token", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DeletedMonitor.ts b/packages/datadog-api-client-v1/models/DeletedMonitor.ts index ebdd8eb0cec7..c29727594438 100644 --- a/packages/datadog-api-client-v1/models/DeletedMonitor.ts +++ b/packages/datadog-api-client-v1/models/DeletedMonitor.ts @@ -15,6 +15,13 @@ export class DeletedMonitor { */ "deletedMonitorId"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DeletedMonitor { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionPointsPayload.ts b/packages/datadog-api-client-v1/models/DistributionPointsPayload.ts index 9c374caf9b50..9451a64fecaf 100644 --- a/packages/datadog-api-client-v1/models/DistributionPointsPayload.ts +++ b/packages/datadog-api-client-v1/models/DistributionPointsPayload.ts @@ -16,6 +16,13 @@ export class DistributionPointsPayload { */ "series": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DistributionPointsPayload { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionPointsSeries.ts b/packages/datadog-api-client-v1/models/DistributionPointsSeries.ts index f0af58a2ac1a..172ec1542376 100644 --- a/packages/datadog-api-client-v1/models/DistributionPointsSeries.ts +++ b/packages/datadog-api-client-v1/models/DistributionPointsSeries.ts @@ -33,6 +33,13 @@ export class DistributionPointsSeries { */ "type"?: DistributionPointsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class DistributionPointsSeries { baseName: "type", type: "DistributionPointsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionWidgetDefinition.ts b/packages/datadog-api-client-v1/models/DistributionWidgetDefinition.ts index 06bda65b44d1..b891a912c5c9 100644 --- a/packages/datadog-api-client-v1/models/DistributionWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/DistributionWidgetDefinition.ts @@ -72,6 +72,13 @@ export class DistributionWidgetDefinition { */ "yaxis"?: DistributionWidgetYAxis; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -131,6 +138,10 @@ export class DistributionWidgetDefinition { baseName: "yaxis", type: "DistributionWidgetYAxis", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionWidgetRequest.ts b/packages/datadog-api-client-v1/models/DistributionWidgetRequest.ts index 24cc3ac08f69..c7a0219772b7 100644 --- a/packages/datadog-api-client-v1/models/DistributionWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/DistributionWidgetRequest.ts @@ -69,6 +69,13 @@ export class DistributionWidgetRequest { */ "style"?: WidgetStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -130,6 +137,10 @@ export class DistributionWidgetRequest { baseName: "style", type: "WidgetStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionWidgetXAxis.ts b/packages/datadog-api-client-v1/models/DistributionWidgetXAxis.ts index 01c04a8eef8f..1810a6e8f7fe 100644 --- a/packages/datadog-api-client-v1/models/DistributionWidgetXAxis.ts +++ b/packages/datadog-api-client-v1/models/DistributionWidgetXAxis.ts @@ -27,6 +27,13 @@ export class DistributionWidgetXAxis { */ "scale"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class DistributionWidgetXAxis { baseName: "scale", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DistributionWidgetYAxis.ts b/packages/datadog-api-client-v1/models/DistributionWidgetYAxis.ts index ccf923a97f44..45a0c2ff6540 100644 --- a/packages/datadog-api-client-v1/models/DistributionWidgetYAxis.ts +++ b/packages/datadog-api-client-v1/models/DistributionWidgetYAxis.ts @@ -31,6 +31,13 @@ export class DistributionWidgetYAxis { */ "scale"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class DistributionWidgetYAxis { baseName: "scale", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Downtime.ts b/packages/datadog-api-client-v1/models/Downtime.ts index 1934137d20c6..d8f8a90346c6 100644 --- a/packages/datadog-api-client-v1/models/Downtime.ts +++ b/packages/datadog-api-client-v1/models/Downtime.ts @@ -113,6 +113,13 @@ export class Downtime { */ "updaterId"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -211,6 +218,10 @@ export class Downtime { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DowntimeChild.ts b/packages/datadog-api-client-v1/models/DowntimeChild.ts index be5e01601c93..e8eead66e2b0 100644 --- a/packages/datadog-api-client-v1/models/DowntimeChild.ts +++ b/packages/datadog-api-client-v1/models/DowntimeChild.ts @@ -105,6 +105,13 @@ export class DowntimeChild { */ "updaterId"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -199,6 +206,10 @@ export class DowntimeChild { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/DowntimeRecurrence.ts b/packages/datadog-api-client-v1/models/DowntimeRecurrence.ts index ab0aee67992d..67a4e21955bc 100644 --- a/packages/datadog-api-client-v1/models/DowntimeRecurrence.ts +++ b/packages/datadog-api-client-v1/models/DowntimeRecurrence.ts @@ -44,6 +44,13 @@ export class DowntimeRecurrence { */ "weekDays"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -80,6 +87,10 @@ export class DowntimeRecurrence { baseName: "week_days", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Event.ts b/packages/datadog-api-client-v1/models/Event.ts index edcc91331329..0955534fb9d8 100644 --- a/packages/datadog-api-client-v1/models/Event.ts +++ b/packages/datadog-api-client-v1/models/Event.ts @@ -73,6 +73,13 @@ export class Event { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -136,6 +143,10 @@ export class Event { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventCreateRequest.ts b/packages/datadog-api-client-v1/models/EventCreateRequest.ts index 36da44105176..6965c33ef5ad 100644 --- a/packages/datadog-api-client-v1/models/EventCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/EventCreateRequest.ts @@ -65,6 +65,13 @@ export class EventCreateRequest { */ "title": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -122,6 +129,10 @@ export class EventCreateRequest { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventCreateResponse.ts b/packages/datadog-api-client-v1/models/EventCreateResponse.ts index a7ff83e10d32..a592051f8aa2 100644 --- a/packages/datadog-api-client-v1/models/EventCreateResponse.ts +++ b/packages/datadog-api-client-v1/models/EventCreateResponse.ts @@ -20,6 +20,13 @@ export class EventCreateResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class EventCreateResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventListResponse.ts b/packages/datadog-api-client-v1/models/EventListResponse.ts index 85062736e9da..5e64a4109a06 100644 --- a/packages/datadog-api-client-v1/models/EventListResponse.ts +++ b/packages/datadog-api-client-v1/models/EventListResponse.ts @@ -20,6 +20,13 @@ export class EventListResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class EventListResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventQueryDefinition.ts b/packages/datadog-api-client-v1/models/EventQueryDefinition.ts index 3556a6b3b70d..d29479956088 100644 --- a/packages/datadog-api-client-v1/models/EventQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/EventQueryDefinition.ts @@ -19,6 +19,13 @@ export class EventQueryDefinition { */ "tagsExecution": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class EventQueryDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventResponse.ts b/packages/datadog-api-client-v1/models/EventResponse.ts index 36c6de7d7d4a..fdd78d1ccce3 100644 --- a/packages/datadog-api-client-v1/models/EventResponse.ts +++ b/packages/datadog-api-client-v1/models/EventResponse.ts @@ -20,6 +20,13 @@ export class EventResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class EventResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventStreamWidgetDefinition.ts b/packages/datadog-api-client-v1/models/EventStreamWidgetDefinition.ts index 3b00acc4fcdf..34d87bc0ddc9 100644 --- a/packages/datadog-api-client-v1/models/EventStreamWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/EventStreamWidgetDefinition.ts @@ -48,6 +48,13 @@ export class EventStreamWidgetDefinition { */ "type": EventStreamWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class EventStreamWidgetDefinition { type: "EventStreamWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/EventTimelineWidgetDefinition.ts b/packages/datadog-api-client-v1/models/EventTimelineWidgetDefinition.ts index 115783abad95..bf29f1269cf0 100644 --- a/packages/datadog-api-client-v1/models/EventTimelineWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/EventTimelineWidgetDefinition.ts @@ -42,6 +42,13 @@ export class EventTimelineWidgetDefinition { */ "type": EventTimelineWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class EventTimelineWidgetDefinition { type: "EventTimelineWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.ts index d22254535559..947edc0732c1 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.ts @@ -53,6 +53,13 @@ export class FormulaAndFunctionApmDependencyStatsQueryDefinition { */ "stat": FormulaAndFunctionApmDependencyStatName; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -109,6 +116,10 @@ export class FormulaAndFunctionApmDependencyStatsQueryDefinition { type: "FormulaAndFunctionApmDependencyStatName", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.ts index 4be77a49b037..3a01ae1ca22a 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.ts @@ -53,6 +53,13 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition { */ "stat": FormulaAndFunctionApmResourceStatName; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -107,6 +114,10 @@ export class FormulaAndFunctionApmResourceStatsQueryDefinition { type: "FormulaAndFunctionApmResourceStatName", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.ts index 74fff1e24b79..978ed82bcf94 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.ts @@ -29,6 +29,13 @@ export class FormulaAndFunctionCloudCostQueryDefinition { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class FormulaAndFunctionCloudCostQueryDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.ts index 3d54b536f30b..b1892106430e 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.ts @@ -43,6 +43,13 @@ export class FormulaAndFunctionEventQueryDefinition { */ "storage"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class FormulaAndFunctionEventQueryDefinition { baseName: "storage", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionCompute.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionCompute.ts index 5a57291dd25b..79ad50106681 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionCompute.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionCompute.ts @@ -24,6 +24,13 @@ export class FormulaAndFunctionEventQueryDefinitionCompute { */ "metric"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class FormulaAndFunctionEventQueryDefinitionCompute { baseName: "metric", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionSearch.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionSearch.ts index 760b0ff869bb..6b8d5b1f1313 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionSearch.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinitionSearch.ts @@ -15,6 +15,13 @@ export class FormulaAndFunctionEventQueryDefinitionSearch { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class FormulaAndFunctionEventQueryDefinitionSearch { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBy.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBy.ts index 7a2f25469128..3d7274e3ad1b 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBy.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBy.ts @@ -24,6 +24,13 @@ export class FormulaAndFunctionEventQueryGroupBy { */ "sort"?: FormulaAndFunctionEventQueryGroupBySort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class FormulaAndFunctionEventQueryGroupBy { baseName: "sort", type: "FormulaAndFunctionEventQueryGroupBySort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBySort.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBySort.ts index 9b5b139235e5..31a2c41dd435 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBySort.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryGroupBySort.ts @@ -25,6 +25,13 @@ export class FormulaAndFunctionEventQueryGroupBySort { */ "order"?: QuerySortOrder; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class FormulaAndFunctionEventQueryGroupBySort { baseName: "order", type: "QuerySortOrder", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.ts index 548cad80e077..c911799ff707 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.ts @@ -29,6 +29,13 @@ export class FormulaAndFunctionMetricQueryDefinition { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class FormulaAndFunctionMetricQueryDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.ts index 671b6046f08f..11678496aacd 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.ts @@ -50,6 +50,13 @@ export class FormulaAndFunctionProcessQueryDefinition { */ "textFilter"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -99,6 +106,10 @@ export class FormulaAndFunctionProcessQueryDefinition { baseName: "text_filter", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.ts b/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.ts index 9414108c515c..9b615980c1d9 100644 --- a/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.ts @@ -43,6 +43,13 @@ export class FormulaAndFunctionSLOQueryDefinition { */ "sloQueryType"?: FormulaAndFunctionSLOQueryType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class FormulaAndFunctionSLOQueryDefinition { baseName: "slo_query_type", type: "FormulaAndFunctionSLOQueryType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.ts b/packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.ts index c0250fd3519b..71c967b0d265 100644 --- a/packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/FreeTextWidgetDefinition.ts @@ -33,6 +33,13 @@ export class FreeTextWidgetDefinition { */ "type": FreeTextWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class FreeTextWidgetDefinition { type: "FreeTextWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FunnelQuery.ts b/packages/datadog-api-client-v1/models/FunnelQuery.ts index 564cd8c8cd3b..bbcb34a2903a 100644 --- a/packages/datadog-api-client-v1/models/FunnelQuery.ts +++ b/packages/datadog-api-client-v1/models/FunnelQuery.ts @@ -25,6 +25,13 @@ export class FunnelQuery { */ "steps": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class FunnelQuery { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FunnelStep.ts b/packages/datadog-api-client-v1/models/FunnelStep.ts index fc469fb65431..3f9337a0007c 100644 --- a/packages/datadog-api-client-v1/models/FunnelStep.ts +++ b/packages/datadog-api-client-v1/models/FunnelStep.ts @@ -19,6 +19,13 @@ export class FunnelStep { */ "value": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class FunnelStep { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FunnelWidgetDefinition.ts b/packages/datadog-api-client-v1/models/FunnelWidgetDefinition.ts index bbdd05e5f73a..f0f8af8a62ec 100644 --- a/packages/datadog-api-client-v1/models/FunnelWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/FunnelWidgetDefinition.ts @@ -39,6 +39,13 @@ export class FunnelWidgetDefinition { */ "type": FunnelWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class FunnelWidgetDefinition { type: "FunnelWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/FunnelWidgetRequest.ts b/packages/datadog-api-client-v1/models/FunnelWidgetRequest.ts index 71570fb8e0a4..6c60ffd362bb 100644 --- a/packages/datadog-api-client-v1/models/FunnelWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/FunnelWidgetRequest.ts @@ -21,6 +21,13 @@ export class FunnelWidgetRequest { */ "requestType": FunnelRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class FunnelWidgetRequest { type: "FunnelRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GCPAccount.ts b/packages/datadog-api-client-v1/models/GCPAccount.ts index 0c821d97a0a9..0cf931b25874 100644 --- a/packages/datadog-api-client-v1/models/GCPAccount.ts +++ b/packages/datadog-api-client-v1/models/GCPAccount.ts @@ -82,6 +82,13 @@ export class GCPAccount { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -159,6 +166,10 @@ export class GCPAccount { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts index da0681323508..6527bfc89284 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.ts @@ -57,6 +57,13 @@ export class GeomapWidgetDefinition { */ "view": GeomapWidgetDefinitionView; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -106,6 +113,10 @@ export class GeomapWidgetDefinition { type: "GeomapWidgetDefinitionView", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionStyle.ts b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionStyle.ts index 5ac60fceeaa9..8258eeb2eb51 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionStyle.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionStyle.ts @@ -19,6 +19,13 @@ export class GeomapWidgetDefinitionStyle { */ "paletteFlip": boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class GeomapWidgetDefinitionStyle { type: "boolean", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts index 9f0ef06ed043..ccad9119a0ac 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.ts @@ -15,6 +15,13 @@ export class GeomapWidgetDefinitionView { */ "focus": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GeomapWidgetDefinitionView { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts b/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts index 0a46f3498c44..b7b7245bc0a1 100644 --- a/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/GeomapWidgetRequest.ts @@ -53,6 +53,13 @@ export class GeomapWidgetRequest { */ "securityQuery"?: LogQueryDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -98,6 +105,10 @@ export class GeomapWidgetRequest { baseName: "security_query", type: "LogQueryDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GraphSnapshot.ts b/packages/datadog-api-client-v1/models/GraphSnapshot.ts index 897ec63c5609..25ecee147779 100644 --- a/packages/datadog-api-client-v1/models/GraphSnapshot.ts +++ b/packages/datadog-api-client-v1/models/GraphSnapshot.ts @@ -25,6 +25,13 @@ export class GraphSnapshot { */ "snapshotUrl"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class GraphSnapshot { baseName: "snapshot_url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/GroupWidgetDefinition.ts b/packages/datadog-api-client-v1/models/GroupWidgetDefinition.ts index a86a95a29cdb..1fe7d75432cc 100644 --- a/packages/datadog-api-client-v1/models/GroupWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/GroupWidgetDefinition.ts @@ -47,6 +47,13 @@ export class GroupWidgetDefinition { */ "widgets": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class GroupWidgetDefinition { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HTTPLogError.ts b/packages/datadog-api-client-v1/models/HTTPLogError.ts index 9ab899a866fe..139df8df1ac6 100644 --- a/packages/datadog-api-client-v1/models/HTTPLogError.ts +++ b/packages/datadog-api-client-v1/models/HTTPLogError.ts @@ -19,6 +19,13 @@ export class HTTPLogError { */ "message": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class HTTPLogError { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.ts index 2abcac96a603..f649fc7bed68 100644 --- a/packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/HeatMapWidgetDefinition.ts @@ -62,6 +62,13 @@ export class HeatMapWidgetDefinition { */ "yaxis"?: WidgetAxis; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -117,6 +124,10 @@ export class HeatMapWidgetDefinition { baseName: "yaxis", type: "WidgetAxis", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts b/packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts index 0e0364ea5cb4..42ac574af814 100644 --- a/packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/HeatMapWidgetRequest.ts @@ -70,6 +70,13 @@ export class HeatMapWidgetRequest { */ "style"?: WidgetStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -131,6 +138,10 @@ export class HeatMapWidgetRequest { baseName: "style", type: "WidgetStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Host.ts b/packages/datadog-api-client-v1/models/Host.ts index 9828d1975119..e5380128023a 100644 --- a/packages/datadog-api-client-v1/models/Host.ts +++ b/packages/datadog-api-client-v1/models/Host.ts @@ -69,6 +69,13 @@ export class Host { */ "up"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -137,6 +144,10 @@ export class Host { baseName: "up", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostListResponse.ts b/packages/datadog-api-client-v1/models/HostListResponse.ts index 4c876e5b7141..6bf3062d8d6b 100644 --- a/packages/datadog-api-client-v1/models/HostListResponse.ts +++ b/packages/datadog-api-client-v1/models/HostListResponse.ts @@ -24,6 +24,13 @@ export class HostListResponse { */ "totalReturned"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class HostListResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMapRequest.ts b/packages/datadog-api-client-v1/models/HostMapRequest.ts index a3d9dc98d524..328e3a8db078 100644 --- a/packages/datadog-api-client-v1/models/HostMapRequest.ts +++ b/packages/datadog-api-client-v1/models/HostMapRequest.ts @@ -49,6 +49,13 @@ export class HostMapRequest { */ "securityQuery"?: LogQueryDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -94,6 +101,10 @@ export class HostMapRequest { baseName: "security_query", type: "LogQueryDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/HostMapWidgetDefinition.ts index 81446b91b315..5c9c6d0f7c52 100644 --- a/packages/datadog-api-client-v1/models/HostMapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/HostMapWidgetDefinition.ts @@ -69,6 +69,13 @@ export class HostMapWidgetDefinition { */ "type": HostMapWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -132,6 +139,10 @@ export class HostMapWidgetDefinition { type: "HostMapWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionRequests.ts b/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionRequests.ts index 25c5846d77e0..3c0aebc11569 100644 --- a/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionRequests.ts +++ b/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionRequests.ts @@ -20,6 +20,13 @@ export class HostMapWidgetDefinitionRequests { */ "size"?: HostMapRequest; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class HostMapWidgetDefinitionRequests { baseName: "size", type: "HostMapRequest", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionStyle.ts b/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionStyle.ts index 1115dcb7457e..97f71f29beb4 100644 --- a/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionStyle.ts +++ b/packages/datadog-api-client-v1/models/HostMapWidgetDefinitionStyle.ts @@ -27,6 +27,13 @@ export class HostMapWidgetDefinitionStyle { */ "paletteFlip"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class HostMapWidgetDefinitionStyle { baseName: "palette_flip", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMeta.ts b/packages/datadog-api-client-v1/models/HostMeta.ts index 3609329c4a12..ccb7b74a75ae 100644 --- a/packages/datadog-api-client-v1/models/HostMeta.ts +++ b/packages/datadog-api-client-v1/models/HostMeta.ts @@ -72,6 +72,13 @@ export class HostMeta { */ "winV"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -142,6 +149,10 @@ export class HostMeta { baseName: "winV", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMetaInstallMethod.ts b/packages/datadog-api-client-v1/models/HostMetaInstallMethod.ts index fe739add08e3..cfdf9ba68383 100644 --- a/packages/datadog-api-client-v1/models/HostMetaInstallMethod.ts +++ b/packages/datadog-api-client-v1/models/HostMetaInstallMethod.ts @@ -23,6 +23,13 @@ export class HostMetaInstallMethod { */ "toolVersion"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class HostMetaInstallMethod { baseName: "tool_version", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMetrics.ts b/packages/datadog-api-client-v1/models/HostMetrics.ts index f552abe291c8..3538972ff832 100644 --- a/packages/datadog-api-client-v1/models/HostMetrics.ts +++ b/packages/datadog-api-client-v1/models/HostMetrics.ts @@ -23,6 +23,13 @@ export class HostMetrics { */ "load"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class HostMetrics { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMuteResponse.ts b/packages/datadog-api-client-v1/models/HostMuteResponse.ts index 233ff2839cd7..d4269e4c6a4f 100644 --- a/packages/datadog-api-client-v1/models/HostMuteResponse.ts +++ b/packages/datadog-api-client-v1/models/HostMuteResponse.ts @@ -27,6 +27,13 @@ export class HostMuteResponse { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class HostMuteResponse { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostMuteSettings.ts b/packages/datadog-api-client-v1/models/HostMuteSettings.ts index 4af77087ec8c..c2d971e38769 100644 --- a/packages/datadog-api-client-v1/models/HostMuteSettings.ts +++ b/packages/datadog-api-client-v1/models/HostMuteSettings.ts @@ -23,6 +23,13 @@ export class HostMuteSettings { */ "override"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class HostMuteSettings { baseName: "override", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostTags.ts b/packages/datadog-api-client-v1/models/HostTags.ts index 0034782a72dc..b9add5ca32f4 100644 --- a/packages/datadog-api-client-v1/models/HostTags.ts +++ b/packages/datadog-api-client-v1/models/HostTags.ts @@ -19,6 +19,13 @@ export class HostTags { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class HostTags { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HostTotals.ts b/packages/datadog-api-client-v1/models/HostTotals.ts index a3026604eb99..378518e9869a 100644 --- a/packages/datadog-api-client-v1/models/HostTotals.ts +++ b/packages/datadog-api-client-v1/models/HostTotals.ts @@ -19,6 +19,13 @@ export class HostTotals { */ "totalUp"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class HostTotals { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.ts index d26fb97cbbf1..9ae38cd9471a 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionBody.ts @@ -52,6 +52,13 @@ export class HourlyUsageAttributionBody { */ "usageType"?: HourlyUsageAttributionUsageType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -99,6 +106,10 @@ export class HourlyUsageAttributionBody { baseName: "usage_type", type: "HourlyUsageAttributionUsageType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionMetadata.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionMetadata.ts index 75d5c2ce8110..aef62ee79b8e 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionMetadata.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionMetadata.ts @@ -16,6 +16,13 @@ export class HourlyUsageAttributionMetadata { */ "pagination"?: HourlyUsageAttributionPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class HourlyUsageAttributionMetadata { baseName: "pagination", type: "HourlyUsageAttributionPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionPagination.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionPagination.ts index dfb9987b37c9..6fba230682c6 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionPagination.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionPagination.ts @@ -15,6 +15,13 @@ export class HourlyUsageAttributionPagination { */ "nextRecordId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class HourlyUsageAttributionPagination { baseName: "next_record_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionResponse.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionResponse.ts index 396d9ad60cef..9ea625b7095f 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionResponse.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionResponse.ts @@ -21,6 +21,13 @@ export class HourlyUsageAttributionResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class HourlyUsageAttributionResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IFrameWidgetDefinition.ts b/packages/datadog-api-client-v1/models/IFrameWidgetDefinition.ts index d5da59d45aea..dca13c68913d 100644 --- a/packages/datadog-api-client-v1/models/IFrameWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/IFrameWidgetDefinition.ts @@ -20,6 +20,13 @@ export class IFrameWidgetDefinition { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IFrameWidgetDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesAPI.ts b/packages/datadog-api-client-v1/models/IPPrefixesAPI.ts index f7ea9047d6b0..9b0f3018efbd 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesAPI.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesAPI.ts @@ -19,6 +19,13 @@ export class IPPrefixesAPI { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesAPI { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesAPM.ts b/packages/datadog-api-client-v1/models/IPPrefixesAPM.ts index d94c3a06cf88..f86f7bb293f9 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesAPM.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesAPM.ts @@ -19,6 +19,13 @@ export class IPPrefixesAPM { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesAPM { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesAgents.ts b/packages/datadog-api-client-v1/models/IPPrefixesAgents.ts index 99f451ab41f1..7ff2ba00c4c0 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesAgents.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesAgents.ts @@ -19,6 +19,13 @@ export class IPPrefixesAgents { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesAgents { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesGlobal.ts b/packages/datadog-api-client-v1/models/IPPrefixesGlobal.ts index c442395dc385..4caf92d71eff 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesGlobal.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesGlobal.ts @@ -19,6 +19,13 @@ export class IPPrefixesGlobal { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesGlobal { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesLogs.ts b/packages/datadog-api-client-v1/models/IPPrefixesLogs.ts index 05f2bf79b4f2..b39a45a96644 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesLogs.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesLogs.ts @@ -19,6 +19,13 @@ export class IPPrefixesLogs { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesLogs { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesOrchestrator.ts b/packages/datadog-api-client-v1/models/IPPrefixesOrchestrator.ts index 01ede9b8e107..ef90ff0fdd07 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesOrchestrator.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesOrchestrator.ts @@ -19,6 +19,13 @@ export class IPPrefixesOrchestrator { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesOrchestrator { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesProcess.ts b/packages/datadog-api-client-v1/models/IPPrefixesProcess.ts index 6a41d4dab1aa..95052c8cfd03 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesProcess.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesProcess.ts @@ -19,6 +19,13 @@ export class IPPrefixesProcess { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesProcess { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesRemoteConfiguration.ts b/packages/datadog-api-client-v1/models/IPPrefixesRemoteConfiguration.ts index 847f1b3b260a..a7809ebaeb96 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesRemoteConfiguration.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesRemoteConfiguration.ts @@ -19,6 +19,13 @@ export class IPPrefixesRemoteConfiguration { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesRemoteConfiguration { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesSynthetics.ts b/packages/datadog-api-client-v1/models/IPPrefixesSynthetics.ts index 4e42e6cca856..7ae6034a953a 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesSynthetics.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesSynthetics.ts @@ -27,6 +27,13 @@ export class IPPrefixesSynthetics { */ "prefixesIpv6ByLocation"?: { [key: string]: Array }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class IPPrefixesSynthetics { baseName: "prefixes_ipv6_by_location", type: "{ [key: string]: Array; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesSyntheticsPrivateLocations.ts b/packages/datadog-api-client-v1/models/IPPrefixesSyntheticsPrivateLocations.ts index f6945152bbd6..85e22de3e707 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesSyntheticsPrivateLocations.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesSyntheticsPrivateLocations.ts @@ -19,6 +19,13 @@ export class IPPrefixesSyntheticsPrivateLocations { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesSyntheticsPrivateLocations { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPPrefixesWebhooks.ts b/packages/datadog-api-client-v1/models/IPPrefixesWebhooks.ts index 3092eb52dce1..f803a7b5cb7a 100644 --- a/packages/datadog-api-client-v1/models/IPPrefixesWebhooks.ts +++ b/packages/datadog-api-client-v1/models/IPPrefixesWebhooks.ts @@ -19,6 +19,13 @@ export class IPPrefixesWebhooks { */ "prefixesIpv6"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IPPrefixesWebhooks { baseName: "prefixes_ipv6", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IPRanges.ts b/packages/datadog-api-client-v1/models/IPRanges.ts index 96fe716059c4..9f076807d7bd 100644 --- a/packages/datadog-api-client-v1/models/IPRanges.ts +++ b/packages/datadog-api-client-v1/models/IPRanges.ts @@ -74,6 +74,13 @@ export class IPRanges { */ "webhooks"?: IPPrefixesWebhooks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -136,6 +143,10 @@ export class IPRanges { baseName: "webhooks", type: "IPPrefixesWebhooks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IdpFormData.ts b/packages/datadog-api-client-v1/models/IdpFormData.ts index 2eb7ce0bee03..ac9a106ea6f3 100644 --- a/packages/datadog-api-client-v1/models/IdpFormData.ts +++ b/packages/datadog-api-client-v1/models/IdpFormData.ts @@ -17,6 +17,13 @@ export class IdpFormData { */ "idpFile": HttpFile; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -32,6 +39,10 @@ export class IdpFormData { required: true, format: "binary", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IdpResponse.ts b/packages/datadog-api-client-v1/models/IdpResponse.ts index 8acac6baf9ea..e17ea43f84bf 100644 --- a/packages/datadog-api-client-v1/models/IdpResponse.ts +++ b/packages/datadog-api-client-v1/models/IdpResponse.ts @@ -15,6 +15,13 @@ export class IdpResponse { */ "message": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IdpResponse { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ImageWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ImageWidgetDefinition.ts index 48cbceba01be..ef459dc6992f 100644 --- a/packages/datadog-api-client-v1/models/ImageWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ImageWidgetDefinition.ts @@ -54,6 +54,13 @@ export class ImageWidgetDefinition { */ "verticalAlign"?: WidgetVerticalAlign; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -101,6 +108,10 @@ export class ImageWidgetDefinition { baseName: "vertical_align", type: "WidgetVerticalAlign", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/IntakePayloadAccepted.ts b/packages/datadog-api-client-v1/models/IntakePayloadAccepted.ts index 9a3ca689f98c..bcfb140c6eb5 100644 --- a/packages/datadog-api-client-v1/models/IntakePayloadAccepted.ts +++ b/packages/datadog-api-client-v1/models/IntakePayloadAccepted.ts @@ -15,6 +15,13 @@ export class IntakePayloadAccepted { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class IntakePayloadAccepted { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamColumn.ts b/packages/datadog-api-client-v1/models/ListStreamColumn.ts index dd43d44030ad..d7a54b5a0bbe 100644 --- a/packages/datadog-api-client-v1/models/ListStreamColumn.ts +++ b/packages/datadog-api-client-v1/models/ListStreamColumn.ts @@ -20,6 +20,13 @@ export class ListStreamColumn { */ "width": ListStreamColumnWidth; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class ListStreamColumn { type: "ListStreamColumnWidth", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamComputeItems.ts b/packages/datadog-api-client-v1/models/ListStreamComputeItems.ts index 1fb34091d6c3..f7fd178df53c 100644 --- a/packages/datadog-api-client-v1/models/ListStreamComputeItems.ts +++ b/packages/datadog-api-client-v1/models/ListStreamComputeItems.ts @@ -20,6 +20,13 @@ export class ListStreamComputeItems { */ "facet"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ListStreamComputeItems { baseName: "facet", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamGroupByItems.ts b/packages/datadog-api-client-v1/models/ListStreamGroupByItems.ts index e5e2844fe6be..96566b1792ba 100644 --- a/packages/datadog-api-client-v1/models/ListStreamGroupByItems.ts +++ b/packages/datadog-api-client-v1/models/ListStreamGroupByItems.ts @@ -15,6 +15,13 @@ export class ListStreamGroupByItems { */ "facet": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ListStreamGroupByItems { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamQuery.ts b/packages/datadog-api-client-v1/models/ListStreamQuery.ts index fa9c087b44b8..2406590622db 100644 --- a/packages/datadog-api-client-v1/models/ListStreamQuery.ts +++ b/packages/datadog-api-client-v1/models/ListStreamQuery.ts @@ -48,6 +48,13 @@ export class ListStreamQuery { */ "storage"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class ListStreamQuery { baseName: "storage", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ListStreamWidgetDefinition.ts index 94bf1699c2d7..59a239bfb1a2 100644 --- a/packages/datadog-api-client-v1/models/ListStreamWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ListStreamWidgetDefinition.ts @@ -48,6 +48,13 @@ export class ListStreamWidgetDefinition { */ "type": ListStreamWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class ListStreamWidgetDefinition { type: "ListStreamWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ListStreamWidgetRequest.ts b/packages/datadog-api-client-v1/models/ListStreamWidgetRequest.ts index b36606348258..a40d5961fa25 100644 --- a/packages/datadog-api-client-v1/models/ListStreamWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/ListStreamWidgetRequest.ts @@ -26,6 +26,13 @@ export class ListStreamWidgetRequest { */ "responseFormat": ListStreamResponseFormat; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class ListStreamWidgetRequest { type: "ListStreamResponseFormat", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Log.ts b/packages/datadog-api-client-v1/models/Log.ts index 2df2cc87d3b2..130d1cd6c43a 100644 --- a/packages/datadog-api-client-v1/models/Log.ts +++ b/packages/datadog-api-client-v1/models/Log.ts @@ -20,6 +20,13 @@ export class Log { */ "id"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class Log { baseName: "id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogContent.ts b/packages/datadog-api-client-v1/models/LogContent.ts index 772154578300..8d1d14419f45 100644 --- a/packages/datadog-api-client-v1/models/LogContent.ts +++ b/packages/datadog-api-client-v1/models/LogContent.ts @@ -39,6 +39,13 @@ export class LogContent { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class LogContent { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogQueryDefinition.ts b/packages/datadog-api-client-v1/models/LogQueryDefinition.ts index 953851acfb02..83f9a7b0763c 100644 --- a/packages/datadog-api-client-v1/models/LogQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/LogQueryDefinition.ts @@ -34,6 +34,13 @@ export class LogQueryDefinition { */ "search"?: LogQueryDefinitionSearch; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class LogQueryDefinition { baseName: "search", type: "LogQueryDefinitionSearch", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBy.ts b/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBy.ts index 9aff6af5a444..1d3b0819fc39 100644 --- a/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBy.ts +++ b/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBy.ts @@ -24,6 +24,13 @@ export class LogQueryDefinitionGroupBy { */ "sort"?: LogQueryDefinitionGroupBySort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogQueryDefinitionGroupBy { baseName: "sort", type: "LogQueryDefinitionGroupBySort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBySort.ts b/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBySort.ts index 767c033a5aed..4ebec7387051 100644 --- a/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBySort.ts +++ b/packages/datadog-api-client-v1/models/LogQueryDefinitionGroupBySort.ts @@ -24,6 +24,13 @@ export class LogQueryDefinitionGroupBySort { */ "order": WidgetSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogQueryDefinitionGroupBySort { type: "WidgetSort", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogQueryDefinitionSearch.ts b/packages/datadog-api-client-v1/models/LogQueryDefinitionSearch.ts index b5476396e5ac..e66e0af7561a 100644 --- a/packages/datadog-api-client-v1/models/LogQueryDefinitionSearch.ts +++ b/packages/datadog-api-client-v1/models/LogQueryDefinitionSearch.ts @@ -15,6 +15,13 @@ export class LogQueryDefinitionSearch { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogQueryDefinitionSearch { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.ts b/packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.ts index fda823a0a050..aee1fb0c843c 100644 --- a/packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/LogStreamWidgetDefinition.ts @@ -68,6 +68,13 @@ export class LogStreamWidgetDefinition { */ "type": LogStreamWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -130,6 +137,10 @@ export class LogStreamWidgetDefinition { type: "LogStreamWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsAPIError.ts b/packages/datadog-api-client-v1/models/LogsAPIError.ts index f541292c3422..340fabace374 100644 --- a/packages/datadog-api-client-v1/models/LogsAPIError.ts +++ b/packages/datadog-api-client-v1/models/LogsAPIError.ts @@ -23,6 +23,13 @@ export class LogsAPIError { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class LogsAPIError { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsAPIErrorResponse.ts b/packages/datadog-api-client-v1/models/LogsAPIErrorResponse.ts index 63ba7e4fe4f1..853db7701096 100644 --- a/packages/datadog-api-client-v1/models/LogsAPIErrorResponse.ts +++ b/packages/datadog-api-client-v1/models/LogsAPIErrorResponse.ts @@ -16,6 +16,13 @@ export class LogsAPIErrorResponse { */ "error"?: LogsAPIError; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsAPIErrorResponse { baseName: "error", type: "LogsAPIError", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsArithmeticProcessor.ts b/packages/datadog-api-client-v1/models/LogsArithmeticProcessor.ts index f794b4d24df2..778ad205ddd4 100644 --- a/packages/datadog-api-client-v1/models/LogsArithmeticProcessor.ts +++ b/packages/datadog-api-client-v1/models/LogsArithmeticProcessor.ts @@ -57,6 +57,13 @@ export class LogsArithmeticProcessor { */ "type": LogsArithmeticProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -93,6 +100,10 @@ export class LogsArithmeticProcessor { type: "LogsArithmeticProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsAttributeRemapper.ts b/packages/datadog-api-client-v1/models/LogsAttributeRemapper.ts index 626a92a1d44b..5ca850791fdb 100644 --- a/packages/datadog-api-client-v1/models/LogsAttributeRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsAttributeRemapper.ts @@ -57,6 +57,13 @@ export class LogsAttributeRemapper { */ "type": LogsAttributeRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -109,6 +116,10 @@ export class LogsAttributeRemapper { type: "LogsAttributeRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsByRetention.ts b/packages/datadog-api-client-v1/models/LogsByRetention.ts index bd7407a7e03a..459cbb6b0550 100644 --- a/packages/datadog-api-client-v1/models/LogsByRetention.ts +++ b/packages/datadog-api-client-v1/models/LogsByRetention.ts @@ -26,6 +26,13 @@ export class LogsByRetention { */ "usageByMonth"?: LogsByRetentionMonthlyUsage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogsByRetention { baseName: "usage_by_month", type: "LogsByRetentionMonthlyUsage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.ts b/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.ts index 9135f4bbe257..9fc3d8fb7a68 100644 --- a/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.ts +++ b/packages/datadog-api-client-v1/models/LogsByRetentionMonthlyUsage.ts @@ -20,6 +20,13 @@ export class LogsByRetentionMonthlyUsage { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsByRetentionMonthlyUsage { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsByRetentionOrgUsage.ts b/packages/datadog-api-client-v1/models/LogsByRetentionOrgUsage.ts index 1db38fdf7d25..1ab951ace5ea 100644 --- a/packages/datadog-api-client-v1/models/LogsByRetentionOrgUsage.ts +++ b/packages/datadog-api-client-v1/models/LogsByRetentionOrgUsage.ts @@ -16,6 +16,13 @@ export class LogsByRetentionOrgUsage { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsByRetentionOrgUsage { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsByRetentionOrgs.ts b/packages/datadog-api-client-v1/models/LogsByRetentionOrgs.ts index 906d621df5a9..7358e14d399f 100644 --- a/packages/datadog-api-client-v1/models/LogsByRetentionOrgs.ts +++ b/packages/datadog-api-client-v1/models/LogsByRetentionOrgs.ts @@ -16,6 +16,13 @@ export class LogsByRetentionOrgs { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsByRetentionOrgs { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsCategoryProcessor.ts b/packages/datadog-api-client-v1/models/LogsCategoryProcessor.ts index a1e009ef65eb..6ea522bd478c 100644 --- a/packages/datadog-api-client-v1/models/LogsCategoryProcessor.ts +++ b/packages/datadog-api-client-v1/models/LogsCategoryProcessor.ts @@ -46,6 +46,13 @@ export class LogsCategoryProcessor { */ "type": LogsCategoryProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -78,6 +85,10 @@ export class LogsCategoryProcessor { type: "LogsCategoryProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsCategoryProcessorCategory.ts b/packages/datadog-api-client-v1/models/LogsCategoryProcessorCategory.ts index c55b54983d96..154d2a17d8fc 100644 --- a/packages/datadog-api-client-v1/models/LogsCategoryProcessorCategory.ts +++ b/packages/datadog-api-client-v1/models/LogsCategoryProcessorCategory.ts @@ -20,6 +20,13 @@ export class LogsCategoryProcessorCategory { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsCategoryProcessorCategory { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsDailyLimitReset.ts b/packages/datadog-api-client-v1/models/LogsDailyLimitReset.ts index 46fd3025e2a2..4b2943473c43 100644 --- a/packages/datadog-api-client-v1/models/LogsDailyLimitReset.ts +++ b/packages/datadog-api-client-v1/models/LogsDailyLimitReset.ts @@ -19,6 +19,13 @@ export class LogsDailyLimitReset { */ "resetUtcOffset"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class LogsDailyLimitReset { baseName: "reset_utc_offset", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsDateRemapper.ts b/packages/datadog-api-client-v1/models/LogsDateRemapper.ts index 71bdb4f09458..1373af8120b4 100644 --- a/packages/datadog-api-client-v1/models/LogsDateRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsDateRemapper.ts @@ -46,6 +46,13 @@ export class LogsDateRemapper { */ "type": LogsDateRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class LogsDateRemapper { type: "LogsDateRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsExclusion.ts b/packages/datadog-api-client-v1/models/LogsExclusion.ts index d43e62bf598b..8163e5192d65 100644 --- a/packages/datadog-api-client-v1/models/LogsExclusion.ts +++ b/packages/datadog-api-client-v1/models/LogsExclusion.ts @@ -24,6 +24,13 @@ export class LogsExclusion { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsExclusion { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsExclusionFilter.ts b/packages/datadog-api-client-v1/models/LogsExclusionFilter.ts index 3a1c5a5393f4..d673af4a1299 100644 --- a/packages/datadog-api-client-v1/models/LogsExclusionFilter.ts +++ b/packages/datadog-api-client-v1/models/LogsExclusionFilter.ts @@ -21,6 +21,13 @@ export class LogsExclusionFilter { */ "sampleRate": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class LogsExclusionFilter { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsFilter.ts b/packages/datadog-api-client-v1/models/LogsFilter.ts index 171895a6a4f6..c7e9003fcf55 100644 --- a/packages/datadog-api-client-v1/models/LogsFilter.ts +++ b/packages/datadog-api-client-v1/models/LogsFilter.ts @@ -15,6 +15,13 @@ export class LogsFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class LogsFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsGeoIPParser.ts b/packages/datadog-api-client-v1/models/LogsGeoIPParser.ts index 630ad2b914cb..c553df7c5868 100644 --- a/packages/datadog-api-client-v1/models/LogsGeoIPParser.ts +++ b/packages/datadog-api-client-v1/models/LogsGeoIPParser.ts @@ -33,6 +33,13 @@ export class LogsGeoIPParser { */ "type": LogsGeoIPParserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class LogsGeoIPParser { type: "LogsGeoIPParserType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsGrokParser.ts b/packages/datadog-api-client-v1/models/LogsGrokParser.ts index e865104966c6..ce65d179509b 100644 --- a/packages/datadog-api-client-v1/models/LogsGrokParser.ts +++ b/packages/datadog-api-client-v1/models/LogsGrokParser.ts @@ -38,6 +38,13 @@ export class LogsGrokParser { */ "type": LogsGrokParserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class LogsGrokParser { type: "LogsGrokParserType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsGrokParserRules.ts b/packages/datadog-api-client-v1/models/LogsGrokParserRules.ts index bae64b68a56f..dcf2f983ea0c 100644 --- a/packages/datadog-api-client-v1/models/LogsGrokParserRules.ts +++ b/packages/datadog-api-client-v1/models/LogsGrokParserRules.ts @@ -19,6 +19,13 @@ export class LogsGrokParserRules { */ "supportRules"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsGrokParserRules { baseName: "support_rules", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsIndex.ts b/packages/datadog-api-client-v1/models/LogsIndex.ts index 0237db77adc9..c945ed2d1131 100644 --- a/packages/datadog-api-client-v1/models/LogsIndex.ts +++ b/packages/datadog-api-client-v1/models/LogsIndex.ts @@ -50,6 +50,13 @@ export class LogsIndex { */ "numRetentionDays"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -96,6 +103,10 @@ export class LogsIndex { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsIndexListResponse.ts b/packages/datadog-api-client-v1/models/LogsIndexListResponse.ts index 44ec967b1d2d..bcb42fb81b52 100644 --- a/packages/datadog-api-client-v1/models/LogsIndexListResponse.ts +++ b/packages/datadog-api-client-v1/models/LogsIndexListResponse.ts @@ -16,6 +16,13 @@ export class LogsIndexListResponse { */ "indexes"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsIndexListResponse { baseName: "indexes", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsIndexUpdateRequest.ts b/packages/datadog-api-client-v1/models/LogsIndexUpdateRequest.ts index f7058cfd4cbd..0593b9ed5169 100644 --- a/packages/datadog-api-client-v1/models/LogsIndexUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/LogsIndexUpdateRequest.ts @@ -50,6 +50,13 @@ export class LogsIndexUpdateRequest { */ "numRetentionDays"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class LogsIndexUpdateRequest { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsIndexesOrder.ts b/packages/datadog-api-client-v1/models/LogsIndexesOrder.ts index f237dc6e3350..2fabca4964f3 100644 --- a/packages/datadog-api-client-v1/models/LogsIndexesOrder.ts +++ b/packages/datadog-api-client-v1/models/LogsIndexesOrder.ts @@ -17,6 +17,13 @@ export class LogsIndexesOrder { */ "indexNames": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class LogsIndexesOrder { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsListRequest.ts b/packages/datadog-api-client-v1/models/LogsListRequest.ts index cd5565d81da0..64dfc67715c0 100644 --- a/packages/datadog-api-client-v1/models/LogsListRequest.ts +++ b/packages/datadog-api-client-v1/models/LogsListRequest.ts @@ -42,6 +42,13 @@ export class LogsListRequest { */ "time": LogsListRequestTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -77,6 +84,10 @@ export class LogsListRequest { type: "LogsListRequestTime", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsListRequestTime.ts b/packages/datadog-api-client-v1/models/LogsListRequestTime.ts index 78e59dba48fa..230af85a55c3 100644 --- a/packages/datadog-api-client-v1/models/LogsListRequestTime.ts +++ b/packages/datadog-api-client-v1/models/LogsListRequestTime.ts @@ -24,6 +24,13 @@ export class LogsListRequestTime { */ "to": Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class LogsListRequestTime { required: true, format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsListResponse.ts b/packages/datadog-api-client-v1/models/LogsListResponse.ts index 9ef9187d29cd..df8090220823 100644 --- a/packages/datadog-api-client-v1/models/LogsListResponse.ts +++ b/packages/datadog-api-client-v1/models/LogsListResponse.ts @@ -25,6 +25,13 @@ export class LogsListResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsListResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsLookupProcessor.ts b/packages/datadog-api-client-v1/models/LogsLookupProcessor.ts index 8b8de419487b..096ee8c09433 100644 --- a/packages/datadog-api-client-v1/models/LogsLookupProcessor.ts +++ b/packages/datadog-api-client-v1/models/LogsLookupProcessor.ts @@ -47,6 +47,13 @@ export class LogsLookupProcessor { */ "type": LogsLookupProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -88,6 +95,10 @@ export class LogsLookupProcessor { type: "LogsLookupProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsMessageRemapper.ts b/packages/datadog-api-client-v1/models/LogsMessageRemapper.ts index 2cdddc623788..cc63f2a96f79 100644 --- a/packages/datadog-api-client-v1/models/LogsMessageRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsMessageRemapper.ts @@ -33,6 +33,13 @@ export class LogsMessageRemapper { */ "type": LogsMessageRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class LogsMessageRemapper { type: "LogsMessageRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsPipeline.ts b/packages/datadog-api-client-v1/models/LogsPipeline.ts index 061158e777b5..501f57cb9f29 100644 --- a/packages/datadog-api-client-v1/models/LogsPipeline.ts +++ b/packages/datadog-api-client-v1/models/LogsPipeline.ts @@ -45,6 +45,13 @@ export class LogsPipeline { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class LogsPipeline { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsPipelineProcessor.ts b/packages/datadog-api-client-v1/models/LogsPipelineProcessor.ts index 410eb5dc3b5e..81afa28444ba 100644 --- a/packages/datadog-api-client-v1/models/LogsPipelineProcessor.ts +++ b/packages/datadog-api-client-v1/models/LogsPipelineProcessor.ts @@ -38,6 +38,13 @@ export class LogsPipelineProcessor { */ "type": LogsPipelineProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -68,6 +75,10 @@ export class LogsPipelineProcessor { type: "LogsPipelineProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsPipelinesOrder.ts b/packages/datadog-api-client-v1/models/LogsPipelinesOrder.ts index 7a319bc06425..d860b34b3e99 100644 --- a/packages/datadog-api-client-v1/models/LogsPipelinesOrder.ts +++ b/packages/datadog-api-client-v1/models/LogsPipelinesOrder.ts @@ -16,6 +16,13 @@ export class LogsPipelinesOrder { */ "pipelineIds": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class LogsPipelinesOrder { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsQueryCompute.ts b/packages/datadog-api-client-v1/models/LogsQueryCompute.ts index a34e2149d4b9..2f114a2fe77b 100644 --- a/packages/datadog-api-client-v1/models/LogsQueryCompute.ts +++ b/packages/datadog-api-client-v1/models/LogsQueryCompute.ts @@ -23,6 +23,13 @@ export class LogsQueryCompute { */ "interval"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsQueryCompute { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsRetentionAggSumUsage.ts b/packages/datadog-api-client-v1/models/LogsRetentionAggSumUsage.ts index 70c13cebc6d6..3e24b799e1d1 100644 --- a/packages/datadog-api-client-v1/models/LogsRetentionAggSumUsage.ts +++ b/packages/datadog-api-client-v1/models/LogsRetentionAggSumUsage.ts @@ -27,6 +27,13 @@ export class LogsRetentionAggSumUsage { */ "retention"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class LogsRetentionAggSumUsage { baseName: "retention", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsRetentionSumUsage.ts b/packages/datadog-api-client-v1/models/LogsRetentionSumUsage.ts index 08aa43239552..5c1ed5981294 100644 --- a/packages/datadog-api-client-v1/models/LogsRetentionSumUsage.ts +++ b/packages/datadog-api-client-v1/models/LogsRetentionSumUsage.ts @@ -27,6 +27,13 @@ export class LogsRetentionSumUsage { */ "retention"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class LogsRetentionSumUsage { baseName: "retention", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsServiceRemapper.ts b/packages/datadog-api-client-v1/models/LogsServiceRemapper.ts index bdf462a7c784..cb8abdd77df2 100644 --- a/packages/datadog-api-client-v1/models/LogsServiceRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsServiceRemapper.ts @@ -31,6 +31,13 @@ export class LogsServiceRemapper { */ "type": LogsServiceRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class LogsServiceRemapper { type: "LogsServiceRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsStatusRemapper.ts b/packages/datadog-api-client-v1/models/LogsStatusRemapper.ts index 79cbbe6e7d25..7adcbd17a719 100644 --- a/packages/datadog-api-client-v1/models/LogsStatusRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsStatusRemapper.ts @@ -45,6 +45,13 @@ export class LogsStatusRemapper { */ "type": LogsStatusRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class LogsStatusRemapper { type: "LogsStatusRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsStringBuilderProcessor.ts b/packages/datadog-api-client-v1/models/LogsStringBuilderProcessor.ts index 972732c9f399..1d82f9b4b407 100644 --- a/packages/datadog-api-client-v1/models/LogsStringBuilderProcessor.ts +++ b/packages/datadog-api-client-v1/models/LogsStringBuilderProcessor.ts @@ -49,6 +49,13 @@ export class LogsStringBuilderProcessor { */ "type": LogsStringBuilderProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -85,6 +92,10 @@ export class LogsStringBuilderProcessor { type: "LogsStringBuilderProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsTraceRemapper.ts b/packages/datadog-api-client-v1/models/LogsTraceRemapper.ts index 718d0faba365..35174fea3132 100644 --- a/packages/datadog-api-client-v1/models/LogsTraceRemapper.ts +++ b/packages/datadog-api-client-v1/models/LogsTraceRemapper.ts @@ -33,6 +33,13 @@ export class LogsTraceRemapper { */ "type": LogsTraceRemapperType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class LogsTraceRemapper { type: "LogsTraceRemapperType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsURLParser.ts b/packages/datadog-api-client-v1/models/LogsURLParser.ts index 64ce4b831c2d..4dfaee68b85b 100644 --- a/packages/datadog-api-client-v1/models/LogsURLParser.ts +++ b/packages/datadog-api-client-v1/models/LogsURLParser.ts @@ -36,6 +36,13 @@ export class LogsURLParser { */ "type": LogsURLParserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class LogsURLParser { type: "LogsURLParserType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/LogsUserAgentParser.ts b/packages/datadog-api-client-v1/models/LogsUserAgentParser.ts index d2deecf60a8d..08ac807965c5 100644 --- a/packages/datadog-api-client-v1/models/LogsUserAgentParser.ts +++ b/packages/datadog-api-client-v1/models/LogsUserAgentParser.ts @@ -37,6 +37,13 @@ export class LogsUserAgentParser { */ "type": LogsUserAgentParserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class LogsUserAgentParser { type: "LogsUserAgentParserType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MatchingDowntime.ts b/packages/datadog-api-client-v1/models/MatchingDowntime.ts index 16d4e4ac138a..2a0d35aec213 100644 --- a/packages/datadog-api-client-v1/models/MatchingDowntime.ts +++ b/packages/datadog-api-client-v1/models/MatchingDowntime.ts @@ -29,6 +29,13 @@ export class MatchingDowntime { */ "start"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class MatchingDowntime { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricMetadata.ts b/packages/datadog-api-client-v1/models/MetricMetadata.ts index 7d38b502b882..97c109268309 100644 --- a/packages/datadog-api-client-v1/models/MetricMetadata.ts +++ b/packages/datadog-api-client-v1/models/MetricMetadata.ts @@ -39,6 +39,13 @@ export class MetricMetadata { */ "unit"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -77,6 +84,10 @@ export class MetricMetadata { baseName: "unit", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricSearchResponse.ts b/packages/datadog-api-client-v1/models/MetricSearchResponse.ts index 5b81092b841c..ce66d9646c7c 100644 --- a/packages/datadog-api-client-v1/models/MetricSearchResponse.ts +++ b/packages/datadog-api-client-v1/models/MetricSearchResponse.ts @@ -16,6 +16,13 @@ export class MetricSearchResponse { */ "results"?: MetricSearchResponseResults; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricSearchResponse { baseName: "results", type: "MetricSearchResponseResults", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricSearchResponseResults.ts b/packages/datadog-api-client-v1/models/MetricSearchResponseResults.ts index 66f96f763b1c..63cf2f023caa 100644 --- a/packages/datadog-api-client-v1/models/MetricSearchResponseResults.ts +++ b/packages/datadog-api-client-v1/models/MetricSearchResponseResults.ts @@ -15,6 +15,13 @@ export class MetricSearchResponseResults { */ "metrics"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class MetricSearchResponseResults { baseName: "metrics", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricsListResponse.ts b/packages/datadog-api-client-v1/models/MetricsListResponse.ts index 0ea18509827c..68910c25df48 100644 --- a/packages/datadog-api-client-v1/models/MetricsListResponse.ts +++ b/packages/datadog-api-client-v1/models/MetricsListResponse.ts @@ -19,6 +19,13 @@ export class MetricsListResponse { */ "metrics"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class MetricsListResponse { baseName: "metrics", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricsPayload.ts b/packages/datadog-api-client-v1/models/MetricsPayload.ts index 1fbcb7bfcde4..9b188655a5a0 100644 --- a/packages/datadog-api-client-v1/models/MetricsPayload.ts +++ b/packages/datadog-api-client-v1/models/MetricsPayload.ts @@ -16,6 +16,13 @@ export class MetricsPayload { */ "series": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricsPayload { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricsQueryMetadata.ts b/packages/datadog-api-client-v1/models/MetricsQueryMetadata.ts index 8100d1356202..e017dfd1e5f2 100644 --- a/packages/datadog-api-client-v1/models/MetricsQueryMetadata.ts +++ b/packages/datadog-api-client-v1/models/MetricsQueryMetadata.ts @@ -67,6 +67,13 @@ export class MetricsQueryMetadata { */ "unit"?: [MetricsQueryUnit, MetricsQueryUnit]; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -134,6 +141,10 @@ export class MetricsQueryMetadata { baseName: "unit", type: "[MetricsQueryUnit, MetricsQueryUnit]", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricsQueryResponse.ts b/packages/datadog-api-client-v1/models/MetricsQueryResponse.ts index 01c59cc4c718..d5d7abcdb7be 100644 --- a/packages/datadog-api-client-v1/models/MetricsQueryResponse.ts +++ b/packages/datadog-api-client-v1/models/MetricsQueryResponse.ts @@ -48,6 +48,13 @@ export class MetricsQueryResponse { */ "toDate"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -95,6 +102,10 @@ export class MetricsQueryResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MetricsQueryUnit.ts b/packages/datadog-api-client-v1/models/MetricsQueryUnit.ts index 7ba3941d676b..d0da2e97f2b7 100644 --- a/packages/datadog-api-client-v1/models/MetricsQueryUnit.ts +++ b/packages/datadog-api-client-v1/models/MetricsQueryUnit.ts @@ -31,6 +31,13 @@ export class MetricsQueryUnit { */ "shortName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class MetricsQueryUnit { baseName: "short_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Monitor.ts b/packages/datadog-api-client-v1/models/Monitor.ts index 41cb37fc21a8..13e9604b908d 100644 --- a/packages/datadog-api-client-v1/models/Monitor.ts +++ b/packages/datadog-api-client-v1/models/Monitor.ts @@ -85,6 +85,13 @@ export class Monitor { */ "type": MonitorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -169,6 +176,10 @@ export class Monitor { type: "MonitorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinition.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinition.ts index 044889af7e78..a86f559659b1 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinition.ts @@ -39,6 +39,13 @@ export class MonitorFormulaAndFunctionEventQueryDefinition { */ "search"?: MonitorFormulaAndFunctionEventQueryDefinitionSearch; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class MonitorFormulaAndFunctionEventQueryDefinition { baseName: "search", type: "MonitorFormulaAndFunctionEventQueryDefinitionSearch", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionCompute.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionCompute.ts index 6278aff37691..9749dafa6838 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionCompute.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionCompute.ts @@ -24,6 +24,13 @@ export class MonitorFormulaAndFunctionEventQueryDefinitionCompute { */ "metric"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorFormulaAndFunctionEventQueryDefinitionCompute { baseName: "metric", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionSearch.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionSearch.ts index 300d00bcf96b..4f6ea6c41d37 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionSearch.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryDefinitionSearch.ts @@ -15,6 +15,13 @@ export class MonitorFormulaAndFunctionEventQueryDefinitionSearch { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MonitorFormulaAndFunctionEventQueryDefinitionSearch { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBy.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBy.ts index aafdda710af5..328ba7df5aac 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBy.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBy.ts @@ -24,6 +24,13 @@ export class MonitorFormulaAndFunctionEventQueryGroupBy { */ "sort"?: MonitorFormulaAndFunctionEventQueryGroupBySort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorFormulaAndFunctionEventQueryGroupBy { baseName: "sort", type: "MonitorFormulaAndFunctionEventQueryGroupBySort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBySort.ts b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBySort.ts index 5262789d42c7..3d9d29480708 100644 --- a/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBySort.ts +++ b/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventQueryGroupBySort.ts @@ -25,6 +25,13 @@ export class MonitorFormulaAndFunctionEventQueryGroupBySort { */ "order"?: QuerySortOrder; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorFormulaAndFunctionEventQueryGroupBySort { baseName: "order", type: "QuerySortOrder", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorGroupSearchResponse.ts b/packages/datadog-api-client-v1/models/MonitorGroupSearchResponse.ts index a68027cbd71c..f605a7c28405 100644 --- a/packages/datadog-api-client-v1/models/MonitorGroupSearchResponse.ts +++ b/packages/datadog-api-client-v1/models/MonitorGroupSearchResponse.ts @@ -26,6 +26,13 @@ export class MonitorGroupSearchResponse { */ "metadata"?: MonitorSearchResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorGroupSearchResponse { baseName: "metadata", type: "MonitorSearchResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorGroupSearchResponseCounts.ts b/packages/datadog-api-client-v1/models/MonitorGroupSearchResponseCounts.ts index 6ee36ca70412..5530eab4ac87 100644 --- a/packages/datadog-api-client-v1/models/MonitorGroupSearchResponseCounts.ts +++ b/packages/datadog-api-client-v1/models/MonitorGroupSearchResponseCounts.ts @@ -20,6 +20,13 @@ export class MonitorGroupSearchResponseCounts { */ "type"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class MonitorGroupSearchResponseCounts { baseName: "type", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorGroupSearchResult.ts b/packages/datadog-api-client-v1/models/MonitorGroupSearchResult.ts index 693e27577477..1b1576a45480 100644 --- a/packages/datadog-api-client-v1/models/MonitorGroupSearchResult.ts +++ b/packages/datadog-api-client-v1/models/MonitorGroupSearchResult.ts @@ -40,6 +40,13 @@ export class MonitorGroupSearchResult { */ "status"?: MonitorOverallStates; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -80,6 +87,10 @@ export class MonitorGroupSearchResult { baseName: "status", type: "MonitorOverallStates", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptions.ts b/packages/datadog-api-client-v1/models/MonitorOptions.ts index 35757cc9529d..19ef9821a0eb 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptions.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptions.ts @@ -180,6 +180,13 @@ export class MonitorOptions { */ "variables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -322,6 +329,10 @@ export class MonitorOptions { baseName: "variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptionsAggregation.ts b/packages/datadog-api-client-v1/models/MonitorOptionsAggregation.ts index d9cd0fcaa4ac..36f43b3589e1 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptionsAggregation.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptionsAggregation.ts @@ -23,6 +23,13 @@ export class MonitorOptionsAggregation { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class MonitorOptionsAggregation { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptionsCustomSchedule.ts b/packages/datadog-api-client-v1/models/MonitorOptionsCustomSchedule.ts index de217ded58c8..8462cca53ace 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptionsCustomSchedule.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptionsCustomSchedule.ts @@ -16,6 +16,13 @@ export class MonitorOptionsCustomSchedule { */ "recurrences"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MonitorOptionsCustomSchedule { baseName: "recurrences", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptionsCustomScheduleRecurrence.ts b/packages/datadog-api-client-v1/models/MonitorOptionsCustomScheduleRecurrence.ts index 4721a9e3ba89..df2c1d26dd0e 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptionsCustomScheduleRecurrence.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptionsCustomScheduleRecurrence.ts @@ -23,6 +23,13 @@ export class MonitorOptionsCustomScheduleRecurrence { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class MonitorOptionsCustomScheduleRecurrence { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptions.ts b/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptions.ts index 7b7ec0d24328..d8e077ea3fcb 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptions.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptions.ts @@ -21,6 +21,13 @@ export class MonitorOptionsSchedulingOptions { */ "evaluationWindow"?: MonitorOptionsSchedulingOptionsEvaluationWindow; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonitorOptionsSchedulingOptions { baseName: "evaluation_window", type: "MonitorOptionsSchedulingOptionsEvaluationWindow", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.ts b/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.ts index ce844fd0ca40..0a5517137a43 100644 --- a/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.ts +++ b/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.ts @@ -23,6 +23,13 @@ export class MonitorOptionsSchedulingOptionsEvaluationWindow { */ "monthStarts"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MonitorOptionsSchedulingOptionsEvaluationWindow { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchCountItem.ts b/packages/datadog-api-client-v1/models/MonitorSearchCountItem.ts index 498dfc53d3a0..043f375f754b 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchCountItem.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchCountItem.ts @@ -19,6 +19,13 @@ export class MonitorSearchCountItem { */ "name"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class MonitorSearchCountItem { baseName: "name", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchResponse.ts b/packages/datadog-api-client-v1/models/MonitorSearchResponse.ts index 92ac57f3b0b4..972f89222d0e 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchResponse.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchResponse.ts @@ -26,6 +26,13 @@ export class MonitorSearchResponse { */ "monitors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorSearchResponse { baseName: "monitors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchResponseCounts.ts b/packages/datadog-api-client-v1/models/MonitorSearchResponseCounts.ts index c7034c352a37..56cb0012a8c8 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchResponseCounts.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchResponseCounts.ts @@ -28,6 +28,13 @@ export class MonitorSearchResponseCounts { */ "type"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class MonitorSearchResponseCounts { baseName: "type", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchResponseMetadata.ts b/packages/datadog-api-client-v1/models/MonitorSearchResponseMetadata.ts index 28c7764edce7..3eb4bc5632db 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchResponseMetadata.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchResponseMetadata.ts @@ -27,6 +27,13 @@ export class MonitorSearchResponseMetadata { */ "totalCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class MonitorSearchResponseMetadata { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchResult.ts b/packages/datadog-api-client-v1/models/MonitorSearchResult.ts index fd57adb74be2..6e11b3d62cf2 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchResult.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchResult.ts @@ -70,6 +70,13 @@ export class MonitorSearchResult { */ "type"?: MonitorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -134,6 +141,10 @@ export class MonitorSearchResult { baseName: "type", type: "MonitorType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSearchResultNotification.ts b/packages/datadog-api-client-v1/models/MonitorSearchResultNotification.ts index c215bfcf86eb..d430877d33c3 100644 --- a/packages/datadog-api-client-v1/models/MonitorSearchResultNotification.ts +++ b/packages/datadog-api-client-v1/models/MonitorSearchResultNotification.ts @@ -19,6 +19,13 @@ export class MonitorSearchResultNotification { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class MonitorSearchResultNotification { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorState.ts b/packages/datadog-api-client-v1/models/MonitorState.ts index f869539e8863..73a1a7b9ce22 100644 --- a/packages/datadog-api-client-v1/models/MonitorState.ts +++ b/packages/datadog-api-client-v1/models/MonitorState.ts @@ -17,6 +17,13 @@ export class MonitorState { */ "groups"?: { [key: string]: MonitorStateGroup }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MonitorState { baseName: "groups", type: "{ [key: string]: MonitorStateGroup; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorStateGroup.ts b/packages/datadog-api-client-v1/models/MonitorStateGroup.ts index bac9a65e975b..3ab9f05472f0 100644 --- a/packages/datadog-api-client-v1/models/MonitorStateGroup.ts +++ b/packages/datadog-api-client-v1/models/MonitorStateGroup.ts @@ -36,6 +36,13 @@ export class MonitorStateGroup { */ "status"?: MonitorOverallStates; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class MonitorStateGroup { baseName: "status", type: "MonitorOverallStates", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.ts b/packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.ts index a7b79b1362b2..f67c8e84e50a 100644 --- a/packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/MonitorSummaryWidgetDefinition.ts @@ -73,6 +73,13 @@ export class MonitorSummaryWidgetDefinition { */ "type": MonitorSummaryWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -142,6 +149,10 @@ export class MonitorSummaryWidgetDefinition { type: "MonitorSummaryWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorThresholdWindowOptions.ts b/packages/datadog-api-client-v1/models/MonitorThresholdWindowOptions.ts index c8a631077eee..2a252fb4c83f 100644 --- a/packages/datadog-api-client-v1/models/MonitorThresholdWindowOptions.ts +++ b/packages/datadog-api-client-v1/models/MonitorThresholdWindowOptions.ts @@ -19,6 +19,13 @@ export class MonitorThresholdWindowOptions { */ "triggerWindow"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class MonitorThresholdWindowOptions { baseName: "trigger_window", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorThresholds.ts b/packages/datadog-api-client-v1/models/MonitorThresholds.ts index 66e5273837f4..46b3a2725852 100644 --- a/packages/datadog-api-client-v1/models/MonitorThresholds.ts +++ b/packages/datadog-api-client-v1/models/MonitorThresholds.ts @@ -35,6 +35,13 @@ export class MonitorThresholds { */ "warningRecovery"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class MonitorThresholds { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonitorUpdateRequest.ts b/packages/datadog-api-client-v1/models/MonitorUpdateRequest.ts index 6221c705c072..b80c4e525e16 100644 --- a/packages/datadog-api-client-v1/models/MonitorUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/MonitorUpdateRequest.ts @@ -80,6 +80,13 @@ export class MonitorUpdateRequest { */ "type"?: MonitorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -158,6 +165,10 @@ export class MonitorUpdateRequest { baseName: "type", type: "MonitorType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts index 64417967eef7..3fdb3f450af5 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionBody.ts @@ -48,6 +48,13 @@ export class MonthlyUsageAttributionBody { */ "values"?: MonthlyUsageAttributionValues; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class MonthlyUsageAttributionBody { baseName: "values", type: "MonthlyUsageAttributionValues", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionMetadata.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionMetadata.ts index a940a17e067b..36a50b4e4551 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionMetadata.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionMetadata.ts @@ -21,6 +21,13 @@ export class MonthlyUsageAttributionMetadata { */ "pagination"?: MonthlyUsageAttributionPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonthlyUsageAttributionMetadata { baseName: "pagination", type: "MonthlyUsageAttributionPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionPagination.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionPagination.ts index d2f3a55043c3..a256c85394df 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionPagination.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionPagination.ts @@ -15,6 +15,13 @@ export class MonthlyUsageAttributionPagination { */ "nextRecordId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class MonthlyUsageAttributionPagination { baseName: "next_record_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionResponse.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionResponse.ts index 9825089bbe08..fd88bbb4cbd9 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionResponse.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionResponse.ts @@ -21,6 +21,13 @@ export class MonthlyUsageAttributionResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonthlyUsageAttributionResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts index 7fd8a2b7d906..547409759da7 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts @@ -507,6 +507,13 @@ export class MonthlyUsageAttributionValues { */ "vulnManagementHostsUsage"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -1136,6 +1143,10 @@ export class MonthlyUsageAttributionValues { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NoteWidgetDefinition.ts b/packages/datadog-api-client-v1/models/NoteWidgetDefinition.ts index 9b72378332f6..193a2d7f3479 100644 --- a/packages/datadog-api-client-v1/models/NoteWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/NoteWidgetDefinition.ts @@ -55,6 +55,13 @@ export class NoteWidgetDefinition { */ "verticalAlign"?: WidgetVerticalAlign; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -106,6 +113,10 @@ export class NoteWidgetDefinition { baseName: "vertical_align", type: "WidgetVerticalAlign", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookAbsoluteTime.ts b/packages/datadog-api-client-v1/models/NotebookAbsoluteTime.ts index 4754beee4c58..5e1faa79b3ea 100644 --- a/packages/datadog-api-client-v1/models/NotebookAbsoluteTime.ts +++ b/packages/datadog-api-client-v1/models/NotebookAbsoluteTime.ts @@ -23,6 +23,13 @@ export class NotebookAbsoluteTime { */ "start": Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class NotebookAbsoluteTime { required: true, format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookAuthor.ts b/packages/datadog-api-client-v1/models/NotebookAuthor.ts index 5822f8379307..104bdaecdf0c 100644 --- a/packages/datadog-api-client-v1/models/NotebookAuthor.ts +++ b/packages/datadog-api-client-v1/models/NotebookAuthor.ts @@ -47,6 +47,13 @@ export class NotebookAuthor { */ "verified"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -93,6 +100,10 @@ export class NotebookAuthor { baseName: "verified", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookCellResponse.ts b/packages/datadog-api-client-v1/models/NotebookCellResponse.ts index 5262d4617068..a16620c2cfa5 100644 --- a/packages/datadog-api-client-v1/models/NotebookCellResponse.ts +++ b/packages/datadog-api-client-v1/models/NotebookCellResponse.ts @@ -26,6 +26,13 @@ export class NotebookCellResponse { */ "type": NotebookCellResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class NotebookCellResponse { type: "NotebookCellResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookCellUpdateRequest.ts b/packages/datadog-api-client-v1/models/NotebookCellUpdateRequest.ts index d2823c6360f2..f5c5825ade2c 100644 --- a/packages/datadog-api-client-v1/models/NotebookCellUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/NotebookCellUpdateRequest.ts @@ -26,6 +26,13 @@ export class NotebookCellUpdateRequest { */ "type": NotebookCellResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class NotebookCellUpdateRequest { type: "NotebookCellResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookCreateData.ts b/packages/datadog-api-client-v1/models/NotebookCreateData.ts index 3ee14d0b663f..83ad0e0de754 100644 --- a/packages/datadog-api-client-v1/models/NotebookCreateData.ts +++ b/packages/datadog-api-client-v1/models/NotebookCreateData.ts @@ -21,6 +21,13 @@ export class NotebookCreateData { */ "type": NotebookResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class NotebookCreateData { type: "NotebookResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookCreateDataAttributes.ts b/packages/datadog-api-client-v1/models/NotebookCreateDataAttributes.ts index 218117e12f15..0070d6420173 100644 --- a/packages/datadog-api-client-v1/models/NotebookCreateDataAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookCreateDataAttributes.ts @@ -35,6 +35,13 @@ export class NotebookCreateDataAttributes { */ "time": NotebookGlobalTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class NotebookCreateDataAttributes { type: "NotebookGlobalTime", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookCreateRequest.ts b/packages/datadog-api-client-v1/models/NotebookCreateRequest.ts index 1ac70776760e..3c7c68ed8da1 100644 --- a/packages/datadog-api-client-v1/models/NotebookCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/NotebookCreateRequest.ts @@ -16,6 +16,13 @@ export class NotebookCreateRequest { */ "data": NotebookCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NotebookCreateRequest { type: "NotebookCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookDistributionCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookDistributionCellAttributes.ts index 611770fa4c77..9db4800ab6fe 100644 --- a/packages/datadog-api-client-v1/models/NotebookDistributionCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookDistributionCellAttributes.ts @@ -33,6 +33,13 @@ export class NotebookDistributionCellAttributes { */ "time"?: NotebookCellTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class NotebookDistributionCellAttributes { baseName: "time", type: "NotebookCellTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookHeatMapCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookHeatMapCellAttributes.ts index 5b77f19e438c..1c37bb9c429d 100644 --- a/packages/datadog-api-client-v1/models/NotebookHeatMapCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookHeatMapCellAttributes.ts @@ -31,6 +31,13 @@ export class NotebookHeatMapCellAttributes { */ "time"?: NotebookCellTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class NotebookHeatMapCellAttributes { baseName: "time", type: "NotebookCellTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.ts index 12a7ca5245ab..4f30c23cf4c8 100644 --- a/packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookLogStreamCellAttributes.ts @@ -26,6 +26,13 @@ export class NotebookLogStreamCellAttributes { */ "time"?: NotebookCellTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class NotebookLogStreamCellAttributes { baseName: "time", type: "NotebookCellTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookMarkdownCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookMarkdownCellAttributes.ts index 2777e557e0cf..5e2c649016a4 100644 --- a/packages/datadog-api-client-v1/models/NotebookMarkdownCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookMarkdownCellAttributes.ts @@ -16,6 +16,13 @@ export class NotebookMarkdownCellAttributes { */ "definition": NotebookMarkdownCellDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NotebookMarkdownCellAttributes { type: "NotebookMarkdownCellDefinition", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookMarkdownCellDefinition.ts b/packages/datadog-api-client-v1/models/NotebookMarkdownCellDefinition.ts index 4b52947b28e7..2b87bf4eec8c 100644 --- a/packages/datadog-api-client-v1/models/NotebookMarkdownCellDefinition.ts +++ b/packages/datadog-api-client-v1/models/NotebookMarkdownCellDefinition.ts @@ -20,6 +20,13 @@ export class NotebookMarkdownCellDefinition { */ "type": NotebookMarkdownCellDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class NotebookMarkdownCellDefinition { type: "NotebookMarkdownCellDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookMetadata.ts b/packages/datadog-api-client-v1/models/NotebookMetadata.ts index 5016ab97ab64..6fe5072341b4 100644 --- a/packages/datadog-api-client-v1/models/NotebookMetadata.ts +++ b/packages/datadog-api-client-v1/models/NotebookMetadata.ts @@ -24,6 +24,13 @@ export class NotebookMetadata { */ "type"?: NotebookMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class NotebookMetadata { baseName: "type", type: "NotebookMetadataType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookRelativeTime.ts b/packages/datadog-api-client-v1/models/NotebookRelativeTime.ts index 3b24d45fc8d7..7fc749174e26 100644 --- a/packages/datadog-api-client-v1/models/NotebookRelativeTime.ts +++ b/packages/datadog-api-client-v1/models/NotebookRelativeTime.ts @@ -16,6 +16,13 @@ export class NotebookRelativeTime { */ "liveSpan": WidgetLiveSpan; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NotebookRelativeTime { type: "WidgetLiveSpan", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookResponse.ts b/packages/datadog-api-client-v1/models/NotebookResponse.ts index b39e8c166a7f..9bc75385b68e 100644 --- a/packages/datadog-api-client-v1/models/NotebookResponse.ts +++ b/packages/datadog-api-client-v1/models/NotebookResponse.ts @@ -16,6 +16,13 @@ export class NotebookResponse { */ "data"?: NotebookResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class NotebookResponse { baseName: "data", type: "NotebookResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookResponseData.ts b/packages/datadog-api-client-v1/models/NotebookResponseData.ts index 1b843a2e27be..d8dd054405c7 100644 --- a/packages/datadog-api-client-v1/models/NotebookResponseData.ts +++ b/packages/datadog-api-client-v1/models/NotebookResponseData.ts @@ -25,6 +25,13 @@ export class NotebookResponseData { */ "type": NotebookResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class NotebookResponseData { type: "NotebookResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookResponseDataAttributes.ts b/packages/datadog-api-client-v1/models/NotebookResponseDataAttributes.ts index b2f0c235cabe..c58118e8b431 100644 --- a/packages/datadog-api-client-v1/models/NotebookResponseDataAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookResponseDataAttributes.ts @@ -48,6 +48,13 @@ export class NotebookResponseDataAttributes { */ "time": NotebookGlobalTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -94,6 +101,10 @@ export class NotebookResponseDataAttributes { type: "NotebookGlobalTime", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookSplitBy.ts b/packages/datadog-api-client-v1/models/NotebookSplitBy.ts index 636322c8501e..565c53426328 100644 --- a/packages/datadog-api-client-v1/models/NotebookSplitBy.ts +++ b/packages/datadog-api-client-v1/models/NotebookSplitBy.ts @@ -19,6 +19,13 @@ export class NotebookSplitBy { */ "tags": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class NotebookSplitBy { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookTimeseriesCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookTimeseriesCellAttributes.ts index aa57f761cb0d..de7c39e5978a 100644 --- a/packages/datadog-api-client-v1/models/NotebookTimeseriesCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookTimeseriesCellAttributes.ts @@ -31,6 +31,13 @@ export class NotebookTimeseriesCellAttributes { */ "time"?: NotebookCellTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class NotebookTimeseriesCellAttributes { baseName: "time", type: "NotebookCellTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookToplistCellAttributes.ts b/packages/datadog-api-client-v1/models/NotebookToplistCellAttributes.ts index 24cc95b71e0f..a617a1a2acf5 100644 --- a/packages/datadog-api-client-v1/models/NotebookToplistCellAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookToplistCellAttributes.ts @@ -31,6 +31,13 @@ export class NotebookToplistCellAttributes { */ "time"?: NotebookCellTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class NotebookToplistCellAttributes { baseName: "time", type: "NotebookCellTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookUpdateData.ts b/packages/datadog-api-client-v1/models/NotebookUpdateData.ts index 2bc832af381c..5a45282c040c 100644 --- a/packages/datadog-api-client-v1/models/NotebookUpdateData.ts +++ b/packages/datadog-api-client-v1/models/NotebookUpdateData.ts @@ -21,6 +21,13 @@ export class NotebookUpdateData { */ "type": NotebookResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class NotebookUpdateData { type: "NotebookResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookUpdateDataAttributes.ts b/packages/datadog-api-client-v1/models/NotebookUpdateDataAttributes.ts index 14b851453a76..cc839394f90c 100644 --- a/packages/datadog-api-client-v1/models/NotebookUpdateDataAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebookUpdateDataAttributes.ts @@ -35,6 +35,13 @@ export class NotebookUpdateDataAttributes { */ "time": NotebookGlobalTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class NotebookUpdateDataAttributes { type: "NotebookGlobalTime", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebookUpdateRequest.ts b/packages/datadog-api-client-v1/models/NotebookUpdateRequest.ts index bcab78e77c55..2a8839ed0e4b 100644 --- a/packages/datadog-api-client-v1/models/NotebookUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/NotebookUpdateRequest.ts @@ -16,6 +16,13 @@ export class NotebookUpdateRequest { */ "data": NotebookUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NotebookUpdateRequest { type: "NotebookUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebooksResponse.ts b/packages/datadog-api-client-v1/models/NotebooksResponse.ts index 6e1cf5543820..61dc4455f6ae 100644 --- a/packages/datadog-api-client-v1/models/NotebooksResponse.ts +++ b/packages/datadog-api-client-v1/models/NotebooksResponse.ts @@ -21,6 +21,13 @@ export class NotebooksResponse { */ "meta"?: NotebooksResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class NotebooksResponse { baseName: "meta", type: "NotebooksResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebooksResponseData.ts b/packages/datadog-api-client-v1/models/NotebooksResponseData.ts index 3532473483cb..7949628d9964 100644 --- a/packages/datadog-api-client-v1/models/NotebooksResponseData.ts +++ b/packages/datadog-api-client-v1/models/NotebooksResponseData.ts @@ -25,6 +25,13 @@ export class NotebooksResponseData { */ "type": NotebookResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class NotebooksResponseData { type: "NotebookResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebooksResponseDataAttributes.ts b/packages/datadog-api-client-v1/models/NotebooksResponseDataAttributes.ts index 5a5354c13dc9..09ff2c7bbfd3 100644 --- a/packages/datadog-api-client-v1/models/NotebooksResponseDataAttributes.ts +++ b/packages/datadog-api-client-v1/models/NotebooksResponseDataAttributes.ts @@ -48,6 +48,13 @@ export class NotebooksResponseDataAttributes { */ "time"?: NotebookGlobalTime; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class NotebooksResponseDataAttributes { baseName: "time", type: "NotebookGlobalTime", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebooksResponseMeta.ts b/packages/datadog-api-client-v1/models/NotebooksResponseMeta.ts index c68df6d5a724..030637dd271e 100644 --- a/packages/datadog-api-client-v1/models/NotebooksResponseMeta.ts +++ b/packages/datadog-api-client-v1/models/NotebooksResponseMeta.ts @@ -16,6 +16,13 @@ export class NotebooksResponseMeta { */ "page"?: NotebooksResponsePage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class NotebooksResponseMeta { baseName: "page", type: "NotebooksResponsePage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/NotebooksResponsePage.ts b/packages/datadog-api-client-v1/models/NotebooksResponsePage.ts index 92e8ebb19d65..c481dc854648 100644 --- a/packages/datadog-api-client-v1/models/NotebooksResponsePage.ts +++ b/packages/datadog-api-client-v1/models/NotebooksResponsePage.ts @@ -19,6 +19,13 @@ export class NotebooksResponsePage { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class NotebooksResponsePage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index 9ee8f26893a4..d221afd39363 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -2479,26 +2479,43 @@ export class ObjectSerializer { const attributesMap = typeMap[type].getAttributeTypeMap(); const instance: { [index: string]: any } = {}; - for (const attributeName in attributesMap) { + for (const attributeName in data) { const attributeObj = attributesMap[attributeName]; - if (attributeName == "additionalProperties") { - if (data.additionalProperties) { - for (const key in data.additionalProperties) { - instance[key] = ObjectSerializer.serialize( - data.additionalProperties[key], - attributeObj.type, - attributeObj.format - ); - } - } + if ( + attributeName === "_unparsed" || + attributeName === "additionalProperties" + ) { continue; + } else if ( + attributeObj === undefined && + !("additionalProperties" in attributesMap) + ) { + throw new Error( + "unexpected attribute " + attributeName + " of type " + type + ); + } else if (attributeObj) { + instance[attributeObj.baseName] = ObjectSerializer.serialize( + data[attributeName], + attributeObj.type, + attributeObj.format + ); } - instance[attributeObj.baseName] = ObjectSerializer.serialize( - data[attributeName], - attributeObj.type, - attributeObj.format - ); - // check for required properties + } + + const additionalProperties = attributesMap["additionalProperties"]; + if (additionalProperties && data.additionalProperties) { + for (const key in data.additionalProperties) { + instance[key] = ObjectSerializer.serialize( + data.additionalProperties[key], + additionalProperties.type, + additionalProperties.format + ); + } + } + + // check for required properties + for (const attributeName in attributesMap) { + const attributeObj = attributesMap[attributeName]; if ( attributeObj?.required && instance[attributeObj.baseName] === undefined diff --git a/packages/datadog-api-client-v1/models/OrgDowngradedResponse.ts b/packages/datadog-api-client-v1/models/OrgDowngradedResponse.ts index f1e6b71571b8..5a56b9a7617a 100644 --- a/packages/datadog-api-client-v1/models/OrgDowngradedResponse.ts +++ b/packages/datadog-api-client-v1/models/OrgDowngradedResponse.ts @@ -15,6 +15,13 @@ export class OrgDowngradedResponse { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class OrgDowngradedResponse { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Organization.ts b/packages/datadog-api-client-v1/models/Organization.ts index 48217ac50d36..f910811519c1 100644 --- a/packages/datadog-api-client-v1/models/Organization.ts +++ b/packages/datadog-api-client-v1/models/Organization.ts @@ -46,6 +46,13 @@ export class Organization { */ "trial"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -87,6 +94,10 @@ export class Organization { baseName: "trial", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationBilling.ts b/packages/datadog-api-client-v1/models/OrganizationBilling.ts index 6745d20332a4..856a5eac68ab 100644 --- a/packages/datadog-api-client-v1/models/OrganizationBilling.ts +++ b/packages/datadog-api-client-v1/models/OrganizationBilling.ts @@ -15,6 +15,13 @@ export class OrganizationBilling { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class OrganizationBilling { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationCreateBody.ts b/packages/datadog-api-client-v1/models/OrganizationCreateBody.ts index 8a4ccf42b6b5..36596cc8ff29 100644 --- a/packages/datadog-api-client-v1/models/OrganizationCreateBody.ts +++ b/packages/datadog-api-client-v1/models/OrganizationCreateBody.ts @@ -25,6 +25,13 @@ export class OrganizationCreateBody { */ "subscription"?: OrganizationSubscription; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class OrganizationCreateBody { baseName: "subscription", type: "OrganizationSubscription", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationCreateResponse.ts b/packages/datadog-api-client-v1/models/OrganizationCreateResponse.ts index 9387c276a40d..9cae80d5092d 100644 --- a/packages/datadog-api-client-v1/models/OrganizationCreateResponse.ts +++ b/packages/datadog-api-client-v1/models/OrganizationCreateResponse.ts @@ -31,6 +31,13 @@ export class OrganizationCreateResponse { */ "user"?: User; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class OrganizationCreateResponse { baseName: "user", type: "User", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationListResponse.ts b/packages/datadog-api-client-v1/models/OrganizationListResponse.ts index 0f75cbbe536b..d9c6a94e5823 100644 --- a/packages/datadog-api-client-v1/models/OrganizationListResponse.ts +++ b/packages/datadog-api-client-v1/models/OrganizationListResponse.ts @@ -16,6 +16,13 @@ export class OrganizationListResponse { */ "orgs"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OrganizationListResponse { baseName: "orgs", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationResponse.ts b/packages/datadog-api-client-v1/models/OrganizationResponse.ts index 5e0093423a61..ed5a544445e3 100644 --- a/packages/datadog-api-client-v1/models/OrganizationResponse.ts +++ b/packages/datadog-api-client-v1/models/OrganizationResponse.ts @@ -16,6 +16,13 @@ export class OrganizationResponse { */ "org"?: Organization; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OrganizationResponse { baseName: "org", type: "Organization", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSettings.ts b/packages/datadog-api-client-v1/models/OrganizationSettings.ts index d4210672aa02..ccf5f39a292d 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSettings.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSettings.ts @@ -57,6 +57,13 @@ export class OrganizationSettings { */ "samlStrictMode"?: OrganizationSettingsSamlStrictMode; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -106,6 +113,10 @@ export class OrganizationSettings { baseName: "saml_strict_mode", type: "OrganizationSettingsSamlStrictMode", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSettingsSaml.ts b/packages/datadog-api-client-v1/models/OrganizationSettingsSaml.ts index d42f8d9381d2..0154a9c0cf1c 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSettingsSaml.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSettingsSaml.ts @@ -16,6 +16,13 @@ export class OrganizationSettingsSaml { */ "enabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OrganizationSettingsSaml { baseName: "enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlAutocreateUsersDomains.ts b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlAutocreateUsersDomains.ts index a4054800164d..b4792bf0617e 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlAutocreateUsersDomains.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlAutocreateUsersDomains.ts @@ -19,6 +19,13 @@ export class OrganizationSettingsSamlAutocreateUsersDomains { */ "enabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class OrganizationSettingsSamlAutocreateUsersDomains { baseName: "enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlIdpInitiatedLogin.ts b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlIdpInitiatedLogin.ts index 5e97738ccbdf..b7ce7f485f5f 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlIdpInitiatedLogin.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlIdpInitiatedLogin.ts @@ -16,6 +16,13 @@ export class OrganizationSettingsSamlIdpInitiatedLogin { */ "enabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OrganizationSettingsSamlIdpInitiatedLogin { baseName: "enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlStrictMode.ts b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlStrictMode.ts index 77df8cbcd408..85909b7037be 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSettingsSamlStrictMode.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSettingsSamlStrictMode.ts @@ -16,6 +16,13 @@ export class OrganizationSettingsSamlStrictMode { */ "enabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OrganizationSettingsSamlStrictMode { baseName: "enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/OrganizationSubscription.ts b/packages/datadog-api-client-v1/models/OrganizationSubscription.ts index 50d0da6c4255..0addcfd4d237 100644 --- a/packages/datadog-api-client-v1/models/OrganizationSubscription.ts +++ b/packages/datadog-api-client-v1/models/OrganizationSubscription.ts @@ -15,6 +15,13 @@ export class OrganizationSubscription { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class OrganizationSubscription { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PagerDutyService.ts b/packages/datadog-api-client-v1/models/PagerDutyService.ts index 8c0275dc77bd..2bf034309cf1 100644 --- a/packages/datadog-api-client-v1/models/PagerDutyService.ts +++ b/packages/datadog-api-client-v1/models/PagerDutyService.ts @@ -19,6 +19,13 @@ export class PagerDutyService { */ "serviceName": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class PagerDutyService { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PagerDutyServiceKey.ts b/packages/datadog-api-client-v1/models/PagerDutyServiceKey.ts index e523ef870bc3..c52b6595abc8 100644 --- a/packages/datadog-api-client-v1/models/PagerDutyServiceKey.ts +++ b/packages/datadog-api-client-v1/models/PagerDutyServiceKey.ts @@ -15,6 +15,13 @@ export class PagerDutyServiceKey { */ "serviceKey": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class PagerDutyServiceKey { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PagerDutyServiceName.ts b/packages/datadog-api-client-v1/models/PagerDutyServiceName.ts index 25f17f19e87a..44754cd15597 100644 --- a/packages/datadog-api-client-v1/models/PagerDutyServiceName.ts +++ b/packages/datadog-api-client-v1/models/PagerDutyServiceName.ts @@ -15,6 +15,13 @@ export class PagerDutyServiceName { */ "serviceName": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class PagerDutyServiceName { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Pagination.ts b/packages/datadog-api-client-v1/models/Pagination.ts index e34000773ca6..3181b52bd757 100644 --- a/packages/datadog-api-client-v1/models/Pagination.ts +++ b/packages/datadog-api-client-v1/models/Pagination.ts @@ -19,6 +19,13 @@ export class Pagination { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class Pagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PowerpackTemplateVariableContents.ts b/packages/datadog-api-client-v1/models/PowerpackTemplateVariableContents.ts index 6676566430e9..d89b479dfb97 100644 --- a/packages/datadog-api-client-v1/models/PowerpackTemplateVariableContents.ts +++ b/packages/datadog-api-client-v1/models/PowerpackTemplateVariableContents.ts @@ -23,6 +23,13 @@ export class PowerpackTemplateVariableContents { */ "values": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class PowerpackTemplateVariableContents { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PowerpackTemplateVariables.ts b/packages/datadog-api-client-v1/models/PowerpackTemplateVariables.ts index 57e0f6ca8b7c..e0a71cc9a1f0 100644 --- a/packages/datadog-api-client-v1/models/PowerpackTemplateVariables.ts +++ b/packages/datadog-api-client-v1/models/PowerpackTemplateVariables.ts @@ -20,6 +20,13 @@ export class PowerpackTemplateVariables { */ "controlledExternally"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class PowerpackTemplateVariables { baseName: "controlled_externally", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/PowerpackWidgetDefinition.ts b/packages/datadog-api-client-v1/models/PowerpackWidgetDefinition.ts index 87ab70b30ee9..0c426de24f98 100644 --- a/packages/datadog-api-client-v1/models/PowerpackWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/PowerpackWidgetDefinition.ts @@ -41,6 +41,13 @@ export class PowerpackWidgetDefinition { */ "type": PowerpackWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -80,6 +87,10 @@ export class PowerpackWidgetDefinition { type: "PowerpackWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ProcessQueryDefinition.ts b/packages/datadog-api-client-v1/models/ProcessQueryDefinition.ts index 67e60d807542..897e0bb78d12 100644 --- a/packages/datadog-api-client-v1/models/ProcessQueryDefinition.ts +++ b/packages/datadog-api-client-v1/models/ProcessQueryDefinition.ts @@ -27,6 +27,13 @@ export class ProcessQueryDefinition { */ "searchBy"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class ProcessQueryDefinition { baseName: "search_by", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/QueryValueWidgetDefinition.ts b/packages/datadog-api-client-v1/models/QueryValueWidgetDefinition.ts index 1a051f1eb825..73447193f82a 100644 --- a/packages/datadog-api-client-v1/models/QueryValueWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/QueryValueWidgetDefinition.ts @@ -65,6 +65,13 @@ export class QueryValueWidgetDefinition { */ "type": QueryValueWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -125,6 +132,10 @@ export class QueryValueWidgetDefinition { type: "QueryValueWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/QueryValueWidgetRequest.ts b/packages/datadog-api-client-v1/models/QueryValueWidgetRequest.ts index d6126afef11c..3c11eee4e106 100644 --- a/packages/datadog-api-client-v1/models/QueryValueWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/QueryValueWidgetRequest.ts @@ -78,6 +78,13 @@ export class QueryValueWidgetRequest { */ "securityQuery"?: LogQueryDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -147,6 +154,10 @@ export class QueryValueWidgetRequest { baseName: "security_query", type: "LogQueryDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ReferenceTableLogsLookupProcessor.ts b/packages/datadog-api-client-v1/models/ReferenceTableLogsLookupProcessor.ts index 62b276ebb7b8..098ad4375e28 100644 --- a/packages/datadog-api-client-v1/models/ReferenceTableLogsLookupProcessor.ts +++ b/packages/datadog-api-client-v1/models/ReferenceTableLogsLookupProcessor.ts @@ -42,6 +42,13 @@ export class ReferenceTableLogsLookupProcessor { */ "type": LogsLookupProcessorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -79,6 +86,10 @@ export class ReferenceTableLogsLookupProcessor { type: "LogsLookupProcessorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ResponseMetaAttributes.ts b/packages/datadog-api-client-v1/models/ResponseMetaAttributes.ts index db27c9db508e..33179f3379bb 100644 --- a/packages/datadog-api-client-v1/models/ResponseMetaAttributes.ts +++ b/packages/datadog-api-client-v1/models/ResponseMetaAttributes.ts @@ -16,6 +16,13 @@ export class ResponseMetaAttributes { */ "page"?: Pagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ResponseMetaAttributes { baseName: "page", type: "Pagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/RunWorkflowWidgetDefinition.ts b/packages/datadog-api-client-v1/models/RunWorkflowWidgetDefinition.ts index b583c51c61e2..8fb5c778b25e 100644 --- a/packages/datadog-api-client-v1/models/RunWorkflowWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/RunWorkflowWidgetDefinition.ts @@ -48,6 +48,13 @@ export class RunWorkflowWidgetDefinition { */ "workflowId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class RunWorkflowWidgetDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/RunWorkflowWidgetInput.ts b/packages/datadog-api-client-v1/models/RunWorkflowWidgetInput.ts index 47c16dfdd65a..c1005bb447af 100644 --- a/packages/datadog-api-client-v1/models/RunWorkflowWidgetInput.ts +++ b/packages/datadog-api-client-v1/models/RunWorkflowWidgetInput.ts @@ -19,6 +19,13 @@ export class RunWorkflowWidgetInput { */ "value": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RunWorkflowWidgetInput { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOBulkDeleteError.ts b/packages/datadog-api-client-v1/models/SLOBulkDeleteError.ts index 90ea56102e5c..d991eca11367 100644 --- a/packages/datadog-api-client-v1/models/SLOBulkDeleteError.ts +++ b/packages/datadog-api-client-v1/models/SLOBulkDeleteError.ts @@ -26,6 +26,13 @@ export class SLOBulkDeleteError { */ "timeframe": SLOErrorTimeframe; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class SLOBulkDeleteError { type: "SLOErrorTimeframe", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOBulkDeleteResponse.ts b/packages/datadog-api-client-v1/models/SLOBulkDeleteResponse.ts index 63cc37213434..b1e66eda9b7b 100644 --- a/packages/datadog-api-client-v1/models/SLOBulkDeleteResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOBulkDeleteResponse.ts @@ -26,6 +26,13 @@ export class SLOBulkDeleteResponse { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -43,6 +50,10 @@ export class SLOBulkDeleteResponse { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOBulkDeleteResponseData.ts b/packages/datadog-api-client-v1/models/SLOBulkDeleteResponseData.ts index 690328f341bf..ddbb63b86271 100644 --- a/packages/datadog-api-client-v1/models/SLOBulkDeleteResponseData.ts +++ b/packages/datadog-api-client-v1/models/SLOBulkDeleteResponseData.ts @@ -22,6 +22,13 @@ export class SLOBulkDeleteResponseData { */ "updated"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SLOBulkDeleteResponseData { baseName: "updated", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrection.ts b/packages/datadog-api-client-v1/models/SLOCorrection.ts index 7df9dc0375ac..c24279367099 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrection.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrection.ts @@ -25,6 +25,13 @@ export class SLOCorrection { */ "type"?: SLOCorrectionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SLOCorrection { baseName: "type", type: "SLOCorrectionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionCreateData.ts b/packages/datadog-api-client-v1/models/SLOCorrectionCreateData.ts index ad77f46c955d..fb1af3f8490d 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionCreateData.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionCreateData.ts @@ -21,6 +21,13 @@ export class SLOCorrectionCreateData { */ "type": SLOCorrectionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SLOCorrectionCreateData { type: "SLOCorrectionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequest.ts b/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequest.ts index c8b304e3684b..bf0c2a051011 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequest.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequest.ts @@ -16,6 +16,13 @@ export class SLOCorrectionCreateRequest { */ "data"?: SLOCorrectionCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SLOCorrectionCreateRequest { baseName: "data", type: "SLOCorrectionCreateData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequestAttributes.ts b/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequestAttributes.ts index 7cc68fa9bd6e..023e3cb57bfd 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionCreateRequestAttributes.ts @@ -45,6 +45,13 @@ export class SLOCorrectionCreateRequestAttributes { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class SLOCorrectionCreateRequestAttributes { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.ts b/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.ts index 2621447bf099..865073fd5bfd 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.ts @@ -21,6 +21,13 @@ export class SLOCorrectionListResponse { */ "meta"?: ResponseMetaAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SLOCorrectionListResponse { baseName: "meta", type: "ResponseMetaAttributes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionResponse.ts b/packages/datadog-api-client-v1/models/SLOCorrectionResponse.ts index 4ed6abfb3dfd..c996234671d0 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionResponse.ts @@ -16,6 +16,13 @@ export class SLOCorrectionResponse { */ "data"?: SLOCorrection; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SLOCorrectionResponse { baseName: "data", type: "SLOCorrection", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributes.ts b/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributes.ts index ccb6f284ee9a..cfcaf923a460 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributes.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributes.ts @@ -63,6 +63,13 @@ export class SLOCorrectionResponseAttributes { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -125,6 +132,10 @@ export class SLOCorrectionResponseAttributes { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributesModifier.ts b/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributesModifier.ts index f35f5c1a59c5..09154b481c68 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributesModifier.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionResponseAttributesModifier.ts @@ -23,6 +23,13 @@ export class SLOCorrectionResponseAttributesModifier { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SLOCorrectionResponseAttributesModifier { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateData.ts b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateData.ts index f29479ca2cc5..69f08cb2d79f 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateData.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateData.ts @@ -21,6 +21,13 @@ export class SLOCorrectionUpdateData { */ "type"?: SLOCorrectionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SLOCorrectionUpdateData { baseName: "type", type: "SLOCorrectionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequest.ts b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequest.ts index bc8fdf620274..e18c606d58ea 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequest.ts @@ -16,6 +16,13 @@ export class SLOCorrectionUpdateRequest { */ "data"?: SLOCorrectionUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SLOCorrectionUpdateRequest { baseName: "data", type: "SLOCorrectionUpdateData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequestAttributes.ts b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequestAttributes.ts index 7d5951c8a4ca..db00b3fb4df3 100644 --- a/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v1/models/SLOCorrectionUpdateRequestAttributes.ts @@ -41,6 +41,13 @@ export class SLOCorrectionUpdateRequestAttributes { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class SLOCorrectionUpdateRequestAttributes { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOCreator.ts b/packages/datadog-api-client-v1/models/SLOCreator.ts index d5fc7da7567b..158dca0d98e4 100644 --- a/packages/datadog-api-client-v1/models/SLOCreator.ts +++ b/packages/datadog-api-client-v1/models/SLOCreator.ts @@ -23,6 +23,13 @@ export class SLOCreator { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class SLOCreator { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLODeleteResponse.ts b/packages/datadog-api-client-v1/models/SLODeleteResponse.ts index 969dd4e747b1..fc08e13ad814 100644 --- a/packages/datadog-api-client-v1/models/SLODeleteResponse.ts +++ b/packages/datadog-api-client-v1/models/SLODeleteResponse.ts @@ -19,6 +19,13 @@ export class SLODeleteResponse { */ "errors"?: { [key: string]: string }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SLODeleteResponse { baseName: "errors", type: "{ [key: string]: string; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOFormula.ts b/packages/datadog-api-client-v1/models/SLOFormula.ts index 17ec0953ccad..da2f594f5432 100644 --- a/packages/datadog-api-client-v1/models/SLOFormula.ts +++ b/packages/datadog-api-client-v1/models/SLOFormula.ts @@ -15,6 +15,13 @@ export class SLOFormula { */ "formula": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SLOFormula { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryMetrics.ts b/packages/datadog-api-client-v1/models/SLOHistoryMetrics.ts index 6aa2ca1ab00c..5c465ddd2578 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryMetrics.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryMetrics.ts @@ -48,6 +48,13 @@ export class SLOHistoryMetrics { */ "times": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -99,6 +106,10 @@ export class SLOHistoryMetrics { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeries.ts b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeries.ts index bed76cd4996c..557c7e44888e 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeries.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeries.ts @@ -29,6 +29,13 @@ export class SLOHistoryMetricsSeries { */ "values": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class SLOHistoryMetricsSeries { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadata.ts b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadata.ts index c00fdf8d5d16..0a3010f46828 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadata.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadata.ts @@ -38,6 +38,13 @@ export class SLOHistoryMetricsSeriesMetadata { */ "unit"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class SLOHistoryMetricsSeriesMetadata { baseName: "unit", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadataUnit.ts b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadataUnit.ts index 88134d1d7a50..93c30429e185 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadataUnit.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryMetricsSeriesMetadataUnit.ts @@ -35,6 +35,13 @@ export class SLOHistoryMetricsSeriesMetadataUnit { */ "shortName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -70,6 +77,10 @@ export class SLOHistoryMetricsSeriesMetadataUnit { baseName: "short_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryMonitor.ts b/packages/datadog-api-client-v1/models/SLOHistoryMonitor.ts index 1e928d3e7444..a88071f00342 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryMonitor.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryMonitor.ts @@ -62,6 +62,13 @@ export class SLOHistoryMonitor { */ "uptime"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -125,6 +132,10 @@ export class SLOHistoryMonitor { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryResponse.ts b/packages/datadog-api-client-v1/models/SLOHistoryResponse.ts index 43a65dbf3791..0e986894f93c 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryResponse.ts @@ -21,6 +21,13 @@ export class SLOHistoryResponse { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SLOHistoryResponse { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryResponseData.ts b/packages/datadog-api-client-v1/models/SLOHistoryResponseData.ts index 5501d8436127..50be1b1045f1 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryResponseData.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryResponseData.ts @@ -68,6 +68,13 @@ export class SLOHistoryResponseData { */ "typeId"?: SLOTypeNumeric; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -120,6 +127,10 @@ export class SLOHistoryResponseData { type: "SLOTypeNumeric", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryResponseError.ts b/packages/datadog-api-client-v1/models/SLOHistoryResponseError.ts index 84e8995ef2b9..46ddd35ceb9e 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryResponseError.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryResponseError.ts @@ -15,6 +15,13 @@ export class SLOHistoryResponseError { */ "error"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SLOHistoryResponseError { baseName: "error", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistoryResponseErrorWithType.ts b/packages/datadog-api-client-v1/models/SLOHistoryResponseErrorWithType.ts index af0bfeaa01dd..8211d2327a7d 100644 --- a/packages/datadog-api-client-v1/models/SLOHistoryResponseErrorWithType.ts +++ b/packages/datadog-api-client-v1/models/SLOHistoryResponseErrorWithType.ts @@ -19,6 +19,13 @@ export class SLOHistoryResponseErrorWithType { */ "errorType": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SLOHistoryResponseErrorWithType { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOHistorySLIData.ts b/packages/datadog-api-client-v1/models/SLOHistorySLIData.ts index d94e253530ff..44f282bdfa02 100644 --- a/packages/datadog-api-client-v1/models/SLOHistorySLIData.ts +++ b/packages/datadog-api-client-v1/models/SLOHistorySLIData.ts @@ -62,6 +62,13 @@ export class SLOHistorySLIData { */ "uptime"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -124,6 +131,10 @@ export class SLOHistorySLIData { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListResponse.ts b/packages/datadog-api-client-v1/models/SLOListResponse.ts index 66eaf328654d..9547d16f3e32 100644 --- a/packages/datadog-api-client-v1/models/SLOListResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOListResponse.ts @@ -26,6 +26,13 @@ export class SLOListResponse { */ "metadata"?: SLOListResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SLOListResponse { baseName: "metadata", type: "SLOListResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListResponseMetadata.ts b/packages/datadog-api-client-v1/models/SLOListResponseMetadata.ts index f285c2f0fd52..8128319c9708 100644 --- a/packages/datadog-api-client-v1/models/SLOListResponseMetadata.ts +++ b/packages/datadog-api-client-v1/models/SLOListResponseMetadata.ts @@ -16,6 +16,13 @@ export class SLOListResponseMetadata { */ "page"?: SLOListResponseMetadataPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SLOListResponseMetadata { baseName: "page", type: "SLOListResponseMetadataPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListResponseMetadataPage.ts b/packages/datadog-api-client-v1/models/SLOListResponseMetadataPage.ts index 6f6229785a99..cc4f98acdf2e 100644 --- a/packages/datadog-api-client-v1/models/SLOListResponseMetadataPage.ts +++ b/packages/datadog-api-client-v1/models/SLOListResponseMetadataPage.ts @@ -19,6 +19,13 @@ export class SLOListResponseMetadataPage { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SLOListResponseMetadataPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListWidgetDefinition.ts b/packages/datadog-api-client-v1/models/SLOListWidgetDefinition.ts index 0dd0bd50056c..12303ca17a7c 100644 --- a/packages/datadog-api-client-v1/models/SLOListWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/SLOListWidgetDefinition.ts @@ -34,6 +34,13 @@ export class SLOListWidgetDefinition { */ "type": SLOListWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class SLOListWidgetDefinition { type: "SLOListWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListWidgetQuery.ts b/packages/datadog-api-client-v1/models/SLOListWidgetQuery.ts index 8e8fed496366..216e28ea725a 100644 --- a/packages/datadog-api-client-v1/models/SLOListWidgetQuery.ts +++ b/packages/datadog-api-client-v1/models/SLOListWidgetQuery.ts @@ -24,6 +24,13 @@ export class SLOListWidgetQuery { */ "sort"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SLOListWidgetQuery { baseName: "sort", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOListWidgetRequest.ts b/packages/datadog-api-client-v1/models/SLOListWidgetRequest.ts index e3434bcddef8..f9846fe622a4 100644 --- a/packages/datadog-api-client-v1/models/SLOListWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/SLOListWidgetRequest.ts @@ -21,6 +21,13 @@ export class SLOListWidgetRequest { */ "requestType": SLOListWidgetRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SLOListWidgetRequest { type: "SLOListWidgetRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOOverallStatuses.ts b/packages/datadog-api-client-v1/models/SLOOverallStatuses.ts index c0326c38534b..24b65e8eaa1d 100644 --- a/packages/datadog-api-client-v1/models/SLOOverallStatuses.ts +++ b/packages/datadog-api-client-v1/models/SLOOverallStatuses.ts @@ -51,6 +51,13 @@ export class SLOOverallStatuses { */ "timeframe"?: SLOTimeframe; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -101,6 +108,10 @@ export class SLOOverallStatuses { baseName: "timeframe", type: "SLOTimeframe", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLORawErrorBudgetRemaining.ts b/packages/datadog-api-client-v1/models/SLORawErrorBudgetRemaining.ts index b097b746f141..a36fb6447523 100644 --- a/packages/datadog-api-client-v1/models/SLORawErrorBudgetRemaining.ts +++ b/packages/datadog-api-client-v1/models/SLORawErrorBudgetRemaining.ts @@ -19,6 +19,13 @@ export class SLORawErrorBudgetRemaining { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SLORawErrorBudgetRemaining { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOResponse.ts b/packages/datadog-api-client-v1/models/SLOResponse.ts index 7a084a87d0bb..2f9851405858 100644 --- a/packages/datadog-api-client-v1/models/SLOResponse.ts +++ b/packages/datadog-api-client-v1/models/SLOResponse.ts @@ -22,6 +22,13 @@ export class SLOResponse { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SLOResponse { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOResponseData.ts b/packages/datadog-api-client-v1/models/SLOResponseData.ts index 4fb88cf39cee..b1aca1ac02bc 100644 --- a/packages/datadog-api-client-v1/models/SLOResponseData.ts +++ b/packages/datadog-api-client-v1/models/SLOResponseData.ts @@ -118,6 +118,13 @@ export class SLOResponseData { */ "warningThreshold"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -205,6 +212,10 @@ export class SLOResponseData { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOStatus.ts b/packages/datadog-api-client-v1/models/SLOStatus.ts index 70d79cb0c4a2..3c36f9fe0bbf 100644 --- a/packages/datadog-api-client-v1/models/SLOStatus.ts +++ b/packages/datadog-api-client-v1/models/SLOStatus.ts @@ -42,6 +42,13 @@ export class SLOStatus { */ "state"?: SLOState; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class SLOStatus { baseName: "state", type: "SLOState", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOThreshold.ts b/packages/datadog-api-client-v1/models/SLOThreshold.ts index efd572c7c6a1..4ffc4fad189f 100644 --- a/packages/datadog-api-client-v1/models/SLOThreshold.ts +++ b/packages/datadog-api-client-v1/models/SLOThreshold.ts @@ -41,6 +41,13 @@ export class SLOThreshold { */ "warningDisplay"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class SLOThreshold { baseName: "warning_display", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOTimeSliceCondition.ts b/packages/datadog-api-client-v1/models/SLOTimeSliceCondition.ts index 16b41fb2c482..cd51450d0642 100644 --- a/packages/datadog-api-client-v1/models/SLOTimeSliceCondition.ts +++ b/packages/datadog-api-client-v1/models/SLOTimeSliceCondition.ts @@ -26,6 +26,13 @@ export class SLOTimeSliceCondition { */ "threshold": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -51,6 +58,10 @@ export class SLOTimeSliceCondition { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOTimeSliceQuery.ts b/packages/datadog-api-client-v1/models/SLOTimeSliceQuery.ts index 488904bc14c6..f850b2e34373 100644 --- a/packages/datadog-api-client-v1/models/SLOTimeSliceQuery.ts +++ b/packages/datadog-api-client-v1/models/SLOTimeSliceQuery.ts @@ -21,6 +21,13 @@ export class SLOTimeSliceQuery { */ "queries": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SLOTimeSliceQuery { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SLOWidgetDefinition.ts b/packages/datadog-api-client-v1/models/SLOWidgetDefinition.ts index ae9ddd8a4eb6..82847056295c 100644 --- a/packages/datadog-api-client-v1/models/SLOWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/SLOWidgetDefinition.ts @@ -59,6 +59,13 @@ export class SLOWidgetDefinition { */ "viewType": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -114,6 +121,10 @@ export class SLOWidgetDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ScatterPlotRequest.ts b/packages/datadog-api-client-v1/models/ScatterPlotRequest.ts index 31ca1d6bad79..4781b176e948 100644 --- a/packages/datadog-api-client-v1/models/ScatterPlotRequest.ts +++ b/packages/datadog-api-client-v1/models/ScatterPlotRequest.ts @@ -54,6 +54,13 @@ export class ScatterPlotRequest { */ "securityQuery"?: LogQueryDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -103,6 +110,10 @@ export class ScatterPlotRequest { baseName: "security_query", type: "LogQueryDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinition.ts index cdda456337f6..d8f96c92b2b7 100644 --- a/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinition.ts @@ -57,6 +57,13 @@ export class ScatterPlotWidgetDefinition { */ "yaxis"?: WidgetAxis; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -108,6 +115,10 @@ export class ScatterPlotWidgetDefinition { baseName: "yaxis", type: "WidgetAxis", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinitionRequests.ts b/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinitionRequests.ts index c0250e394036..1603828f7d6a 100644 --- a/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinitionRequests.ts +++ b/packages/datadog-api-client-v1/models/ScatterPlotWidgetDefinitionRequests.ts @@ -25,6 +25,13 @@ export class ScatterPlotWidgetDefinitionRequests { */ "y"?: ScatterPlotRequest; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ScatterPlotWidgetDefinitionRequests { baseName: "y", type: "ScatterPlotRequest", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ScatterplotTableRequest.ts b/packages/datadog-api-client-v1/models/ScatterplotTableRequest.ts index 9b5f59f44cfa..228af0ed5af0 100644 --- a/packages/datadog-api-client-v1/models/ScatterplotTableRequest.ts +++ b/packages/datadog-api-client-v1/models/ScatterplotTableRequest.ts @@ -26,6 +26,13 @@ export class ScatterplotTableRequest { */ "responseFormat"?: FormulaAndFunctionResponseFormat; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ScatterplotTableRequest { baseName: "response_format", type: "FormulaAndFunctionResponseFormat", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ScatterplotWidgetFormula.ts b/packages/datadog-api-client-v1/models/ScatterplotWidgetFormula.ts index c98bdda593f3..d964000b715c 100644 --- a/packages/datadog-api-client-v1/models/ScatterplotWidgetFormula.ts +++ b/packages/datadog-api-client-v1/models/ScatterplotWidgetFormula.ts @@ -24,6 +24,13 @@ export class ScatterplotWidgetFormula { */ "formula": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ScatterplotWidgetFormula { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOQuery.ts b/packages/datadog-api-client-v1/models/SearchSLOQuery.ts index cdf222b15f08..bd4857e4735e 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOQuery.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOQuery.ts @@ -26,6 +26,13 @@ export class SearchSLOQuery { */ "numerator"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SearchSLOQuery { baseName: "numerator", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponse.ts b/packages/datadog-api-client-v1/models/SearchSLOResponse.ts index cda3ecb0f460..b7fdb9f7bbb7 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponse.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponse.ts @@ -26,6 +26,13 @@ export class SearchSLOResponse { */ "meta"?: SearchSLOResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SearchSLOResponse { baseName: "meta", type: "SearchSLOResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseData.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseData.ts index b6b6d68f8e9b..36991be34cb2 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseData.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseData.ts @@ -20,6 +20,13 @@ export class SearchSLOResponseData { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SearchSLOResponseData { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributes.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributes.ts index 692ef231740a..fa1b5c51eeb9 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributes.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributes.ts @@ -21,6 +21,13 @@ export class SearchSLOResponseDataAttributes { */ "slos"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SearchSLOResponseDataAttributes { baseName: "slos", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacets.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacets.ts index 1c61744e6cc8..b8d262a73666 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacets.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacets.ts @@ -45,6 +45,13 @@ export class SearchSLOResponseDataAttributesFacets { */ "timeframe"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -86,6 +93,10 @@ export class SearchSLOResponseDataAttributesFacets { baseName: "timeframe", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectInt.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectInt.ts index 2f8e0e5cee97..de11a6e109ca 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectInt.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectInt.ts @@ -19,6 +19,13 @@ export class SearchSLOResponseDataAttributesFacetsObjectInt { */ "name"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SearchSLOResponseDataAttributesFacetsObjectInt { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectString.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectString.ts index dafac4fb77e2..5430f4b676e6 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectString.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseDataAttributesFacetsObjectString.ts @@ -19,6 +19,13 @@ export class SearchSLOResponseDataAttributesFacetsObjectString { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SearchSLOResponseDataAttributesFacetsObjectString { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseLinks.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseLinks.ts index 2518f3fcb893..1df7c6ee031d 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseLinks.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseLinks.ts @@ -31,6 +31,13 @@ export class SearchSLOResponseLinks { */ "self"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class SearchSLOResponseLinks { baseName: "self", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseMeta.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseMeta.ts index 60de8b58bf03..38132f02d3af 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseMeta.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseMeta.ts @@ -16,6 +16,13 @@ export class SearchSLOResponseMeta { */ "pagination"?: SearchSLOResponseMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SearchSLOResponseMeta { baseName: "pagination", type: "SearchSLOResponseMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOResponseMetaPage.ts b/packages/datadog-api-client-v1/models/SearchSLOResponseMetaPage.ts index 45c51e6122d4..02c902c903ea 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOResponseMetaPage.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOResponseMetaPage.ts @@ -43,6 +43,13 @@ export class SearchSLOResponseMetaPage { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class SearchSLOResponseMetaPage { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchSLOThreshold.ts b/packages/datadog-api-client-v1/models/SearchSLOThreshold.ts index d68b82c22cda..4d0ac5779130 100644 --- a/packages/datadog-api-client-v1/models/SearchSLOThreshold.ts +++ b/packages/datadog-api-client-v1/models/SearchSLOThreshold.ts @@ -41,6 +41,13 @@ export class SearchSLOThreshold { */ "warningDisplay"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class SearchSLOThreshold { baseName: "warning_display", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchServiceLevelObjective.ts b/packages/datadog-api-client-v1/models/SearchServiceLevelObjective.ts index 230a7fc54bcb..c96d5f5d8941 100644 --- a/packages/datadog-api-client-v1/models/SearchServiceLevelObjective.ts +++ b/packages/datadog-api-client-v1/models/SearchServiceLevelObjective.ts @@ -16,6 +16,13 @@ export class SearchServiceLevelObjective { */ "data"?: SearchServiceLevelObjectiveData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SearchServiceLevelObjective { baseName: "data", type: "SearchServiceLevelObjectiveData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveAttributes.ts b/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveAttributes.ts index cc0b58454dcd..a97b76d88ca2 100644 --- a/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveAttributes.ts +++ b/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveAttributes.ts @@ -95,6 +95,13 @@ export class SearchServiceLevelObjectiveAttributes { */ "thresholds"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -171,6 +178,10 @@ export class SearchServiceLevelObjectiveAttributes { baseName: "thresholds", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveData.ts b/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveData.ts index 049eae755faf..cc5b4c9725d3 100644 --- a/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveData.ts +++ b/packages/datadog-api-client-v1/models/SearchServiceLevelObjectiveData.ts @@ -27,6 +27,13 @@ export class SearchServiceLevelObjectiveData { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class SearchServiceLevelObjectiveData { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SelectableTemplateVariableItems.ts b/packages/datadog-api-client-v1/models/SelectableTemplateVariableItems.ts index ec8627a2c69e..4b548b0e0238 100644 --- a/packages/datadog-api-client-v1/models/SelectableTemplateVariableItems.ts +++ b/packages/datadog-api-client-v1/models/SelectableTemplateVariableItems.ts @@ -27,6 +27,13 @@ export class SelectableTemplateVariableItems { */ "visibleTags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class SelectableTemplateVariableItems { baseName: "visible_tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Series.ts b/packages/datadog-api-client-v1/models/Series.ts index eb237052b055..67457ce0c7d6 100644 --- a/packages/datadog-api-client-v1/models/Series.ts +++ b/packages/datadog-api-client-v1/models/Series.ts @@ -36,6 +36,13 @@ export class Series { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class Series { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceCheck.ts b/packages/datadog-api-client-v1/models/ServiceCheck.ts index 27ab9495ef7b..62e37ef202cb 100644 --- a/packages/datadog-api-client-v1/models/ServiceCheck.ts +++ b/packages/datadog-api-client-v1/models/ServiceCheck.ts @@ -36,6 +36,13 @@ export class ServiceCheck { */ "timestamp"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class ServiceCheck { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceLevelObjective.ts b/packages/datadog-api-client-v1/models/ServiceLevelObjective.ts index e7aa5b35a6c1..9197fe97dd0d 100644 --- a/packages/datadog-api-client-v1/models/ServiceLevelObjective.ts +++ b/packages/datadog-api-client-v1/models/ServiceLevelObjective.ts @@ -114,6 +114,13 @@ export class ServiceLevelObjective { */ "warningThreshold"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -199,6 +206,10 @@ export class ServiceLevelObjective { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceLevelObjectiveQuery.ts b/packages/datadog-api-client-v1/models/ServiceLevelObjectiveQuery.ts index c743f042e9d1..2e32c3b8e60c 100644 --- a/packages/datadog-api-client-v1/models/ServiceLevelObjectiveQuery.ts +++ b/packages/datadog-api-client-v1/models/ServiceLevelObjectiveQuery.ts @@ -21,6 +21,13 @@ export class ServiceLevelObjectiveQuery { */ "numerator": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ServiceLevelObjectiveQuery { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceLevelObjectiveRequest.ts b/packages/datadog-api-client-v1/models/ServiceLevelObjectiveRequest.ts index 2e2eb9699457..093a8f46cf4a 100644 --- a/packages/datadog-api-client-v1/models/ServiceLevelObjectiveRequest.ts +++ b/packages/datadog-api-client-v1/models/ServiceLevelObjectiveRequest.ts @@ -82,6 +82,13 @@ export class ServiceLevelObjectiveRequest { */ "warningThreshold"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -145,6 +152,10 @@ export class ServiceLevelObjectiveRequest { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceMapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ServiceMapWidgetDefinition.ts index 3e59af5afc76..959f91c4d391 100644 --- a/packages/datadog-api-client-v1/models/ServiceMapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ServiceMapWidgetDefinition.ts @@ -42,6 +42,13 @@ export class ServiceMapWidgetDefinition { */ "type": ServiceMapWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class ServiceMapWidgetDefinition { type: "ServiceMapWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ServiceSummaryWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ServiceSummaryWidgetDefinition.ts index 03cb1195a699..ee6d6624e095 100644 --- a/packages/datadog-api-client-v1/models/ServiceSummaryWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ServiceSummaryWidgetDefinition.ts @@ -80,6 +80,13 @@ export class ServiceSummaryWidgetDefinition { */ "type": ServiceSummaryWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -157,6 +164,10 @@ export class ServiceSummaryWidgetDefinition { type: "ServiceSummaryWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboard.ts b/packages/datadog-api-client-v1/models/SharedDashboard.ts index 6e1c47ba3b74..8073bc975821 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboard.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboard.ts @@ -60,6 +60,13 @@ export class SharedDashboard { */ "token"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -117,6 +124,10 @@ export class SharedDashboard { baseName: "token", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardAuthor.ts b/packages/datadog-api-client-v1/models/SharedDashboardAuthor.ts index 894d5d9d5140..198a097a777a 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardAuthor.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardAuthor.ts @@ -19,6 +19,13 @@ export class SharedDashboardAuthor { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SharedDashboardAuthor { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardInvites.ts b/packages/datadog-api-client-v1/models/SharedDashboardInvites.ts index f55917611ea1..1e5df890f152 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardInvites.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardInvites.ts @@ -21,6 +21,13 @@ export class SharedDashboardInvites { */ "meta"?: SharedDashboardInvitesMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SharedDashboardInvites { baseName: "meta", type: "SharedDashboardInvitesMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObject.ts b/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObject.ts index bfdf0c4b353d..2c098e2c8ae4 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObject.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObject.ts @@ -21,6 +21,13 @@ export class SharedDashboardInvitesDataObject { */ "type": DashboardInviteType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SharedDashboardInvitesDataObject { type: "DashboardInviteType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObjectAttributes.ts b/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObjectAttributes.ts index f6e7ce0878bb..a657f7d34e1f 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObjectAttributes.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardInvitesDataObjectAttributes.ts @@ -35,6 +35,13 @@ export class SharedDashboardInvitesDataObjectAttributes { */ "shareToken"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class SharedDashboardInvitesDataObjectAttributes { baseName: "share_token", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardInvitesMeta.ts b/packages/datadog-api-client-v1/models/SharedDashboardInvitesMeta.ts index 4640eed6d97d..b2cf947c7e3b 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardInvitesMeta.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardInvitesMeta.ts @@ -16,6 +16,13 @@ export class SharedDashboardInvitesMeta { */ "page"?: SharedDashboardInvitesMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SharedDashboardInvitesMeta { baseName: "page", type: "SharedDashboardInvitesMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardInvitesMetaPage.ts b/packages/datadog-api-client-v1/models/SharedDashboardInvitesMetaPage.ts index b096f7d72698..d851a7360199 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardInvitesMetaPage.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardInvitesMetaPage.ts @@ -15,6 +15,13 @@ export class SharedDashboardInvitesMetaPage { */ "totalCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SharedDashboardInvitesMetaPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.ts b/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.ts index 8f3833fffb74..972387bcb4cf 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.ts @@ -34,6 +34,13 @@ export class SharedDashboardUpdateRequest { */ "shareType"?: DashboardShareType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class SharedDashboardUpdateRequest { baseName: "share_type", type: "DashboardShareType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequestGlobalTime.ts b/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequestGlobalTime.ts index e3893ea3ebb0..c90af1fefe33 100644 --- a/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequestGlobalTime.ts +++ b/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequestGlobalTime.ts @@ -16,6 +16,13 @@ export class SharedDashboardUpdateRequestGlobalTime { */ "liveSpan"?: DashboardGlobalTimeLiveSpan; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SharedDashboardUpdateRequestGlobalTime { baseName: "live_span", type: "DashboardGlobalTimeLiveSpan", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SignalAssigneeUpdateRequest.ts b/packages/datadog-api-client-v1/models/SignalAssigneeUpdateRequest.ts index 385ab1e74b93..e9016efcefe3 100644 --- a/packages/datadog-api-client-v1/models/SignalAssigneeUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/SignalAssigneeUpdateRequest.ts @@ -19,6 +19,13 @@ export class SignalAssigneeUpdateRequest { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SignalAssigneeUpdateRequest { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SignalStateUpdateRequest.ts b/packages/datadog-api-client-v1/models/SignalStateUpdateRequest.ts index c330a45838ec..a816047e5a25 100644 --- a/packages/datadog-api-client-v1/models/SignalStateUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/SignalStateUpdateRequest.ts @@ -29,6 +29,13 @@ export class SignalStateUpdateRequest { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SignalStateUpdateRequest { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SlackIntegrationChannel.ts b/packages/datadog-api-client-v1/models/SlackIntegrationChannel.ts index ccc8dfc7b1e2..85ddd6f0adc9 100644 --- a/packages/datadog-api-client-v1/models/SlackIntegrationChannel.ts +++ b/packages/datadog-api-client-v1/models/SlackIntegrationChannel.ts @@ -20,6 +20,13 @@ export class SlackIntegrationChannel { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SlackIntegrationChannel { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SlackIntegrationChannelDisplay.ts b/packages/datadog-api-client-v1/models/SlackIntegrationChannelDisplay.ts index 10838c7a2660..6354510b4d13 100644 --- a/packages/datadog-api-client-v1/models/SlackIntegrationChannelDisplay.ts +++ b/packages/datadog-api-client-v1/models/SlackIntegrationChannelDisplay.ts @@ -27,6 +27,13 @@ export class SlackIntegrationChannelDisplay { */ "tags"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class SlackIntegrationChannelDisplay { baseName: "tags", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitConfig.ts b/packages/datadog-api-client-v1/models/SplitConfig.ts index 2c97a4b20fd8..66b98545a684 100644 --- a/packages/datadog-api-client-v1/models/SplitConfig.ts +++ b/packages/datadog-api-client-v1/models/SplitConfig.ts @@ -30,6 +30,13 @@ export class SplitConfig { */ "staticSplits"?: Array>; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class SplitConfig { baseName: "static_splits", type: "Array>", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitConfigSortCompute.ts b/packages/datadog-api-client-v1/models/SplitConfigSortCompute.ts index 5f9c160cf295..ddf185c59cb9 100644 --- a/packages/datadog-api-client-v1/models/SplitConfigSortCompute.ts +++ b/packages/datadog-api-client-v1/models/SplitConfigSortCompute.ts @@ -19,6 +19,13 @@ export class SplitConfigSortCompute { */ "metric": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SplitConfigSortCompute { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitDimension.ts b/packages/datadog-api-client-v1/models/SplitDimension.ts index d0bda1f2bb9f..1f9f6c78f230 100644 --- a/packages/datadog-api-client-v1/models/SplitDimension.ts +++ b/packages/datadog-api-client-v1/models/SplitDimension.ts @@ -15,6 +15,13 @@ export class SplitDimension { */ "oneGraphPer": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SplitDimension { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitGraphWidgetDefinition.ts b/packages/datadog-api-client-v1/models/SplitGraphWidgetDefinition.ts index cd8fdda8ae65..252d2cc7d2d9 100644 --- a/packages/datadog-api-client-v1/models/SplitGraphWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/SplitGraphWidgetDefinition.ts @@ -44,6 +44,13 @@ export class SplitGraphWidgetDefinition { */ "type": SplitGraphWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -85,6 +92,10 @@ export class SplitGraphWidgetDefinition { type: "SplitGraphWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitSort.ts b/packages/datadog-api-client-v1/models/SplitSort.ts index 4fd6e205a7ce..766cca8fb6d5 100644 --- a/packages/datadog-api-client-v1/models/SplitSort.ts +++ b/packages/datadog-api-client-v1/models/SplitSort.ts @@ -21,6 +21,13 @@ export class SplitSort { */ "order": WidgetSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SplitSort { type: "WidgetSort", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SplitVectorEntryItem.ts b/packages/datadog-api-client-v1/models/SplitVectorEntryItem.ts index 4c372d2129b8..e09ff40c1194 100644 --- a/packages/datadog-api-client-v1/models/SplitVectorEntryItem.ts +++ b/packages/datadog-api-client-v1/models/SplitVectorEntryItem.ts @@ -19,6 +19,13 @@ export class SplitVectorEntryItem { */ "tagValues": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SplitVectorEntryItem { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SuccessfulSignalUpdateResponse.ts b/packages/datadog-api-client-v1/models/SuccessfulSignalUpdateResponse.ts index 6c7b7afbc39e..4473c1cb9609 100644 --- a/packages/datadog-api-client-v1/models/SuccessfulSignalUpdateResponse.ts +++ b/packages/datadog-api-client-v1/models/SuccessfulSignalUpdateResponse.ts @@ -15,6 +15,13 @@ export class SuccessfulSignalUpdateResponse { */ "status"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SuccessfulSignalUpdateResponse { baseName: "status", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SunburstWidgetDefinition.ts b/packages/datadog-api-client-v1/models/SunburstWidgetDefinition.ts index 22d9c8616801..758b0bbd448f 100644 --- a/packages/datadog-api-client-v1/models/SunburstWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/SunburstWidgetDefinition.ts @@ -53,6 +53,13 @@ export class SunburstWidgetDefinition { */ "type": SunburstWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -100,6 +107,10 @@ export class SunburstWidgetDefinition { type: "SunburstWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SunburstWidgetLegendInlineAutomatic.ts b/packages/datadog-api-client-v1/models/SunburstWidgetLegendInlineAutomatic.ts index 95fbb05af80b..5392c784c5b1 100644 --- a/packages/datadog-api-client-v1/models/SunburstWidgetLegendInlineAutomatic.ts +++ b/packages/datadog-api-client-v1/models/SunburstWidgetLegendInlineAutomatic.ts @@ -24,6 +24,13 @@ export class SunburstWidgetLegendInlineAutomatic { */ "type": SunburstWidgetLegendInlineAutomaticType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SunburstWidgetLegendInlineAutomatic { type: "SunburstWidgetLegendInlineAutomaticType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SunburstWidgetLegendTable.ts b/packages/datadog-api-client-v1/models/SunburstWidgetLegendTable.ts index 78c15f8ed325..1ca6b7352af3 100644 --- a/packages/datadog-api-client-v1/models/SunburstWidgetLegendTable.ts +++ b/packages/datadog-api-client-v1/models/SunburstWidgetLegendTable.ts @@ -16,6 +16,13 @@ export class SunburstWidgetLegendTable { */ "type": SunburstWidgetLegendTableType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SunburstWidgetLegendTable { type: "SunburstWidgetLegendTableType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SunburstWidgetRequest.ts b/packages/datadog-api-client-v1/models/SunburstWidgetRequest.ts index 2f13bf3bfea5..6b428c6f1442 100644 --- a/packages/datadog-api-client-v1/models/SunburstWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/SunburstWidgetRequest.ts @@ -73,6 +73,13 @@ export class SunburstWidgetRequest { */ "style"?: WidgetStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -138,6 +145,10 @@ export class SunburstWidgetRequest { baseName: "style", type: "WidgetStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPIStep.ts b/packages/datadog-api-client-v1/models/SyntheticsAPIStep.ts index 0ba426af8fe1..aa2e8c3df0ca 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPIStep.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPIStep.ts @@ -49,6 +49,13 @@ export class SyntheticsAPIStep { */ "subtype": SyntheticsAPIStepSubtype; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -94,6 +101,10 @@ export class SyntheticsAPIStep { type: "SyntheticsAPIStepSubtype", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITest.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITest.ts index a0723491f299..76d6035784cd 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITest.ts @@ -62,6 +62,13 @@ export class SyntheticsAPITest { */ "type": SyntheticsAPITestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -122,6 +129,10 @@ export class SyntheticsAPITest { type: "SyntheticsAPITestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestConfig.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestConfig.ts index 24c03d4c5e0d..c2b5cadda579 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestConfig.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestConfig.ts @@ -31,6 +31,13 @@ export class SyntheticsAPITestConfig { */ "steps"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SyntheticsAPITestConfig { baseName: "steps", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.ts index af1583208d31..f1f8108237da 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.ts @@ -52,6 +52,13 @@ export class SyntheticsAPITestResultData { */ "timings"?: SyntheticsTiming; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -99,6 +106,10 @@ export class SyntheticsAPITestResultData { baseName: "timings", type: "SyntheticsTiming", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFull.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFull.ts index 3e1aef02acde..669ddb66e7a1 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFull.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFull.ts @@ -45,6 +45,13 @@ export class SyntheticsAPITestResultFull { */ "status"?: SyntheticsTestMonitorStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -85,6 +92,10 @@ export class SyntheticsAPITestResultFull { type: "SyntheticsTestMonitorStatus", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFullCheck.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFullCheck.ts index c65f12b0b578..e066fbad8dd9 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFullCheck.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultFullCheck.ts @@ -16,6 +16,13 @@ export class SyntheticsAPITestResultFullCheck { */ "config": SyntheticsTestConfig; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SyntheticsAPITestResultFullCheck { type: "SyntheticsTestConfig", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShort.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShort.ts index e9fb83a422db..c85634227e74 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShort.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShort.ts @@ -36,6 +36,13 @@ export class SyntheticsAPITestResultShort { */ "status"?: SyntheticsTestMonitorStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class SyntheticsAPITestResultShort { type: "SyntheticsTestMonitorStatus", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.ts b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.ts index 348d178d5cad..657fabfee13f 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.ts @@ -21,6 +21,13 @@ export class SyntheticsAPITestResultShortResult { */ "timings"?: SyntheticsTiming; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsAPITestResultShortResult { baseName: "timings", type: "SyntheticsTiming", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsApiTestResultFailure.ts b/packages/datadog-api-client-v1/models/SyntheticsApiTestResultFailure.ts index 4c5c1d1be5ec..f8d0367854f7 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsApiTestResultFailure.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsApiTestResultFailure.ts @@ -20,6 +20,13 @@ export class SyntheticsApiTestResultFailure { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsApiTestResultFailure { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTarget.ts b/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTarget.ts index db2722cd2e39..92a1bda4d37f 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTarget.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTarget.ts @@ -30,6 +30,13 @@ export class SyntheticsAssertionJSONPathTarget { */ "type": SyntheticsAssertionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class SyntheticsAssertionJSONPathTarget { type: "SyntheticsAssertionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.ts b/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.ts index bbdc4db5b3d2..ca0ac8b7f0ba 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.ts @@ -23,6 +23,13 @@ export class SyntheticsAssertionJSONPathTargetTarget { */ "targetValue"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SyntheticsAssertionJSONPathTargetTarget { baseName: "targetValue", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAssertionTarget.ts b/packages/datadog-api-client-v1/models/SyntheticsAssertionTarget.ts index 745edca6f4c4..8aba8e635a68 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAssertionTarget.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAssertionTarget.ts @@ -34,6 +34,13 @@ export class SyntheticsAssertionTarget { */ "type": SyntheticsAssertionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -66,6 +73,10 @@ export class SyntheticsAssertionTarget { type: "SyntheticsAssertionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTarget.ts b/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTarget.ts index 624d7e500936..9cc10a0bcf55 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTarget.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTarget.ts @@ -30,6 +30,13 @@ export class SyntheticsAssertionXPathTarget { */ "type": SyntheticsAssertionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class SyntheticsAssertionXPathTarget { type: "SyntheticsAssertionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTargetTarget.ts b/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTargetTarget.ts index 816a4ca94115..5464389eeed9 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTargetTarget.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsAssertionXPathTargetTarget.ts @@ -23,6 +23,13 @@ export class SyntheticsAssertionXPathTargetTarget { */ "xPath"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SyntheticsAssertionXPathTargetTarget { baseName: "xPath", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.ts index f05a72e62b27..c01c2893e476 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.ts @@ -24,6 +24,13 @@ export class SyntheticsBasicAuthDigest { */ "username": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SyntheticsBasicAuthDigest { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthNTLM.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthNTLM.ts index 372f2eb81171..2004dbf1158d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthNTLM.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthNTLM.ts @@ -32,6 +32,13 @@ export class SyntheticsBasicAuthNTLM { */ "workstation"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class SyntheticsBasicAuthNTLM { baseName: "workstation", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.ts index 13d418a7a593..51b07f1da816 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.ts @@ -45,6 +45,13 @@ export class SyntheticsBasicAuthOauthClient { */ "type"?: SyntheticsBasicAuthOauthClientType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -90,6 +97,10 @@ export class SyntheticsBasicAuthOauthClient { baseName: "type", type: "SyntheticsBasicAuthOauthClientType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.ts index 599d691aadca..47aaeae9b9c8 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.ts @@ -53,6 +53,13 @@ export class SyntheticsBasicAuthOauthROP { */ "username": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -106,6 +113,10 @@ export class SyntheticsBasicAuthOauthROP { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthSigv4.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthSigv4.ts index 05f34b2a40be..1f0ce06eb536 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthSigv4.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthSigv4.ts @@ -36,6 +36,13 @@ export class SyntheticsBasicAuthSigv4 { */ "type": SyntheticsBasicAuthSigv4Type; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class SyntheticsBasicAuthSigv4 { type: "SyntheticsBasicAuthSigv4Type", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthWeb.ts b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthWeb.ts index 3bb7937ca5f6..6920290c0795 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBasicAuthWeb.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBasicAuthWeb.ts @@ -24,6 +24,13 @@ export class SyntheticsBasicAuthWeb { */ "username": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SyntheticsBasicAuthWeb { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBatchDetails.ts b/packages/datadog-api-client-v1/models/SyntheticsBatchDetails.ts index e0a391a41eb9..5b869eadab01 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBatchDetails.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBatchDetails.ts @@ -16,6 +16,13 @@ export class SyntheticsBatchDetails { */ "data"?: SyntheticsBatchDetailsData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsBatchDetails { baseName: "data", type: "SyntheticsBatchDetailsData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.ts b/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.ts index 665b5bb3b65b..8d3da2b67cf3 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.ts @@ -26,6 +26,13 @@ export class SyntheticsBatchDetailsData { */ "status"?: SyntheticsStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SyntheticsBatchDetailsData { baseName: "status", type: "SyntheticsStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBatchResult.ts b/packages/datadog-api-client-v1/models/SyntheticsBatchResult.ts index 0584da96b246..d278d00c0116 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBatchResult.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBatchResult.ts @@ -55,6 +55,13 @@ export class SyntheticsBatchResult { */ "testType"?: SyntheticsTestDetailsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -106,6 +113,10 @@ export class SyntheticsBatchResult { baseName: "test_type", type: "SyntheticsTestDetailsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserError.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserError.ts index 530bd4a9bb83..dd3b43e13773 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserError.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserError.ts @@ -28,6 +28,13 @@ export class SyntheticsBrowserError { */ "type": SyntheticsBrowserErrorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class SyntheticsBrowserError { type: "SyntheticsBrowserErrorType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.ts index 494f153f139c..99d2511c2fe7 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.ts @@ -61,6 +61,13 @@ export class SyntheticsBrowserTest { */ "type": SyntheticsBrowserTestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -121,6 +128,10 @@ export class SyntheticsBrowserTest { type: "SyntheticsBrowserTestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestConfig.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestConfig.ts index 296ca4c1a527..b1302da9ed3d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestConfig.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestConfig.ts @@ -35,6 +35,13 @@ export class SyntheticsBrowserTestConfig { */ "variables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -66,6 +73,10 @@ export class SyntheticsBrowserTestConfig { baseName: "variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultData.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultData.ts index 2267ee10c3f4..dba58a69d61a 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultData.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultData.ts @@ -63,6 +63,13 @@ export class SyntheticsBrowserTestResultData { */ "timeToInteractive"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -123,6 +130,10 @@ export class SyntheticsBrowserTestResultData { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFailure.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFailure.ts index 5d8b3d4ca844..4a80b00812ec 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFailure.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFailure.ts @@ -20,6 +20,13 @@ export class SyntheticsBrowserTestResultFailure { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsBrowserTestResultFailure { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFull.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFull.ts index dfe377506435..9d2386a96422 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFull.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFull.ts @@ -45,6 +45,13 @@ export class SyntheticsBrowserTestResultFull { */ "status"?: SyntheticsTestMonitorStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -85,6 +92,10 @@ export class SyntheticsBrowserTestResultFull { type: "SyntheticsTestMonitorStatus", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFullCheck.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFullCheck.ts index 09db37e11bc1..399f7adbf63c 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFullCheck.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultFullCheck.ts @@ -16,6 +16,13 @@ export class SyntheticsBrowserTestResultFullCheck { */ "config": SyntheticsTestConfig; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SyntheticsBrowserTestResultFullCheck { type: "SyntheticsTestConfig", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShort.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShort.ts index 96d4c86c5059..7bc9d52cec7d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShort.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShort.ts @@ -36,6 +36,13 @@ export class SyntheticsBrowserTestResultShort { */ "status"?: SyntheticsTestMonitorStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class SyntheticsBrowserTestResultShort { type: "SyntheticsTestMonitorStatus", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShortResult.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShortResult.ts index 889d84579290..3d501489d4ba 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShortResult.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestResultShortResult.ts @@ -32,6 +32,13 @@ export class SyntheticsBrowserTestResultShortResult { */ "stepCountTotal"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class SyntheticsBrowserTestResultShortResult { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestRumSettings.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestRumSettings.ts index 32bf1b37a124..5da92bb0b34e 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserTestRumSettings.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserTestRumSettings.ts @@ -33,6 +33,13 @@ export class SyntheticsBrowserTestRumSettings { */ "isEnabled": boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SyntheticsBrowserTestRumSettings { type: "boolean", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.ts b/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.ts index fb761ec06199..c932561c8b37 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.ts @@ -37,6 +37,13 @@ export class SyntheticsBrowserVariable { */ "type": SyntheticsBrowserVariableType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class SyntheticsBrowserVariable { type: "SyntheticsBrowserVariableType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.ts b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.ts index 8fe5d5faf270..9907e01b5cdc 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.ts @@ -21,6 +21,13 @@ export class SyntheticsCIBatchMetadata { */ "git"?: SyntheticsCIBatchMetadataGit; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsCIBatchMetadata { baseName: "git", type: "SyntheticsCIBatchMetadataGit", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataCI.ts b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataCI.ts index 831565285109..8eb9a3204a41 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataCI.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataCI.ts @@ -21,6 +21,13 @@ export class SyntheticsCIBatchMetadataCI { */ "provider"?: SyntheticsCIBatchMetadataProvider; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsCIBatchMetadataCI { baseName: "provider", type: "SyntheticsCIBatchMetadataProvider", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataGit.ts b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataGit.ts index bd12c83cfc7a..d00e919011f4 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataGit.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataGit.ts @@ -19,6 +19,13 @@ export class SyntheticsCIBatchMetadataGit { */ "commitSha"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SyntheticsCIBatchMetadataGit { baseName: "commitSha", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataPipeline.ts b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataPipeline.ts index 4170e1d74c9f..fd8a1feb30f0 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataPipeline.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataPipeline.ts @@ -15,6 +15,13 @@ export class SyntheticsCIBatchMetadataPipeline { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SyntheticsCIBatchMetadataPipeline { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataProvider.ts b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataProvider.ts index e4aadf3b7c2f..b11c29b3f273 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataProvider.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadataProvider.ts @@ -15,6 +15,13 @@ export class SyntheticsCIBatchMetadataProvider { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SyntheticsCIBatchMetadataProvider { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCITest.ts b/packages/datadog-api-client-v1/models/SyntheticsCITest.ts index 3491ba125be5..29ddc7c67fcc 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCITest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCITest.ts @@ -71,6 +71,13 @@ export class SyntheticsCITest { */ "variables"?: { [key: string]: string }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -137,6 +144,10 @@ export class SyntheticsCITest { baseName: "variables", type: "{ [key: string]: string; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCITestBody.ts b/packages/datadog-api-client-v1/models/SyntheticsCITestBody.ts index 49d7718f1061..584ad7da9eba 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCITestBody.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCITestBody.ts @@ -16,6 +16,13 @@ export class SyntheticsCITestBody { */ "tests"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsCITestBody { baseName: "tests", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsConfigVariable.ts b/packages/datadog-api-client-v1/models/SyntheticsConfigVariable.ts index e6d6884ccaea..6456bf20dfa5 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsConfigVariable.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsConfigVariable.ts @@ -36,6 +36,13 @@ export class SyntheticsConfigVariable { */ "type": SyntheticsConfigVariableType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class SyntheticsConfigVariable { type: "SyntheticsConfigVariableType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsCoreWebVitals.ts b/packages/datadog-api-client-v1/models/SyntheticsCoreWebVitals.ts index 7c4327d78ed0..cf86d9f887df 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsCoreWebVitals.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsCoreWebVitals.ts @@ -23,6 +23,13 @@ export class SyntheticsCoreWebVitals { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SyntheticsCoreWebVitals { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.ts b/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.ts index 9775563cb7a3..3f22349fcf11 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.ts @@ -16,6 +16,13 @@ export class SyntheticsDeleteTestsPayload { */ "publicIds"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsDeleteTestsPayload { baseName: "public_ids", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsResponse.ts index b587d1ab86c3..ca73128fa79b 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsResponse.ts @@ -17,6 +17,13 @@ export class SyntheticsDeleteTestsResponse { */ "deletedTests"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SyntheticsDeleteTestsResponse { baseName: "deleted_tests", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsDeletedTest.ts b/packages/datadog-api-client-v1/models/SyntheticsDeletedTest.ts index 5f66168fcf05..4e6677c8841d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsDeletedTest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsDeletedTest.ts @@ -20,6 +20,13 @@ export class SyntheticsDeletedTest { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsDeletedTest { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsDevice.ts b/packages/datadog-api-client-v1/models/SyntheticsDevice.ts index d5b45fc3b904..58deb7d6bbb3 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsDevice.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsDevice.ts @@ -32,6 +32,13 @@ export class SyntheticsDevice { */ "width": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class SyntheticsDevice { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGetAPITestLatestResultsResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsGetAPITestLatestResultsResponse.ts index e80e4e149360..f1e118e1d2c0 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGetAPITestLatestResultsResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGetAPITestLatestResultsResponse.ts @@ -20,6 +20,13 @@ export class SyntheticsGetAPITestLatestResultsResponse { */ "results"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsGetAPITestLatestResultsResponse { baseName: "results", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGetBrowserTestLatestResultsResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsGetBrowserTestLatestResultsResponse.ts index c3e6ab7bbb18..4b062d078ea6 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGetBrowserTestLatestResultsResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGetBrowserTestLatestResultsResponse.ts @@ -20,6 +20,13 @@ export class SyntheticsGetBrowserTestLatestResultsResponse { */ "results"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsGetBrowserTestLatestResultsResponse { baseName: "results", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.ts index 25e4ab50bff7..bc0001967d23 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.ts @@ -46,6 +46,13 @@ export class SyntheticsGlobalVariable { */ "value": SyntheticsGlobalVariableValue; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class SyntheticsGlobalVariable { type: "SyntheticsGlobalVariableValue", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableAttributes.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableAttributes.ts index deb6d1b218a0..87c0d3ccbdf8 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableAttributes.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableAttributes.ts @@ -15,6 +15,13 @@ export class SyntheticsGlobalVariableAttributes { */ "restrictedRoles"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SyntheticsGlobalVariableAttributes { baseName: "restricted_roles", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableOptions.ts index a0a6e66fc600..26630cfb7f59 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableOptions.ts @@ -16,6 +16,13 @@ export class SyntheticsGlobalVariableOptions { */ "totpParameters"?: SyntheticsGlobalVariableTOTPParameters; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsGlobalVariableOptions { baseName: "totp_parameters", type: "SyntheticsGlobalVariableTOTPParameters", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.ts index f1cb3c2f0192..9901c1424bd0 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.ts @@ -29,6 +29,13 @@ export class SyntheticsGlobalVariableParseTestOptions { */ "type": SyntheticsGlobalVariableParseTestOptionsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SyntheticsGlobalVariableParseTestOptions { type: "SyntheticsGlobalVariableParseTestOptionsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableTOTPParameters.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableTOTPParameters.ts index 8c990f5bd04d..a4a13c266c08 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableTOTPParameters.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableTOTPParameters.ts @@ -19,6 +19,13 @@ export class SyntheticsGlobalVariableTOTPParameters { */ "refreshInterval"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsGlobalVariableTOTPParameters { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableValue.ts b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableValue.ts index 8a5ee1f680db..d19fce671ccc 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableValue.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableValue.ts @@ -25,6 +25,13 @@ export class SyntheticsGlobalVariableValue { */ "value"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SyntheticsGlobalVariableValue { baseName: "value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsListGlobalVariablesResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsListGlobalVariablesResponse.ts index b58380397e98..d316fd5c5667 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsListGlobalVariablesResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsListGlobalVariablesResponse.ts @@ -16,6 +16,13 @@ export class SyntheticsListGlobalVariablesResponse { */ "variables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsListGlobalVariablesResponse { baseName: "variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.ts index a80e5045d036..0a318af8526e 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.ts @@ -16,6 +16,13 @@ export class SyntheticsListTestsResponse { */ "tests"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsListTestsResponse { baseName: "tests", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsLocation.ts b/packages/datadog-api-client-v1/models/SyntheticsLocation.ts index 664220ffb707..cbf9bcf8a2c3 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsLocation.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsLocation.ts @@ -20,6 +20,13 @@ export class SyntheticsLocation { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsLocation { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsLocations.ts b/packages/datadog-api-client-v1/models/SyntheticsLocations.ts index 97bbd3af9ea6..c0e2bbaf0eb1 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsLocations.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsLocations.ts @@ -16,6 +16,13 @@ export class SyntheticsLocations { */ "locations"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsLocations { baseName: "locations", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.ts index 93f05b1e7530..0dc21785632d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.ts @@ -33,6 +33,13 @@ export class SyntheticsParsingOptions { */ "type"?: SyntheticsGlobalVariableParseTestOptionsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class SyntheticsParsingOptions { baseName: "type", type: "SyntheticsGlobalVariableParseTestOptionsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPatchTestBody.ts b/packages/datadog-api-client-v1/models/SyntheticsPatchTestBody.ts index 7118d173171c..90fc1d6357f6 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPatchTestBody.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPatchTestBody.ts @@ -16,6 +16,13 @@ export class SyntheticsPatchTestBody { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsPatchTestBody { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPatchTestOperation.ts b/packages/datadog-api-client-v1/models/SyntheticsPatchTestOperation.ts index d9efd81982ab..3a7bf889e557 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPatchTestOperation.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPatchTestOperation.ts @@ -24,6 +24,13 @@ export class SyntheticsPatchTestOperation { */ "value"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class SyntheticsPatchTestOperation { baseName: "value", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocation.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocation.ts index d0354fa09841..ca92b98ead2b 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocation.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocation.ts @@ -37,6 +37,13 @@ export class SyntheticsPrivateLocation { */ "tags": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class SyntheticsPrivateLocation { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponse.ts index 84b54dfc8336..a3ee8630a110 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponse.ts @@ -25,6 +25,13 @@ export class SyntheticsPrivateLocationCreationResponse { */ "resultEncryption"?: SyntheticsPrivateLocationCreationResponseResultEncryption; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SyntheticsPrivateLocationCreationResponse { baseName: "result_encryption", type: "SyntheticsPrivateLocationCreationResponseResultEncryption", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponseResultEncryption.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponseResultEncryption.ts index d558f070e01b..8539311402eb 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponseResultEncryption.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationCreationResponseResultEncryption.ts @@ -19,6 +19,13 @@ export class SyntheticsPrivateLocationCreationResponseResultEncryption { */ "key"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SyntheticsPrivateLocationCreationResponseResultEncryption { baseName: "key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationMetadata.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationMetadata.ts index 191dad999d8c..482bc4095572 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationMetadata.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationMetadata.ts @@ -15,6 +15,13 @@ export class SyntheticsPrivateLocationMetadata { */ "restrictedRoles"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SyntheticsPrivateLocationMetadata { baseName: "restricted_roles", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecrets.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecrets.ts index 010a59315c54..46c2c4e146f7 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecrets.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecrets.ts @@ -21,6 +21,13 @@ export class SyntheticsPrivateLocationSecrets { */ "configDecryption"?: SyntheticsPrivateLocationSecretsConfigDecryption; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsPrivateLocationSecrets { baseName: "config_decryption", type: "SyntheticsPrivateLocationSecretsConfigDecryption", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsAuthentication.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsAuthentication.ts index 6b317c770a84..322548b33c9d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsAuthentication.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsAuthentication.ts @@ -19,6 +19,13 @@ export class SyntheticsPrivateLocationSecretsAuthentication { */ "key"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SyntheticsPrivateLocationSecretsAuthentication { baseName: "key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsConfigDecryption.ts b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsConfigDecryption.ts index 0a98340f517c..c364fbbba091 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsConfigDecryption.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsPrivateLocationSecretsConfigDecryption.ts @@ -15,6 +15,13 @@ export class SyntheticsPrivateLocationSecretsConfigDecryption { */ "key"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SyntheticsPrivateLocationSecretsConfigDecryption { baseName: "key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificate.ts b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificate.ts index c604f26fe2e3..74ef0bde8759 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificate.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificate.ts @@ -61,6 +61,13 @@ export class SyntheticsSSLCertificate { */ "validTo"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -121,6 +128,10 @@ export class SyntheticsSSLCertificate { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateIssuer.ts b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateIssuer.ts index ceae465e5948..ab617d43b367 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateIssuer.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateIssuer.ts @@ -35,6 +35,13 @@ export class SyntheticsSSLCertificateIssuer { */ "ST"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -68,6 +75,10 @@ export class SyntheticsSSLCertificateIssuer { baseName: "ST", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateSubject.ts b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateSubject.ts index dd80552da60f..c9300cbf5ba3 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateSubject.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsSSLCertificateSubject.ts @@ -39,6 +39,13 @@ export class SyntheticsSSLCertificateSubject { */ "altName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -76,6 +83,10 @@ export class SyntheticsSSLCertificateSubject { baseName: "altName", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsStep.ts b/packages/datadog-api-client-v1/models/SyntheticsStep.ts index dd37c86e68e0..fe73cd5550a8 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsStep.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsStep.ts @@ -40,6 +40,13 @@ export class SyntheticsStep { */ "type"?: SyntheticsStepType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -78,6 +85,10 @@ export class SyntheticsStep { baseName: "type", type: "SyntheticsStepType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsStepDetail.ts b/packages/datadog-api-client-v1/models/SyntheticsStepDetail.ts index b1d5c4ed6eb8..8190cf6e1cc5 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsStepDetail.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsStepDetail.ts @@ -86,6 +86,13 @@ export class SyntheticsStepDetail { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -167,6 +174,10 @@ export class SyntheticsStepDetail { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsStepDetailWarning.ts b/packages/datadog-api-client-v1/models/SyntheticsStepDetailWarning.ts index 9c3382dd96c4..8d9e9c47b1f8 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsStepDetailWarning.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsStepDetailWarning.ts @@ -20,6 +20,13 @@ export class SyntheticsStepDetailWarning { */ "type": SyntheticsWarningType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SyntheticsStepDetailWarning { type: "SyntheticsWarningType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestCiOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsTestCiOptions.ts index 702ed17d4eab..9e142627e327 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestCiOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestCiOptions.ts @@ -16,6 +16,13 @@ export class SyntheticsTestCiOptions { */ "executionRule"?: SyntheticsTestExecutionRule; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SyntheticsTestCiOptions { baseName: "executionRule", type: "SyntheticsTestExecutionRule", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestConfig.ts b/packages/datadog-api-client-v1/models/SyntheticsTestConfig.ts index afb61f580397..2ea840bf7d26 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestConfig.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestConfig.ts @@ -31,6 +31,13 @@ export class SyntheticsTestConfig { */ "variables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SyntheticsTestConfig { baseName: "variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestDetails.ts b/packages/datadog-api-client-v1/models/SyntheticsTestDetails.ts index 5500d2106645..2e51dd27ce3b 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestDetails.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestDetails.ts @@ -72,6 +72,13 @@ export class SyntheticsTestDetails { */ "type"?: SyntheticsTestDetailsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -134,6 +141,10 @@ export class SyntheticsTestDetails { baseName: "type", type: "SyntheticsTestDetailsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsTestOptions.ts index 82f90a70538f..bbc2463b34fe 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestOptions.ts @@ -119,6 +119,13 @@ export class SyntheticsTestOptions { */ "tickEvery"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -221,6 +228,10 @@ export class SyntheticsTestOptions { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsMonitorOptions.ts b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsMonitorOptions.ts index 5e1e3c7280c8..858a4da066ff 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsMonitorOptions.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsMonitorOptions.ts @@ -17,6 +17,13 @@ export class SyntheticsTestOptionsMonitorOptions { */ "renotifyInterval"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class SyntheticsTestOptionsMonitorOptions { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsRetry.ts b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsRetry.ts index b3cd3e33c43e..83d3c63b6b57 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsRetry.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsRetry.ts @@ -21,6 +21,13 @@ export class SyntheticsTestOptionsRetry { */ "interval"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SyntheticsTestOptionsRetry { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsScheduling.ts b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsScheduling.ts index a57cdd8862bd..bcde46806a95 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsScheduling.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsScheduling.ts @@ -20,6 +20,13 @@ export class SyntheticsTestOptionsScheduling { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsTestOptionsScheduling { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsSchedulingTimeframe.ts b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsSchedulingTimeframe.ts index f266ecdaba90..c40d4933c934 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestOptionsSchedulingTimeframe.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestOptionsSchedulingTimeframe.ts @@ -23,6 +23,13 @@ export class SyntheticsTestOptionsSchedulingTimeframe { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class SyntheticsTestOptionsSchedulingTimeframe { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts b/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts index 05d0dc60eccd..797a6962de60 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts @@ -130,6 +130,13 @@ export class SyntheticsTestRequest { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -255,6 +262,10 @@ export class SyntheticsTestRequest { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificate.ts b/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificate.ts index 55255ab92199..725b5da93d6b 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificate.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificate.ts @@ -20,6 +20,13 @@ export class SyntheticsTestRequestCertificate { */ "key"?: SyntheticsTestRequestCertificateItem; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsTestRequestCertificate { baseName: "key", type: "SyntheticsTestRequestCertificateItem", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificateItem.ts b/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificateItem.ts index 00c464a2cca3..7039ab2e3d4d 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificateItem.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestRequestCertificateItem.ts @@ -23,6 +23,13 @@ export class SyntheticsTestRequestCertificateItem { */ "updatedAt"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SyntheticsTestRequestCertificateItem { baseName: "updatedAt", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestRequestProxy.ts b/packages/datadog-api-client-v1/models/SyntheticsTestRequestProxy.ts index b2428e76bf2e..5d80079be856 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestRequestProxy.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestRequestProxy.ts @@ -19,6 +19,13 @@ export class SyntheticsTestRequestProxy { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsTestRequestProxy { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTiming.ts b/packages/datadog-api-client-v1/models/SyntheticsTiming.ts index 24ab1919c757..1ee759514afd 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTiming.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTiming.ts @@ -48,6 +48,13 @@ export class SyntheticsTiming { */ "wait"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -102,6 +109,10 @@ export class SyntheticsTiming { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.ts b/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.ts index b54731be509b..753e66d6f71e 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.ts @@ -16,6 +16,13 @@ export class SyntheticsTriggerBody { */ "tests": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SyntheticsTriggerBody { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.ts b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.ts index 0ccfddb5d39c..7c5cc3673d40 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.ts @@ -19,6 +19,13 @@ export class SyntheticsTriggerCITestLocation { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SyntheticsTriggerCITestLocation { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.ts b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.ts index 326246047629..2a26294d7158 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.ts @@ -28,6 +28,13 @@ export class SyntheticsTriggerCITestRunResult { */ "resultId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SyntheticsTriggerCITestRunResult { baseName: "result_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.ts b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.ts index 6ae82f399501..b6acab4ab590 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.ts @@ -29,6 +29,13 @@ export class SyntheticsTriggerCITestsResponse { */ "triggeredCheckIds"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SyntheticsTriggerCITestsResponse { baseName: "triggered_check_ids", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.ts b/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.ts index 06e80b5b7d78..0877bb36d7c3 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.ts @@ -20,6 +20,13 @@ export class SyntheticsTriggerTest { */ "publicId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsTriggerTest { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsUpdateTestPauseStatusPayload.ts b/packages/datadog-api-client-v1/models/SyntheticsUpdateTestPauseStatusPayload.ts index 3b7a646fe1ab..e4e25941231c 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsUpdateTestPauseStatusPayload.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsUpdateTestPauseStatusPayload.ts @@ -17,6 +17,13 @@ export class SyntheticsUpdateTestPauseStatusPayload { */ "newStatus"?: SyntheticsTestPauseStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SyntheticsUpdateTestPauseStatusPayload { baseName: "new_status", type: "SyntheticsTestPauseStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/SyntheticsVariableParser.ts b/packages/datadog-api-client-v1/models/SyntheticsVariableParser.ts index 701a422b2553..457b9661faf2 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsVariableParser.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsVariableParser.ts @@ -20,6 +20,13 @@ export class SyntheticsVariableParser { */ "value"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SyntheticsVariableParser { baseName: "value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TableWidgetDefinition.ts b/packages/datadog-api-client-v1/models/TableWidgetDefinition.ts index 08b8bf0d43dd..f8aaba2fc34c 100644 --- a/packages/datadog-api-client-v1/models/TableWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/TableWidgetDefinition.ts @@ -49,6 +49,13 @@ export class TableWidgetDefinition { */ "type": TableWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class TableWidgetDefinition { type: "TableWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TableWidgetRequest.ts b/packages/datadog-api-client-v1/models/TableWidgetRequest.ts index 24048ea4a56b..44608fde8675 100644 --- a/packages/datadog-api-client-v1/models/TableWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/TableWidgetRequest.ts @@ -97,6 +97,13 @@ export class TableWidgetRequest { */ "securityQuery"?: LogQueryDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -183,6 +190,10 @@ export class TableWidgetRequest { baseName: "security_query", type: "LogQueryDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TagToHosts.ts b/packages/datadog-api-client-v1/models/TagToHosts.ts index 551f55462012..52ebdd3e8bf3 100644 --- a/packages/datadog-api-client-v1/models/TagToHosts.ts +++ b/packages/datadog-api-client-v1/models/TagToHosts.ts @@ -15,6 +15,13 @@ export class TagToHosts { */ "tags"?: { [key: string]: Array }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class TagToHosts { baseName: "tags", type: "{ [key: string]: Array; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TimeseriesBackground.ts b/packages/datadog-api-client-v1/models/TimeseriesBackground.ts index 8bab9f5ff9cb..8ba2b6280085 100644 --- a/packages/datadog-api-client-v1/models/TimeseriesBackground.ts +++ b/packages/datadog-api-client-v1/models/TimeseriesBackground.ts @@ -21,6 +21,13 @@ export class TimeseriesBackground { */ "yaxis"?: WidgetAxis; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class TimeseriesBackground { baseName: "yaxis", type: "WidgetAxis", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TimeseriesWidgetDefinition.ts b/packages/datadog-api-client-v1/models/TimeseriesWidgetDefinition.ts index 71518c04b449..efc408e77ab3 100644 --- a/packages/datadog-api-client-v1/models/TimeseriesWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/TimeseriesWidgetDefinition.ts @@ -81,6 +81,13 @@ export class TimeseriesWidgetDefinition { */ "yaxis"?: WidgetAxis; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -152,6 +159,10 @@ export class TimeseriesWidgetDefinition { baseName: "yaxis", type: "WidgetAxis", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TimeseriesWidgetExpressionAlias.ts b/packages/datadog-api-client-v1/models/TimeseriesWidgetExpressionAlias.ts index a80171a343ff..ebe53e25fbdc 100644 --- a/packages/datadog-api-client-v1/models/TimeseriesWidgetExpressionAlias.ts +++ b/packages/datadog-api-client-v1/models/TimeseriesWidgetExpressionAlias.ts @@ -19,6 +19,13 @@ export class TimeseriesWidgetExpressionAlias { */ "expression": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class TimeseriesWidgetExpressionAlias { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TimeseriesWidgetRequest.ts b/packages/datadog-api-client-v1/models/TimeseriesWidgetRequest.ts index 7d858c0eeac9..cdfef103cf24 100644 --- a/packages/datadog-api-client-v1/models/TimeseriesWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/TimeseriesWidgetRequest.ts @@ -87,6 +87,13 @@ export class TimeseriesWidgetRequest { */ "style"?: WidgetRequestStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -164,6 +171,10 @@ export class TimeseriesWidgetRequest { baseName: "style", type: "WidgetRequestStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ToplistWidgetDefinition.ts b/packages/datadog-api-client-v1/models/ToplistWidgetDefinition.ts index 85a74372adfa..1dc2bd37646d 100644 --- a/packages/datadog-api-client-v1/models/ToplistWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/ToplistWidgetDefinition.ts @@ -49,6 +49,13 @@ export class ToplistWidgetDefinition { */ "type": ToplistWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class ToplistWidgetDefinition { type: "ToplistWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ToplistWidgetFlat.ts b/packages/datadog-api-client-v1/models/ToplistWidgetFlat.ts index 96f4139291fb..280199b3efd7 100644 --- a/packages/datadog-api-client-v1/models/ToplistWidgetFlat.ts +++ b/packages/datadog-api-client-v1/models/ToplistWidgetFlat.ts @@ -16,6 +16,13 @@ export class ToplistWidgetFlat { */ "type": ToplistWidgetFlatType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ToplistWidgetFlat { type: "ToplistWidgetFlatType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ToplistWidgetRequest.ts b/packages/datadog-api-client-v1/models/ToplistWidgetRequest.ts index ebfd3bb11404..05fd4b5e6ec4 100644 --- a/packages/datadog-api-client-v1/models/ToplistWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/ToplistWidgetRequest.ts @@ -78,6 +78,13 @@ export class ToplistWidgetRequest { */ "style"?: WidgetRequestStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -147,6 +154,10 @@ export class ToplistWidgetRequest { baseName: "style", type: "WidgetRequestStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ToplistWidgetStacked.ts b/packages/datadog-api-client-v1/models/ToplistWidgetStacked.ts index 20e1eeddef14..c6e861507a21 100644 --- a/packages/datadog-api-client-v1/models/ToplistWidgetStacked.ts +++ b/packages/datadog-api-client-v1/models/ToplistWidgetStacked.ts @@ -21,6 +21,13 @@ export class ToplistWidgetStacked { */ "type": ToplistWidgetStackedType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ToplistWidgetStacked { type: "ToplistWidgetStackedType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/ToplistWidgetStyle.ts b/packages/datadog-api-client-v1/models/ToplistWidgetStyle.ts index 8353c0fdb2cb..ec1751316fa9 100644 --- a/packages/datadog-api-client-v1/models/ToplistWidgetStyle.ts +++ b/packages/datadog-api-client-v1/models/ToplistWidgetStyle.ts @@ -21,6 +21,13 @@ export class ToplistWidgetStyle { */ "scaling"?: ToplistWidgetScaling; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ToplistWidgetStyle { baseName: "scaling", type: "ToplistWidgetScaling", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TopologyMapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/TopologyMapWidgetDefinition.ts index 219a500be432..e307de1b782b 100644 --- a/packages/datadog-api-client-v1/models/TopologyMapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/TopologyMapWidgetDefinition.ts @@ -39,6 +39,13 @@ export class TopologyMapWidgetDefinition { */ "type": TopologyMapWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class TopologyMapWidgetDefinition { type: "TopologyMapWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TopologyQuery.ts b/packages/datadog-api-client-v1/models/TopologyQuery.ts index c027f3ff2ca8..36db892c26f5 100644 --- a/packages/datadog-api-client-v1/models/TopologyQuery.ts +++ b/packages/datadog-api-client-v1/models/TopologyQuery.ts @@ -24,6 +24,13 @@ export class TopologyQuery { */ "service"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class TopologyQuery { baseName: "service", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TopologyRequest.ts b/packages/datadog-api-client-v1/models/TopologyRequest.ts index 9fa75cbcdc37..4da2a2926e1f 100644 --- a/packages/datadog-api-client-v1/models/TopologyRequest.ts +++ b/packages/datadog-api-client-v1/models/TopologyRequest.ts @@ -21,6 +21,13 @@ export class TopologyRequest { */ "requestType"?: TopologyRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class TopologyRequest { baseName: "request_type", type: "TopologyRequestType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.ts b/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.ts index b082690e9ea6..5220184a4285 100644 --- a/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.ts +++ b/packages/datadog-api-client-v1/models/TreeMapWidgetDefinition.ts @@ -50,6 +50,13 @@ export class TreeMapWidgetDefinition { */ "type": TreeMapWidgetDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -93,6 +100,10 @@ export class TreeMapWidgetDefinition { type: "TreeMapWidgetDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.ts b/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.ts index fa7aa13f5750..9437feb669f7 100644 --- a/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.ts +++ b/packages/datadog-api-client-v1/models/TreeMapWidgetRequest.ts @@ -30,6 +30,13 @@ export class TreeMapWidgetRequest { */ "responseFormat"?: FormulaAndFunctionResponseFormat; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class TreeMapWidgetRequest { baseName: "response_format", type: "FormulaAndFunctionResponseFormat", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAnalyzedLogsHour.ts b/packages/datadog-api-client-v1/models/UsageAnalyzedLogsHour.ts index 86b64be044cd..1b840064255b 100644 --- a/packages/datadog-api-client-v1/models/UsageAnalyzedLogsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageAnalyzedLogsHour.ts @@ -27,6 +27,13 @@ export class UsageAnalyzedLogsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageAnalyzedLogsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAnalyzedLogsResponse.ts b/packages/datadog-api-client-v1/models/UsageAnalyzedLogsResponse.ts index fbbc3c6dd673..697936956e6d 100644 --- a/packages/datadog-api-client-v1/models/UsageAnalyzedLogsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageAnalyzedLogsResponse.ts @@ -16,6 +16,13 @@ export class UsageAnalyzedLogsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageAnalyzedLogsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionAggregatesBody.ts b/packages/datadog-api-client-v1/models/UsageAttributionAggregatesBody.ts index 6650c80397a2..bbe51c5c3910 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionAggregatesBody.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionAggregatesBody.ts @@ -23,6 +23,13 @@ export class UsageAttributionAggregatesBody { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class UsageAttributionAggregatesBody { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionBody.ts b/packages/datadog-api-client-v1/models/UsageAttributionBody.ts index e6db233c85b8..20ddc129c50e 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionBody.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionBody.ts @@ -44,6 +44,13 @@ export class UsageAttributionBody { */ "values"?: UsageAttributionValues; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class UsageAttributionBody { baseName: "values", type: "UsageAttributionValues", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionMetadata.ts b/packages/datadog-api-client-v1/models/UsageAttributionMetadata.ts index 96549f1d06ac..6f73063287a8 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionMetadata.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionMetadata.ts @@ -21,6 +21,13 @@ export class UsageAttributionMetadata { */ "pagination"?: UsageAttributionPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageAttributionMetadata { baseName: "pagination", type: "UsageAttributionPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionPagination.ts b/packages/datadog-api-client-v1/models/UsageAttributionPagination.ts index d4fc1d8bccbf..819bc58824fb 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionPagination.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionPagination.ts @@ -31,6 +31,13 @@ export class UsageAttributionPagination { */ "totalNumberOfRecords"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class UsageAttributionPagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionResponse.ts b/packages/datadog-api-client-v1/models/UsageAttributionResponse.ts index acc6ed205273..6972c3c25e40 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionResponse.ts @@ -21,6 +21,13 @@ export class UsageAttributionResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageAttributionResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAttributionValues.ts b/packages/datadog-api-client-v1/models/UsageAttributionValues.ts index f3d83a2ca040..1ffa65c22b4e 100644 --- a/packages/datadog-api-client-v1/models/UsageAttributionValues.ts +++ b/packages/datadog-api-client-v1/models/UsageAttributionValues.ts @@ -219,6 +219,13 @@ export class UsageAttributionValues { */ "snmpUsage"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -488,6 +495,10 @@ export class UsageAttributionValues { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAuditLogsHour.ts b/packages/datadog-api-client-v1/models/UsageAuditLogsHour.ts index dc8f7a73d1f7..32ce66fc6fb0 100644 --- a/packages/datadog-api-client-v1/models/UsageAuditLogsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageAuditLogsHour.ts @@ -27,6 +27,13 @@ export class UsageAuditLogsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageAuditLogsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageAuditLogsResponse.ts b/packages/datadog-api-client-v1/models/UsageAuditLogsResponse.ts index d2dd7a800866..8e86a18d0896 100644 --- a/packages/datadog-api-client-v1/models/UsageAuditLogsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageAuditLogsResponse.ts @@ -16,6 +16,13 @@ export class UsageAuditLogsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageAuditLogsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageBillableSummaryBody.ts b/packages/datadog-api-client-v1/models/UsageBillableSummaryBody.ts index 2fe7a7b7cdfd..153236b3e4f4 100644 --- a/packages/datadog-api-client-v1/models/UsageBillableSummaryBody.ts +++ b/packages/datadog-api-client-v1/models/UsageBillableSummaryBody.ts @@ -39,6 +39,13 @@ export class UsageBillableSummaryBody { */ "usageUnit"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class UsageBillableSummaryBody { baseName: "usage_unit", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.ts b/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.ts index 5fa0b0395fca..22d4f7e8e109 100644 --- a/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.ts +++ b/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.ts @@ -48,6 +48,13 @@ export class UsageBillableSummaryHour { */ "usage"?: UsageBillableSummaryKeys; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -97,6 +104,10 @@ export class UsageBillableSummaryHour { baseName: "usage", type: "UsageBillableSummaryKeys", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.ts b/packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.ts index b11a9113fd42..6a180ac38889 100644 --- a/packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.ts +++ b/packages/datadog-api-client-v1/models/UsageBillableSummaryKeys.ts @@ -364,6 +364,13 @@ export class UsageBillableSummaryKeys { */ "timeseriesSum"?: UsageBillableSummaryBody; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -725,6 +732,10 @@ export class UsageBillableSummaryKeys { baseName: "timeseries_sum", type: "UsageBillableSummaryBody", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageBillableSummaryResponse.ts b/packages/datadog-api-client-v1/models/UsageBillableSummaryResponse.ts index bd49e0da0631..fb6ab0f763eb 100644 --- a/packages/datadog-api-client-v1/models/UsageBillableSummaryResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageBillableSummaryResponse.ts @@ -16,6 +16,13 @@ export class UsageBillableSummaryResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageBillableSummaryResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.ts b/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.ts index 1415cc0f27ab..7373860a4782 100644 --- a/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.ts +++ b/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.ts @@ -39,6 +39,13 @@ export class UsageCIVisibilityHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class UsageCIVisibilityHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.ts b/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.ts index b641789f1bd8..04f110d1cce5 100644 --- a/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageCIVisibilityResponse.ts @@ -16,6 +16,13 @@ export class UsageCIVisibilityResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageCIVisibilityResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCWSHour.ts b/packages/datadog-api-client-v1/models/UsageCWSHour.ts index 6f166903388b..9d8c809f3291 100644 --- a/packages/datadog-api-client-v1/models/UsageCWSHour.ts +++ b/packages/datadog-api-client-v1/models/UsageCWSHour.ts @@ -31,6 +31,13 @@ export class UsageCWSHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class UsageCWSHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCWSResponse.ts b/packages/datadog-api-client-v1/models/UsageCWSResponse.ts index 335f4cbbc088..5d2414bf8fda 100644 --- a/packages/datadog-api-client-v1/models/UsageCWSResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageCWSResponse.ts @@ -16,6 +16,13 @@ export class UsageCWSResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageCWSResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementHour.ts b/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementHour.ts index fcb2ff9919fd..eabddda96ea9 100644 --- a/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementHour.ts +++ b/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementHour.ts @@ -51,6 +51,13 @@ export class UsageCloudSecurityPostureManagementHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -108,6 +115,10 @@ export class UsageCloudSecurityPostureManagementHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementResponse.ts b/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementResponse.ts index ad75be9e043d..291e80484b7c 100644 --- a/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageCloudSecurityPostureManagementResponse.ts @@ -16,6 +16,13 @@ export class UsageCloudSecurityPostureManagementResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageCloudSecurityPostureManagementResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCustomReportsAttributes.ts b/packages/datadog-api-client-v1/models/UsageCustomReportsAttributes.ts index bb7e7820a1fb..fd8dcaca659c 100644 --- a/packages/datadog-api-client-v1/models/UsageCustomReportsAttributes.ts +++ b/packages/datadog-api-client-v1/models/UsageCustomReportsAttributes.ts @@ -31,6 +31,13 @@ export class UsageCustomReportsAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class UsageCustomReportsAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCustomReportsData.ts b/packages/datadog-api-client-v1/models/UsageCustomReportsData.ts index 6c3a9dd293e7..976c0046bf92 100644 --- a/packages/datadog-api-client-v1/models/UsageCustomReportsData.ts +++ b/packages/datadog-api-client-v1/models/UsageCustomReportsData.ts @@ -25,6 +25,13 @@ export class UsageCustomReportsData { */ "type"?: UsageReportsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class UsageCustomReportsData { baseName: "type", type: "UsageReportsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCustomReportsMeta.ts b/packages/datadog-api-client-v1/models/UsageCustomReportsMeta.ts index 48d8f839fee2..a73703ed0d73 100644 --- a/packages/datadog-api-client-v1/models/UsageCustomReportsMeta.ts +++ b/packages/datadog-api-client-v1/models/UsageCustomReportsMeta.ts @@ -16,6 +16,13 @@ export class UsageCustomReportsMeta { */ "page"?: UsageCustomReportsPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageCustomReportsMeta { baseName: "page", type: "UsageCustomReportsPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCustomReportsPage.ts b/packages/datadog-api-client-v1/models/UsageCustomReportsPage.ts index 3955de9fa25f..39863f9b8e58 100644 --- a/packages/datadog-api-client-v1/models/UsageCustomReportsPage.ts +++ b/packages/datadog-api-client-v1/models/UsageCustomReportsPage.ts @@ -15,6 +15,13 @@ export class UsageCustomReportsPage { */ "totalCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageCustomReportsPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageCustomReportsResponse.ts b/packages/datadog-api-client-v1/models/UsageCustomReportsResponse.ts index 178ab650f85b..a367bd19242a 100644 --- a/packages/datadog-api-client-v1/models/UsageCustomReportsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageCustomReportsResponse.ts @@ -21,6 +21,13 @@ export class UsageCustomReportsResponse { */ "meta"?: UsageCustomReportsMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageCustomReportsResponse { baseName: "meta", type: "UsageCustomReportsMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageDBMHour.ts b/packages/datadog-api-client-v1/models/UsageDBMHour.ts index 9615a0a0310a..439b7900a3c0 100644 --- a/packages/datadog-api-client-v1/models/UsageDBMHour.ts +++ b/packages/datadog-api-client-v1/models/UsageDBMHour.ts @@ -31,6 +31,13 @@ export class UsageDBMHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class UsageDBMHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageDBMResponse.ts b/packages/datadog-api-client-v1/models/UsageDBMResponse.ts index 21e331d9cf95..a9c44558b37f 100644 --- a/packages/datadog-api-client-v1/models/UsageDBMResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageDBMResponse.ts @@ -16,6 +16,13 @@ export class UsageDBMResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageDBMResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageFargateHour.ts b/packages/datadog-api-client-v1/models/UsageFargateHour.ts index 500ef97b978c..06df8b6fc2a1 100644 --- a/packages/datadog-api-client-v1/models/UsageFargateHour.ts +++ b/packages/datadog-api-client-v1/models/UsageFargateHour.ts @@ -39,6 +39,13 @@ export class UsageFargateHour { */ "tasksCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class UsageFargateHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageFargateResponse.ts b/packages/datadog-api-client-v1/models/UsageFargateResponse.ts index c57551e30824..ca28b76a9eee 100644 --- a/packages/datadog-api-client-v1/models/UsageFargateResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageFargateResponse.ts @@ -16,6 +16,13 @@ export class UsageFargateResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageFargateResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageHostHour.ts b/packages/datadog-api-client-v1/models/UsageHostHour.ts index d2413c08a091..132ba53515da 100644 --- a/packages/datadog-api-client-v1/models/UsageHostHour.ts +++ b/packages/datadog-api-client-v1/models/UsageHostHour.ts @@ -88,6 +88,13 @@ export class UsageHostHour { */ "vsphereHostCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -180,6 +187,10 @@ export class UsageHostHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageHostsResponse.ts b/packages/datadog-api-client-v1/models/UsageHostsResponse.ts index 97c2e6fcd243..91b45c358bde 100644 --- a/packages/datadog-api-client-v1/models/UsageHostsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageHostsResponse.ts @@ -16,6 +16,13 @@ export class UsageHostsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageHostsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIncidentManagementHour.ts b/packages/datadog-api-client-v1/models/UsageIncidentManagementHour.ts index 73620838a8da..5ac0b68c2214 100644 --- a/packages/datadog-api-client-v1/models/UsageIncidentManagementHour.ts +++ b/packages/datadog-api-client-v1/models/UsageIncidentManagementHour.ts @@ -27,6 +27,13 @@ export class UsageIncidentManagementHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageIncidentManagementHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIncidentManagementResponse.ts b/packages/datadog-api-client-v1/models/UsageIncidentManagementResponse.ts index ff4690556637..703be41486b1 100644 --- a/packages/datadog-api-client-v1/models/UsageIncidentManagementResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageIncidentManagementResponse.ts @@ -16,6 +16,13 @@ export class UsageIncidentManagementResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageIncidentManagementResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIndexedSpansHour.ts b/packages/datadog-api-client-v1/models/UsageIndexedSpansHour.ts index 597f21850971..ff21f7bac187 100644 --- a/packages/datadog-api-client-v1/models/UsageIndexedSpansHour.ts +++ b/packages/datadog-api-client-v1/models/UsageIndexedSpansHour.ts @@ -27,6 +27,13 @@ export class UsageIndexedSpansHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageIndexedSpansHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIndexedSpansResponse.ts b/packages/datadog-api-client-v1/models/UsageIndexedSpansResponse.ts index 7803d8faeba4..fa2decb030de 100644 --- a/packages/datadog-api-client-v1/models/UsageIndexedSpansResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageIndexedSpansResponse.ts @@ -16,6 +16,13 @@ export class UsageIndexedSpansResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageIndexedSpansResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIngestedSpansHour.ts b/packages/datadog-api-client-v1/models/UsageIngestedSpansHour.ts index 49eb39e579a0..1c217fe6ea16 100644 --- a/packages/datadog-api-client-v1/models/UsageIngestedSpansHour.ts +++ b/packages/datadog-api-client-v1/models/UsageIngestedSpansHour.ts @@ -27,6 +27,13 @@ export class UsageIngestedSpansHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageIngestedSpansHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIngestedSpansResponse.ts b/packages/datadog-api-client-v1/models/UsageIngestedSpansResponse.ts index 92f76f33830c..199f447c996b 100644 --- a/packages/datadog-api-client-v1/models/UsageIngestedSpansResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageIngestedSpansResponse.ts @@ -16,6 +16,13 @@ export class UsageIngestedSpansResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageIngestedSpansResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIoTHour.ts b/packages/datadog-api-client-v1/models/UsageIoTHour.ts index c2f8795b3ec3..9ac8b2493f7c 100644 --- a/packages/datadog-api-client-v1/models/UsageIoTHour.ts +++ b/packages/datadog-api-client-v1/models/UsageIoTHour.ts @@ -27,6 +27,13 @@ export class UsageIoTHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageIoTHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageIoTResponse.ts b/packages/datadog-api-client-v1/models/UsageIoTResponse.ts index 257f23f38548..2c652fa78545 100644 --- a/packages/datadog-api-client-v1/models/UsageIoTResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageIoTResponse.ts @@ -16,6 +16,13 @@ export class UsageIoTResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageIoTResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLambdaHour.ts b/packages/datadog-api-client-v1/models/UsageLambdaHour.ts index bbfdb71558d4..368e95bf0a0d 100644 --- a/packages/datadog-api-client-v1/models/UsageLambdaHour.ts +++ b/packages/datadog-api-client-v1/models/UsageLambdaHour.ts @@ -32,6 +32,13 @@ export class UsageLambdaHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class UsageLambdaHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLambdaResponse.ts b/packages/datadog-api-client-v1/models/UsageLambdaResponse.ts index 54c05f21614a..dcffff45b0c9 100644 --- a/packages/datadog-api-client-v1/models/UsageLambdaResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageLambdaResponse.ts @@ -17,6 +17,13 @@ export class UsageLambdaResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UsageLambdaResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsByIndexHour.ts b/packages/datadog-api-client-v1/models/UsageLogsByIndexHour.ts index af59d494c6c1..217bedc66807 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsByIndexHour.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsByIndexHour.ts @@ -39,6 +39,13 @@ export class UsageLogsByIndexHour { */ "retention"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -79,6 +86,10 @@ export class UsageLogsByIndexHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsByIndexResponse.ts b/packages/datadog-api-client-v1/models/UsageLogsByIndexResponse.ts index 24a0ad4462c5..87c054e80e1e 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsByIndexResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsByIndexResponse.ts @@ -16,6 +16,13 @@ export class UsageLogsByIndexResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageLogsByIndexResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsByRetentionHour.ts b/packages/datadog-api-client-v1/models/UsageLogsByRetentionHour.ts index 89744514f0e9..304c63db3d0b 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsByRetentionHour.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsByRetentionHour.ts @@ -35,6 +35,13 @@ export class UsageLogsByRetentionHour { */ "retention"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class UsageLogsByRetentionHour { baseName: "retention", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsByRetentionResponse.ts b/packages/datadog-api-client-v1/models/UsageLogsByRetentionResponse.ts index 22a9fa4c6294..154fa0b9545c 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsByRetentionResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsByRetentionResponse.ts @@ -16,6 +16,13 @@ export class UsageLogsByRetentionResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageLogsByRetentionResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsHour.ts b/packages/datadog-api-client-v1/models/UsageLogsHour.ts index 6aa78968308c..02531af7238e 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsHour.ts @@ -55,6 +55,13 @@ export class UsageLogsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -117,6 +124,10 @@ export class UsageLogsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageLogsResponse.ts b/packages/datadog-api-client-v1/models/UsageLogsResponse.ts index 6d1946d51976..be67d8cc278b 100644 --- a/packages/datadog-api-client-v1/models/UsageLogsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageLogsResponse.ts @@ -16,6 +16,13 @@ export class UsageLogsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageLogsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageNetworkFlowsHour.ts b/packages/datadog-api-client-v1/models/UsageNetworkFlowsHour.ts index b4ec2b31ea49..c03a5fcca284 100644 --- a/packages/datadog-api-client-v1/models/UsageNetworkFlowsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageNetworkFlowsHour.ts @@ -27,6 +27,13 @@ export class UsageNetworkFlowsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageNetworkFlowsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageNetworkFlowsResponse.ts b/packages/datadog-api-client-v1/models/UsageNetworkFlowsResponse.ts index bf0e05c8ed86..6318940b2e03 100644 --- a/packages/datadog-api-client-v1/models/UsageNetworkFlowsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageNetworkFlowsResponse.ts @@ -16,6 +16,13 @@ export class UsageNetworkFlowsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageNetworkFlowsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageNetworkHostsHour.ts b/packages/datadog-api-client-v1/models/UsageNetworkHostsHour.ts index 1d606315c902..0ad73ace114d 100644 --- a/packages/datadog-api-client-v1/models/UsageNetworkHostsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageNetworkHostsHour.ts @@ -27,6 +27,13 @@ export class UsageNetworkHostsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageNetworkHostsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageNetworkHostsResponse.ts b/packages/datadog-api-client-v1/models/UsageNetworkHostsResponse.ts index db73c8a6a22a..c90597b5adcf 100644 --- a/packages/datadog-api-client-v1/models/UsageNetworkHostsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageNetworkHostsResponse.ts @@ -16,6 +16,13 @@ export class UsageNetworkHostsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageNetworkHostsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.ts b/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.ts index 987a1a8484bb..99117101349b 100644 --- a/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.ts +++ b/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.ts @@ -27,6 +27,13 @@ export class UsageOnlineArchiveHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageOnlineArchiveHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageOnlineArchiveResponse.ts b/packages/datadog-api-client-v1/models/UsageOnlineArchiveResponse.ts index 76ce2c42b921..eda3347c34bb 100644 --- a/packages/datadog-api-client-v1/models/UsageOnlineArchiveResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageOnlineArchiveResponse.ts @@ -16,6 +16,13 @@ export class UsageOnlineArchiveResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageOnlineArchiveResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageProfilingHour.ts b/packages/datadog-api-client-v1/models/UsageProfilingHour.ts index d6da0b2bdfcd..d6b34ce83b52 100644 --- a/packages/datadog-api-client-v1/models/UsageProfilingHour.ts +++ b/packages/datadog-api-client-v1/models/UsageProfilingHour.ts @@ -35,6 +35,13 @@ export class UsageProfilingHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class UsageProfilingHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageProfilingResponse.ts b/packages/datadog-api-client-v1/models/UsageProfilingResponse.ts index 21e816916d61..24a252d393c7 100644 --- a/packages/datadog-api-client-v1/models/UsageProfilingResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageProfilingResponse.ts @@ -16,6 +16,13 @@ export class UsageProfilingResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageProfilingResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageRumSessionsHour.ts b/packages/datadog-api-client-v1/models/UsageRumSessionsHour.ts index 957300fd4580..1029f0605aa1 100644 --- a/packages/datadog-api-client-v1/models/UsageRumSessionsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageRumSessionsHour.ts @@ -47,6 +47,13 @@ export class UsageRumSessionsHour { */ "sessionCountReactnative"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -99,6 +106,10 @@ export class UsageRumSessionsHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.ts b/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.ts index bd938629abc8..31eac9be51d8 100644 --- a/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.ts @@ -16,6 +16,13 @@ export class UsageRumSessionsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageRumSessionsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageRumUnitsHour.ts b/packages/datadog-api-client-v1/models/UsageRumUnitsHour.ts index 9cf503e5b55e..21ae73ea65e1 100644 --- a/packages/datadog-api-client-v1/models/UsageRumUnitsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageRumUnitsHour.ts @@ -31,6 +31,13 @@ export class UsageRumUnitsHour { */ "rumUnits"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class UsageRumUnitsHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageRumUnitsResponse.ts b/packages/datadog-api-client-v1/models/UsageRumUnitsResponse.ts index cdcfe67f9c0e..10df89bda45c 100644 --- a/packages/datadog-api-client-v1/models/UsageRumUnitsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageRumUnitsResponse.ts @@ -16,6 +16,13 @@ export class UsageRumUnitsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageRumUnitsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSDSHour.ts b/packages/datadog-api-client-v1/models/UsageSDSHour.ts index 9cd2dcbec440..d39dc30e9018 100644 --- a/packages/datadog-api-client-v1/models/UsageSDSHour.ts +++ b/packages/datadog-api-client-v1/models/UsageSDSHour.ts @@ -43,6 +43,13 @@ export class UsageSDSHour { */ "totalScannedBytes"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -90,6 +97,10 @@ export class UsageSDSHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSDSResponse.ts b/packages/datadog-api-client-v1/models/UsageSDSResponse.ts index 00b6355c59de..b74d92525f91 100644 --- a/packages/datadog-api-client-v1/models/UsageSDSResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSDSResponse.ts @@ -16,6 +16,13 @@ export class UsageSDSResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSDSResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSNMPHour.ts b/packages/datadog-api-client-v1/models/UsageSNMPHour.ts index f41b9b73d33e..24e9a79f88dd 100644 --- a/packages/datadog-api-client-v1/models/UsageSNMPHour.ts +++ b/packages/datadog-api-client-v1/models/UsageSNMPHour.ts @@ -27,6 +27,13 @@ export class UsageSNMPHour { */ "snmpDevices"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageSNMPHour { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSNMPResponse.ts b/packages/datadog-api-client-v1/models/UsageSNMPResponse.ts index e84e278dd9af..42c3d47d82ae 100644 --- a/packages/datadog-api-client-v1/models/UsageSNMPResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSNMPResponse.ts @@ -16,6 +16,13 @@ export class UsageSNMPResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSNMPResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsAttributes.ts b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsAttributes.ts index 44585698807e..885c11a2904c 100644 --- a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsAttributes.ts +++ b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsAttributes.ts @@ -35,6 +35,13 @@ export class UsageSpecifiedCustomReportsAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class UsageSpecifiedCustomReportsAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsData.ts b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsData.ts index d3cfb71e43b8..db7283eab142 100644 --- a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsData.ts +++ b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsData.ts @@ -25,6 +25,13 @@ export class UsageSpecifiedCustomReportsData { */ "type"?: UsageReportsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class UsageSpecifiedCustomReportsData { baseName: "type", type: "UsageReportsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsMeta.ts b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsMeta.ts index 71dcd69c504b..7e95bf9055c1 100644 --- a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsMeta.ts +++ b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsMeta.ts @@ -16,6 +16,13 @@ export class UsageSpecifiedCustomReportsMeta { */ "page"?: UsageSpecifiedCustomReportsPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSpecifiedCustomReportsMeta { baseName: "page", type: "UsageSpecifiedCustomReportsPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsPage.ts b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsPage.ts index ce61fbc1efc8..17b54bac6a42 100644 --- a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsPage.ts +++ b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsPage.ts @@ -15,6 +15,13 @@ export class UsageSpecifiedCustomReportsPage { */ "totalCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSpecifiedCustomReportsPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsResponse.ts b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsResponse.ts index db2f9c2f0d53..05bdac1f23d8 100644 --- a/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSpecifiedCustomReportsResponse.ts @@ -21,6 +21,13 @@ export class UsageSpecifiedCustomReportsResponse { */ "meta"?: UsageSpecifiedCustomReportsMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageSpecifiedCustomReportsResponse { baseName: "meta", type: "UsageSpecifiedCustomReportsMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts index 74fe4a53ea63..5915c86eb7cf 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDate.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDate.ts @@ -456,6 +456,13 @@ export class UsageSummaryDate { */ "workflowExecutionsUsageSum"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -1019,6 +1026,10 @@ export class UsageSummaryDate { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts index e4b40415ff29..0868dcb7f30a 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.ts @@ -471,6 +471,13 @@ export class UsageSummaryDateOrg { */ "workflowExecutionsUsageSum"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -1051,6 +1058,10 @@ export class UsageSummaryDateOrg { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts index f822caed4d61..8aac5391d817 100644 --- a/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSummaryResponse.ts @@ -501,6 +501,13 @@ export class UsageSummaryResponse { */ "workflowExecutionsUsageAggSum"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -1118,6 +1125,10 @@ export class UsageSummaryResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsAPIHour.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsAPIHour.ts index c8a036f32554..fe1fd07948a9 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsAPIHour.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsAPIHour.ts @@ -27,6 +27,13 @@ export class UsageSyntheticsAPIHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageSyntheticsAPIHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsAPIResponse.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsAPIResponse.ts index 950e48b121a7..42812f42f883 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsAPIResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsAPIResponse.ts @@ -16,6 +16,13 @@ export class UsageSyntheticsAPIResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSyntheticsAPIResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserHour.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserHour.ts index 99894fe8e6dc..a19bdbc08a41 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserHour.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserHour.ts @@ -27,6 +27,13 @@ export class UsageSyntheticsBrowserHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageSyntheticsBrowserHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserResponse.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserResponse.ts index 52dc122efa3a..945e329cbb78 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsBrowserResponse.ts @@ -16,6 +16,13 @@ export class UsageSyntheticsBrowserResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSyntheticsBrowserResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsHour.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsHour.ts index efe8b71e999c..83bdc9af6382 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsHour.ts @@ -27,6 +27,13 @@ export class UsageSyntheticsHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UsageSyntheticsHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageSyntheticsResponse.ts b/packages/datadog-api-client-v1/models/UsageSyntheticsResponse.ts index 17a504cf3058..f4477a90d6cf 100644 --- a/packages/datadog-api-client-v1/models/UsageSyntheticsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageSyntheticsResponse.ts @@ -16,6 +16,13 @@ export class UsageSyntheticsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageSyntheticsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTimeseriesHour.ts b/packages/datadog-api-client-v1/models/UsageTimeseriesHour.ts index a5a6e55eee48..7340470fb281 100644 --- a/packages/datadog-api-client-v1/models/UsageTimeseriesHour.ts +++ b/packages/datadog-api-client-v1/models/UsageTimeseriesHour.ts @@ -35,6 +35,13 @@ export class UsageTimeseriesHour { */ "publicId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -72,6 +79,10 @@ export class UsageTimeseriesHour { baseName: "public_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTimeseriesResponse.ts b/packages/datadog-api-client-v1/models/UsageTimeseriesResponse.ts index 31c76d8f6d51..1cef676dc920 100644 --- a/packages/datadog-api-client-v1/models/UsageTimeseriesResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageTimeseriesResponse.ts @@ -16,6 +16,13 @@ export class UsageTimeseriesResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageTimeseriesResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsHour.ts b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsHour.ts index 7013af7118bc..7240c7e5128b 100644 --- a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsHour.ts +++ b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsHour.ts @@ -28,6 +28,13 @@ export class UsageTopAvgMetricsHour { */ "metricName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class UsageTopAvgMetricsHour { baseName: "metric_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts index 0dd6269e3f00..38f9fa1286e8 100644 --- a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts +++ b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsMetadata.ts @@ -24,6 +24,13 @@ export class UsageTopAvgMetricsMetadata { */ "pagination"?: UsageTopAvgMetricsPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class UsageTopAvgMetricsMetadata { baseName: "pagination", type: "UsageTopAvgMetricsPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsPagination.ts b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsPagination.ts index 1b47feec2770..ae563db473b4 100644 --- a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsPagination.ts +++ b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsPagination.ts @@ -23,6 +23,13 @@ export class UsageTopAvgMetricsPagination { */ "totalNumberOfRecords"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class UsageTopAvgMetricsPagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsResponse.ts b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsResponse.ts index 97a173fa2c6b..f60fbc66864a 100644 --- a/packages/datadog-api-client-v1/models/UsageTopAvgMetricsResponse.ts +++ b/packages/datadog-api-client-v1/models/UsageTopAvgMetricsResponse.ts @@ -21,6 +21,13 @@ export class UsageTopAvgMetricsResponse { */ "usage"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageTopAvgMetricsResponse { baseName: "usage", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/User.ts b/packages/datadog-api-client-v1/models/User.ts index 165022a89800..a006681d8673 100644 --- a/packages/datadog-api-client-v1/models/User.ts +++ b/packages/datadog-api-client-v1/models/User.ts @@ -40,6 +40,13 @@ export class User { */ "verified"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -79,6 +86,10 @@ export class User { baseName: "verified", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UserDisableResponse.ts b/packages/datadog-api-client-v1/models/UserDisableResponse.ts index a6847d0b632c..bf71f172da21 100644 --- a/packages/datadog-api-client-v1/models/UserDisableResponse.ts +++ b/packages/datadog-api-client-v1/models/UserDisableResponse.ts @@ -15,6 +15,13 @@ export class UserDisableResponse { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class UserDisableResponse { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UserListResponse.ts b/packages/datadog-api-client-v1/models/UserListResponse.ts index 9de7b6f6e89a..89fd93afb528 100644 --- a/packages/datadog-api-client-v1/models/UserListResponse.ts +++ b/packages/datadog-api-client-v1/models/UserListResponse.ts @@ -16,6 +16,13 @@ export class UserListResponse { */ "users"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UserListResponse { baseName: "users", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/UserResponse.ts b/packages/datadog-api-client-v1/models/UserResponse.ts index 72685e3b1eda..7505b65679a3 100644 --- a/packages/datadog-api-client-v1/models/UserResponse.ts +++ b/packages/datadog-api-client-v1/models/UserResponse.ts @@ -16,6 +16,13 @@ export class UserResponse { */ "user"?: User; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UserResponse { baseName: "user", type: "User", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WebhooksIntegration.ts b/packages/datadog-api-client-v1/models/WebhooksIntegration.ts index 7046ca8d4d52..576bc6da5f56 100644 --- a/packages/datadog-api-client-v1/models/WebhooksIntegration.ts +++ b/packages/datadog-api-client-v1/models/WebhooksIntegration.ts @@ -38,6 +38,13 @@ export class WebhooksIntegration { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class WebhooksIntegration { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariable.ts b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariable.ts index 55dda664dd3a..c8175caa888a 100644 --- a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariable.ts +++ b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariable.ts @@ -24,6 +24,13 @@ export class WebhooksIntegrationCustomVariable { */ "value": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class WebhooksIntegrationCustomVariable { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableResponse.ts b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableResponse.ts index 2c8c9c6b4a29..fd426b6be2e8 100644 --- a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableResponse.ts +++ b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableResponse.ts @@ -24,6 +24,13 @@ export class WebhooksIntegrationCustomVariableResponse { */ "value"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class WebhooksIntegrationCustomVariableResponse { baseName: "value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableUpdateRequest.ts b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableUpdateRequest.ts index 00a695d5c6f8..63b064d85a03 100644 --- a/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/WebhooksIntegrationCustomVariableUpdateRequest.ts @@ -26,6 +26,13 @@ export class WebhooksIntegrationCustomVariableUpdateRequest { */ "value"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class WebhooksIntegrationCustomVariableUpdateRequest { baseName: "value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WebhooksIntegrationUpdateRequest.ts b/packages/datadog-api-client-v1/models/WebhooksIntegrationUpdateRequest.ts index 619d26591b6f..087e3730bbbc 100644 --- a/packages/datadog-api-client-v1/models/WebhooksIntegrationUpdateRequest.ts +++ b/packages/datadog-api-client-v1/models/WebhooksIntegrationUpdateRequest.ts @@ -40,6 +40,13 @@ export class WebhooksIntegrationUpdateRequest { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class WebhooksIntegrationUpdateRequest { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/Widget.ts b/packages/datadog-api-client-v1/models/Widget.ts index ec580c134662..a991fceeda57 100644 --- a/packages/datadog-api-client-v1/models/Widget.ts +++ b/packages/datadog-api-client-v1/models/Widget.ts @@ -30,6 +30,13 @@ export class Widget { */ "layout"?: WidgetLayout; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class Widget { baseName: "layout", type: "WidgetLayout", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetAxis.ts b/packages/datadog-api-client-v1/models/WidgetAxis.ts index 5c062f9e90ad..04df83685de5 100644 --- a/packages/datadog-api-client-v1/models/WidgetAxis.ts +++ b/packages/datadog-api-client-v1/models/WidgetAxis.ts @@ -31,6 +31,13 @@ export class WidgetAxis { */ "scale"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class WidgetAxis { baseName: "scale", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetConditionalFormat.ts b/packages/datadog-api-client-v1/models/WidgetConditionalFormat.ts index bf3ba36c5e55..779b275047e5 100644 --- a/packages/datadog-api-client-v1/models/WidgetConditionalFormat.ts +++ b/packages/datadog-api-client-v1/models/WidgetConditionalFormat.ts @@ -49,6 +49,13 @@ export class WidgetConditionalFormat { */ "value": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -98,6 +105,10 @@ export class WidgetConditionalFormat { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetCustomLink.ts b/packages/datadog-api-client-v1/models/WidgetCustomLink.ts index 9dc39d08a76c..4395c3ac7504 100644 --- a/packages/datadog-api-client-v1/models/WidgetCustomLink.ts +++ b/packages/datadog-api-client-v1/models/WidgetCustomLink.ts @@ -27,6 +27,13 @@ export class WidgetCustomLink { */ "overrideLabel"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class WidgetCustomLink { baseName: "override_label", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetEvent.ts b/packages/datadog-api-client-v1/models/WidgetEvent.ts index ef91d8eff6dc..94dceeb1f3f5 100644 --- a/packages/datadog-api-client-v1/models/WidgetEvent.ts +++ b/packages/datadog-api-client-v1/models/WidgetEvent.ts @@ -22,6 +22,13 @@ export class WidgetEvent { */ "tagsExecution"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class WidgetEvent { baseName: "tags_execution", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetFieldSort.ts b/packages/datadog-api-client-v1/models/WidgetFieldSort.ts index b3bfcccaee58..272a74a5c9b1 100644 --- a/packages/datadog-api-client-v1/models/WidgetFieldSort.ts +++ b/packages/datadog-api-client-v1/models/WidgetFieldSort.ts @@ -20,6 +20,13 @@ export class WidgetFieldSort { */ "order": WidgetSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class WidgetFieldSort { type: "WidgetSort", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetFormula.ts b/packages/datadog-api-client-v1/models/WidgetFormula.ts index c744ddd6b41a..4df0f34241e6 100644 --- a/packages/datadog-api-client-v1/models/WidgetFormula.ts +++ b/packages/datadog-api-client-v1/models/WidgetFormula.ts @@ -39,6 +39,13 @@ export class WidgetFormula { */ "style"?: WidgetFormulaStyle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class WidgetFormula { baseName: "style", type: "WidgetFormulaStyle", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetFormulaLimit.ts b/packages/datadog-api-client-v1/models/WidgetFormulaLimit.ts index f1d93b028cd9..4d8da6323a67 100644 --- a/packages/datadog-api-client-v1/models/WidgetFormulaLimit.ts +++ b/packages/datadog-api-client-v1/models/WidgetFormulaLimit.ts @@ -20,6 +20,13 @@ export class WidgetFormulaLimit { */ "order"?: QuerySortOrder; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class WidgetFormulaLimit { baseName: "order", type: "QuerySortOrder", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetFormulaStyle.ts b/packages/datadog-api-client-v1/models/WidgetFormulaStyle.ts index 780ac9c4b20e..5274498b1a08 100644 --- a/packages/datadog-api-client-v1/models/WidgetFormulaStyle.ts +++ b/packages/datadog-api-client-v1/models/WidgetFormulaStyle.ts @@ -19,6 +19,13 @@ export class WidgetFormulaStyle { */ "paletteIndex"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class WidgetFormulaStyle { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetLayout.ts b/packages/datadog-api-client-v1/models/WidgetLayout.ts index 1323873d0363..af50622a7df1 100644 --- a/packages/datadog-api-client-v1/models/WidgetLayout.ts +++ b/packages/datadog-api-client-v1/models/WidgetLayout.ts @@ -32,6 +32,13 @@ export class WidgetLayout { */ "y": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class WidgetLayout { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetMarker.ts b/packages/datadog-api-client-v1/models/WidgetMarker.ts index 168f81943fbe..6f441881cbb9 100644 --- a/packages/datadog-api-client-v1/models/WidgetMarker.ts +++ b/packages/datadog-api-client-v1/models/WidgetMarker.ts @@ -30,6 +30,13 @@ export class WidgetMarker { */ "value": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class WidgetMarker { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetRequestStyle.ts b/packages/datadog-api-client-v1/models/WidgetRequestStyle.ts index 117c4442bde6..b2b5abdb8b05 100644 --- a/packages/datadog-api-client-v1/models/WidgetRequestStyle.ts +++ b/packages/datadog-api-client-v1/models/WidgetRequestStyle.ts @@ -25,6 +25,13 @@ export class WidgetRequestStyle { */ "palette"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class WidgetRequestStyle { baseName: "palette", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetStyle.ts b/packages/datadog-api-client-v1/models/WidgetStyle.ts index b9326970904f..be74f8b5b5df 100644 --- a/packages/datadog-api-client-v1/models/WidgetStyle.ts +++ b/packages/datadog-api-client-v1/models/WidgetStyle.ts @@ -15,6 +15,13 @@ export class WidgetStyle { */ "palette"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class WidgetStyle { baseName: "palette", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v1/models/WidgetTime.ts b/packages/datadog-api-client-v1/models/WidgetTime.ts index dffbd6974b00..1de79e5aea3d 100644 --- a/packages/datadog-api-client-v1/models/WidgetTime.ts +++ b/packages/datadog-api-client-v1/models/WidgetTime.ts @@ -16,6 +16,13 @@ export class WidgetTime { */ "liveSpan"?: WidgetLiveSpan; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class WidgetTime { baseName: "live_span", type: "WidgetLiveSpan", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIErrorResponse.ts b/packages/datadog-api-client-v2/models/APIErrorResponse.ts index e0c7a3a10e02..64c1b10f5920 100644 --- a/packages/datadog-api-client-v2/models/APIErrorResponse.ts +++ b/packages/datadog-api-client-v2/models/APIErrorResponse.ts @@ -15,6 +15,13 @@ export class APIErrorResponse { */ "errors": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class APIErrorResponse { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyCreateAttributes.ts b/packages/datadog-api-client-v2/models/APIKeyCreateAttributes.ts index 23a098babf60..6870f4e59f7b 100644 --- a/packages/datadog-api-client-v2/models/APIKeyCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/APIKeyCreateAttributes.ts @@ -15,6 +15,13 @@ export class APIKeyCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class APIKeyCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyCreateData.ts b/packages/datadog-api-client-v2/models/APIKeyCreateData.ts index 14c869daa098..f7deda5122bd 100644 --- a/packages/datadog-api-client-v2/models/APIKeyCreateData.ts +++ b/packages/datadog-api-client-v2/models/APIKeyCreateData.ts @@ -21,6 +21,13 @@ export class APIKeyCreateData { */ "type": APIKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class APIKeyCreateData { type: "APIKeysType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyCreateRequest.ts b/packages/datadog-api-client-v2/models/APIKeyCreateRequest.ts index 3afa0a9d450c..866e3a2bce08 100644 --- a/packages/datadog-api-client-v2/models/APIKeyCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/APIKeyCreateRequest.ts @@ -16,6 +16,13 @@ export class APIKeyCreateRequest { */ "data": APIKeyCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class APIKeyCreateRequest { type: "APIKeyCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyRelationships.ts b/packages/datadog-api-client-v2/models/APIKeyRelationships.ts index e69cb30a3b2d..4306f99fa2d9 100644 --- a/packages/datadog-api-client-v2/models/APIKeyRelationships.ts +++ b/packages/datadog-api-client-v2/models/APIKeyRelationships.ts @@ -20,6 +20,13 @@ export class APIKeyRelationships { */ "modifiedBy"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class APIKeyRelationships { baseName: "modified_by", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyResponse.ts b/packages/datadog-api-client-v2/models/APIKeyResponse.ts index 329d1ca6e501..5661f44e1842 100644 --- a/packages/datadog-api-client-v2/models/APIKeyResponse.ts +++ b/packages/datadog-api-client-v2/models/APIKeyResponse.ts @@ -21,6 +21,13 @@ export class APIKeyResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class APIKeyResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyUpdateAttributes.ts b/packages/datadog-api-client-v2/models/APIKeyUpdateAttributes.ts index ede449972a9b..b1ee5ba7d034 100644 --- a/packages/datadog-api-client-v2/models/APIKeyUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/APIKeyUpdateAttributes.ts @@ -15,6 +15,13 @@ export class APIKeyUpdateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class APIKeyUpdateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyUpdateData.ts b/packages/datadog-api-client-v2/models/APIKeyUpdateData.ts index 044de98577d2..54d8b4c49175 100644 --- a/packages/datadog-api-client-v2/models/APIKeyUpdateData.ts +++ b/packages/datadog-api-client-v2/models/APIKeyUpdateData.ts @@ -25,6 +25,13 @@ export class APIKeyUpdateData { */ "type": APIKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class APIKeyUpdateData { type: "APIKeysType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeyUpdateRequest.ts b/packages/datadog-api-client-v2/models/APIKeyUpdateRequest.ts index e6f42aa434d5..8458e1373bcc 100644 --- a/packages/datadog-api-client-v2/models/APIKeyUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/APIKeyUpdateRequest.ts @@ -16,6 +16,13 @@ export class APIKeyUpdateRequest { */ "data": APIKeyUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class APIKeyUpdateRequest { type: "APIKeyUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeysResponse.ts b/packages/datadog-api-client-v2/models/APIKeysResponse.ts index 179b52d31d1e..ec0ca886ef55 100644 --- a/packages/datadog-api-client-v2/models/APIKeysResponse.ts +++ b/packages/datadog-api-client-v2/models/APIKeysResponse.ts @@ -26,6 +26,13 @@ export class APIKeysResponse { */ "meta"?: APIKeysResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class APIKeysResponse { baseName: "meta", type: "APIKeysResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeysResponseMeta.ts b/packages/datadog-api-client-v2/models/APIKeysResponseMeta.ts index ca4f2161e5eb..31a3233c1f63 100644 --- a/packages/datadog-api-client-v2/models/APIKeysResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/APIKeysResponseMeta.ts @@ -20,6 +20,13 @@ export class APIKeysResponseMeta { */ "page"?: APIKeysResponseMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class APIKeysResponseMeta { baseName: "page", type: "APIKeysResponseMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/APIKeysResponseMetaPage.ts b/packages/datadog-api-client-v2/models/APIKeysResponseMetaPage.ts index ad6c469be0c7..876e0459aa30 100644 --- a/packages/datadog-api-client-v2/models/APIKeysResponseMetaPage.ts +++ b/packages/datadog-api-client-v2/models/APIKeysResponseMetaPage.ts @@ -15,6 +15,13 @@ export class APIKeysResponseMetaPage { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class APIKeysResponseMetaPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AWSRelatedAccount.ts b/packages/datadog-api-client-v2/models/AWSRelatedAccount.ts index 936040076c33..7670258dab03 100644 --- a/packages/datadog-api-client-v2/models/AWSRelatedAccount.ts +++ b/packages/datadog-api-client-v2/models/AWSRelatedAccount.ts @@ -25,6 +25,13 @@ export class AWSRelatedAccount { */ "type": AWSRelatedAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class AWSRelatedAccount { type: "AWSRelatedAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AWSRelatedAccountAttributes.ts b/packages/datadog-api-client-v2/models/AWSRelatedAccountAttributes.ts index 5365b694a917..d23fe46d7c40 100644 --- a/packages/datadog-api-client-v2/models/AWSRelatedAccountAttributes.ts +++ b/packages/datadog-api-client-v2/models/AWSRelatedAccountAttributes.ts @@ -19,6 +19,13 @@ export class AWSRelatedAccountAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AWSRelatedAccountAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AWSRelatedAccountsResponse.ts b/packages/datadog-api-client-v2/models/AWSRelatedAccountsResponse.ts index 13ee33ea1c79..04af2080f1e7 100644 --- a/packages/datadog-api-client-v2/models/AWSRelatedAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/AWSRelatedAccountsResponse.ts @@ -16,6 +16,13 @@ export class AWSRelatedAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AWSRelatedAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsAttributes.ts b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsAttributes.ts index 95d2c15dba29..0b15353caf86 100644 --- a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsAttributes.ts +++ b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsAttributes.ts @@ -19,6 +19,13 @@ export class ActiveBillingDimensionsAttributes { */ "values"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ActiveBillingDimensionsAttributes { baseName: "values", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsBody.ts b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsBody.ts index fa3267990439..00027babfbfc 100644 --- a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsBody.ts +++ b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsBody.ts @@ -25,6 +25,13 @@ export class ActiveBillingDimensionsBody { */ "type"?: ActiveBillingDimensionsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ActiveBillingDimensionsBody { baseName: "type", type: "ActiveBillingDimensionsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsResponse.ts b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsResponse.ts index 3b53db2978c6..fa556ac27139 100644 --- a/packages/datadog-api-client-v2/models/ActiveBillingDimensionsResponse.ts +++ b/packages/datadog-api-client-v2/models/ActiveBillingDimensionsResponse.ts @@ -16,6 +16,13 @@ export class ActiveBillingDimensionsResponse { */ "data"?: ActiveBillingDimensionsBody; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ActiveBillingDimensionsResponse { baseName: "data", type: "ActiveBillingDimensionsBody", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyCreateAttributes.ts b/packages/datadog-api-client-v2/models/ApplicationKeyCreateAttributes.ts index 83318c631360..82a5d70257e4 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyCreateAttributes.ts @@ -19,6 +19,13 @@ export class ApplicationKeyCreateAttributes { */ "scopes"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ApplicationKeyCreateAttributes { baseName: "scopes", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyCreateData.ts b/packages/datadog-api-client-v2/models/ApplicationKeyCreateData.ts index 86006b84fdaf..bab7d486c163 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyCreateData.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyCreateData.ts @@ -21,6 +21,13 @@ export class ApplicationKeyCreateData { */ "type": ApplicationKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ApplicationKeyCreateData { type: "ApplicationKeysType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyCreateRequest.ts b/packages/datadog-api-client-v2/models/ApplicationKeyCreateRequest.ts index abcdd53e5f78..f5602cc064d0 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyCreateRequest.ts @@ -16,6 +16,13 @@ export class ApplicationKeyCreateRequest { */ "data": ApplicationKeyCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ApplicationKeyCreateRequest { type: "ApplicationKeyCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyRelationships.ts b/packages/datadog-api-client-v2/models/ApplicationKeyRelationships.ts index 48c322d4da85..a0fd6a231e98 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyRelationships.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyRelationships.ts @@ -16,6 +16,13 @@ export class ApplicationKeyRelationships { */ "ownedBy"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApplicationKeyRelationships { baseName: "owned_by", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyResponse.ts b/packages/datadog-api-client-v2/models/ApplicationKeyResponse.ts index 49f69c595304..e0bab0dd2696 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyResponse.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyResponse.ts @@ -21,6 +21,13 @@ export class ApplicationKeyResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ApplicationKeyResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyResponseMeta.ts b/packages/datadog-api-client-v2/models/ApplicationKeyResponseMeta.ts index 9b806216d91e..d63f0048a9d3 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyResponseMeta.ts @@ -20,6 +20,13 @@ export class ApplicationKeyResponseMeta { */ "page"?: ApplicationKeyResponseMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ApplicationKeyResponseMeta { baseName: "page", type: "ApplicationKeyResponseMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyResponseMetaPage.ts b/packages/datadog-api-client-v2/models/ApplicationKeyResponseMetaPage.ts index 8db5738d964d..f9a71016c5a0 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyResponseMetaPage.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyResponseMetaPage.ts @@ -15,6 +15,13 @@ export class ApplicationKeyResponseMetaPage { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ApplicationKeyResponseMetaPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateAttributes.ts b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateAttributes.ts index c1c19410ac51..b34bf820e89c 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateAttributes.ts @@ -19,6 +19,13 @@ export class ApplicationKeyUpdateAttributes { */ "scopes"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class ApplicationKeyUpdateAttributes { baseName: "scopes", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateData.ts b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateData.ts index 3994f6015bfa..d4ed95a37cda 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateData.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateData.ts @@ -25,6 +25,13 @@ export class ApplicationKeyUpdateData { */ "type": ApplicationKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class ApplicationKeyUpdateData { type: "ApplicationKeysType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateRequest.ts b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateRequest.ts index 62acd48b6b1e..8b8aabc8c095 100644 --- a/packages/datadog-api-client-v2/models/ApplicationKeyUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/ApplicationKeyUpdateRequest.ts @@ -16,6 +16,13 @@ export class ApplicationKeyUpdateRequest { */ "data": ApplicationKeyUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ApplicationKeyUpdateRequest { type: "ApplicationKeyUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsEvent.ts b/packages/datadog-api-client-v2/models/AuditLogsEvent.ts index 83ecab729b80..9260b8ae876c 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsEvent.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsEvent.ts @@ -25,6 +25,13 @@ export class AuditLogsEvent { */ "type"?: AuditLogsEventType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class AuditLogsEvent { baseName: "type", type: "AuditLogsEventType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsEventAttributes.ts b/packages/datadog-api-client-v2/models/AuditLogsEventAttributes.ts index 86efbf49f2a5..cb2760e742ed 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsEventAttributes.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsEventAttributes.ts @@ -33,6 +33,13 @@ export class AuditLogsEventAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class AuditLogsEventAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsEventsResponse.ts b/packages/datadog-api-client-v2/models/AuditLogsEventsResponse.ts index 949f4e538e1b..c116dff7e3e7 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsEventsResponse.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsEventsResponse.ts @@ -26,6 +26,13 @@ export class AuditLogsEventsResponse { */ "meta"?: AuditLogsResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class AuditLogsEventsResponse { baseName: "meta", type: "AuditLogsResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsQueryFilter.ts b/packages/datadog-api-client-v2/models/AuditLogsQueryFilter.ts index 9f0f7c060239..6700a05232e7 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsQueryFilter.ts @@ -23,6 +23,13 @@ export class AuditLogsQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class AuditLogsQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsQueryOptions.ts b/packages/datadog-api-client-v2/models/AuditLogsQueryOptions.ts index 740041f94e91..991977768d9a 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsQueryOptions.ts @@ -20,6 +20,13 @@ export class AuditLogsQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class AuditLogsQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsQueryPageOptions.ts b/packages/datadog-api-client-v2/models/AuditLogsQueryPageOptions.ts index d200491e229d..f546ac871b88 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsQueryPageOptions.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsQueryPageOptions.ts @@ -19,6 +19,13 @@ export class AuditLogsQueryPageOptions { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class AuditLogsQueryPageOptions { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsResponseLinks.ts b/packages/datadog-api-client-v2/models/AuditLogsResponseLinks.ts index 4c3f736b4aff..9c1e4ae9a09f 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsResponseLinks.ts @@ -16,6 +16,13 @@ export class AuditLogsResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AuditLogsResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsResponseMetadata.ts b/packages/datadog-api-client-v2/models/AuditLogsResponseMetadata.ts index dbafb449950e..72987ded8b6c 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsResponseMetadata.ts @@ -35,6 +35,13 @@ export class AuditLogsResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class AuditLogsResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsResponsePage.ts b/packages/datadog-api-client-v2/models/AuditLogsResponsePage.ts index 6eb2b8f7e914..7b6def8dd80a 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsResponsePage.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsResponsePage.ts @@ -15,6 +15,13 @@ export class AuditLogsResponsePage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class AuditLogsResponsePage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsSearchEventsRequest.ts b/packages/datadog-api-client-v2/models/AuditLogsSearchEventsRequest.ts index fd80079ecc0f..0c6e29254bc3 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsSearchEventsRequest.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsSearchEventsRequest.ts @@ -32,6 +32,13 @@ export class AuditLogsSearchEventsRequest { */ "sort"?: AuditLogsSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class AuditLogsSearchEventsRequest { baseName: "sort", type: "AuditLogsSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuditLogsWarning.ts b/packages/datadog-api-client-v2/models/AuditLogsWarning.ts index c9d27a170ed1..e1b496df510c 100644 --- a/packages/datadog-api-client-v2/models/AuditLogsWarning.ts +++ b/packages/datadog-api-client-v2/models/AuditLogsWarning.ts @@ -23,6 +23,13 @@ export class AuditLogsWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class AuditLogsWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMapping.ts b/packages/datadog-api-client-v2/models/AuthNMapping.ts index 0df99634dfe2..e638eabc3926 100644 --- a/packages/datadog-api-client-v2/models/AuthNMapping.ts +++ b/packages/datadog-api-client-v2/models/AuthNMapping.ts @@ -30,6 +30,13 @@ export class AuthNMapping { */ "type": AuthNMappingsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class AuthNMapping { type: "AuthNMappingsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingAttributes.ts b/packages/datadog-api-client-v2/models/AuthNMappingAttributes.ts index 55295f29504d..1d8186cb7e64 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingAttributes.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingAttributes.ts @@ -31,6 +31,13 @@ export class AuthNMappingAttributes { */ "samlAssertionAttributeId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class AuthNMappingAttributes { baseName: "saml_assertion_attribute_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingCreateAttributes.ts b/packages/datadog-api-client-v2/models/AuthNMappingCreateAttributes.ts index 8578a5b756fe..c79b94b6b8ee 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingCreateAttributes.ts @@ -19,6 +19,13 @@ export class AuthNMappingCreateAttributes { */ "attributeValue"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AuthNMappingCreateAttributes { baseName: "attribute_value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingCreateData.ts b/packages/datadog-api-client-v2/models/AuthNMappingCreateData.ts index 6e15f8920998..44830d4d2cbf 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingCreateData.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingCreateData.ts @@ -26,6 +26,13 @@ export class AuthNMappingCreateData { */ "type": AuthNMappingsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class AuthNMappingCreateData { type: "AuthNMappingsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingCreateRelationships.ts b/packages/datadog-api-client-v2/models/AuthNMappingCreateRelationships.ts index c5f310777c22..3904f9fbe5a1 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingCreateRelationships.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingCreateRelationships.ts @@ -16,6 +16,13 @@ export class AuthNMappingCreateRelationships { */ "role"?: RelationshipToRole; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AuthNMappingCreateRelationships { baseName: "role", type: "RelationshipToRole", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingCreateRequest.ts b/packages/datadog-api-client-v2/models/AuthNMappingCreateRequest.ts index b405f7181b24..9e7588e0df35 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingCreateRequest.ts @@ -16,6 +16,13 @@ export class AuthNMappingCreateRequest { */ "data": AuthNMappingCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AuthNMappingCreateRequest { type: "AuthNMappingCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingRelationships.ts b/packages/datadog-api-client-v2/models/AuthNMappingRelationships.ts index 8322cc6346a4..91824c2a3ae5 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingRelationships.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingRelationships.ts @@ -21,6 +21,13 @@ export class AuthNMappingRelationships { */ "samlAssertionAttribute"?: RelationshipToSAMLAssertionAttribute; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class AuthNMappingRelationships { baseName: "saml_assertion_attribute", type: "RelationshipToSAMLAssertionAttribute", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingResponse.ts b/packages/datadog-api-client-v2/models/AuthNMappingResponse.ts index ef71bc698d31..5305c7c0469c 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingResponse.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingResponse.ts @@ -21,6 +21,13 @@ export class AuthNMappingResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class AuthNMappingResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingUpdateAttributes.ts b/packages/datadog-api-client-v2/models/AuthNMappingUpdateAttributes.ts index 5ae2d0c4d583..264c95e0beb3 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingUpdateAttributes.ts @@ -19,6 +19,13 @@ export class AuthNMappingUpdateAttributes { */ "attributeValue"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class AuthNMappingUpdateAttributes { baseName: "attribute_value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingUpdateData.ts b/packages/datadog-api-client-v2/models/AuthNMappingUpdateData.ts index ab872a0efe53..5b07e4706911 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingUpdateData.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingUpdateData.ts @@ -30,6 +30,13 @@ export class AuthNMappingUpdateData { */ "type": AuthNMappingsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class AuthNMappingUpdateData { type: "AuthNMappingsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingUpdateRelationships.ts b/packages/datadog-api-client-v2/models/AuthNMappingUpdateRelationships.ts index fc93f722b29d..a80cca1d2d71 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingUpdateRelationships.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingUpdateRelationships.ts @@ -16,6 +16,13 @@ export class AuthNMappingUpdateRelationships { */ "role"?: RelationshipToRole; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AuthNMappingUpdateRelationships { baseName: "role", type: "RelationshipToRole", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingUpdateRequest.ts b/packages/datadog-api-client-v2/models/AuthNMappingUpdateRequest.ts index 46b254a921f3..b2ae92f40dcf 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingUpdateRequest.ts @@ -16,6 +16,13 @@ export class AuthNMappingUpdateRequest { */ "data": AuthNMappingUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AuthNMappingUpdateRequest { type: "AuthNMappingUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AuthNMappingsResponse.ts b/packages/datadog-api-client-v2/models/AuthNMappingsResponse.ts index 5fec30824cb8..d083954a7295 100644 --- a/packages/datadog-api-client-v2/models/AuthNMappingsResponse.ts +++ b/packages/datadog-api-client-v2/models/AuthNMappingsResponse.ts @@ -26,6 +26,13 @@ export class AuthNMappingsResponse { */ "meta"?: ResponseMetaAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class AuthNMappingsResponse { baseName: "meta", type: "ResponseMetaAttributes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfig.ts b/packages/datadog-api-client-v2/models/AwsCURConfig.ts index 6137bb605dcc..767f1165ba71 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfig.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfig.ts @@ -25,6 +25,13 @@ export class AwsCURConfig { */ "type": AwsCURConfigType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class AwsCURConfig { type: "AwsCURConfigType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.ts b/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.ts index 47e38e1417f9..e00f46452fd0 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.ts @@ -55,6 +55,13 @@ export class AwsCURConfigAttributes { */ "updatedAt"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -115,6 +122,10 @@ export class AwsCURConfigAttributes { baseName: "updated_at", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPatchData.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPatchData.ts index e5e6ba9fc074..efe6a9789850 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPatchData.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPatchData.ts @@ -21,6 +21,13 @@ export class AwsCURConfigPatchData { */ "type": AwsCURConfigPatchRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class AwsCURConfigPatchData { type: "AwsCURConfigPatchRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequest.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequest.ts index e6a1e68ed495..6936da0d46bf 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequest.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequest.ts @@ -16,6 +16,13 @@ export class AwsCURConfigPatchRequest { */ "data": AwsCURConfigPatchData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AwsCURConfigPatchRequest { type: "AwsCURConfigPatchData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.ts index 55f16b72535b..c2cb1e7661e9 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.ts @@ -15,6 +15,13 @@ export class AwsCURConfigPatchRequestAttributes { */ "isEnabled": boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AwsCURConfigPatchRequestAttributes { type: "boolean", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPostData.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPostData.ts index a7abcdecd9c5..eedc57abfd79 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPostData.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPostData.ts @@ -21,6 +21,13 @@ export class AwsCURConfigPostData { */ "type": AwsCURConfigPostRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class AwsCURConfigPostData { type: "AwsCURConfigPostRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPostRequest.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPostRequest.ts index 60ea3426e57c..3e5208bbd5c5 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPostRequest.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPostRequest.ts @@ -16,6 +16,13 @@ export class AwsCURConfigPostRequest { */ "data": AwsCURConfigPostData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AwsCURConfigPostRequest { type: "AwsCURConfigPostData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.ts b/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.ts index bda658a48806..66bb001e51af 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.ts @@ -39,6 +39,13 @@ export class AwsCURConfigPostRequestAttributes { */ "reportPrefix": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class AwsCURConfigPostRequestAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigResponse.ts b/packages/datadog-api-client-v2/models/AwsCURConfigResponse.ts index 654022dc03f8..959a3f205d50 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigResponse.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigResponse.ts @@ -16,6 +16,13 @@ export class AwsCURConfigResponse { */ "data"?: AwsCURConfig; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AwsCURConfigResponse { baseName: "data", type: "AwsCURConfig", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.ts b/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.ts index c6de6f1fe958..8a3ead1eee7a 100644 --- a/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.ts +++ b/packages/datadog-api-client-v2/models/AwsCURConfigsResponse.ts @@ -16,6 +16,13 @@ export class AwsCURConfigsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AwsCURConfigsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfig.ts b/packages/datadog-api-client-v2/models/AzureUCConfig.ts index 9c890522ee2d..09a6e9663f63 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfig.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfig.ts @@ -71,6 +71,13 @@ export class AzureUCConfig { */ "updatedAt"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -151,6 +158,10 @@ export class AzureUCConfig { baseName: "updated_at", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPair.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPair.ts index 5300c1656431..8934635d2ac0 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPair.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPair.ts @@ -25,6 +25,13 @@ export class AzureUCConfigPair { */ "type": AzureUCConfigPairType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class AzureUCConfigPair { type: "AzureUCConfigPairType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPairAttributes.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPairAttributes.ts index 3c9eeb37a42b..e2355c13f15d 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPairAttributes.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPairAttributes.ts @@ -20,6 +20,13 @@ export class AzureUCConfigPairAttributes { */ "id"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class AzureUCConfigPairAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPairsResponse.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPairsResponse.ts index 76967aa7bfce..0fdbe8ffa388 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPairsResponse.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPairsResponse.ts @@ -16,6 +16,13 @@ export class AzureUCConfigPairsResponse { */ "data"?: AzureUCConfigPair; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AzureUCConfigPairsResponse { baseName: "data", type: "AzureUCConfigPair", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.ts index 7aa5a64b5535..bcfc9ea7fd98 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPatchData.ts @@ -21,6 +21,13 @@ export class AzureUCConfigPatchData { */ "type": AzureUCConfigPatchRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class AzureUCConfigPatchData { type: "AzureUCConfigPatchRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequest.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequest.ts index 08e2df89d000..4a8807b64826 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequest.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequest.ts @@ -16,6 +16,13 @@ export class AzureUCConfigPatchRequest { */ "data": AzureUCConfigPatchData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AzureUCConfigPatchRequest { type: "AzureUCConfigPatchData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequestAttributes.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequestAttributes.ts index 764085fdcb92..1c8d64d3b5aa 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPatchRequestAttributes.ts @@ -15,6 +15,13 @@ export class AzureUCConfigPatchRequestAttributes { */ "isEnabled": boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AzureUCConfigPatchRequestAttributes { type: "boolean", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPostData.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPostData.ts index ff57bf88a354..5a298bcef5d6 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPostData.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPostData.ts @@ -21,6 +21,13 @@ export class AzureUCConfigPostData { */ "type": AzureUCConfigPostRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class AzureUCConfigPostData { type: "AzureUCConfigPostRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPostRequest.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPostRequest.ts index f310b7cf57f5..cbf3b96d11d1 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPostRequest.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPostRequest.ts @@ -16,6 +16,13 @@ export class AzureUCConfigPostRequest { */ "data": AzureUCConfigPostData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class AzureUCConfigPostRequest { type: "AzureUCConfigPostData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.ts b/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.ts index a101762dde3e..7f6a4df8a352 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigPostRequestAttributes.ts @@ -36,6 +36,13 @@ export class AzureUCConfigPostRequestAttributes { */ "scope": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class AzureUCConfigPostRequestAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.ts b/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.ts index 4fde7c257fc7..f28972013dc2 100644 --- a/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.ts +++ b/packages/datadog-api-client-v2/models/AzureUCConfigsResponse.ts @@ -16,6 +16,13 @@ export class AzureUCConfigsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class AzureUCConfigsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BillConfig.ts b/packages/datadog-api-client-v2/models/BillConfig.ts index bfe812d1d3ff..094f59620460 100644 --- a/packages/datadog-api-client-v2/models/BillConfig.ts +++ b/packages/datadog-api-client-v2/models/BillConfig.ts @@ -27,6 +27,13 @@ export class BillConfig { */ "storageContainer": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class BillConfig { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequest.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequest.ts index 91a20814c660..9cf30b030a50 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequest.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequest.ts @@ -16,6 +16,13 @@ export class BulkMuteFindingsRequest { */ "data": BulkMuteFindingsRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class BulkMuteFindingsRequest { type: "BulkMuteFindingsRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestData.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestData.ts index 264ed00afeb1..ebd5a7dc7378 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestData.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestData.ts @@ -30,6 +30,13 @@ export class BulkMuteFindingsRequestData { */ "type": FindingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class BulkMuteFindingsRequestData { type: "FindingType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMeta.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMeta.ts index 6d18f1ad72c0..259f97e69136 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMeta.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMeta.ts @@ -16,6 +16,13 @@ export class BulkMuteFindingsRequestMeta { */ "findings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class BulkMuteFindingsRequestMeta { baseName: "findings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMetaFindings.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMetaFindings.ts index 7837c2d04e72..097b9de56b90 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMetaFindings.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsRequestMetaFindings.ts @@ -15,6 +15,13 @@ export class BulkMuteFindingsRequestMetaFindings { */ "findingId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class BulkMuteFindingsRequestMetaFindings { baseName: "finding_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsResponse.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsResponse.ts index fe8cda0b6498..c4ce13e19eba 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsResponse.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsResponse.ts @@ -16,6 +16,13 @@ export class BulkMuteFindingsResponse { */ "data": BulkMuteFindingsResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class BulkMuteFindingsResponse { type: "BulkMuteFindingsResponseData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/BulkMuteFindingsResponseData.ts b/packages/datadog-api-client-v2/models/BulkMuteFindingsResponseData.ts index 548f7aa779ab..b2bd5df0f317 100644 --- a/packages/datadog-api-client-v2/models/BulkMuteFindingsResponseData.ts +++ b/packages/datadog-api-client-v2/models/BulkMuteFindingsResponseData.ts @@ -20,6 +20,13 @@ export class BulkMuteFindingsResponseData { */ "type"?: FindingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class BulkMuteFindingsResponseData { baseName: "type", type: "FindingType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppAggregateBucketValueTimeseriesPoint.ts b/packages/datadog-api-client-v2/models/CIAppAggregateBucketValueTimeseriesPoint.ts index a13529ccac25..b2e218884386 100644 --- a/packages/datadog-api-client-v2/models/CIAppAggregateBucketValueTimeseriesPoint.ts +++ b/packages/datadog-api-client-v2/models/CIAppAggregateBucketValueTimeseriesPoint.ts @@ -19,6 +19,13 @@ export class CIAppAggregateBucketValueTimeseriesPoint { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CIAppAggregateBucketValueTimeseriesPoint { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts b/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts index 512fea72306d..6583d6b3214f 100644 --- a/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts +++ b/packages/datadog-api-client-v2/models/CIAppAggregateSort.ts @@ -30,6 +30,13 @@ export class CIAppAggregateSort { */ "type"?: CIAppAggregateSortType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class CIAppAggregateSort { baseName: "type", type: "CIAppAggregateSortType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppCIError.ts b/packages/datadog-api-client-v2/models/CIAppCIError.ts index c5d4d32be75d..7d5a6ba0e242 100644 --- a/packages/datadog-api-client-v2/models/CIAppCIError.ts +++ b/packages/datadog-api-client-v2/models/CIAppCIError.ts @@ -28,6 +28,13 @@ export class CIAppCIError { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class CIAppCIError { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppCompute.ts b/packages/datadog-api-client-v2/models/CIAppCompute.ts index 70f35ada5802..9615384c344a 100644 --- a/packages/datadog-api-client-v2/models/CIAppCompute.ts +++ b/packages/datadog-api-client-v2/models/CIAppCompute.ts @@ -30,6 +30,13 @@ export class CIAppCompute { */ "type"?: CIAppComputeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class CIAppCompute { baseName: "type", type: "CIAppComputeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.ts b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.ts index d42de669ad7b..ac5b53525411 100644 --- a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.ts +++ b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequest.ts @@ -16,6 +16,13 @@ export class CIAppCreatePipelineEventRequest { */ "data"?: CIAppCreatePipelineEventRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CIAppCreatePipelineEventRequest { baseName: "data", type: "CIAppCreatePipelineEventRequestData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.ts b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.ts index 554dd5ecf67d..5c6cb3807c12 100644 --- a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.ts @@ -24,6 +24,13 @@ export class CIAppCreatePipelineEventRequestAttributes { */ "service"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class CIAppCreatePipelineEventRequestAttributes { baseName: "service", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.ts b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.ts index 3480c513cb0b..a796e673d68a 100644 --- a/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.ts +++ b/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestData.ts @@ -21,6 +21,13 @@ export class CIAppCreatePipelineEventRequestData { */ "type"?: CIAppCreatePipelineEventRequestDataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CIAppCreatePipelineEventRequestData { baseName: "type", type: "CIAppCreatePipelineEventRequestDataType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppEventAttributes.ts b/packages/datadog-api-client-v2/models/CIAppEventAttributes.ts index f57ad7038e00..4bd30f26770e 100644 --- a/packages/datadog-api-client-v2/models/CIAppEventAttributes.ts +++ b/packages/datadog-api-client-v2/models/CIAppEventAttributes.ts @@ -24,6 +24,13 @@ export class CIAppEventAttributes { */ "testLevel"?: CIAppTestLevel; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class CIAppEventAttributes { baseName: "test_level", type: "CIAppTestLevel", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppGitInfo.ts b/packages/datadog-api-client-v2/models/CIAppGitInfo.ts index 892babae51a2..07204a675251 100644 --- a/packages/datadog-api-client-v2/models/CIAppGitInfo.ts +++ b/packages/datadog-api-client-v2/models/CIAppGitInfo.ts @@ -60,6 +60,13 @@ export class CIAppGitInfo { */ "tag"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -122,6 +129,10 @@ export class CIAppGitInfo { baseName: "tag", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppGroupByHistogram.ts b/packages/datadog-api-client-v2/models/CIAppGroupByHistogram.ts index 4e82c445759a..fb0ee94940a6 100644 --- a/packages/datadog-api-client-v2/models/CIAppGroupByHistogram.ts +++ b/packages/datadog-api-client-v2/models/CIAppGroupByHistogram.ts @@ -26,6 +26,13 @@ export class CIAppGroupByHistogram { */ "min": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class CIAppGroupByHistogram { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppHostInfo.ts b/packages/datadog-api-client-v2/models/CIAppHostInfo.ts index 62569084f721..fe97f136769a 100644 --- a/packages/datadog-api-client-v2/models/CIAppHostInfo.ts +++ b/packages/datadog-api-client-v2/models/CIAppHostInfo.ts @@ -27,6 +27,13 @@ export class CIAppHostInfo { */ "workspace"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class CIAppHostInfo { baseName: "workspace", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEvent.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEvent.ts index f671304902bb..e3c00f189f67 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEvent.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEvent.ts @@ -25,6 +25,13 @@ export class CIAppPipelineEvent { */ "type"?: CIAppPipelineEventTypeName; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class CIAppPipelineEvent { baseName: "type", type: "CIAppPipelineEventTypeName", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventAttributes.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventAttributes.ts index ad9bd527c413..0a84d606e3f2 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventAttributes.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventAttributes.ts @@ -24,6 +24,13 @@ export class CIAppPipelineEventAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class CIAppPipelineEventAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.ts index dee171deab23..2e36b1272d2d 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.ts @@ -93,6 +93,13 @@ export class CIAppPipelineEventJob { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -190,6 +197,10 @@ export class CIAppPipelineEventJob { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.ts index c49991db4ed1..5933a6ec6a99 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventParentPipeline.ts @@ -19,6 +19,13 @@ export class CIAppPipelineEventParentPipeline { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CIAppPipelineEventParentPipeline { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.ts index 2fa63fcf6176..599bba5cc862 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventPipeline.ts @@ -102,6 +102,13 @@ export class CIAppPipelineEventPipeline { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -202,6 +209,10 @@ export class CIAppPipelineEventPipeline { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.ts index 97469566edac..81e07dfe6c9a 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventPreviousPipeline.ts @@ -19,6 +19,13 @@ export class CIAppPipelineEventPreviousPipeline { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CIAppPipelineEventPreviousPipeline { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.ts index f246f2ce1283..059a27d7b118 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventStage.ts @@ -81,6 +81,13 @@ export class CIAppPipelineEventStage { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -165,6 +172,10 @@ export class CIAppPipelineEventStage { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.ts index 9d26beca5d9b..76f1270888e7 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventStep.ts @@ -93,6 +93,13 @@ export class CIAppPipelineEventStep { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -188,6 +195,10 @@ export class CIAppPipelineEventStep { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventsRequest.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventsRequest.ts index 80e6a708fa50..551060546ea9 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventsRequest.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventsRequest.ts @@ -32,6 +32,13 @@ export class CIAppPipelineEventsRequest { */ "sort"?: CIAppSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class CIAppPipelineEventsRequest { baseName: "sort", type: "CIAppSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelineEventsResponse.ts b/packages/datadog-api-client-v2/models/CIAppPipelineEventsResponse.ts index ec5848896047..f5ae7ba75032 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelineEventsResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelineEventsResponse.ts @@ -26,6 +26,13 @@ export class CIAppPipelineEventsResponse { */ "meta"?: CIAppResponseMetadataWithPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CIAppPipelineEventsResponse { baseName: "meta", type: "CIAppResponseMetadataWithPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesAggregateRequest.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesAggregateRequest.ts index 7c97d7165eec..038050e32978 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesAggregateRequest.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesAggregateRequest.ts @@ -32,6 +32,13 @@ export class CIAppPipelinesAggregateRequest { */ "options"?: CIAppQueryOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class CIAppPipelinesAggregateRequest { baseName: "options", type: "CIAppQueryOptions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesAggregationBucketsResponse.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesAggregationBucketsResponse.ts index 3e2fb534b896..181b8ef4afa5 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesAggregationBucketsResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesAggregationBucketsResponse.ts @@ -16,6 +16,13 @@ export class CIAppPipelinesAggregationBucketsResponse { */ "buckets"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CIAppPipelinesAggregationBucketsResponse { baseName: "buckets", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesAnalyticsAggregateResponse.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesAnalyticsAggregateResponse.ts index 6d844c6935ba..cc09eda258f3 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesAnalyticsAggregateResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesAnalyticsAggregateResponse.ts @@ -26,6 +26,13 @@ export class CIAppPipelinesAnalyticsAggregateResponse { */ "meta"?: CIAppResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CIAppPipelinesAnalyticsAggregateResponse { baseName: "meta", type: "CIAppResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesBucketResponse.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesBucketResponse.ts index 7526a4e5a3c1..5f523e293858 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesBucketResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesBucketResponse.ts @@ -20,6 +20,13 @@ export class CIAppPipelinesBucketResponse { */ "computes"?: { [key: string]: CIAppAggregateBucketValue }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CIAppPipelinesBucketResponse { baseName: "computes", type: "{ [key: string]: CIAppAggregateBucketValue; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts index aaa4305769ad..8452af0d6c99 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesGroupBy.ts @@ -40,6 +40,13 @@ export class CIAppPipelinesGroupBy { */ "total"?: CIAppGroupByTotal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class CIAppPipelinesGroupBy { baseName: "total", type: "CIAppGroupByTotal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppPipelinesQueryFilter.ts b/packages/datadog-api-client-v2/models/CIAppPipelinesQueryFilter.ts index d94873674adc..fa27ec7bbf7f 100644 --- a/packages/datadog-api-client-v2/models/CIAppPipelinesQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/CIAppPipelinesQueryFilter.ts @@ -23,6 +23,13 @@ export class CIAppPipelinesQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class CIAppPipelinesQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppQueryOptions.ts b/packages/datadog-api-client-v2/models/CIAppQueryOptions.ts index 72ec2599b470..3398ac971648 100644 --- a/packages/datadog-api-client-v2/models/CIAppQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/CIAppQueryOptions.ts @@ -20,6 +20,13 @@ export class CIAppQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CIAppQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppQueryPageOptions.ts b/packages/datadog-api-client-v2/models/CIAppQueryPageOptions.ts index 0033decef21d..5235867af52a 100644 --- a/packages/datadog-api-client-v2/models/CIAppQueryPageOptions.ts +++ b/packages/datadog-api-client-v2/models/CIAppQueryPageOptions.ts @@ -19,6 +19,13 @@ export class CIAppQueryPageOptions { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CIAppQueryPageOptions { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppResponseLinks.ts b/packages/datadog-api-client-v2/models/CIAppResponseLinks.ts index 10caff599c62..52e44289e2db 100644 --- a/packages/datadog-api-client-v2/models/CIAppResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/CIAppResponseLinks.ts @@ -16,6 +16,13 @@ export class CIAppResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CIAppResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppResponseMetadata.ts b/packages/datadog-api-client-v2/models/CIAppResponseMetadata.ts index 5f7477375dd4..6d6f61f3f656 100644 --- a/packages/datadog-api-client-v2/models/CIAppResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/CIAppResponseMetadata.ts @@ -30,6 +30,13 @@ export class CIAppResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class CIAppResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppResponseMetadataWithPagination.ts b/packages/datadog-api-client-v2/models/CIAppResponseMetadataWithPagination.ts index 6b6c7c67c509..52b9b61c3392 100644 --- a/packages/datadog-api-client-v2/models/CIAppResponseMetadataWithPagination.ts +++ b/packages/datadog-api-client-v2/models/CIAppResponseMetadataWithPagination.ts @@ -35,6 +35,13 @@ export class CIAppResponseMetadataWithPagination { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class CIAppResponseMetadataWithPagination { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppResponsePage.ts b/packages/datadog-api-client-v2/models/CIAppResponsePage.ts index 8f8bb4fce0ea..4dd95b3fee51 100644 --- a/packages/datadog-api-client-v2/models/CIAppResponsePage.ts +++ b/packages/datadog-api-client-v2/models/CIAppResponsePage.ts @@ -15,6 +15,13 @@ export class CIAppResponsePage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class CIAppResponsePage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestEvent.ts b/packages/datadog-api-client-v2/models/CIAppTestEvent.ts index b8b2395c0a5e..c5c74fe12745 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestEvent.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestEvent.ts @@ -25,6 +25,13 @@ export class CIAppTestEvent { */ "type"?: CIAppTestEventTypeName; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class CIAppTestEvent { baseName: "type", type: "CIAppTestEventTypeName", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestEventsRequest.ts b/packages/datadog-api-client-v2/models/CIAppTestEventsRequest.ts index 6c7becd11e99..e55791fa989c 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestEventsRequest.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestEventsRequest.ts @@ -32,6 +32,13 @@ export class CIAppTestEventsRequest { */ "sort"?: CIAppSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class CIAppTestEventsRequest { baseName: "sort", type: "CIAppSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestEventsResponse.ts b/packages/datadog-api-client-v2/models/CIAppTestEventsResponse.ts index b56eca10602f..e6a3058b6168 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestEventsResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestEventsResponse.ts @@ -26,6 +26,13 @@ export class CIAppTestEventsResponse { */ "meta"?: CIAppResponseMetadataWithPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CIAppTestEventsResponse { baseName: "meta", type: "CIAppResponseMetadataWithPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsAggregateRequest.ts b/packages/datadog-api-client-v2/models/CIAppTestsAggregateRequest.ts index cf46dc49c082..4756d106eb38 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsAggregateRequest.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsAggregateRequest.ts @@ -32,6 +32,13 @@ export class CIAppTestsAggregateRequest { */ "options"?: CIAppQueryOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class CIAppTestsAggregateRequest { baseName: "options", type: "CIAppQueryOptions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsAggregationBucketsResponse.ts b/packages/datadog-api-client-v2/models/CIAppTestsAggregationBucketsResponse.ts index 7f8b5e5a5d13..c1b0fc567401 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsAggregationBucketsResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsAggregationBucketsResponse.ts @@ -16,6 +16,13 @@ export class CIAppTestsAggregationBucketsResponse { */ "buckets"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CIAppTestsAggregationBucketsResponse { baseName: "buckets", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsAnalyticsAggregateResponse.ts b/packages/datadog-api-client-v2/models/CIAppTestsAnalyticsAggregateResponse.ts index acf0ef95408a..48feda45d6bb 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsAnalyticsAggregateResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsAnalyticsAggregateResponse.ts @@ -26,6 +26,13 @@ export class CIAppTestsAnalyticsAggregateResponse { */ "meta"?: CIAppResponseMetadataWithPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CIAppTestsAnalyticsAggregateResponse { baseName: "meta", type: "CIAppResponseMetadataWithPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsBucketResponse.ts b/packages/datadog-api-client-v2/models/CIAppTestsBucketResponse.ts index 3d971f6e7b16..ad001c50ea15 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsBucketResponse.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsBucketResponse.ts @@ -20,6 +20,13 @@ export class CIAppTestsBucketResponse { */ "computes"?: { [key: string]: CIAppAggregateBucketValue }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class CIAppTestsBucketResponse { baseName: "computes", type: "{ [key: string]: CIAppAggregateBucketValue; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts b/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts index 19ae24f75d39..b2e86e9b0bd1 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsGroupBy.ts @@ -40,6 +40,13 @@ export class CIAppTestsGroupBy { */ "total"?: CIAppGroupByTotal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class CIAppTestsGroupBy { baseName: "total", type: "CIAppGroupByTotal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppTestsQueryFilter.ts b/packages/datadog-api-client-v2/models/CIAppTestsQueryFilter.ts index ad27d36c0881..a84b340bb98f 100644 --- a/packages/datadog-api-client-v2/models/CIAppTestsQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/CIAppTestsQueryFilter.ts @@ -23,6 +23,13 @@ export class CIAppTestsQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class CIAppTestsQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CIAppWarning.ts b/packages/datadog-api-client-v2/models/CIAppWarning.ts index 9f622f2e0ef9..e5206c002378 100644 --- a/packages/datadog-api-client-v2/models/CIAppWarning.ts +++ b/packages/datadog-api-client-v2/models/CIAppWarning.ts @@ -23,6 +23,13 @@ export class CIAppWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class CIAppWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Case.ts b/packages/datadog-api-client-v2/models/Case.ts index 76b887d523ae..c60c00649d7a 100644 --- a/packages/datadog-api-client-v2/models/Case.ts +++ b/packages/datadog-api-client-v2/models/Case.ts @@ -30,6 +30,13 @@ export class Case { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class Case { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseAssign.ts b/packages/datadog-api-client-v2/models/CaseAssign.ts index d2bfcc788d04..1dfd9b3f5cfd 100644 --- a/packages/datadog-api-client-v2/models/CaseAssign.ts +++ b/packages/datadog-api-client-v2/models/CaseAssign.ts @@ -21,6 +21,13 @@ export class CaseAssign { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CaseAssign { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts b/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts index 968c0c3722c2..c9e15323136b 100644 --- a/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts +++ b/packages/datadog-api-client-v2/models/CaseAssignAttributes.ts @@ -15,6 +15,13 @@ export class CaseAssignAttributes { */ "assigneeId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CaseAssignAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseAssignRequest.ts b/packages/datadog-api-client-v2/models/CaseAssignRequest.ts index 9b9abfc896cd..6a8e5b6d9a40 100644 --- a/packages/datadog-api-client-v2/models/CaseAssignRequest.ts +++ b/packages/datadog-api-client-v2/models/CaseAssignRequest.ts @@ -16,6 +16,13 @@ export class CaseAssignRequest { */ "data": CaseAssign; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseAssignRequest { type: "CaseAssign", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseAttributes.ts b/packages/datadog-api-client-v2/models/CaseAttributes.ts index accd97c5435a..913f4d094ea6 100644 --- a/packages/datadog-api-client-v2/models/CaseAttributes.ts +++ b/packages/datadog-api-client-v2/models/CaseAttributes.ts @@ -64,6 +64,13 @@ export class CaseAttributes { */ "type"?: CaseType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -125,6 +132,10 @@ export class CaseAttributes { baseName: "type", type: "CaseType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseCreate.ts b/packages/datadog-api-client-v2/models/CaseCreate.ts index c6241515f79d..7dfcdc532956 100644 --- a/packages/datadog-api-client-v2/models/CaseCreate.ts +++ b/packages/datadog-api-client-v2/models/CaseCreate.ts @@ -26,6 +26,13 @@ export class CaseCreate { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class CaseCreate { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts b/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts index f1be8d577a88..e692dfa27019 100644 --- a/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/CaseCreateAttributes.ts @@ -29,6 +29,13 @@ export class CaseCreateAttributes { */ "type": CaseType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class CaseCreateAttributes { type: "CaseType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts b/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts index 8b67a8c0d0ed..7ee8211bed9f 100644 --- a/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts +++ b/packages/datadog-api-client-v2/models/CaseCreateRelationships.ts @@ -21,6 +21,13 @@ export class CaseCreateRelationships { */ "project": ProjectRelationship; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class CaseCreateRelationships { type: "ProjectRelationship", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseCreateRequest.ts b/packages/datadog-api-client-v2/models/CaseCreateRequest.ts index 457b340b9d47..401b3feb78cb 100644 --- a/packages/datadog-api-client-v2/models/CaseCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/CaseCreateRequest.ts @@ -16,6 +16,13 @@ export class CaseCreateRequest { */ "data": CaseCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseCreateRequest { type: "CaseCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseEmpty.ts b/packages/datadog-api-client-v2/models/CaseEmpty.ts index fba130d9c498..38bb77dfe793 100644 --- a/packages/datadog-api-client-v2/models/CaseEmpty.ts +++ b/packages/datadog-api-client-v2/models/CaseEmpty.ts @@ -16,6 +16,13 @@ export class CaseEmpty { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseEmpty { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts b/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts index 6cfcd40f15ad..299f209a4f80 100644 --- a/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts +++ b/packages/datadog-api-client-v2/models/CaseEmptyRequest.ts @@ -16,6 +16,13 @@ export class CaseEmptyRequest { */ "data": CaseEmpty; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseEmptyRequest { type: "CaseEmpty", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseRelationships.ts b/packages/datadog-api-client-v2/models/CaseRelationships.ts index fe5a6f791d74..881120a6507d 100644 --- a/packages/datadog-api-client-v2/models/CaseRelationships.ts +++ b/packages/datadog-api-client-v2/models/CaseRelationships.ts @@ -29,6 +29,13 @@ export class CaseRelationships { */ "project"?: ProjectRelationship; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class CaseRelationships { baseName: "project", type: "ProjectRelationship", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseResponse.ts b/packages/datadog-api-client-v2/models/CaseResponse.ts index ad191c906240..35361ccfbb31 100644 --- a/packages/datadog-api-client-v2/models/CaseResponse.ts +++ b/packages/datadog-api-client-v2/models/CaseResponse.ts @@ -16,6 +16,13 @@ export class CaseResponse { */ "data"?: Case; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CaseResponse { baseName: "data", type: "Case", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts index c8991c5e7cee..44383eeb7519 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriority.ts @@ -21,6 +21,13 @@ export class CaseUpdatePriority { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CaseUpdatePriority { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts index b1b99c9ebbb2..936f5a9c8713 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriorityAttributes.ts @@ -16,6 +16,13 @@ export class CaseUpdatePriorityAttributes { */ "priority": CasePriority; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseUpdatePriorityAttributes { type: "CasePriority", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts b/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts index e9594d88ce49..fb03ee0db56d 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdatePriorityRequest.ts @@ -16,6 +16,13 @@ export class CaseUpdatePriorityRequest { */ "data": CaseUpdatePriority; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseUpdatePriorityRequest { type: "CaseUpdatePriority", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts index 8688f0feb696..d3a660a300eb 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatus.ts @@ -21,6 +21,13 @@ export class CaseUpdateStatus { */ "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CaseUpdateStatus { type: "CaseResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts index d5ba38a43155..83e1b423f19b 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatusAttributes.ts @@ -16,6 +16,13 @@ export class CaseUpdateStatusAttributes { */ "status": CaseStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseUpdateStatusAttributes { type: "CaseStatus", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts b/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts index 80de71a54262..1387050ec78e 100644 --- a/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts +++ b/packages/datadog-api-client-v2/models/CaseUpdateStatusRequest.ts @@ -16,6 +16,13 @@ export class CaseUpdateStatusRequest { */ "data": CaseUpdateStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CaseUpdateStatusRequest { type: "CaseUpdateStatus", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CasesResponse.ts b/packages/datadog-api-client-v2/models/CasesResponse.ts index cb4aec4d326a..67265f041f2a 100644 --- a/packages/datadog-api-client-v2/models/CasesResponse.ts +++ b/packages/datadog-api-client-v2/models/CasesResponse.ts @@ -21,6 +21,13 @@ export class CasesResponse { */ "meta"?: CasesResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CasesResponse { baseName: "meta", type: "CasesResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CasesResponseMeta.ts b/packages/datadog-api-client-v2/models/CasesResponseMeta.ts index 78c283cb999b..2c99626ffd6b 100644 --- a/packages/datadog-api-client-v2/models/CasesResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/CasesResponseMeta.ts @@ -16,6 +16,13 @@ export class CasesResponseMeta { */ "page"?: CasesResponseMetaPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CasesResponseMeta { baseName: "page", type: "CasesResponseMetaPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts b/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts index 45ec7ddfa06e..8f811ce1f8d6 100644 --- a/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts +++ b/packages/datadog-api-client-v2/models/CasesResponseMetaPagination.ts @@ -23,6 +23,13 @@ export class CasesResponseMetaPagination { */ "total"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CasesResponseMetaPagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ChargebackBreakdown.ts b/packages/datadog-api-client-v2/models/ChargebackBreakdown.ts index a6519803b575..b7d5e5576d4d 100644 --- a/packages/datadog-api-client-v2/models/ChargebackBreakdown.ts +++ b/packages/datadog-api-client-v2/models/ChargebackBreakdown.ts @@ -23,6 +23,13 @@ export class ChargebackBreakdown { */ "productName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class ChargebackBreakdown { baseName: "product_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationComplianceRuleOptions.ts b/packages/datadog-api-client-v2/models/CloudConfigurationComplianceRuleOptions.ts index aa70ca2a63ee..046a364ff82f 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationComplianceRuleOptions.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationComplianceRuleOptions.ts @@ -26,6 +26,13 @@ export class CloudConfigurationComplianceRuleOptions { */ "resourceType"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class CloudConfigurationComplianceRuleOptions { baseName: "resourceType", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationRegoRule.ts b/packages/datadog-api-client-v2/models/CloudConfigurationRegoRule.ts index 7e5eedea4e8d..c74cb445ab80 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationRegoRule.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationRegoRule.ts @@ -19,6 +19,13 @@ export class CloudConfigurationRegoRule { */ "resourceTypes": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CloudConfigurationRegoRule { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationRuleCaseCreate.ts b/packages/datadog-api-client-v2/models/CloudConfigurationRuleCaseCreate.ts index b2d309133e6f..8919f7f1559c 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationRuleCaseCreate.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationRuleCaseCreate.ts @@ -20,6 +20,13 @@ export class CloudConfigurationRuleCaseCreate { */ "status": SecurityMonitoringRuleSeverity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CloudConfigurationRuleCaseCreate { type: "SecurityMonitoringRuleSeverity", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationRuleComplianceSignalOptions.ts b/packages/datadog-api-client-v2/models/CloudConfigurationRuleComplianceSignalOptions.ts index 4f17894d43ca..422a9e2fd97a 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationRuleComplianceSignalOptions.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationRuleComplianceSignalOptions.ts @@ -27,6 +27,13 @@ export class CloudConfigurationRuleComplianceSignalOptions { */ "userGroupByFields"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class CloudConfigurationRuleComplianceSignalOptions { baseName: "userGroupByFields", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationRuleCreatePayload.ts b/packages/datadog-api-client-v2/models/CloudConfigurationRuleCreatePayload.ts index 253a5012595c..21a9f50b490d 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationRuleCreatePayload.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationRuleCreatePayload.ts @@ -52,6 +52,13 @@ export class CloudConfigurationRuleCreatePayload { */ "type"?: CloudConfigurationRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -103,6 +110,10 @@ export class CloudConfigurationRuleCreatePayload { baseName: "type", type: "CloudConfigurationRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudConfigurationRuleOptions.ts b/packages/datadog-api-client-v2/models/CloudConfigurationRuleOptions.ts index 38b7ca034f17..89e23800747d 100644 --- a/packages/datadog-api-client-v2/models/CloudConfigurationRuleOptions.ts +++ b/packages/datadog-api-client-v2/models/CloudConfigurationRuleOptions.ts @@ -17,6 +17,13 @@ export class CloudConfigurationRuleOptions { */ "complianceRuleOptions": CloudConfigurationComplianceRuleOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class CloudConfigurationRuleOptions { type: "CloudConfigurationComplianceRuleOptions", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudCostActivity.ts b/packages/datadog-api-client-v2/models/CloudCostActivity.ts index e4bffde3fc86..e98804840ba5 100644 --- a/packages/datadog-api-client-v2/models/CloudCostActivity.ts +++ b/packages/datadog-api-client-v2/models/CloudCostActivity.ts @@ -21,6 +21,13 @@ export class CloudCostActivity { */ "type": CloudCostActivityType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CloudCostActivity { type: "CloudCostActivityType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudCostActivityAttributes.ts b/packages/datadog-api-client-v2/models/CloudCostActivityAttributes.ts index 40873f2ed1d6..ec4f95c8cd3f 100644 --- a/packages/datadog-api-client-v2/models/CloudCostActivityAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudCostActivityAttributes.ts @@ -15,6 +15,13 @@ export class CloudCostActivityAttributes { */ "isEnabled": boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudCostActivityAttributes { type: "boolean", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudCostActivityResponse.ts b/packages/datadog-api-client-v2/models/CloudCostActivityResponse.ts index 8de70336cca0..d419046f93bd 100644 --- a/packages/datadog-api-client-v2/models/CloudCostActivityResponse.ts +++ b/packages/datadog-api-client-v2/models/CloudCostActivityResponse.ts @@ -16,6 +16,13 @@ export class CloudCostActivityResponse { */ "data"?: CloudCostActivity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudCostActivityResponse { baseName: "data", type: "CloudCostActivity", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts index 46e03e4a7db5..31678f3ae976 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts @@ -77,6 +77,13 @@ export class CloudWorkloadSecurityAgentRuleAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -154,6 +161,10 @@ export class CloudWorkloadSecurityAgentRuleAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.ts index 9e11077a797f..0bbca0b0655c 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.ts @@ -27,6 +27,13 @@ export class CloudWorkloadSecurityAgentRuleCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class CloudWorkloadSecurityAgentRuleCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateData.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateData.ts index 9e8c026cbebd..74fefb98f540 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateData.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateData.ts @@ -21,6 +21,13 @@ export class CloudWorkloadSecurityAgentRuleCreateData { */ "type": CloudWorkloadSecurityAgentRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CloudWorkloadSecurityAgentRuleCreateData { type: "CloudWorkloadSecurityAgentRuleType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateRequest.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateRequest.ts index 8c959765bc07..4d43602920ab 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateRequest.ts @@ -16,6 +16,13 @@ export class CloudWorkloadSecurityAgentRuleCreateRequest { */ "data": CloudWorkloadSecurityAgentRuleCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CloudWorkloadSecurityAgentRuleCreateRequest { type: "CloudWorkloadSecurityAgentRuleCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreatorAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreatorAttributes.ts index a22022e038fd..2517d2e90a82 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreatorAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreatorAttributes.ts @@ -19,6 +19,13 @@ export class CloudWorkloadSecurityAgentRuleCreatorAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class CloudWorkloadSecurityAgentRuleCreatorAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleData.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleData.ts index d4cbc03151f3..ec0ba13ae79c 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleData.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleData.ts @@ -25,6 +25,13 @@ export class CloudWorkloadSecurityAgentRuleData { */ "type"?: CloudWorkloadSecurityAgentRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class CloudWorkloadSecurityAgentRuleData { baseName: "type", type: "CloudWorkloadSecurityAgentRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleResponse.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleResponse.ts index 53a185ab7a4f..8a7ff7a2b640 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleResponse.ts @@ -16,6 +16,13 @@ export class CloudWorkloadSecurityAgentRuleResponse { */ "data"?: CloudWorkloadSecurityAgentRuleData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudWorkloadSecurityAgentRuleResponse { baseName: "data", type: "CloudWorkloadSecurityAgentRuleData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateAttributes.ts index 56ca2817ec99..afae71721927 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateAttributes.ts @@ -23,6 +23,13 @@ export class CloudWorkloadSecurityAgentRuleUpdateAttributes { */ "expression"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class CloudWorkloadSecurityAgentRuleUpdateAttributes { baseName: "expression", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts index 48458ff7ea1e..6f0a3426d3ff 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts @@ -21,6 +21,13 @@ export class CloudWorkloadSecurityAgentRuleUpdateData { */ "type": CloudWorkloadSecurityAgentRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CloudWorkloadSecurityAgentRuleUpdateData { type: "CloudWorkloadSecurityAgentRuleType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateRequest.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateRequest.ts index 60616b4d86ec..46c36b1db08c 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateRequest.ts @@ -16,6 +16,13 @@ export class CloudWorkloadSecurityAgentRuleUpdateRequest { */ "data": CloudWorkloadSecurityAgentRuleUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CloudWorkloadSecurityAgentRuleUpdateRequest { type: "CloudWorkloadSecurityAgentRuleUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdaterAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdaterAttributes.ts index 32f797303033..e134643a22bb 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdaterAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdaterAttributes.ts @@ -19,6 +19,13 @@ export class CloudWorkloadSecurityAgentRuleUpdaterAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class CloudWorkloadSecurityAgentRuleUpdaterAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRulesListResponse.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRulesListResponse.ts index 666292ec306b..7266eed76ff7 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRulesListResponse.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRulesListResponse.ts @@ -16,6 +16,13 @@ export class CloudWorkloadSecurityAgentRulesListResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudWorkloadSecurityAgentRulesListResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequest.ts b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequest.ts index 7ec315b0e413..2ff08c781e9b 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequest.ts @@ -16,6 +16,13 @@ export class CloudflareAccountCreateRequest { */ "data": CloudflareAccountCreateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CloudflareAccountCreateRequest { type: "CloudflareAccountCreateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestAttributes.ts index c102157cdf14..69dd232e9c56 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestAttributes.ts @@ -31,6 +31,13 @@ export class CloudflareAccountCreateRequestAttributes { */ "zones"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class CloudflareAccountCreateRequestAttributes { baseName: "zones", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestData.ts b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestData.ts index b3ee1c7c2ce0..1940966f64e8 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestData.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountCreateRequestData.ts @@ -21,6 +21,13 @@ export class CloudflareAccountCreateRequestData { */ "type": CloudflareAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class CloudflareAccountCreateRequestData { type: "CloudflareAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountResponse.ts b/packages/datadog-api-client-v2/models/CloudflareAccountResponse.ts index 88fcaa117512..be46e133a486 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountResponse.ts @@ -16,6 +16,13 @@ export class CloudflareAccountResponse { */ "data"?: CloudflareAccountResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudflareAccountResponse { baseName: "data", type: "CloudflareAccountResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountResponseAttributes.ts b/packages/datadog-api-client-v2/models/CloudflareAccountResponseAttributes.ts index 6ed2dd5f11d6..826b998f64d8 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountResponseAttributes.ts @@ -27,6 +27,13 @@ export class CloudflareAccountResponseAttributes { */ "zones"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class CloudflareAccountResponseAttributes { baseName: "zones", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountResponseData.ts b/packages/datadog-api-client-v2/models/CloudflareAccountResponseData.ts index a51641d12f9b..e0d9796d98c4 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountResponseData.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountResponseData.ts @@ -25,6 +25,13 @@ export class CloudflareAccountResponseData { */ "type": CloudflareAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class CloudflareAccountResponseData { type: "CloudflareAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequest.ts b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequest.ts index 85f8cce6ec58..905099a3d098 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequest.ts @@ -16,6 +16,13 @@ export class CloudflareAccountUpdateRequest { */ "data": CloudflareAccountUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class CloudflareAccountUpdateRequest { type: "CloudflareAccountUpdateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestAttributes.ts index 5647a4669f8d..4663d1f3f2b3 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestAttributes.ts @@ -27,6 +27,13 @@ export class CloudflareAccountUpdateRequestAttributes { */ "zones"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class CloudflareAccountUpdateRequestAttributes { baseName: "zones", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestData.ts b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestData.ts index c99f96b74c18..0cfaf98112a3 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountUpdateRequestData.ts @@ -21,6 +21,13 @@ export class CloudflareAccountUpdateRequestData { */ "type"?: CloudflareAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CloudflareAccountUpdateRequestData { baseName: "type", type: "CloudflareAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CloudflareAccountsResponse.ts b/packages/datadog-api-client-v2/models/CloudflareAccountsResponse.ts index 606dae6472b3..9977af87b73f 100644 --- a/packages/datadog-api-client-v2/models/CloudflareAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/CloudflareAccountsResponse.ts @@ -16,6 +16,13 @@ export class CloudflareAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CloudflareAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.ts b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.ts index 3e016547adb7..3fb53315f0c1 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.ts @@ -16,6 +16,13 @@ export class ConfluentAccountCreateRequest { */ "data": ConfluentAccountCreateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ConfluentAccountCreateRequest { type: "ConfluentAccountCreateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.ts index 82abdea76cae..8e9712b06655 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.ts @@ -28,6 +28,13 @@ export class ConfluentAccountCreateRequestAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ConfluentAccountCreateRequestAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.ts b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.ts index a0474bc88de3..7bc611120738 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.ts @@ -21,6 +21,13 @@ export class ConfluentAccountCreateRequestData { */ "type": ConfluentAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ConfluentAccountCreateRequestData { type: "ConfluentAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.ts index 850d5341b78a..4e5de1abd510 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.ts @@ -27,6 +27,13 @@ export class ConfluentAccountResourceAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class ConfluentAccountResourceAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountResponse.ts b/packages/datadog-api-client-v2/models/ConfluentAccountResponse.ts index c69d40520957..c701933cdad5 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountResponse.ts @@ -16,6 +16,13 @@ export class ConfluentAccountResponse { */ "data"?: ConfluentAccountResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ConfluentAccountResponse { baseName: "data", type: "ConfluentAccountResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.ts index 7fc820d2ae97..a796ff01e884 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.ts @@ -24,6 +24,13 @@ export class ConfluentAccountResponseAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ConfluentAccountResponseAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.ts b/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.ts index 0f78f66f45a5..d073c8115546 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.ts @@ -25,6 +25,13 @@ export class ConfluentAccountResponseData { */ "type": ConfluentAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class ConfluentAccountResponseData { type: "ConfluentAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.ts b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.ts index 92851092a594..a814435890d1 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.ts @@ -16,6 +16,13 @@ export class ConfluentAccountUpdateRequest { */ "data": ConfluentAccountUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ConfluentAccountUpdateRequest { type: "ConfluentAccountUpdateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.ts index 92e030bdb130..1429f31cf10b 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.ts @@ -23,6 +23,13 @@ export class ConfluentAccountUpdateRequestAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ConfluentAccountUpdateRequestAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.ts b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.ts index 983b0dbd2aeb..99f9a17bba1d 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.ts @@ -21,6 +21,13 @@ export class ConfluentAccountUpdateRequestData { */ "type": ConfluentAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ConfluentAccountUpdateRequestData { type: "ConfluentAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.ts b/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.ts index 6a15895eecfa..3626f5c1440f 100644 --- a/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.ts @@ -16,6 +16,13 @@ export class ConfluentAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ConfluentAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceRequest.ts b/packages/datadog-api-client-v2/models/ConfluentResourceRequest.ts index aed5b480c328..ddf314088451 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceRequest.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceRequest.ts @@ -16,6 +16,13 @@ export class ConfluentResourceRequest { */ "data": ConfluentResourceRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ConfluentResourceRequest { type: "ConfluentResourceRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.ts index 2e65f8d11eb3..5e61d7866342 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.ts @@ -23,6 +23,13 @@ export class ConfluentResourceRequestAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class ConfluentResourceRequestAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.ts b/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.ts index c8a81517087a..e98d04b553aa 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.ts @@ -25,6 +25,13 @@ export class ConfluentResourceRequestData { */ "type": ConfluentResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class ConfluentResourceRequestData { type: "ConfluentResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceResponse.ts b/packages/datadog-api-client-v2/models/ConfluentResourceResponse.ts index 5557efab010b..f06498ebe21e 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceResponse.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceResponse.ts @@ -16,6 +16,13 @@ export class ConfluentResourceResponse { */ "data"?: ConfluentResourceResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ConfluentResourceResponse { baseName: "data", type: "ConfluentResourceResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.ts b/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.ts index d20c3f70abee..aeb1aea27f46 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.ts @@ -27,6 +27,13 @@ export class ConfluentResourceResponseAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class ConfluentResourceResponseAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.ts b/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.ts index 79388a068432..19bc6904b3b4 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.ts @@ -25,6 +25,13 @@ export class ConfluentResourceResponseData { */ "type": ConfluentResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class ConfluentResourceResponseData { type: "ConfluentResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.ts b/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.ts index 6561bd425f26..e6286fe7add1 100644 --- a/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.ts +++ b/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.ts @@ -16,6 +16,13 @@ export class ConfluentResourcesResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ConfluentResourcesResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Container.ts b/packages/datadog-api-client-v2/models/Container.ts index 04759a0294c8..4b3cb19381e0 100644 --- a/packages/datadog-api-client-v2/models/Container.ts +++ b/packages/datadog-api-client-v2/models/Container.ts @@ -25,6 +25,13 @@ export class Container { */ "type"?: ContainerType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class Container { baseName: "type", type: "ContainerType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerAttributes.ts b/packages/datadog-api-client-v2/models/ContainerAttributes.ts index 86e14b724205..f62da382be87 100644 --- a/packages/datadog-api-client-v2/models/ContainerAttributes.ts +++ b/packages/datadog-api-client-v2/models/ContainerAttributes.ts @@ -51,6 +51,13 @@ export class ContainerAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -100,6 +107,10 @@ export class ContainerAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerGroup.ts b/packages/datadog-api-client-v2/models/ContainerGroup.ts index 83fe4b798139..1ba10aba1be4 100644 --- a/packages/datadog-api-client-v2/models/ContainerGroup.ts +++ b/packages/datadog-api-client-v2/models/ContainerGroup.ts @@ -30,6 +30,13 @@ export class ContainerGroup { */ "type"?: ContainerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ContainerGroup { baseName: "type", type: "ContainerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerGroupAttributes.ts b/packages/datadog-api-client-v2/models/ContainerGroupAttributes.ts index 300bebf9dc65..8910a7b6b584 100644 --- a/packages/datadog-api-client-v2/models/ContainerGroupAttributes.ts +++ b/packages/datadog-api-client-v2/models/ContainerGroupAttributes.ts @@ -19,6 +19,13 @@ export class ContainerGroupAttributes { */ "tags"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ContainerGroupAttributes { baseName: "tags", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerGroupRelationships.ts b/packages/datadog-api-client-v2/models/ContainerGroupRelationships.ts index 3d456426c456..64dd7753d139 100644 --- a/packages/datadog-api-client-v2/models/ContainerGroupRelationships.ts +++ b/packages/datadog-api-client-v2/models/ContainerGroupRelationships.ts @@ -16,6 +16,13 @@ export class ContainerGroupRelationships { */ "containers"?: ContainerGroupRelationshipsLink; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ContainerGroupRelationships { baseName: "containers", type: "ContainerGroupRelationshipsLink", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLink.ts b/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLink.ts index ea8634a7a20b..0f382bf09a6a 100644 --- a/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLink.ts +++ b/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLink.ts @@ -20,6 +20,13 @@ export class ContainerGroupRelationshipsLink { */ "links"?: ContainerGroupRelationshipsLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ContainerGroupRelationshipsLink { baseName: "links", type: "ContainerGroupRelationshipsLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLinks.ts b/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLinks.ts index 2de16d54bc26..9bda5177a904 100644 --- a/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLinks.ts +++ b/packages/datadog-api-client-v2/models/ContainerGroupRelationshipsLinks.ts @@ -15,6 +15,13 @@ export class ContainerGroupRelationshipsLinks { */ "related"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ContainerGroupRelationshipsLinks { baseName: "related", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImage.ts b/packages/datadog-api-client-v2/models/ContainerImage.ts index 9dff3fa55a4d..96fe94132b9b 100644 --- a/packages/datadog-api-client-v2/models/ContainerImage.ts +++ b/packages/datadog-api-client-v2/models/ContainerImage.ts @@ -25,6 +25,13 @@ export class ContainerImage { */ "type"?: ContainerImageType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ContainerImage { baseName: "type", type: "ContainerImageType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageAttributes.ts b/packages/datadog-api-client-v2/models/ContainerImageAttributes.ts index 788212172f1d..a49e69a202d6 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageAttributes.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageAttributes.ts @@ -84,6 +84,13 @@ export class ContainerImageAttributes { */ "vulnerabilityCount"?: ContainerImageVulnerabilities; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -163,6 +170,10 @@ export class ContainerImageAttributes { baseName: "vulnerability_count", type: "ContainerImageVulnerabilities", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageFlavor.ts b/packages/datadog-api-client-v2/models/ContainerImageFlavor.ts index 2b21729a1ee3..d35cebb98f69 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageFlavor.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageFlavor.ts @@ -31,6 +31,13 @@ export class ContainerImageFlavor { */ "size"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class ContainerImageFlavor { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageGroup.ts b/packages/datadog-api-client-v2/models/ContainerImageGroup.ts index affb8ec76f95..58481551cdfc 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageGroup.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageGroup.ts @@ -30,6 +30,13 @@ export class ContainerImageGroup { */ "type"?: ContainerImageGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ContainerImageGroup { baseName: "type", type: "ContainerImageGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageGroupAttributes.ts b/packages/datadog-api-client-v2/models/ContainerImageGroupAttributes.ts index 7be0d2d250fd..87ce4778157e 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageGroupAttributes.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageGroupAttributes.ts @@ -23,6 +23,13 @@ export class ContainerImageGroupAttributes { */ "tags"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class ContainerImageGroupAttributes { baseName: "tags", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageGroupImagesRelationshipsLink.ts b/packages/datadog-api-client-v2/models/ContainerImageGroupImagesRelationshipsLink.ts index ad72e27ee69d..1f7e8452c029 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageGroupImagesRelationshipsLink.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageGroupImagesRelationshipsLink.ts @@ -20,6 +20,13 @@ export class ContainerImageGroupImagesRelationshipsLink { */ "links"?: ContainerImageGroupRelationshipsLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ContainerImageGroupImagesRelationshipsLink { baseName: "links", type: "ContainerImageGroupRelationshipsLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageGroupRelationships.ts b/packages/datadog-api-client-v2/models/ContainerImageGroupRelationships.ts index add68460ea0b..b2ef24edf367 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageGroupRelationships.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageGroupRelationships.ts @@ -16,6 +16,13 @@ export class ContainerImageGroupRelationships { */ "containerImages"?: ContainerImageGroupImagesRelationshipsLink; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ContainerImageGroupRelationships { baseName: "container_images", type: "ContainerImageGroupImagesRelationshipsLink", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageGroupRelationshipsLinks.ts b/packages/datadog-api-client-v2/models/ContainerImageGroupRelationshipsLinks.ts index 663a2754a4c3..2653f43da157 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageGroupRelationshipsLinks.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageGroupRelationshipsLinks.ts @@ -15,6 +15,13 @@ export class ContainerImageGroupRelationshipsLinks { */ "related"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ContainerImageGroupRelationshipsLinks { baseName: "related", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageMeta.ts b/packages/datadog-api-client-v2/models/ContainerImageMeta.ts index 2cad12e8ac3e..62a1f85f815d 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageMeta.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageMeta.ts @@ -16,6 +16,13 @@ export class ContainerImageMeta { */ "pagination"?: ContainerImageMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ContainerImageMeta { baseName: "pagination", type: "ContainerImageMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageMetaPage.ts b/packages/datadog-api-client-v2/models/ContainerImageMetaPage.ts index 9068739d834b..1be1e46b7e0b 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageMetaPage.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageMetaPage.ts @@ -36,6 +36,13 @@ export class ContainerImageMetaPage { */ "type"?: ContainerImageMetaPageType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class ContainerImageMetaPage { baseName: "type", type: "ContainerImageMetaPageType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImageVulnerabilities.ts b/packages/datadog-api-client-v2/models/ContainerImageVulnerabilities.ts index 4e2d0517f51a..73991810a851 100644 --- a/packages/datadog-api-client-v2/models/ContainerImageVulnerabilities.ts +++ b/packages/datadog-api-client-v2/models/ContainerImageVulnerabilities.ts @@ -39,6 +39,13 @@ export class ContainerImageVulnerabilities { */ "unknown"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class ContainerImageVulnerabilities { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImagesResponse.ts b/packages/datadog-api-client-v2/models/ContainerImagesResponse.ts index e23d98cf8c3f..a7085dc47467 100644 --- a/packages/datadog-api-client-v2/models/ContainerImagesResponse.ts +++ b/packages/datadog-api-client-v2/models/ContainerImagesResponse.ts @@ -26,6 +26,13 @@ export class ContainerImagesResponse { */ "meta"?: ContainerImageMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ContainerImagesResponse { baseName: "meta", type: "ContainerImageMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerImagesResponseLinks.ts b/packages/datadog-api-client-v2/models/ContainerImagesResponseLinks.ts index 04d9a6f22fcd..3e8c7f764b20 100644 --- a/packages/datadog-api-client-v2/models/ContainerImagesResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/ContainerImagesResponseLinks.ts @@ -31,6 +31,13 @@ export class ContainerImagesResponseLinks { */ "self"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class ContainerImagesResponseLinks { baseName: "self", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerMeta.ts b/packages/datadog-api-client-v2/models/ContainerMeta.ts index 820d63b5b9cf..013134b74d45 100644 --- a/packages/datadog-api-client-v2/models/ContainerMeta.ts +++ b/packages/datadog-api-client-v2/models/ContainerMeta.ts @@ -16,6 +16,13 @@ export class ContainerMeta { */ "pagination"?: ContainerMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ContainerMeta { baseName: "pagination", type: "ContainerMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainerMetaPage.ts b/packages/datadog-api-client-v2/models/ContainerMetaPage.ts index db24bce7eaab..03fd1dc547e8 100644 --- a/packages/datadog-api-client-v2/models/ContainerMetaPage.ts +++ b/packages/datadog-api-client-v2/models/ContainerMetaPage.ts @@ -36,6 +36,13 @@ export class ContainerMetaPage { */ "type"?: ContainerMetaPageType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class ContainerMetaPage { baseName: "type", type: "ContainerMetaPageType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainersResponse.ts b/packages/datadog-api-client-v2/models/ContainersResponse.ts index 113303f1dae3..ec2c4847d614 100644 --- a/packages/datadog-api-client-v2/models/ContainersResponse.ts +++ b/packages/datadog-api-client-v2/models/ContainersResponse.ts @@ -26,6 +26,13 @@ export class ContainersResponse { */ "meta"?: ContainerMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ContainersResponse { baseName: "meta", type: "ContainerMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ContainersResponseLinks.ts b/packages/datadog-api-client-v2/models/ContainersResponseLinks.ts index f4e9b7b44e49..ff2b1e4399d5 100644 --- a/packages/datadog-api-client-v2/models/ContainersResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/ContainersResponseLinks.ts @@ -31,6 +31,13 @@ export class ContainersResponseLinks { */ "self"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class ContainersResponseLinks { baseName: "self", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CostAttributionAggregatesBody.ts b/packages/datadog-api-client-v2/models/CostAttributionAggregatesBody.ts index 608081cac422..734ba5be6e57 100644 --- a/packages/datadog-api-client-v2/models/CostAttributionAggregatesBody.ts +++ b/packages/datadog-api-client-v2/models/CostAttributionAggregatesBody.ts @@ -23,6 +23,13 @@ export class CostAttributionAggregatesBody { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class CostAttributionAggregatesBody { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CostByOrg.ts b/packages/datadog-api-client-v2/models/CostByOrg.ts index 434f1fc82f6b..c6e1488ac79c 100644 --- a/packages/datadog-api-client-v2/models/CostByOrg.ts +++ b/packages/datadog-api-client-v2/models/CostByOrg.ts @@ -25,6 +25,13 @@ export class CostByOrg { */ "type"?: CostByOrgType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class CostByOrg { baseName: "type", type: "CostByOrgType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CostByOrgAttributes.ts b/packages/datadog-api-client-v2/models/CostByOrgAttributes.ts index d7bb49f7c2bb..d277e8eb54d4 100644 --- a/packages/datadog-api-client-v2/models/CostByOrgAttributes.ts +++ b/packages/datadog-api-client-v2/models/CostByOrgAttributes.ts @@ -36,6 +36,13 @@ export class CostByOrgAttributes { */ "totalCost"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class CostByOrgAttributes { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CostByOrgResponse.ts b/packages/datadog-api-client-v2/models/CostByOrgResponse.ts index 8bb755ef44cf..012d7efc7375 100644 --- a/packages/datadog-api-client-v2/models/CostByOrgResponse.ts +++ b/packages/datadog-api-client-v2/models/CostByOrgResponse.ts @@ -16,6 +16,13 @@ export class CostByOrgResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CostByOrgResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateOpenAPIResponse.ts b/packages/datadog-api-client-v2/models/CreateOpenAPIResponse.ts index 1105f6194d8a..d242048a05b9 100644 --- a/packages/datadog-api-client-v2/models/CreateOpenAPIResponse.ts +++ b/packages/datadog-api-client-v2/models/CreateOpenAPIResponse.ts @@ -16,6 +16,13 @@ export class CreateOpenAPIResponse { */ "data"?: CreateOpenAPIResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CreateOpenAPIResponse { baseName: "data", type: "CreateOpenAPIResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateOpenAPIResponseAttributes.ts b/packages/datadog-api-client-v2/models/CreateOpenAPIResponseAttributes.ts index c021552ed09f..81daec382433 100644 --- a/packages/datadog-api-client-v2/models/CreateOpenAPIResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/CreateOpenAPIResponseAttributes.ts @@ -16,6 +16,13 @@ export class CreateOpenAPIResponseAttributes { */ "failedEndpoints"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CreateOpenAPIResponseAttributes { baseName: "failed_endpoints", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateOpenAPIResponseData.ts b/packages/datadog-api-client-v2/models/CreateOpenAPIResponseData.ts index e6ae944d0c66..a2c1bf44d56a 100644 --- a/packages/datadog-api-client-v2/models/CreateOpenAPIResponseData.ts +++ b/packages/datadog-api-client-v2/models/CreateOpenAPIResponseData.ts @@ -20,6 +20,13 @@ export class CreateOpenAPIResponseData { */ "id"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CreateOpenAPIResponseData { type: "string", format: "uuid", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateRuleRequest.ts b/packages/datadog-api-client-v2/models/CreateRuleRequest.ts index 928d11517975..08ac12f3ebec 100644 --- a/packages/datadog-api-client-v2/models/CreateRuleRequest.ts +++ b/packages/datadog-api-client-v2/models/CreateRuleRequest.ts @@ -16,6 +16,13 @@ export class CreateRuleRequest { */ "data"?: CreateRuleRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CreateRuleRequest { baseName: "data", type: "CreateRuleRequestData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateRuleRequestData.ts b/packages/datadog-api-client-v2/models/CreateRuleRequestData.ts index e6fc1df866f3..46becf07406f 100644 --- a/packages/datadog-api-client-v2/models/CreateRuleRequestData.ts +++ b/packages/datadog-api-client-v2/models/CreateRuleRequestData.ts @@ -21,6 +21,13 @@ export class CreateRuleRequestData { */ "type"?: RuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class CreateRuleRequestData { baseName: "type", type: "RuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateRuleResponse.ts b/packages/datadog-api-client-v2/models/CreateRuleResponse.ts index 85fb1ac47b3c..46b9e07b3efd 100644 --- a/packages/datadog-api-client-v2/models/CreateRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/CreateRuleResponse.ts @@ -16,6 +16,13 @@ export class CreateRuleResponse { */ "data"?: CreateRuleResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class CreateRuleResponse { baseName: "data", type: "CreateRuleResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/CreateRuleResponseData.ts b/packages/datadog-api-client-v2/models/CreateRuleResponseData.ts index 783b4a2bbbae..7137a67b3a3c 100644 --- a/packages/datadog-api-client-v2/models/CreateRuleResponseData.ts +++ b/packages/datadog-api-client-v2/models/CreateRuleResponseData.ts @@ -30,6 +30,13 @@ export class CreateRuleResponseData { */ "type"?: RuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class CreateRuleResponseData { baseName: "type", type: "RuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Creator.ts b/packages/datadog-api-client-v2/models/Creator.ts index 857454f9a791..f4eac1eb6d31 100644 --- a/packages/datadog-api-client-v2/models/Creator.ts +++ b/packages/datadog-api-client-v2/models/Creator.ts @@ -23,6 +23,13 @@ export class Creator { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class Creator { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORADeploymentRequest.ts b/packages/datadog-api-client-v2/models/DORADeploymentRequest.ts index 43468671eaa6..1de04de47729 100644 --- a/packages/datadog-api-client-v2/models/DORADeploymentRequest.ts +++ b/packages/datadog-api-client-v2/models/DORADeploymentRequest.ts @@ -16,6 +16,13 @@ export class DORADeploymentRequest { */ "data": DORADeploymentRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORADeploymentRequest { type: "DORADeploymentRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.ts b/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.ts index 9f1ae166cd4d..766f43e2b47a 100644 --- a/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.ts @@ -40,6 +40,13 @@ export class DORADeploymentRequestAttributes { */ "version"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class DORADeploymentRequestAttributes { baseName: "version", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORADeploymentRequestData.ts b/packages/datadog-api-client-v2/models/DORADeploymentRequestData.ts index 3d833cceadbf..c8f82b1a1eee 100644 --- a/packages/datadog-api-client-v2/models/DORADeploymentRequestData.ts +++ b/packages/datadog-api-client-v2/models/DORADeploymentRequestData.ts @@ -16,6 +16,13 @@ export class DORADeploymentRequestData { */ "attributes": DORADeploymentRequestAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORADeploymentRequestData { type: "DORADeploymentRequestAttributes", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORADeploymentResponse.ts b/packages/datadog-api-client-v2/models/DORADeploymentResponse.ts index e6dbbee90ccf..fa604020d71f 100644 --- a/packages/datadog-api-client-v2/models/DORADeploymentResponse.ts +++ b/packages/datadog-api-client-v2/models/DORADeploymentResponse.ts @@ -16,6 +16,13 @@ export class DORADeploymentResponse { */ "data": DORADeploymentResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORADeploymentResponse { type: "DORADeploymentResponseData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORADeploymentResponseData.ts b/packages/datadog-api-client-v2/models/DORADeploymentResponseData.ts index 959a5d893f92..edf7e8077912 100644 --- a/packages/datadog-api-client-v2/models/DORADeploymentResponseData.ts +++ b/packages/datadog-api-client-v2/models/DORADeploymentResponseData.ts @@ -20,6 +20,13 @@ export class DORADeploymentResponseData { */ "type"?: DORADeploymentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class DORADeploymentResponseData { baseName: "type", type: "DORADeploymentType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAGitInfo.ts b/packages/datadog-api-client-v2/models/DORAGitInfo.ts index eacd7a467c7e..d9df5e92d6d1 100644 --- a/packages/datadog-api-client-v2/models/DORAGitInfo.ts +++ b/packages/datadog-api-client-v2/models/DORAGitInfo.ts @@ -19,6 +19,13 @@ export class DORAGitInfo { */ "repositoryUrl": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class DORAGitInfo { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAIncidentRequest.ts b/packages/datadog-api-client-v2/models/DORAIncidentRequest.ts index 41f7459e3254..cddec1c6893e 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentRequest.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentRequest.ts @@ -16,6 +16,13 @@ export class DORAIncidentRequest { */ "data": DORAIncidentRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORAIncidentRequest { type: "DORAIncidentRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts b/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts index 0e54c97db8e6..01c5196a26d6 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.ts @@ -52,6 +52,13 @@ export class DORAIncidentRequestAttributes { */ "version"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -104,6 +111,10 @@ export class DORAIncidentRequestAttributes { baseName: "version", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAIncidentRequestData.ts b/packages/datadog-api-client-v2/models/DORAIncidentRequestData.ts index d79ee79bed68..1d4294497735 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentRequestData.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentRequestData.ts @@ -16,6 +16,13 @@ export class DORAIncidentRequestData { */ "attributes": DORAIncidentRequestAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORAIncidentRequestData { type: "DORAIncidentRequestAttributes", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAIncidentResponse.ts b/packages/datadog-api-client-v2/models/DORAIncidentResponse.ts index 1312dac3005f..d335fe9ce22a 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentResponse.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentResponse.ts @@ -16,6 +16,13 @@ export class DORAIncidentResponse { */ "data": DORAIncidentResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DORAIncidentResponse { type: "DORAIncidentResponseData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DORAIncidentResponseData.ts b/packages/datadog-api-client-v2/models/DORAIncidentResponseData.ts index 68a805b46b0e..6a24d9b83092 100644 --- a/packages/datadog-api-client-v2/models/DORAIncidentResponseData.ts +++ b/packages/datadog-api-client-v2/models/DORAIncidentResponseData.ts @@ -20,6 +20,13 @@ export class DORAIncidentResponseData { */ "type"?: DORAIncidentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class DORAIncidentResponseData { baseName: "type", type: "DORAIncidentType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListAddItemsRequest.ts b/packages/datadog-api-client-v2/models/DashboardListAddItemsRequest.ts index 3a32d7d48eb7..59f0a8feb736 100644 --- a/packages/datadog-api-client-v2/models/DashboardListAddItemsRequest.ts +++ b/packages/datadog-api-client-v2/models/DashboardListAddItemsRequest.ts @@ -16,6 +16,13 @@ export class DashboardListAddItemsRequest { */ "dashboards"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListAddItemsRequest { baseName: "dashboards", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListAddItemsResponse.ts b/packages/datadog-api-client-v2/models/DashboardListAddItemsResponse.ts index 0fb0e5768efa..996dc6ceb212 100644 --- a/packages/datadog-api-client-v2/models/DashboardListAddItemsResponse.ts +++ b/packages/datadog-api-client-v2/models/DashboardListAddItemsResponse.ts @@ -16,6 +16,13 @@ export class DashboardListAddItemsResponse { */ "addedDashboardsToList"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListAddItemsResponse { baseName: "added_dashboards_to_list", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.ts b/packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.ts index ecd0d65c2652..b2f9980fd9cb 100644 --- a/packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.ts +++ b/packages/datadog-api-client-v2/models/DashboardListDeleteItemsRequest.ts @@ -16,6 +16,13 @@ export class DashboardListDeleteItemsRequest { */ "dashboards"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListDeleteItemsRequest { baseName: "dashboards", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListDeleteItemsResponse.ts b/packages/datadog-api-client-v2/models/DashboardListDeleteItemsResponse.ts index 463f93b0daab..81ab18edd3a0 100644 --- a/packages/datadog-api-client-v2/models/DashboardListDeleteItemsResponse.ts +++ b/packages/datadog-api-client-v2/models/DashboardListDeleteItemsResponse.ts @@ -16,6 +16,13 @@ export class DashboardListDeleteItemsResponse { */ "deletedDashboardsFromList"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListDeleteItemsResponse { baseName: "deleted_dashboards_from_list", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListItem.ts b/packages/datadog-api-client-v2/models/DashboardListItem.ts index 97817733c5f5..73ab790a4094 100644 --- a/packages/datadog-api-client-v2/models/DashboardListItem.ts +++ b/packages/datadog-api-client-v2/models/DashboardListItem.ts @@ -69,6 +69,13 @@ export class DashboardListItem { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -139,6 +146,10 @@ export class DashboardListItem { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListItemRequest.ts b/packages/datadog-api-client-v2/models/DashboardListItemRequest.ts index b49d633aa006..0b014621ac1a 100644 --- a/packages/datadog-api-client-v2/models/DashboardListItemRequest.ts +++ b/packages/datadog-api-client-v2/models/DashboardListItemRequest.ts @@ -20,6 +20,13 @@ export class DashboardListItemRequest { */ "type": DashboardType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class DashboardListItemRequest { type: "DashboardType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListItemResponse.ts b/packages/datadog-api-client-v2/models/DashboardListItemResponse.ts index 1bc47362cf3f..a3713dcb305e 100644 --- a/packages/datadog-api-client-v2/models/DashboardListItemResponse.ts +++ b/packages/datadog-api-client-v2/models/DashboardListItemResponse.ts @@ -20,6 +20,13 @@ export class DashboardListItemResponse { */ "type": DashboardType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class DashboardListItemResponse { type: "DashboardType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListItems.ts b/packages/datadog-api-client-v2/models/DashboardListItems.ts index 4fc719131236..479b6e9ee3d5 100644 --- a/packages/datadog-api-client-v2/models/DashboardListItems.ts +++ b/packages/datadog-api-client-v2/models/DashboardListItems.ts @@ -20,6 +20,13 @@ export class DashboardListItems { */ "total"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class DashboardListItems { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListUpdateItemsRequest.ts b/packages/datadog-api-client-v2/models/DashboardListUpdateItemsRequest.ts index a5dd733ccddc..69151445568b 100644 --- a/packages/datadog-api-client-v2/models/DashboardListUpdateItemsRequest.ts +++ b/packages/datadog-api-client-v2/models/DashboardListUpdateItemsRequest.ts @@ -16,6 +16,13 @@ export class DashboardListUpdateItemsRequest { */ "dashboards"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListUpdateItemsRequest { baseName: "dashboards", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DashboardListUpdateItemsResponse.ts b/packages/datadog-api-client-v2/models/DashboardListUpdateItemsResponse.ts index 3c18249ff193..6687ef86db09 100644 --- a/packages/datadog-api-client-v2/models/DashboardListUpdateItemsResponse.ts +++ b/packages/datadog-api-client-v2/models/DashboardListUpdateItemsResponse.ts @@ -16,6 +16,13 @@ export class DashboardListUpdateItemsResponse { */ "dashboards"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DashboardListUpdateItemsResponse { baseName: "dashboards", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DataScalarColumn.ts b/packages/datadog-api-client-v2/models/DataScalarColumn.ts index eac76d4bd146..ce95dea44d58 100644 --- a/packages/datadog-api-client-v2/models/DataScalarColumn.ts +++ b/packages/datadog-api-client-v2/models/DataScalarColumn.ts @@ -29,6 +29,13 @@ export class DataScalarColumn { */ "values"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class DataScalarColumn { type: "Array", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DetailedFinding.ts b/packages/datadog-api-client-v2/models/DetailedFinding.ts index b4a19c7c86d3..2dd37e84cbcb 100644 --- a/packages/datadog-api-client-v2/models/DetailedFinding.ts +++ b/packages/datadog-api-client-v2/models/DetailedFinding.ts @@ -25,6 +25,13 @@ export class DetailedFinding { */ "type"?: DetailedFindingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class DetailedFinding { baseName: "type", type: "DetailedFindingType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DetailedFindingAttributes.ts b/packages/datadog-api-client-v2/models/DetailedFindingAttributes.ts index 4092035dc658..d9c242ab6101 100644 --- a/packages/datadog-api-client-v2/models/DetailedFindingAttributes.ts +++ b/packages/datadog-api-client-v2/models/DetailedFindingAttributes.ts @@ -59,6 +59,13 @@ export class DetailedFindingAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -114,6 +121,10 @@ export class DetailedFindingAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeCreateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeCreateRequest.ts index e3c1cdfacdbc..f12bfb181529 100644 --- a/packages/datadog-api-client-v2/models/DowntimeCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeCreateRequest.ts @@ -16,6 +16,13 @@ export class DowntimeCreateRequest { */ "data": DowntimeCreateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DowntimeCreateRequest { type: "DowntimeCreateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/DowntimeCreateRequestAttributes.ts index 8bcd721f44c9..edab1fed19c8 100644 --- a/packages/datadog-api-client-v2/models/DowntimeCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/DowntimeCreateRequestAttributes.ts @@ -49,6 +49,13 @@ export class DowntimeCreateRequestAttributes { */ "scope": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class DowntimeCreateRequestAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeCreateRequestData.ts b/packages/datadog-api-client-v2/models/DowntimeCreateRequestData.ts index 6a4f5ae787aa..791458be552a 100644 --- a/packages/datadog-api-client-v2/models/DowntimeCreateRequestData.ts +++ b/packages/datadog-api-client-v2/models/DowntimeCreateRequestData.ts @@ -21,6 +21,13 @@ export class DowntimeCreateRequestData { */ "type": DowntimeResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class DowntimeCreateRequestData { type: "DowntimeResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMeta.ts b/packages/datadog-api-client-v2/models/DowntimeMeta.ts index 522d495a2237..5ede678ba655 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMeta.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMeta.ts @@ -16,6 +16,13 @@ export class DowntimeMeta { */ "page"?: DowntimeMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DowntimeMeta { baseName: "page", type: "DowntimeMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMetaPage.ts b/packages/datadog-api-client-v2/models/DowntimeMetaPage.ts index 61ed4e3ccf52..a91e2035ae22 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMetaPage.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMetaPage.ts @@ -15,6 +15,13 @@ export class DowntimeMetaPage { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DowntimeMetaPage { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierId.ts b/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierId.ts index e38ed150e319..c404eb01e506 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierId.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierId.ts @@ -15,6 +15,13 @@ export class DowntimeMonitorIdentifierId { */ "monitorId": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DowntimeMonitorIdentifierId { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierTags.ts b/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierTags.ts index d2431a820a49..7a4f1f3389e6 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierTags.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMonitorIdentifierTags.ts @@ -18,6 +18,13 @@ export class DowntimeMonitorIdentifierTags { */ "monitorTags": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -32,6 +39,10 @@ export class DowntimeMonitorIdentifierTags { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedAttributes.ts b/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedAttributes.ts index de92d7de55b4..fdf030b322de 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedAttributes.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedAttributes.ts @@ -15,6 +15,13 @@ export class DowntimeMonitorIncludedAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class DowntimeMonitorIncludedAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedItem.ts b/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedItem.ts index 82b9363a6f2d..70972e8fddc1 100644 --- a/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedItem.ts +++ b/packages/datadog-api-client-v2/models/DowntimeMonitorIncludedItem.ts @@ -25,6 +25,13 @@ export class DowntimeMonitorIncludedItem { */ "type"?: DowntimeIncludedMonitorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class DowntimeMonitorIncludedItem { baseName: "type", type: "DowntimeIncludedMonitorType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeRelationships.ts b/packages/datadog-api-client-v2/models/DowntimeRelationships.ts index e8c73b5b99e3..b1c546b4a2d1 100644 --- a/packages/datadog-api-client-v2/models/DowntimeRelationships.ts +++ b/packages/datadog-api-client-v2/models/DowntimeRelationships.ts @@ -21,6 +21,13 @@ export class DowntimeRelationships { */ "monitor"?: DowntimeRelationshipsMonitor; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class DowntimeRelationships { baseName: "monitor", type: "DowntimeRelationshipsMonitor", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedBy.ts b/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedBy.ts index b1df89517649..f4a1cb4253a2 100644 --- a/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedBy.ts +++ b/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedBy.ts @@ -16,6 +16,13 @@ export class DowntimeRelationshipsCreatedBy { */ "data"?: DowntimeRelationshipsCreatedByData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DowntimeRelationshipsCreatedBy { baseName: "data", type: "DowntimeRelationshipsCreatedByData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedByData.ts b/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedByData.ts index 2e31bd47f6f4..6fe310859e13 100644 --- a/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedByData.ts +++ b/packages/datadog-api-client-v2/models/DowntimeRelationshipsCreatedByData.ts @@ -20,6 +20,13 @@ export class DowntimeRelationshipsCreatedByData { */ "type"?: UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class DowntimeRelationshipsCreatedByData { baseName: "type", type: "UsersType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitor.ts b/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitor.ts index 0c13cd2fe583..05f57685015d 100644 --- a/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitor.ts +++ b/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitor.ts @@ -16,6 +16,13 @@ export class DowntimeRelationshipsMonitor { */ "data"?: DowntimeRelationshipsMonitorData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class DowntimeRelationshipsMonitor { baseName: "data", type: "DowntimeRelationshipsMonitorData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitorData.ts b/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitorData.ts index 0968edcb87b1..d8bffaf20609 100644 --- a/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitorData.ts +++ b/packages/datadog-api-client-v2/models/DowntimeRelationshipsMonitorData.ts @@ -20,6 +20,13 @@ export class DowntimeRelationshipsMonitorData { */ "type"?: DowntimeIncludedMonitorType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class DowntimeRelationshipsMonitorData { baseName: "type", type: "DowntimeIncludedMonitorType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeResponse.ts b/packages/datadog-api-client-v2/models/DowntimeResponse.ts index a112bb3d6ecb..ad1e074e7710 100644 --- a/packages/datadog-api-client-v2/models/DowntimeResponse.ts +++ b/packages/datadog-api-client-v2/models/DowntimeResponse.ts @@ -24,6 +24,13 @@ export class DowntimeResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -41,6 +48,10 @@ export class DowntimeResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts b/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts index 5505df4c4309..a28eeaa1fc21 100644 --- a/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/DowntimeResponseAttributes.ts @@ -68,6 +68,13 @@ export class DowntimeResponseAttributes { */ "status"?: DowntimeStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -128,6 +135,10 @@ export class DowntimeResponseAttributes { baseName: "status", type: "DowntimeStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeResponseData.ts b/packages/datadog-api-client-v2/models/DowntimeResponseData.ts index f5de593ceac3..6cec2d81992f 100644 --- a/packages/datadog-api-client-v2/models/DowntimeResponseData.ts +++ b/packages/datadog-api-client-v2/models/DowntimeResponseData.ts @@ -30,6 +30,13 @@ export class DowntimeResponseData { */ "type"?: DowntimeResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class DowntimeResponseData { baseName: "type", type: "DowntimeResourceType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleCurrentDowntimeResponse.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleCurrentDowntimeResponse.ts index f48737a0a041..33aaf3aa3d09 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleCurrentDowntimeResponse.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleCurrentDowntimeResponse.ts @@ -21,6 +21,13 @@ export class DowntimeScheduleCurrentDowntimeResponse { */ "start"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class DowntimeScheduleCurrentDowntimeResponse { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts index 09b317310457..09e9816d10a5 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts @@ -21,6 +21,13 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest { */ "start"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeResponse.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeResponse.ts index e652179c21cd..aa519b4dab44 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeResponse.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeResponse.ts @@ -19,6 +19,13 @@ export class DowntimeScheduleOneTimeResponse { */ "start": Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class DowntimeScheduleOneTimeResponse { required: true, format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceCreateUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceCreateUpdateRequest.ts index 870224e4ddae..ddc2000cf64d 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceCreateUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceCreateUpdateRequest.ts @@ -29,6 +29,13 @@ export class DowntimeScheduleRecurrenceCreateUpdateRequest { */ "start"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class DowntimeScheduleRecurrenceCreateUpdateRequest { baseName: "start", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceResponse.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceResponse.ts index 723643c92e89..179ba228d83a 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceResponse.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrenceResponse.ts @@ -29,6 +29,13 @@ export class DowntimeScheduleRecurrenceResponse { */ "start"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class DowntimeScheduleRecurrenceResponse { baseName: "start", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesCreateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesCreateRequest.ts index cf55e08f8fae..535a558b0297 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesCreateRequest.ts @@ -20,6 +20,13 @@ export class DowntimeScheduleRecurrencesCreateRequest { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class DowntimeScheduleRecurrencesCreateRequest { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesResponse.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesResponse.ts index 5ac91439c089..a71d539a8c40 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesResponse.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesResponse.ts @@ -28,6 +28,13 @@ export class DowntimeScheduleRecurrencesResponse { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class DowntimeScheduleRecurrencesResponse { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts index 008a6fe67e60..f6ba38b06222 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts @@ -20,6 +20,13 @@ export class DowntimeScheduleRecurrencesUpdateRequest { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class DowntimeScheduleRecurrencesUpdateRequest { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeUpdateRequest.ts index 7bef2baba9cf..42e9e059a516 100644 --- a/packages/datadog-api-client-v2/models/DowntimeUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeUpdateRequest.ts @@ -16,6 +16,13 @@ export class DowntimeUpdateRequest { */ "data": DowntimeUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class DowntimeUpdateRequest { type: "DowntimeUpdateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/DowntimeUpdateRequestAttributes.ts index f4202d66c653..d25c969738cf 100644 --- a/packages/datadog-api-client-v2/models/DowntimeUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/DowntimeUpdateRequestAttributes.ts @@ -49,6 +49,13 @@ export class DowntimeUpdateRequestAttributes { */ "scope"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -90,6 +97,10 @@ export class DowntimeUpdateRequestAttributes { baseName: "scope", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeUpdateRequestData.ts b/packages/datadog-api-client-v2/models/DowntimeUpdateRequestData.ts index 499f605ce1c7..fc9a665fbcec 100644 --- a/packages/datadog-api-client-v2/models/DowntimeUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/DowntimeUpdateRequestData.ts @@ -25,6 +25,13 @@ export class DowntimeUpdateRequestData { */ "type": DowntimeResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class DowntimeUpdateRequestData { type: "DowntimeResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Event.ts b/packages/datadog-api-client-v2/models/Event.ts index e8ff38a242b8..e9aeac9eae51 100644 --- a/packages/datadog-api-client-v2/models/Event.ts +++ b/packages/datadog-api-client-v2/models/Event.ts @@ -27,6 +27,13 @@ export class Event { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class Event { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventAttributes.ts b/packages/datadog-api-client-v2/models/EventAttributes.ts index 5733830dd31e..dacbb8358f9b 100644 --- a/packages/datadog-api-client-v2/models/EventAttributes.ts +++ b/packages/datadog-api-client-v2/models/EventAttributes.ts @@ -97,6 +97,13 @@ export class EventAttributes { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -187,6 +194,10 @@ export class EventAttributes { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventResponse.ts b/packages/datadog-api-client-v2/models/EventResponse.ts index 8244a2e99980..d0df30ad1e43 100644 --- a/packages/datadog-api-client-v2/models/EventResponse.ts +++ b/packages/datadog-api-client-v2/models/EventResponse.ts @@ -25,6 +25,13 @@ export class EventResponse { */ "type"?: EventType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class EventResponse { baseName: "type", type: "EventType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventResponseAttributes.ts b/packages/datadog-api-client-v2/models/EventResponseAttributes.ts index 74f380d178d2..7ca397a36d8f 100644 --- a/packages/datadog-api-client-v2/models/EventResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/EventResponseAttributes.ts @@ -28,6 +28,13 @@ export class EventResponseAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class EventResponseAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsCompute.ts b/packages/datadog-api-client-v2/models/EventsCompute.ts index f456e90383bd..a5abe99727c0 100644 --- a/packages/datadog-api-client-v2/models/EventsCompute.ts +++ b/packages/datadog-api-client-v2/models/EventsCompute.ts @@ -24,6 +24,13 @@ export class EventsCompute { */ "metric"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class EventsCompute { baseName: "metric", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsGroupBy.ts b/packages/datadog-api-client-v2/models/EventsGroupBy.ts index ffaa7bb3eae1..1631d2ea28b8 100644 --- a/packages/datadog-api-client-v2/models/EventsGroupBy.ts +++ b/packages/datadog-api-client-v2/models/EventsGroupBy.ts @@ -24,6 +24,13 @@ export class EventsGroupBy { */ "sort"?: EventsGroupBySort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class EventsGroupBy { baseName: "sort", type: "EventsGroupBySort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsGroupBySort.ts b/packages/datadog-api-client-v2/models/EventsGroupBySort.ts index cd456e1f7196..df7fa7aa2386 100644 --- a/packages/datadog-api-client-v2/models/EventsGroupBySort.ts +++ b/packages/datadog-api-client-v2/models/EventsGroupBySort.ts @@ -30,6 +30,13 @@ export class EventsGroupBySort { */ "type"?: EventsSortType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class EventsGroupBySort { baseName: "type", type: "EventsSortType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsListRequest.ts b/packages/datadog-api-client-v2/models/EventsListRequest.ts index 7e1da3d2802f..fe1a0b09a80e 100644 --- a/packages/datadog-api-client-v2/models/EventsListRequest.ts +++ b/packages/datadog-api-client-v2/models/EventsListRequest.ts @@ -32,6 +32,13 @@ export class EventsListRequest { */ "sort"?: EventsSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class EventsListRequest { baseName: "sort", type: "EventsSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsListResponse.ts b/packages/datadog-api-client-v2/models/EventsListResponse.ts index 3cd998c5cd5d..983629c4fa02 100644 --- a/packages/datadog-api-client-v2/models/EventsListResponse.ts +++ b/packages/datadog-api-client-v2/models/EventsListResponse.ts @@ -26,6 +26,13 @@ export class EventsListResponse { */ "meta"?: EventsResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class EventsListResponse { baseName: "meta", type: "EventsResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsListResponseLinks.ts b/packages/datadog-api-client-v2/models/EventsListResponseLinks.ts index ca3218b49c06..670d18bd2d05 100644 --- a/packages/datadog-api-client-v2/models/EventsListResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/EventsListResponseLinks.ts @@ -16,6 +16,13 @@ export class EventsListResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class EventsListResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsQueryFilter.ts b/packages/datadog-api-client-v2/models/EventsQueryFilter.ts index 92c21d86b8ff..b979db6bd115 100644 --- a/packages/datadog-api-client-v2/models/EventsQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/EventsQueryFilter.ts @@ -23,6 +23,13 @@ export class EventsQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class EventsQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsQueryOptions.ts b/packages/datadog-api-client-v2/models/EventsQueryOptions.ts index 396c73b011c9..d15fd01931fe 100644 --- a/packages/datadog-api-client-v2/models/EventsQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/EventsQueryOptions.ts @@ -20,6 +20,13 @@ export class EventsQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class EventsQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsRequestPage.ts b/packages/datadog-api-client-v2/models/EventsRequestPage.ts index 82560cbdb2ca..bc451b7d94bd 100644 --- a/packages/datadog-api-client-v2/models/EventsRequestPage.ts +++ b/packages/datadog-api-client-v2/models/EventsRequestPage.ts @@ -19,6 +19,13 @@ export class EventsRequestPage { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class EventsRequestPage { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsResponseMetadata.ts b/packages/datadog-api-client-v2/models/EventsResponseMetadata.ts index b12851f5294b..dedeffc87bba 100644 --- a/packages/datadog-api-client-v2/models/EventsResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/EventsResponseMetadata.ts @@ -34,6 +34,13 @@ export class EventsResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class EventsResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.ts b/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.ts index cfebfca0e896..3824986a5141 100644 --- a/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.ts +++ b/packages/datadog-api-client-v2/models/EventsResponseMetadataPage.ts @@ -16,6 +16,13 @@ export class EventsResponseMetadataPage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class EventsResponseMetadataPage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsScalarQuery.ts b/packages/datadog-api-client-v2/models/EventsScalarQuery.ts index 7bcc4e5af7c1..7da5b8c8cd6c 100644 --- a/packages/datadog-api-client-v2/models/EventsScalarQuery.ts +++ b/packages/datadog-api-client-v2/models/EventsScalarQuery.ts @@ -39,6 +39,13 @@ export class EventsScalarQuery { */ "search"?: EventsSearch; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class EventsScalarQuery { baseName: "search", type: "EventsSearch", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsSearch.ts b/packages/datadog-api-client-v2/models/EventsSearch.ts index 805b724ea9a0..b0d3f2b5096e 100644 --- a/packages/datadog-api-client-v2/models/EventsSearch.ts +++ b/packages/datadog-api-client-v2/models/EventsSearch.ts @@ -15,6 +15,13 @@ export class EventsSearch { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class EventsSearch { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.ts b/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.ts index abdad003c385..9bc730ce26c2 100644 --- a/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.ts +++ b/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.ts @@ -39,6 +39,13 @@ export class EventsTimeseriesQuery { */ "search"?: EventsSearch; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class EventsTimeseriesQuery { baseName: "search", type: "EventsSearch", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/EventsWarning.ts b/packages/datadog-api-client-v2/models/EventsWarning.ts index 1e4133484298..5b1c5c27cf4f 100644 --- a/packages/datadog-api-client-v2/models/EventsWarning.ts +++ b/packages/datadog-api-client-v2/models/EventsWarning.ts @@ -23,6 +23,13 @@ export class EventsWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class EventsWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccounResponseAttributes.ts b/packages/datadog-api-client-v2/models/FastlyAccounResponseAttributes.ts index e73977488cce..1a0e537079a1 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccounResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccounResponseAttributes.ts @@ -20,6 +20,13 @@ export class FastlyAccounResponseAttributes { */ "services"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class FastlyAccounResponseAttributes { baseName: "services", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequest.ts b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequest.ts index fa8484791cdc..f150ecb5c683 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequest.ts @@ -16,6 +16,13 @@ export class FastlyAccountCreateRequest { */ "data": FastlyAccountCreateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class FastlyAccountCreateRequest { type: "FastlyAccountCreateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestAttributes.ts index 8eb0e6c3832b..d745d75fb0f6 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestAttributes.ts @@ -24,6 +24,13 @@ export class FastlyAccountCreateRequestAttributes { */ "services"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class FastlyAccountCreateRequestAttributes { baseName: "services", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestData.ts b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestData.ts index 8c5b0564a6bd..90e107e75a75 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestData.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountCreateRequestData.ts @@ -21,6 +21,13 @@ export class FastlyAccountCreateRequestData { */ "type": FastlyAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class FastlyAccountCreateRequestData { type: "FastlyAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountResponse.ts b/packages/datadog-api-client-v2/models/FastlyAccountResponse.ts index 0bd3cd51d975..39a8afc8c6e2 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountResponse.ts @@ -16,6 +16,13 @@ export class FastlyAccountResponse { */ "data"?: FastlyAccountResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class FastlyAccountResponse { baseName: "data", type: "FastlyAccountResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountResponseData.ts b/packages/datadog-api-client-v2/models/FastlyAccountResponseData.ts index 79918062b919..67971ea693ca 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountResponseData.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountResponseData.ts @@ -25,6 +25,13 @@ export class FastlyAccountResponseData { */ "type": FastlyAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class FastlyAccountResponseData { type: "FastlyAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequest.ts b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequest.ts index 251409ddb096..f7cba75e7c20 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequest.ts @@ -16,6 +16,13 @@ export class FastlyAccountUpdateRequest { */ "data": FastlyAccountUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class FastlyAccountUpdateRequest { type: "FastlyAccountUpdateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestAttributes.ts index 5ab2c6416113..2a1b235fb450 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestAttributes.ts @@ -15,6 +15,13 @@ export class FastlyAccountUpdateRequestAttributes { */ "apiKey"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class FastlyAccountUpdateRequestAttributes { baseName: "api_key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestData.ts b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestData.ts index 92ae739bbbd5..35b706b65601 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountUpdateRequestData.ts @@ -21,6 +21,13 @@ export class FastlyAccountUpdateRequestData { */ "type"?: FastlyAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class FastlyAccountUpdateRequestData { baseName: "type", type: "FastlyAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyAccountsResponse.ts b/packages/datadog-api-client-v2/models/FastlyAccountsResponse.ts index 6c54d3446e25..1d21796b78fa 100644 --- a/packages/datadog-api-client-v2/models/FastlyAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/FastlyAccountsResponse.ts @@ -16,6 +16,13 @@ export class FastlyAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class FastlyAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyService.ts b/packages/datadog-api-client-v2/models/FastlyService.ts index df8e9c300019..1b93694158e7 100644 --- a/packages/datadog-api-client-v2/models/FastlyService.ts +++ b/packages/datadog-api-client-v2/models/FastlyService.ts @@ -19,6 +19,13 @@ export class FastlyService { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class FastlyService { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyServiceAttributes.ts b/packages/datadog-api-client-v2/models/FastlyServiceAttributes.ts index 62fab3d185b7..32c3159a465c 100644 --- a/packages/datadog-api-client-v2/models/FastlyServiceAttributes.ts +++ b/packages/datadog-api-client-v2/models/FastlyServiceAttributes.ts @@ -15,6 +15,13 @@ export class FastlyServiceAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class FastlyServiceAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyServiceData.ts b/packages/datadog-api-client-v2/models/FastlyServiceData.ts index 06538182177c..cbca00b80531 100644 --- a/packages/datadog-api-client-v2/models/FastlyServiceData.ts +++ b/packages/datadog-api-client-v2/models/FastlyServiceData.ts @@ -25,6 +25,13 @@ export class FastlyServiceData { */ "type": FastlyServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class FastlyServiceData { type: "FastlyServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyServiceRequest.ts b/packages/datadog-api-client-v2/models/FastlyServiceRequest.ts index 11eb4ebef83a..671d8ffa0974 100644 --- a/packages/datadog-api-client-v2/models/FastlyServiceRequest.ts +++ b/packages/datadog-api-client-v2/models/FastlyServiceRequest.ts @@ -16,6 +16,13 @@ export class FastlyServiceRequest { */ "data": FastlyServiceData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class FastlyServiceRequest { type: "FastlyServiceData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyServiceResponse.ts b/packages/datadog-api-client-v2/models/FastlyServiceResponse.ts index 95e94a093d87..6abf7e893605 100644 --- a/packages/datadog-api-client-v2/models/FastlyServiceResponse.ts +++ b/packages/datadog-api-client-v2/models/FastlyServiceResponse.ts @@ -16,6 +16,13 @@ export class FastlyServiceResponse { */ "data"?: FastlyServiceData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class FastlyServiceResponse { baseName: "data", type: "FastlyServiceData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FastlyServicesResponse.ts b/packages/datadog-api-client-v2/models/FastlyServicesResponse.ts index 4162a8471843..f1a522a4466a 100644 --- a/packages/datadog-api-client-v2/models/FastlyServicesResponse.ts +++ b/packages/datadog-api-client-v2/models/FastlyServicesResponse.ts @@ -16,6 +16,13 @@ export class FastlyServicesResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class FastlyServicesResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Finding.ts b/packages/datadog-api-client-v2/models/Finding.ts index 47c933b4fcbc..1dc256506917 100644 --- a/packages/datadog-api-client-v2/models/Finding.ts +++ b/packages/datadog-api-client-v2/models/Finding.ts @@ -25,6 +25,13 @@ export class Finding { */ "type"?: FindingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class Finding { baseName: "type", type: "FindingType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FindingAttributes.ts b/packages/datadog-api-client-v2/models/FindingAttributes.ts index c2675c411083..dfcb9e48d0db 100644 --- a/packages/datadog-api-client-v2/models/FindingAttributes.ts +++ b/packages/datadog-api-client-v2/models/FindingAttributes.ts @@ -51,6 +51,13 @@ export class FindingAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -98,6 +105,10 @@ export class FindingAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FormulaLimit.ts b/packages/datadog-api-client-v2/models/FormulaLimit.ts index f8d6ef72e7d1..49f2914a7dfc 100644 --- a/packages/datadog-api-client-v2/models/FormulaLimit.ts +++ b/packages/datadog-api-client-v2/models/FormulaLimit.ts @@ -21,6 +21,13 @@ export class FormulaLimit { */ "order"?: QuerySortOrder; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class FormulaLimit { baseName: "order", type: "QuerySortOrder", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FullAPIKey.ts b/packages/datadog-api-client-v2/models/FullAPIKey.ts index 185e1881b73a..7a1557dd667e 100644 --- a/packages/datadog-api-client-v2/models/FullAPIKey.ts +++ b/packages/datadog-api-client-v2/models/FullAPIKey.ts @@ -30,6 +30,13 @@ export class FullAPIKey { */ "type"?: APIKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class FullAPIKey { baseName: "type", type: "APIKeysType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.ts b/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.ts index 9f4a874a58b6..a9a6b766481b 100644 --- a/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.ts +++ b/packages/datadog-api-client-v2/models/FullAPIKeyAttributes.ts @@ -39,6 +39,13 @@ export class FullAPIKeyAttributes { */ "remoteConfigReadEnabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -76,6 +83,10 @@ export class FullAPIKeyAttributes { baseName: "remote_config_read_enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FullApplicationKey.ts b/packages/datadog-api-client-v2/models/FullApplicationKey.ts index 0e58dde3b8bc..2c89ffd0b7af 100644 --- a/packages/datadog-api-client-v2/models/FullApplicationKey.ts +++ b/packages/datadog-api-client-v2/models/FullApplicationKey.ts @@ -30,6 +30,13 @@ export class FullApplicationKey { */ "type"?: ApplicationKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class FullApplicationKey { baseName: "type", type: "ApplicationKeysType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.ts b/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.ts index 92ede9b8364c..d95211c3d0c5 100644 --- a/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.ts +++ b/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.ts @@ -31,6 +31,13 @@ export class FullApplicationKeyAttributes { */ "scopes"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class FullApplicationKeyAttributes { baseName: "scopes", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.ts b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.ts index 2ec07e75dc72..67f1ef612b0d 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.ts @@ -25,6 +25,13 @@ export class GCPSTSDelegateAccount { */ "type"?: GCPSTSDelegateAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class GCPSTSDelegateAccount { baseName: "type", type: "GCPSTSDelegateAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.ts b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.ts index 9ca6c4ab8d30..a821bb2e34f3 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.ts @@ -15,6 +15,13 @@ export class GCPSTSDelegateAccountAttributes { */ "delegateAccountEmail"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class GCPSTSDelegateAccountAttributes { baseName: "delegate_account_email", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.ts b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.ts index 8b1968d42ee3..dada532f002b 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.ts @@ -16,6 +16,13 @@ export class GCPSTSDelegateAccountResponse { */ "data"?: GCPSTSDelegateAccount; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GCPSTSDelegateAccountResponse { baseName: "data", type: "GCPSTSDelegateAccount", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.ts index d4d52d822004..329fe8155361 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.ts @@ -30,6 +30,13 @@ export class GCPSTSServiceAccount { */ "type"?: GCPServiceAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class GCPSTSServiceAccount { baseName: "type", type: "GCPServiceAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts index 500ece97d31f..ee80bf6046d7 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.ts @@ -44,6 +44,13 @@ export class GCPSTSServiceAccountAttributes { */ "resourceCollectionEnabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -85,6 +92,10 @@ export class GCPSTSServiceAccountAttributes { baseName: "resource_collection_enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.ts index ee1d3c74950f..4caa6bd0bb87 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.ts @@ -16,6 +16,13 @@ export class GCPSTSServiceAccountCreateRequest { */ "data"?: GCPSTSServiceAccountData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GCPSTSServiceAccountCreateRequest { baseName: "data", type: "GCPSTSServiceAccountData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.ts index d1d1c666a05a..3a49127dbdd8 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.ts @@ -21,6 +21,13 @@ export class GCPSTSServiceAccountData { */ "type"?: GCPServiceAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class GCPSTSServiceAccountData { baseName: "type", type: "GCPServiceAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.ts index 4d48f129ba62..c197bdd758ba 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.ts @@ -16,6 +16,13 @@ export class GCPSTSServiceAccountResponse { */ "data"?: GCPSTSServiceAccount; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GCPSTSServiceAccountResponse { baseName: "data", type: "GCPSTSServiceAccount", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.ts index 680c91322172..761945690a73 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.ts @@ -16,6 +16,13 @@ export class GCPSTSServiceAccountUpdateRequest { */ "data"?: GCPSTSServiceAccountUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GCPSTSServiceAccountUpdateRequest { baseName: "data", type: "GCPSTSServiceAccountUpdateRequestData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.ts index f173544d6553..9eb21ee8850b 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.ts @@ -25,6 +25,13 @@ export class GCPSTSServiceAccountUpdateRequestData { */ "type"?: GCPServiceAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class GCPSTSServiceAccountUpdateRequestData { baseName: "type", type: "GCPServiceAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.ts b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.ts index 9186e45e6ec5..06f2e52cc839 100644 --- a/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.ts @@ -16,6 +16,13 @@ export class GCPSTSServiceAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class GCPSTSServiceAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.ts b/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.ts index 22cd63ef0048..582bef043ee7 100644 --- a/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.ts +++ b/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.ts @@ -15,6 +15,13 @@ export class GCPServiceAccountMeta { */ "accessibleProjects"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class GCPServiceAccountMeta { baseName: "accessible_projects", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GetFindingResponse.ts b/packages/datadog-api-client-v2/models/GetFindingResponse.ts index b456dfda9615..2b33241abf4e 100644 --- a/packages/datadog-api-client-v2/models/GetFindingResponse.ts +++ b/packages/datadog-api-client-v2/models/GetFindingResponse.ts @@ -16,6 +16,13 @@ export class GetFindingResponse { */ "data": DetailedFinding; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class GetFindingResponse { type: "DetailedFinding", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/GroupScalarColumn.ts b/packages/datadog-api-client-v2/models/GroupScalarColumn.ts index 7d5a8544548c..55cf41cfe70e 100644 --- a/packages/datadog-api-client-v2/models/GroupScalarColumn.ts +++ b/packages/datadog-api-client-v2/models/GroupScalarColumn.ts @@ -24,6 +24,13 @@ export class GroupScalarColumn { */ "values"?: Array>; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class GroupScalarColumn { baseName: "values", type: "Array>", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HTTPCIAppError.ts b/packages/datadog-api-client-v2/models/HTTPCIAppError.ts index 773d9078cc76..f8a0166137b9 100644 --- a/packages/datadog-api-client-v2/models/HTTPCIAppError.ts +++ b/packages/datadog-api-client-v2/models/HTTPCIAppError.ts @@ -23,6 +23,13 @@ export class HTTPCIAppError { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class HTTPCIAppError { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HTTPCIAppErrors.ts b/packages/datadog-api-client-v2/models/HTTPCIAppErrors.ts index 0e7903cd0dd5..9bc19bc1a5ff 100644 --- a/packages/datadog-api-client-v2/models/HTTPCIAppErrors.ts +++ b/packages/datadog-api-client-v2/models/HTTPCIAppErrors.ts @@ -16,6 +16,13 @@ export class HTTPCIAppErrors { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class HTTPCIAppErrors { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HTTPLogError.ts b/packages/datadog-api-client-v2/models/HTTPLogError.ts index c95b6d32d205..334839bf9e93 100644 --- a/packages/datadog-api-client-v2/models/HTTPLogError.ts +++ b/packages/datadog-api-client-v2/models/HTTPLogError.ts @@ -23,6 +23,13 @@ export class HTTPLogError { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class HTTPLogError { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HTTPLogErrors.ts b/packages/datadog-api-client-v2/models/HTTPLogErrors.ts index 36047da9e186..2936937bd361 100644 --- a/packages/datadog-api-client-v2/models/HTTPLogErrors.ts +++ b/packages/datadog-api-client-v2/models/HTTPLogErrors.ts @@ -16,6 +16,13 @@ export class HTTPLogErrors { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class HTTPLogErrors { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsage.ts b/packages/datadog-api-client-v2/models/HourlyUsage.ts index eb4e131617d1..0abc34769b1b 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsage.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsage.ts @@ -25,6 +25,13 @@ export class HourlyUsage { */ "type"?: UsageTimeSeriesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class HourlyUsage { baseName: "type", type: "UsageTimeSeriesType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsageAttributes.ts b/packages/datadog-api-client-v2/models/HourlyUsageAttributes.ts index 65a190d40f9f..c7b6a03abfe1 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsageAttributes.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsageAttributes.ts @@ -36,6 +36,13 @@ export class HourlyUsageAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -70,6 +77,10 @@ export class HourlyUsageAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.ts b/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.ts index 9aceb4a46c5b..219b66b7da62 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsageMeasurement.ts @@ -19,6 +19,13 @@ export class HourlyUsageMeasurement { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class HourlyUsageMeasurement { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsageMetadata.ts b/packages/datadog-api-client-v2/models/HourlyUsageMetadata.ts index f9feb23ce5f5..340121d29c91 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsageMetadata.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsageMetadata.ts @@ -16,6 +16,13 @@ export class HourlyUsageMetadata { */ "pagination"?: HourlyUsagePagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class HourlyUsageMetadata { baseName: "pagination", type: "HourlyUsagePagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsagePagination.ts b/packages/datadog-api-client-v2/models/HourlyUsagePagination.ts index 7769065c46ad..ebb9cf5ad803 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsagePagination.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsagePagination.ts @@ -15,6 +15,13 @@ export class HourlyUsagePagination { */ "nextRecordId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class HourlyUsagePagination { baseName: "next_record_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/HourlyUsageResponse.ts b/packages/datadog-api-client-v2/models/HourlyUsageResponse.ts index e991084865c2..cf6493d8ed06 100644 --- a/packages/datadog-api-client-v2/models/HourlyUsageResponse.ts +++ b/packages/datadog-api-client-v2/models/HourlyUsageResponse.ts @@ -21,6 +21,13 @@ export class HourlyUsageResponse { */ "meta"?: HourlyUsageMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class HourlyUsageResponse { baseName: "meta", type: "HourlyUsageMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistAttributes.ts b/packages/datadog-api-client-v2/models/IPAllowlistAttributes.ts index 4c8465fe087f..3181faf2ee9e 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistAttributes.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistAttributes.ts @@ -20,6 +20,13 @@ export class IPAllowlistAttributes { */ "entries"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IPAllowlistAttributes { baseName: "entries", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistData.ts b/packages/datadog-api-client-v2/models/IPAllowlistData.ts index 8058d671f47f..c06a780d7df9 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistData.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistData.ts @@ -25,6 +25,13 @@ export class IPAllowlistData { */ "type": IPAllowlistType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class IPAllowlistData { type: "IPAllowlistType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistEntry.ts b/packages/datadog-api-client-v2/models/IPAllowlistEntry.ts index b7905b512995..f453bee9ba9d 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistEntry.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistEntry.ts @@ -16,6 +16,13 @@ export class IPAllowlistEntry { */ "data": IPAllowlistEntryData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IPAllowlistEntry { type: "IPAllowlistEntryData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistEntryAttributes.ts b/packages/datadog-api-client-v2/models/IPAllowlistEntryAttributes.ts index 2491b41ed27d..1f53ac4a1431 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistEntryAttributes.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistEntryAttributes.ts @@ -27,6 +27,13 @@ export class IPAllowlistEntryAttributes { */ "note"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class IPAllowlistEntryAttributes { baseName: "note", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistEntryData.ts b/packages/datadog-api-client-v2/models/IPAllowlistEntryData.ts index 91fde35b4fc2..15640d4d7198 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistEntryData.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistEntryData.ts @@ -25,6 +25,13 @@ export class IPAllowlistEntryData { */ "type": IPAllowlistEntryType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class IPAllowlistEntryData { type: "IPAllowlistEntryType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistResponse.ts b/packages/datadog-api-client-v2/models/IPAllowlistResponse.ts index ce38b8becae3..68a02dc0e43b 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistResponse.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistResponse.ts @@ -16,6 +16,13 @@ export class IPAllowlistResponse { */ "data"?: IPAllowlistData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IPAllowlistResponse { baseName: "data", type: "IPAllowlistData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IPAllowlistUpdateRequest.ts b/packages/datadog-api-client-v2/models/IPAllowlistUpdateRequest.ts index 98890924569c..a19216a9fe3f 100644 --- a/packages/datadog-api-client-v2/models/IPAllowlistUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/IPAllowlistUpdateRequest.ts @@ -16,6 +16,13 @@ export class IPAllowlistUpdateRequest { */ "data": IPAllowlistData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IPAllowlistUpdateRequest { type: "IPAllowlistData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IdPMetadataFormData.ts b/packages/datadog-api-client-v2/models/IdPMetadataFormData.ts index 3bd9a9e413d9..26482e06544e 100644 --- a/packages/datadog-api-client-v2/models/IdPMetadataFormData.ts +++ b/packages/datadog-api-client-v2/models/IdPMetadataFormData.ts @@ -17,6 +17,13 @@ export class IdPMetadataFormData { */ "idpFile"?: HttpFile; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class IdPMetadataFormData { type: "HttpFile", format: "binary", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentData.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentData.ts index 31e888bb6db7..514813ac26f5 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentData.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentData.ts @@ -30,6 +30,13 @@ export class IncidentAttachmentData { */ "type": IncidentAttachmentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class IncidentAttachmentData { type: "IncidentAttachmentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.ts index ee4d17f2cbe7..d3859dd83ec5 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.ts @@ -25,6 +25,13 @@ export class IncidentAttachmentLinkAttributes { */ "modified"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class IncidentAttachmentLinkAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.ts index 514b047f0b79..53bd4642049b 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.ts @@ -19,6 +19,13 @@ export class IncidentAttachmentLinkAttributesAttachmentObject { */ "title": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class IncidentAttachmentLinkAttributesAttachmentObject { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.ts index 4ba13befad69..4302a3dad37f 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.ts @@ -21,6 +21,13 @@ export class IncidentAttachmentPostmortemAttributes { */ "attachmentType": IncidentAttachmentPostmortemAttachmentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentAttachmentPostmortemAttributes { type: "IncidentAttachmentPostmortemAttachmentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.ts index 07bb1e411ce4..15d454d248fa 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.ts @@ -16,6 +16,13 @@ export class IncidentAttachmentRelationships { */ "lastModifiedByUser"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentAttachmentRelationships { baseName: "last_modified_by_user", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.ts index 6b65875d8e04..4197e57ebf72 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.ts @@ -25,6 +25,13 @@ export class IncidentAttachmentUpdateData { */ "type": IncidentAttachmentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class IncidentAttachmentUpdateData { type: "IncidentAttachmentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.ts index 5ececfec236a..162984293e33 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.ts @@ -19,6 +19,13 @@ export class IncidentAttachmentUpdateRequest { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -33,6 +40,10 @@ export class IncidentAttachmentUpdateRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.ts index 18aeb645efbe..3f0103d68860 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.ts @@ -22,6 +22,13 @@ export class IncidentAttachmentUpdateResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentAttachmentUpdateResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.ts index 46fa10091d02..62a800939585 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.ts @@ -19,6 +19,13 @@ export class IncidentAttachmentsPostmortemAttributesAttachmentObject { */ "title": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class IncidentAttachmentsPostmortemAttributesAttachmentObject { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.ts b/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.ts index 0b0baab7f0c0..874099a8ebad 100644 --- a/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.ts @@ -21,6 +21,13 @@ export class IncidentAttachmentsResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentAttachmentsResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentCreateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentCreateAttributes.ts index 9d07d79f20b4..8f781d86a9c5 100644 --- a/packages/datadog-api-client-v2/models/IncidentCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentCreateAttributes.ts @@ -38,6 +38,13 @@ export class IncidentCreateAttributes { */ "title": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class IncidentCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentCreateData.ts b/packages/datadog-api-client-v2/models/IncidentCreateData.ts index c6a9a7394eac..d81d9c7d8018 100644 --- a/packages/datadog-api-client-v2/models/IncidentCreateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentCreateData.ts @@ -26,6 +26,13 @@ export class IncidentCreateData { */ "type": IncidentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class IncidentCreateData { type: "IncidentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentCreateRelationships.ts b/packages/datadog-api-client-v2/models/IncidentCreateRelationships.ts index 8e1191263b89..2752b0462d45 100644 --- a/packages/datadog-api-client-v2/models/IncidentCreateRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentCreateRelationships.ts @@ -16,6 +16,13 @@ export class IncidentCreateRelationships { */ "commanderUser": NullableRelationshipToUser | null; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentCreateRelationships { type: "NullableRelationshipToUser", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentCreateRequest.ts b/packages/datadog-api-client-v2/models/IncidentCreateRequest.ts index 182a005bf9c4..ade6782ed9c6 100644 --- a/packages/datadog-api-client-v2/models/IncidentCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentCreateRequest.ts @@ -16,6 +16,13 @@ export class IncidentCreateRequest { */ "data": IncidentCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentCreateRequest { type: "IncidentCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentFieldAttributesMultipleValue.ts b/packages/datadog-api-client-v2/models/IncidentFieldAttributesMultipleValue.ts index bd23f528f12b..632d55bc16d6 100644 --- a/packages/datadog-api-client-v2/models/IncidentFieldAttributesMultipleValue.ts +++ b/packages/datadog-api-client-v2/models/IncidentFieldAttributesMultipleValue.ts @@ -20,6 +20,13 @@ export class IncidentFieldAttributesMultipleValue { */ "value"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentFieldAttributesMultipleValue { baseName: "value", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentFieldAttributesSingleValue.ts b/packages/datadog-api-client-v2/models/IncidentFieldAttributesSingleValue.ts index ed5475182032..1e2513126504 100644 --- a/packages/datadog-api-client-v2/models/IncidentFieldAttributesSingleValue.ts +++ b/packages/datadog-api-client-v2/models/IncidentFieldAttributesSingleValue.ts @@ -20,6 +20,13 @@ export class IncidentFieldAttributesSingleValue { */ "value"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentFieldAttributesSingleValue { baseName: "value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.ts index 533c624feaa3..5b09d3c20558 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataAttributes.ts @@ -39,6 +39,13 @@ export class IncidentIntegrationMetadataAttributes { */ "status"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -78,6 +85,10 @@ export class IncidentIntegrationMetadataAttributes { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateData.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateData.ts index 12a1df02c3c0..fa578e86d546 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateData.ts @@ -21,6 +21,13 @@ export class IncidentIntegrationMetadataCreateData { */ "type": IncidentIntegrationMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentIntegrationMetadataCreateData { type: "IncidentIntegrationMetadataType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateRequest.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateRequest.ts index 0aeb781cece8..1bd082311163 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataCreateRequest.ts @@ -16,6 +16,13 @@ export class IncidentIntegrationMetadataCreateRequest { */ "data": IncidentIntegrationMetadataCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentIntegrationMetadataCreateRequest { type: "IncidentIntegrationMetadataCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataListResponse.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataListResponse.ts index 87c5a19159d4..756d9e536e3b 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataListResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataListResponse.ts @@ -26,6 +26,13 @@ export class IncidentIntegrationMetadataListResponse { */ "meta"?: IncidentResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentIntegrationMetadataListResponse { baseName: "meta", type: "IncidentResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchData.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchData.ts index ed1a63922a23..97c63a10693b 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchData.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchData.ts @@ -21,6 +21,13 @@ export class IncidentIntegrationMetadataPatchData { */ "type": IncidentIntegrationMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentIntegrationMetadataPatchData { type: "IncidentIntegrationMetadataType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchRequest.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchRequest.ts index 87e81f9d6145..84396f05889b 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataPatchRequest.ts @@ -16,6 +16,13 @@ export class IncidentIntegrationMetadataPatchRequest { */ "data": IncidentIntegrationMetadataPatchData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentIntegrationMetadataPatchRequest { type: "IncidentIntegrationMetadataPatchData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponse.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponse.ts index 22d74e26849f..f57ab4382cab 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponse.ts @@ -21,6 +21,13 @@ export class IncidentIntegrationMetadataResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentIntegrationMetadataResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponseData.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponseData.ts index b794cfc188c9..bb5120c6010c 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationMetadataResponseData.ts @@ -30,6 +30,13 @@ export class IncidentIntegrationMetadataResponseData { */ "type": IncidentIntegrationMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentIntegrationMetadataResponseData { type: "IncidentIntegrationMetadataType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentIntegrationRelationships.ts b/packages/datadog-api-client-v2/models/IncidentIntegrationRelationships.ts index ea4b94b0bd3d..a2a3878ca4e8 100644 --- a/packages/datadog-api-client-v2/models/IncidentIntegrationRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentIntegrationRelationships.ts @@ -20,6 +20,13 @@ export class IncidentIntegrationRelationships { */ "lastModifiedByUser"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentIntegrationRelationships { baseName: "last_modified_by_user", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentNonDatadogCreator.ts b/packages/datadog-api-client-v2/models/IncidentNonDatadogCreator.ts index b719b8fdae0a..a04e09d7cdc1 100644 --- a/packages/datadog-api-client-v2/models/IncidentNonDatadogCreator.ts +++ b/packages/datadog-api-client-v2/models/IncidentNonDatadogCreator.ts @@ -19,6 +19,13 @@ export class IncidentNonDatadogCreator { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IncidentNonDatadogCreator { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentNotificationHandle.ts b/packages/datadog-api-client-v2/models/IncidentNotificationHandle.ts index e5ddc5cfaf6f..c74681abaa49 100644 --- a/packages/datadog-api-client-v2/models/IncidentNotificationHandle.ts +++ b/packages/datadog-api-client-v2/models/IncidentNotificationHandle.ts @@ -19,6 +19,13 @@ export class IncidentNotificationHandle { */ "handle"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class IncidentNotificationHandle { baseName: "handle", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponse.ts b/packages/datadog-api-client-v2/models/IncidentResponse.ts index 12f93df67da0..fcdd7f90d094 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponse.ts @@ -21,6 +21,13 @@ export class IncidentResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponseAttributes.ts b/packages/datadog-api-client-v2/models/IncidentResponseAttributes.ts index fe6a5f2bac71..ec5470aa34e2 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponseAttributes.ts @@ -109,6 +109,13 @@ export class IncidentResponseAttributes { */ "visibility"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -225,6 +232,10 @@ export class IncidentResponseAttributes { baseName: "visibility", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponseData.ts b/packages/datadog-api-client-v2/models/IncidentResponseData.ts index 4725f6c011b9..c33bd60dbd50 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponseData.ts @@ -30,6 +30,13 @@ export class IncidentResponseData { */ "type": IncidentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentResponseData { type: "IncidentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponseMeta.ts b/packages/datadog-api-client-v2/models/IncidentResponseMeta.ts index eeba720f9561..b35c6e38a01a 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponseMeta.ts @@ -16,6 +16,13 @@ export class IncidentResponseMeta { */ "pagination"?: IncidentResponseMetaPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentResponseMeta { baseName: "pagination", type: "IncidentResponseMetaPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.ts b/packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.ts index 0ca7f870ee18..9ed38110ad26 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponseMetaPagination.ts @@ -23,6 +23,13 @@ export class IncidentResponseMetaPagination { */ "size"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class IncidentResponseMetaPagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentResponseRelationships.ts b/packages/datadog-api-client-v2/models/IncidentResponseRelationships.ts index 4abc0fd27f20..a95b08c71a71 100644 --- a/packages/datadog-api-client-v2/models/IncidentResponseRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentResponseRelationships.ts @@ -50,6 +50,13 @@ export class IncidentResponseRelationships { */ "userDefinedFields"?: RelationshipToIncidentUserDefinedFields; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class IncidentResponseRelationships { baseName: "user_defined_fields", type: "RelationshipToIncidentUserDefinedFields", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponse.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponse.ts index 75599c697c98..f06ba8fc8523 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponse.ts @@ -26,6 +26,13 @@ export class IncidentSearchResponse { */ "meta"?: IncidentSearchResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentSearchResponse { baseName: "meta", type: "IncidentSearchResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseAttributes.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseAttributes.ts index 67f3e4aaeafd..179107c887d7 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseAttributes.ts @@ -25,6 +25,13 @@ export class IncidentSearchResponseAttributes { */ "total": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class IncidentSearchResponseAttributes { required: true, format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseData.ts index ad88fc1fee4d..9bab3c40daac 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseData.ts @@ -21,6 +21,13 @@ export class IncidentSearchResponseData { */ "type"?: IncidentSearchResultsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class IncidentSearchResponseData { baseName: "type", type: "IncidentSearchResultsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseFacetsData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseFacetsData.ts index 1d6e6f4d9ebc..7649746f206c 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseFacetsData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseFacetsData.ts @@ -59,6 +59,13 @@ export class IncidentSearchResponseFacetsData { */ "timeToResolve"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -112,6 +119,10 @@ export class IncidentSearchResponseFacetsData { baseName: "time_to_resolve", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseFieldFacetData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseFieldFacetData.ts index d7cf3ed7d9fb..d5326c90b175 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseFieldFacetData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseFieldFacetData.ts @@ -19,6 +19,13 @@ export class IncidentSearchResponseFieldFacetData { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentSearchResponseFieldFacetData { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseIncidentsData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseIncidentsData.ts index 5a38ae47959d..399373d7d6da 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseIncidentsData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseIncidentsData.ts @@ -16,6 +16,13 @@ export class IncidentSearchResponseIncidentsData { */ "data": IncidentResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentSearchResponseIncidentsData { type: "IncidentResponseData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseMeta.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseMeta.ts index 9dc06a664ae6..a5ea1126f627 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseMeta.ts @@ -16,6 +16,13 @@ export class IncidentSearchResponseMeta { */ "pagination"?: IncidentResponseMetaPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentSearchResponseMeta { baseName: "pagination", type: "IncidentResponseMetaPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetData.ts index 144fa461ab84..b9499f49ce40 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetData.ts @@ -20,6 +20,13 @@ export class IncidentSearchResponseNumericFacetData { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentSearchResponseNumericFacetData { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetDataAggregates.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetDataAggregates.ts index 1368de55390b..0016add304c0 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetDataAggregates.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseNumericFacetDataAggregates.ts @@ -19,6 +19,13 @@ export class IncidentSearchResponseNumericFacetDataAggregates { */ "min"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class IncidentSearchResponseNumericFacetDataAggregates { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponsePropertyFieldFacetData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponsePropertyFieldFacetData.ts index f56cda13f1df..22cb85565f11 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponsePropertyFieldFacetData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponsePropertyFieldFacetData.ts @@ -25,6 +25,13 @@ export class IncidentSearchResponsePropertyFieldFacetData { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentSearchResponsePropertyFieldFacetData { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentSearchResponseUserFacetData.ts b/packages/datadog-api-client-v2/models/IncidentSearchResponseUserFacetData.ts index 800b75d0533a..c86a22c86cf9 100644 --- a/packages/datadog-api-client-v2/models/IncidentSearchResponseUserFacetData.ts +++ b/packages/datadog-api-client-v2/models/IncidentSearchResponseUserFacetData.ts @@ -31,6 +31,13 @@ export class IncidentSearchResponseUserFacetData { */ "uuid"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class IncidentSearchResponseUserFacetData { baseName: "uuid", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceCreateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentServiceCreateAttributes.ts index b3e7c036aadf..01eee45e1c37 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceCreateAttributes.ts @@ -15,6 +15,13 @@ export class IncidentServiceCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentServiceCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceCreateData.ts b/packages/datadog-api-client-v2/models/IncidentServiceCreateData.ts index f176a1addd39..8af90c585a74 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceCreateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceCreateData.ts @@ -26,6 +26,13 @@ export class IncidentServiceCreateData { */ "type": IncidentServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentServiceCreateData { type: "IncidentServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceCreateRequest.ts b/packages/datadog-api-client-v2/models/IncidentServiceCreateRequest.ts index a6aad4304eb7..ae145acd9ef1 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceCreateRequest.ts @@ -16,6 +16,13 @@ export class IncidentServiceCreateRequest { */ "data": IncidentServiceCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentServiceCreateRequest { type: "IncidentServiceCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceRelationships.ts b/packages/datadog-api-client-v2/models/IncidentServiceRelationships.ts index 635571ddbadc..904c8450aadd 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceRelationships.ts @@ -20,6 +20,13 @@ export class IncidentServiceRelationships { */ "lastModifiedBy"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentServiceRelationships { baseName: "last_modified_by", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceResponse.ts b/packages/datadog-api-client-v2/models/IncidentServiceResponse.ts index f91eb1e7081c..2ffd8647fe7c 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceResponse.ts @@ -21,6 +21,13 @@ export class IncidentServiceResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentServiceResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceResponseAttributes.ts b/packages/datadog-api-client-v2/models/IncidentServiceResponseAttributes.ts index a2783acb9e1e..7d0b97fedff4 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceResponseAttributes.ts @@ -23,6 +23,13 @@ export class IncidentServiceResponseAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class IncidentServiceResponseAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceResponseData.ts b/packages/datadog-api-client-v2/models/IncidentServiceResponseData.ts index acc7081da90f..fcb8c14bce1c 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceResponseData.ts @@ -30,6 +30,13 @@ export class IncidentServiceResponseData { */ "type": IncidentServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentServiceResponseData { type: "IncidentServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceUpdateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentServiceUpdateAttributes.ts index 1f249f63d22a..16a55998274a 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceUpdateAttributes.ts @@ -15,6 +15,13 @@ export class IncidentServiceUpdateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentServiceUpdateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceUpdateData.ts b/packages/datadog-api-client-v2/models/IncidentServiceUpdateData.ts index 5daea22a47e0..8da6cdc1f500 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceUpdateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceUpdateData.ts @@ -30,6 +30,13 @@ export class IncidentServiceUpdateData { */ "type": IncidentServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class IncidentServiceUpdateData { type: "IncidentServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServiceUpdateRequest.ts b/packages/datadog-api-client-v2/models/IncidentServiceUpdateRequest.ts index 413b89dc4a58..c2618d8b4e93 100644 --- a/packages/datadog-api-client-v2/models/IncidentServiceUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentServiceUpdateRequest.ts @@ -16,6 +16,13 @@ export class IncidentServiceUpdateRequest { */ "data": IncidentServiceUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentServiceUpdateRequest { type: "IncidentServiceUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentServicesResponse.ts b/packages/datadog-api-client-v2/models/IncidentServicesResponse.ts index d168d4201d55..0b6b175fa6e8 100644 --- a/packages/datadog-api-client-v2/models/IncidentServicesResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentServicesResponse.ts @@ -26,6 +26,13 @@ export class IncidentServicesResponse { */ "meta"?: IncidentResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentServicesResponse { baseName: "meta", type: "IncidentResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.ts index 2c97e61df3b3..fd8cb509a4be 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamCreateAttributes.ts @@ -15,6 +15,13 @@ export class IncidentTeamCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentTeamCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamCreateData.ts b/packages/datadog-api-client-v2/models/IncidentTeamCreateData.ts index bf270ec1933d..a7ec9a676e11 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamCreateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamCreateData.ts @@ -26,6 +26,13 @@ export class IncidentTeamCreateData { */ "type": IncidentTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentTeamCreateData { type: "IncidentTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamCreateRequest.ts b/packages/datadog-api-client-v2/models/IncidentTeamCreateRequest.ts index 2ea7c14877db..bf3c0b3669e7 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamCreateRequest.ts @@ -16,6 +16,13 @@ export class IncidentTeamCreateRequest { */ "data": IncidentTeamCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentTeamCreateRequest { type: "IncidentTeamCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamRelationships.ts b/packages/datadog-api-client-v2/models/IncidentTeamRelationships.ts index 227863f98a85..7f5994fd6261 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamRelationships.ts @@ -20,6 +20,13 @@ export class IncidentTeamRelationships { */ "lastModifiedBy"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentTeamRelationships { baseName: "last_modified_by", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamResponse.ts b/packages/datadog-api-client-v2/models/IncidentTeamResponse.ts index 97b198a0efc7..8238a176ad6d 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamResponse.ts @@ -21,6 +21,13 @@ export class IncidentTeamResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentTeamResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.ts b/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.ts index a46d3b9d73b1..39e54b3c2c6a 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamResponseAttributes.ts @@ -23,6 +23,13 @@ export class IncidentTeamResponseAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class IncidentTeamResponseAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamResponseData.ts b/packages/datadog-api-client-v2/models/IncidentTeamResponseData.ts index 2c5fa6cbe68b..40561df6327d 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamResponseData.ts @@ -30,6 +30,13 @@ export class IncidentTeamResponseData { */ "type"?: IncidentTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class IncidentTeamResponseData { baseName: "type", type: "IncidentTeamType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.ts index f7eba0d41d05..21f0e683bc42 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamUpdateAttributes.ts @@ -15,6 +15,13 @@ export class IncidentTeamUpdateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class IncidentTeamUpdateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.ts b/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.ts index a06c3a34e97f..321ca8b5a052 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamUpdateData.ts @@ -30,6 +30,13 @@ export class IncidentTeamUpdateData { */ "type": IncidentTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class IncidentTeamUpdateData { type: "IncidentTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.ts b/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.ts index 39bdbf0e95a9..df52aee0c3a5 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamUpdateRequest.ts @@ -16,6 +16,13 @@ export class IncidentTeamUpdateRequest { */ "data": IncidentTeamUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentTeamUpdateRequest { type: "IncidentTeamUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTeamsResponse.ts b/packages/datadog-api-client-v2/models/IncidentTeamsResponse.ts index 806adaf7b155..67bab505be5f 100644 --- a/packages/datadog-api-client-v2/models/IncidentTeamsResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentTeamsResponse.ts @@ -26,6 +26,13 @@ export class IncidentTeamsResponse { */ "meta"?: IncidentResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentTeamsResponse { baseName: "meta", type: "IncidentResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributes.ts index 919df4eb92d3..1076a2014b2c 100644 --- a/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributes.ts @@ -25,6 +25,13 @@ export class IncidentTimelineCellMarkdownCreateAttributes { */ "important"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentTimelineCellMarkdownCreateAttributes { baseName: "important", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributesContent.ts b/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributesContent.ts index d70562cc30d9..1d21fc427135 100644 --- a/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributesContent.ts +++ b/packages/datadog-api-client-v2/models/IncidentTimelineCellMarkdownCreateAttributesContent.ts @@ -15,6 +15,13 @@ export class IncidentTimelineCellMarkdownCreateAttributesContent { */ "content"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class IncidentTimelineCellMarkdownCreateAttributesContent { baseName: "content", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoAnonymousAssignee.ts b/packages/datadog-api-client-v2/models/IncidentTodoAnonymousAssignee.ts index 7232ba429178..f48d96d6287b 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoAnonymousAssignee.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoAnonymousAssignee.ts @@ -28,6 +28,13 @@ export class IncidentTodoAnonymousAssignee { */ "source": IncidentTodoAnonymousAssigneeSource; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentTodoAnonymousAssignee { type: "IncidentTodoAnonymousAssigneeSource", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoAttributes.ts b/packages/datadog-api-client-v2/models/IncidentTodoAttributes.ts index 1584b430c411..fc8cf5196e75 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoAttributes.ts @@ -40,6 +40,13 @@ export class IncidentTodoAttributes { */ "modified"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class IncidentTodoAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoCreateData.ts b/packages/datadog-api-client-v2/models/IncidentTodoCreateData.ts index bb10c46e9458..5fb5d0e003d0 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoCreateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoCreateData.ts @@ -21,6 +21,13 @@ export class IncidentTodoCreateData { */ "type": IncidentTodoType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentTodoCreateData { type: "IncidentTodoType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoCreateRequest.ts b/packages/datadog-api-client-v2/models/IncidentTodoCreateRequest.ts index 51453669f867..7f7e6604bb75 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoCreateRequest.ts @@ -16,6 +16,13 @@ export class IncidentTodoCreateRequest { */ "data": IncidentTodoCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentTodoCreateRequest { type: "IncidentTodoCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoListResponse.ts b/packages/datadog-api-client-v2/models/IncidentTodoListResponse.ts index 28d94cb3a688..ff74cfd7c1d4 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoListResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoListResponse.ts @@ -26,6 +26,13 @@ export class IncidentTodoListResponse { */ "meta"?: IncidentResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentTodoListResponse { baseName: "meta", type: "IncidentResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoPatchData.ts b/packages/datadog-api-client-v2/models/IncidentTodoPatchData.ts index 07f60af36444..7d0ec3506693 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoPatchData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoPatchData.ts @@ -21,6 +21,13 @@ export class IncidentTodoPatchData { */ "type": IncidentTodoType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class IncidentTodoPatchData { type: "IncidentTodoType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoPatchRequest.ts b/packages/datadog-api-client-v2/models/IncidentTodoPatchRequest.ts index d114d6ec0e16..ef78dadf39b2 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoPatchRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoPatchRequest.ts @@ -16,6 +16,13 @@ export class IncidentTodoPatchRequest { */ "data": IncidentTodoPatchData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentTodoPatchRequest { type: "IncidentTodoPatchData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoRelationships.ts b/packages/datadog-api-client-v2/models/IncidentTodoRelationships.ts index f05d55669334..f3e299fe60b0 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoRelationships.ts @@ -20,6 +20,13 @@ export class IncidentTodoRelationships { */ "lastModifiedByUser"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class IncidentTodoRelationships { baseName: "last_modified_by_user", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoResponse.ts b/packages/datadog-api-client-v2/models/IncidentTodoResponse.ts index a130b6f384cf..6ade83f2ee7a 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoResponse.ts @@ -21,6 +21,13 @@ export class IncidentTodoResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class IncidentTodoResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentTodoResponseData.ts b/packages/datadog-api-client-v2/models/IncidentTodoResponseData.ts index 8c7eb2c9f8a8..1eb13ef98aef 100644 --- a/packages/datadog-api-client-v2/models/IncidentTodoResponseData.ts +++ b/packages/datadog-api-client-v2/models/IncidentTodoResponseData.ts @@ -30,6 +30,13 @@ export class IncidentTodoResponseData { */ "type": IncidentTodoType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentTodoResponseData { type: "IncidentTodoType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.ts b/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.ts index 05c2f125ffc4..42a694761f62 100644 --- a/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.ts @@ -45,6 +45,13 @@ export class IncidentUpdateAttributes { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -89,6 +96,10 @@ export class IncidentUpdateAttributes { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentUpdateData.ts b/packages/datadog-api-client-v2/models/IncidentUpdateData.ts index 54ff17aef402..abd06e8be59e 100644 --- a/packages/datadog-api-client-v2/models/IncidentUpdateData.ts +++ b/packages/datadog-api-client-v2/models/IncidentUpdateData.ts @@ -30,6 +30,13 @@ export class IncidentUpdateData { */ "type": IncidentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class IncidentUpdateData { type: "IncidentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentUpdateRelationships.ts b/packages/datadog-api-client-v2/models/IncidentUpdateRelationships.ts index c899c50f9ea4..b5ff6e0df3c6 100644 --- a/packages/datadog-api-client-v2/models/IncidentUpdateRelationships.ts +++ b/packages/datadog-api-client-v2/models/IncidentUpdateRelationships.ts @@ -26,6 +26,13 @@ export class IncidentUpdateRelationships { */ "postmortem"?: RelationshipToIncidentPostmortem; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class IncidentUpdateRelationships { baseName: "postmortem", type: "RelationshipToIncidentPostmortem", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentUpdateRequest.ts b/packages/datadog-api-client-v2/models/IncidentUpdateRequest.ts index 601a0aa5e9bf..6f99a45669f0 100644 --- a/packages/datadog-api-client-v2/models/IncidentUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/IncidentUpdateRequest.ts @@ -16,6 +16,13 @@ export class IncidentUpdateRequest { */ "data": IncidentUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class IncidentUpdateRequest { type: "IncidentUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IncidentsResponse.ts b/packages/datadog-api-client-v2/models/IncidentsResponse.ts index c5b2e9f31e35..cf59951a6a3c 100644 --- a/packages/datadog-api-client-v2/models/IncidentsResponse.ts +++ b/packages/datadog-api-client-v2/models/IncidentsResponse.ts @@ -26,6 +26,13 @@ export class IncidentsResponse { */ "meta"?: IncidentResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class IncidentsResponse { baseName: "meta", type: "IncidentResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/IntakePayloadAccepted.ts b/packages/datadog-api-client-v2/models/IntakePayloadAccepted.ts index bb4d1f72cf34..c4ee7912bfdf 100644 --- a/packages/datadog-api-client-v2/models/IntakePayloadAccepted.ts +++ b/packages/datadog-api-client-v2/models/IntakePayloadAccepted.ts @@ -15,6 +15,13 @@ export class IntakePayloadAccepted { */ "errors"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class IntakePayloadAccepted { baseName: "errors", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JSONAPIErrorItem.ts b/packages/datadog-api-client-v2/models/JSONAPIErrorItem.ts index 753b8442dc48..35dd8a04047a 100644 --- a/packages/datadog-api-client-v2/models/JSONAPIErrorItem.ts +++ b/packages/datadog-api-client-v2/models/JSONAPIErrorItem.ts @@ -23,6 +23,13 @@ export class JSONAPIErrorItem { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class JSONAPIErrorItem { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.ts b/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.ts index aa9000ca49d4..f6b64a658124 100644 --- a/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.ts +++ b/packages/datadog-api-client-v2/models/JSONAPIErrorResponse.ts @@ -16,6 +16,13 @@ export class JSONAPIErrorResponse { */ "errors": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class JSONAPIErrorResponse { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JiraIntegrationMetadata.ts b/packages/datadog-api-client-v2/models/JiraIntegrationMetadata.ts index 5196476d6edf..3b9a333deb2e 100644 --- a/packages/datadog-api-client-v2/models/JiraIntegrationMetadata.ts +++ b/packages/datadog-api-client-v2/models/JiraIntegrationMetadata.ts @@ -16,6 +16,13 @@ export class JiraIntegrationMetadata { */ "issues": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class JiraIntegrationMetadata { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JiraIntegrationMetadataIssuesItem.ts b/packages/datadog-api-client-v2/models/JiraIntegrationMetadataIssuesItem.ts index 9272b2da9531..9222a905db72 100644 --- a/packages/datadog-api-client-v2/models/JiraIntegrationMetadataIssuesItem.ts +++ b/packages/datadog-api-client-v2/models/JiraIntegrationMetadataIssuesItem.ts @@ -31,6 +31,13 @@ export class JiraIntegrationMetadataIssuesItem { */ "redirectUrl"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class JiraIntegrationMetadataIssuesItem { baseName: "redirect_url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JiraIssue.ts b/packages/datadog-api-client-v2/models/JiraIssue.ts index 175cbbe55c7e..f2488df65fcd 100644 --- a/packages/datadog-api-client-v2/models/JiraIssue.ts +++ b/packages/datadog-api-client-v2/models/JiraIssue.ts @@ -21,6 +21,13 @@ export class JiraIssue { */ "status"?: Case3rdPartyTicketStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class JiraIssue { baseName: "status", type: "Case3rdPartyTicketStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/JiraIssueResult.ts b/packages/datadog-api-client-v2/models/JiraIssueResult.ts index 430a472a189a..dd2fa1a74e17 100644 --- a/packages/datadog-api-client-v2/models/JiraIssueResult.ts +++ b/packages/datadog-api-client-v2/models/JiraIssueResult.ts @@ -27,6 +27,13 @@ export class JiraIssueResult { */ "projectKey"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class JiraIssueResult { baseName: "project_key", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListApplicationKeysResponse.ts b/packages/datadog-api-client-v2/models/ListApplicationKeysResponse.ts index 4a35290506fd..c64427871886 100644 --- a/packages/datadog-api-client-v2/models/ListApplicationKeysResponse.ts +++ b/packages/datadog-api-client-v2/models/ListApplicationKeysResponse.ts @@ -26,6 +26,13 @@ export class ListApplicationKeysResponse { */ "meta"?: ApplicationKeyResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ListApplicationKeysResponse { baseName: "meta", type: "ApplicationKeyResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListDowntimesResponse.ts b/packages/datadog-api-client-v2/models/ListDowntimesResponse.ts index 848329457631..0818f05a6828 100644 --- a/packages/datadog-api-client-v2/models/ListDowntimesResponse.ts +++ b/packages/datadog-api-client-v2/models/ListDowntimesResponse.ts @@ -26,6 +26,13 @@ export class ListDowntimesResponse { */ "meta"?: DowntimeMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ListDowntimesResponse { baseName: "meta", type: "DowntimeMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListFindingsResponse.ts b/packages/datadog-api-client-v2/models/ListFindingsResponse.ts index 923fe10f4e0e..4df6be87b289 100644 --- a/packages/datadog-api-client-v2/models/ListFindingsResponse.ts +++ b/packages/datadog-api-client-v2/models/ListFindingsResponse.ts @@ -21,6 +21,13 @@ export class ListFindingsResponse { */ "meta": ListFindingsMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ListFindingsResponse { type: "ListFindingsMeta", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListPowerpacksResponse.ts b/packages/datadog-api-client-v2/models/ListPowerpacksResponse.ts index 45b5662a1d3c..8cc42d29e89e 100644 --- a/packages/datadog-api-client-v2/models/ListPowerpacksResponse.ts +++ b/packages/datadog-api-client-v2/models/ListPowerpacksResponse.ts @@ -31,6 +31,13 @@ export class ListPowerpacksResponse { */ "meta"?: PowerpacksResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class ListPowerpacksResponse { baseName: "meta", type: "PowerpacksResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListRulesResponse.ts b/packages/datadog-api-client-v2/models/ListRulesResponse.ts index 0023b71c16c6..1a47a806df87 100644 --- a/packages/datadog-api-client-v2/models/ListRulesResponse.ts +++ b/packages/datadog-api-client-v2/models/ListRulesResponse.ts @@ -21,6 +21,13 @@ export class ListRulesResponse { */ "links"?: ListRulesResponseLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ListRulesResponse { baseName: "links", type: "ListRulesResponseLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListRulesResponseDataItem.ts b/packages/datadog-api-client-v2/models/ListRulesResponseDataItem.ts index 24b63a7573e1..8a3c70059d47 100644 --- a/packages/datadog-api-client-v2/models/ListRulesResponseDataItem.ts +++ b/packages/datadog-api-client-v2/models/ListRulesResponseDataItem.ts @@ -30,6 +30,13 @@ export class ListRulesResponseDataItem { */ "type"?: RuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ListRulesResponseDataItem { baseName: "type", type: "RuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ListRulesResponseLinks.ts b/packages/datadog-api-client-v2/models/ListRulesResponseLinks.ts index a31383be0351..e6d27fcdcef9 100644 --- a/packages/datadog-api-client-v2/models/ListRulesResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/ListRulesResponseLinks.ts @@ -15,6 +15,13 @@ export class ListRulesResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ListRulesResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Log.ts b/packages/datadog-api-client-v2/models/Log.ts index 1ec4676a57bf..f743b6361252 100644 --- a/packages/datadog-api-client-v2/models/Log.ts +++ b/packages/datadog-api-client-v2/models/Log.ts @@ -25,6 +25,13 @@ export class Log { */ "type"?: LogType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class Log { baseName: "type", type: "LogType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogAttributes.ts b/packages/datadog-api-client-v2/models/LogAttributes.ts index 1b0173f96698..4392518d1c84 100644 --- a/packages/datadog-api-client-v2/models/LogAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogAttributes.ts @@ -43,6 +43,13 @@ export class LogAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -81,6 +88,10 @@ export class LogAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateBucket.ts b/packages/datadog-api-client-v2/models/LogsAggregateBucket.ts index 05cf6a0d4b04..ca1634a39bd9 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateBucket.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateBucket.ts @@ -20,6 +20,13 @@ export class LogsAggregateBucket { */ "computes"?: { [key: string]: LogsAggregateBucketValue }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsAggregateBucket { baseName: "computes", type: "{ [key: string]: LogsAggregateBucketValue; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateBucketValueTimeseriesPoint.ts b/packages/datadog-api-client-v2/models/LogsAggregateBucketValueTimeseriesPoint.ts index aafc2189783f..4132f5047a2e 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateBucketValueTimeseriesPoint.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateBucketValueTimeseriesPoint.ts @@ -19,6 +19,13 @@ export class LogsAggregateBucketValueTimeseriesPoint { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsAggregateBucketValueTimeseriesPoint { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateRequest.ts b/packages/datadog-api-client-v2/models/LogsAggregateRequest.ts index 200ef694c3ff..cbf126bcedcc 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateRequest.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateRequest.ts @@ -37,6 +37,13 @@ export class LogsAggregateRequest { */ "page"?: LogsAggregateRequestPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -66,6 +73,10 @@ export class LogsAggregateRequest { baseName: "page", type: "LogsAggregateRequestPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateRequestPage.ts b/packages/datadog-api-client-v2/models/LogsAggregateRequestPage.ts index c8ef415f9fb3..699ef746616a 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateRequestPage.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateRequestPage.ts @@ -15,6 +15,13 @@ export class LogsAggregateRequestPage { */ "cursor"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class LogsAggregateRequestPage { baseName: "cursor", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateResponse.ts b/packages/datadog-api-client-v2/models/LogsAggregateResponse.ts index 48179c5a371b..c9c0b26d2cfa 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateResponse.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateResponse.ts @@ -21,6 +21,13 @@ export class LogsAggregateResponse { */ "meta"?: LogsResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsAggregateResponse { baseName: "meta", type: "LogsResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateResponseData.ts b/packages/datadog-api-client-v2/models/LogsAggregateResponseData.ts index 9176bee0439e..c2bcdaa69c91 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateResponseData.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateResponseData.ts @@ -16,6 +16,13 @@ export class LogsAggregateResponseData { */ "buckets"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsAggregateResponseData { baseName: "buckets", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsAggregateSort.ts b/packages/datadog-api-client-v2/models/LogsAggregateSort.ts index 8937df349bb0..60ae4da3cbc6 100644 --- a/packages/datadog-api-client-v2/models/LogsAggregateSort.ts +++ b/packages/datadog-api-client-v2/models/LogsAggregateSort.ts @@ -30,6 +30,13 @@ export class LogsAggregateSort { */ "type"?: LogsAggregateSortType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class LogsAggregateSort { baseName: "type", type: "LogsAggregateSortType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchive.ts b/packages/datadog-api-client-v2/models/LogsArchive.ts index 525f24684525..38be4229539d 100644 --- a/packages/datadog-api-client-v2/models/LogsArchive.ts +++ b/packages/datadog-api-client-v2/models/LogsArchive.ts @@ -16,6 +16,13 @@ export class LogsArchive { */ "data"?: LogsArchiveDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsArchive { baseName: "data", type: "LogsArchiveDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveAttributes.ts b/packages/datadog-api-client-v2/models/LogsArchiveAttributes.ts index 7f11f1094280..1dbc80084cee 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveAttributes.ts @@ -42,6 +42,13 @@ export class LogsArchiveAttributes { */ "state"?: LogsArchiveState; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -83,6 +90,10 @@ export class LogsArchiveAttributes { baseName: "state", type: "LogsArchiveState", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequest.ts b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequest.ts index 4f41dca5a860..7bc7be91c146 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequest.ts @@ -16,6 +16,13 @@ export class LogsArchiveCreateRequest { */ "data"?: LogsArchiveCreateRequestDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsArchiveCreateRequest { baseName: "data", type: "LogsArchiveCreateRequestDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.ts index 47ceca0261c7..9660c15c71ec 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestAttributes.ts @@ -37,6 +37,13 @@ export class LogsArchiveCreateRequestAttributes { */ "rehydrationTags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class LogsArchiveCreateRequestAttributes { baseName: "rehydration_tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestDefinition.ts b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestDefinition.ts index 345a7e07e806..9a1c2264823a 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestDefinition.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveCreateRequestDefinition.ts @@ -20,6 +20,13 @@ export class LogsArchiveCreateRequestDefinition { */ "type": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsArchiveCreateRequestDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveDefinition.ts b/packages/datadog-api-client-v2/models/LogsArchiveDefinition.ts index ff2159db4024..290d4019c987 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveDefinition.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveDefinition.ts @@ -24,6 +24,13 @@ export class LogsArchiveDefinition { */ "type": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsArchiveDefinition { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveDestinationAzure.ts b/packages/datadog-api-client-v2/models/LogsArchiveDestinationAzure.ts index 5c616d7f509f..efc66a569b9a 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveDestinationAzure.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveDestinationAzure.ts @@ -37,6 +37,13 @@ export class LogsArchiveDestinationAzure { */ "type": LogsArchiveDestinationAzureType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -74,6 +81,10 @@ export class LogsArchiveDestinationAzure { type: "LogsArchiveDestinationAzureType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveDestinationGCS.ts b/packages/datadog-api-client-v2/models/LogsArchiveDestinationGCS.ts index ac0df6b46057..205c9d297647 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveDestinationGCS.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveDestinationGCS.ts @@ -29,6 +29,13 @@ export class LogsArchiveDestinationGCS { */ "type": LogsArchiveDestinationGCSType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class LogsArchiveDestinationGCS { type: "LogsArchiveDestinationGCSType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.ts b/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.ts index 7210b38a1f84..0c99f1e57d2f 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.ts @@ -29,6 +29,13 @@ export class LogsArchiveDestinationS3 { */ "type": LogsArchiveDestinationS3Type; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class LogsArchiveDestinationS3 { type: "LogsArchiveDestinationS3Type", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationAzure.ts b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationAzure.ts index 18b57d525405..24b5838eb80b 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationAzure.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationAzure.ts @@ -19,6 +19,13 @@ export class LogsArchiveIntegrationAzure { */ "tenantId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsArchiveIntegrationAzure { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts index a548eed96cc5..a39b992900c0 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts @@ -19,6 +19,13 @@ export class LogsArchiveIntegrationGCS { */ "projectId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsArchiveIntegrationGCS { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationS3.ts b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationS3.ts index 39c891c1ab14..146f649557e2 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationS3.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationS3.ts @@ -19,6 +19,13 @@ export class LogsArchiveIntegrationS3 { */ "roleName": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsArchiveIntegrationS3 { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveOrder.ts b/packages/datadog-api-client-v2/models/LogsArchiveOrder.ts index 7d9c3431aa4c..d993e6d26133 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveOrder.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveOrder.ts @@ -16,6 +16,13 @@ export class LogsArchiveOrder { */ "data"?: LogsArchiveOrderDefinition; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsArchiveOrder { baseName: "data", type: "LogsArchiveOrderDefinition", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveOrderAttributes.ts b/packages/datadog-api-client-v2/models/LogsArchiveOrderAttributes.ts index 7ef0b3eea7d8..2036ba672189 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveOrderAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveOrderAttributes.ts @@ -16,6 +16,13 @@ export class LogsArchiveOrderAttributes { */ "archiveIds": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class LogsArchiveOrderAttributes { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchiveOrderDefinition.ts b/packages/datadog-api-client-v2/models/LogsArchiveOrderDefinition.ts index 3435cc55a710..447c0ef98344 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveOrderDefinition.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveOrderDefinition.ts @@ -21,6 +21,13 @@ export class LogsArchiveOrderDefinition { */ "type": LogsArchiveOrderDefinitionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class LogsArchiveOrderDefinition { type: "LogsArchiveOrderDefinitionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsArchives.ts b/packages/datadog-api-client-v2/models/LogsArchives.ts index 67446e31dcfc..edfb01389e35 100644 --- a/packages/datadog-api-client-v2/models/LogsArchives.ts +++ b/packages/datadog-api-client-v2/models/LogsArchives.ts @@ -16,6 +16,13 @@ export class LogsArchives { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsArchives { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsCompute.ts b/packages/datadog-api-client-v2/models/LogsCompute.ts index 029da723b6bf..48e2256d6faf 100644 --- a/packages/datadog-api-client-v2/models/LogsCompute.ts +++ b/packages/datadog-api-client-v2/models/LogsCompute.ts @@ -30,6 +30,13 @@ export class LogsCompute { */ "type"?: LogsComputeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class LogsCompute { baseName: "type", type: "LogsComputeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsGroupBy.ts b/packages/datadog-api-client-v2/models/LogsGroupBy.ts index 3b476b107892..37758265c70a 100644 --- a/packages/datadog-api-client-v2/models/LogsGroupBy.ts +++ b/packages/datadog-api-client-v2/models/LogsGroupBy.ts @@ -41,6 +41,13 @@ export class LogsGroupBy { */ "total"?: LogsGroupByTotal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -76,6 +83,10 @@ export class LogsGroupBy { baseName: "total", type: "LogsGroupByTotal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsGroupByHistogram.ts b/packages/datadog-api-client-v2/models/LogsGroupByHistogram.ts index d5fc676c90a2..06461fedefe8 100644 --- a/packages/datadog-api-client-v2/models/LogsGroupByHistogram.ts +++ b/packages/datadog-api-client-v2/models/LogsGroupByHistogram.ts @@ -26,6 +26,13 @@ export class LogsGroupByHistogram { */ "min": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class LogsGroupByHistogram { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsListRequest.ts b/packages/datadog-api-client-v2/models/LogsListRequest.ts index 0d8ed36e44e0..5484c620da3d 100644 --- a/packages/datadog-api-client-v2/models/LogsListRequest.ts +++ b/packages/datadog-api-client-v2/models/LogsListRequest.ts @@ -32,6 +32,13 @@ export class LogsListRequest { */ "sort"?: LogsSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class LogsListRequest { baseName: "sort", type: "LogsSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsListRequestPage.ts b/packages/datadog-api-client-v2/models/LogsListRequestPage.ts index 0082dc607139..576599cbdffa 100644 --- a/packages/datadog-api-client-v2/models/LogsListRequestPage.ts +++ b/packages/datadog-api-client-v2/models/LogsListRequestPage.ts @@ -19,6 +19,13 @@ export class LogsListRequestPage { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsListRequestPage { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsListResponse.ts b/packages/datadog-api-client-v2/models/LogsListResponse.ts index 0af2fbb72369..cfff9a603b33 100644 --- a/packages/datadog-api-client-v2/models/LogsListResponse.ts +++ b/packages/datadog-api-client-v2/models/LogsListResponse.ts @@ -26,6 +26,13 @@ export class LogsListResponse { */ "meta"?: LogsResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogsListResponse { baseName: "meta", type: "LogsResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsListResponseLinks.ts b/packages/datadog-api-client-v2/models/LogsListResponseLinks.ts index 13a88e64d2b4..1fcf8efc31ac 100644 --- a/packages/datadog-api-client-v2/models/LogsListResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/LogsListResponseLinks.ts @@ -16,6 +16,13 @@ export class LogsListResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsListResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricCompute.ts b/packages/datadog-api-client-v2/models/LogsMetricCompute.ts index adac71dd8fbe..8494413c46a3 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricCompute.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricCompute.ts @@ -25,6 +25,13 @@ export class LogsMetricCompute { */ "path"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogsMetricCompute { baseName: "path", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricCreateAttributes.ts b/packages/datadog-api-client-v2/models/LogsMetricCreateAttributes.ts index 57fe04053dd3..bee0fc7cb020 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricCreateAttributes.ts @@ -26,6 +26,13 @@ export class LogsMetricCreateAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class LogsMetricCreateAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricCreateData.ts b/packages/datadog-api-client-v2/models/LogsMetricCreateData.ts index c03141185ce0..9833e8069311 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricCreateData.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricCreateData.ts @@ -25,6 +25,13 @@ export class LogsMetricCreateData { */ "type": LogsMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class LogsMetricCreateData { type: "LogsMetricType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricCreateRequest.ts b/packages/datadog-api-client-v2/models/LogsMetricCreateRequest.ts index 1ebca715bbaa..0620fcbc7658 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricCreateRequest.ts @@ -16,6 +16,13 @@ export class LogsMetricCreateRequest { */ "data": LogsMetricCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class LogsMetricCreateRequest { type: "LogsMetricCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricFilter.ts b/packages/datadog-api-client-v2/models/LogsMetricFilter.ts index 706b72bfd9ec..22cf9727ae44 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricFilter.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricFilter.ts @@ -15,6 +15,13 @@ export class LogsMetricFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class LogsMetricFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricGroupBy.ts b/packages/datadog-api-client-v2/models/LogsMetricGroupBy.ts index f00043ac0687..a47365bd66ec 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricGroupBy.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricGroupBy.ts @@ -19,6 +19,13 @@ export class LogsMetricGroupBy { */ "tagName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class LogsMetricGroupBy { baseName: "tag_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponse.ts b/packages/datadog-api-client-v2/models/LogsMetricResponse.ts index 5552e5983c52..7175d0a347df 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponse.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponse.ts @@ -16,6 +16,13 @@ export class LogsMetricResponse { */ "data"?: LogsMetricResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsMetricResponse { baseName: "data", type: "LogsMetricResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponseAttributes.ts b/packages/datadog-api-client-v2/models/LogsMetricResponseAttributes.ts index c818c042527e..93d1daaea435 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponseAttributes.ts @@ -26,6 +26,13 @@ export class LogsMetricResponseAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogsMetricResponseAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponseCompute.ts b/packages/datadog-api-client-v2/models/LogsMetricResponseCompute.ts index e993e3468def..00717e002bfb 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponseCompute.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponseCompute.ts @@ -25,6 +25,13 @@ export class LogsMetricResponseCompute { */ "path"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsMetricResponseCompute { baseName: "path", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponseData.ts b/packages/datadog-api-client-v2/models/LogsMetricResponseData.ts index 37ef6717aa7c..45efe0074076 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponseData.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponseData.ts @@ -25,6 +25,13 @@ export class LogsMetricResponseData { */ "type"?: LogsMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class LogsMetricResponseData { baseName: "type", type: "LogsMetricType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponseFilter.ts b/packages/datadog-api-client-v2/models/LogsMetricResponseFilter.ts index 6ad3730f603a..e3350e7d9c47 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponseFilter.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponseFilter.ts @@ -15,6 +15,13 @@ export class LogsMetricResponseFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class LogsMetricResponseFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricResponseGroupBy.ts b/packages/datadog-api-client-v2/models/LogsMetricResponseGroupBy.ts index 5f39774537ae..883990af0106 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricResponseGroupBy.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricResponseGroupBy.ts @@ -19,6 +19,13 @@ export class LogsMetricResponseGroupBy { */ "tagName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class LogsMetricResponseGroupBy { baseName: "tag_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricUpdateAttributes.ts b/packages/datadog-api-client-v2/models/LogsMetricUpdateAttributes.ts index 8e5b4b0f1a96..d48d3e0e34b0 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricUpdateAttributes.ts @@ -26,6 +26,13 @@ export class LogsMetricUpdateAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class LogsMetricUpdateAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricUpdateCompute.ts b/packages/datadog-api-client-v2/models/LogsMetricUpdateCompute.ts index 9e8566688c12..08326a3e0546 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricUpdateCompute.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricUpdateCompute.ts @@ -16,6 +16,13 @@ export class LogsMetricUpdateCompute { */ "includePercentiles"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsMetricUpdateCompute { baseName: "include_percentiles", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricUpdateData.ts b/packages/datadog-api-client-v2/models/LogsMetricUpdateData.ts index 373286de6080..06bde96d0340 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricUpdateData.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricUpdateData.ts @@ -21,6 +21,13 @@ export class LogsMetricUpdateData { */ "type": LogsMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class LogsMetricUpdateData { type: "LogsMetricType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricUpdateRequest.ts b/packages/datadog-api-client-v2/models/LogsMetricUpdateRequest.ts index f4c3a9867626..d4a975299f25 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricUpdateRequest.ts @@ -16,6 +16,13 @@ export class LogsMetricUpdateRequest { */ "data": LogsMetricUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class LogsMetricUpdateRequest { type: "LogsMetricUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsMetricsResponse.ts b/packages/datadog-api-client-v2/models/LogsMetricsResponse.ts index 8b01138a4fa5..d6fad9842a18 100644 --- a/packages/datadog-api-client-v2/models/LogsMetricsResponse.ts +++ b/packages/datadog-api-client-v2/models/LogsMetricsResponse.ts @@ -16,6 +16,13 @@ export class LogsMetricsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsMetricsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsQueryFilter.ts b/packages/datadog-api-client-v2/models/LogsQueryFilter.ts index d8e66253bf45..df4e9c9f1e37 100644 --- a/packages/datadog-api-client-v2/models/LogsQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/LogsQueryFilter.ts @@ -32,6 +32,13 @@ export class LogsQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class LogsQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsQueryOptions.ts b/packages/datadog-api-client-v2/models/LogsQueryOptions.ts index e945e581ac81..2fdc66cd306c 100644 --- a/packages/datadog-api-client-v2/models/LogsQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/LogsQueryOptions.ts @@ -20,6 +20,13 @@ export class LogsQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class LogsQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsResponseMetadata.ts b/packages/datadog-api-client-v2/models/LogsResponseMetadata.ts index ca77ca7e18e2..b8f91762622f 100644 --- a/packages/datadog-api-client-v2/models/LogsResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/LogsResponseMetadata.ts @@ -35,6 +35,13 @@ export class LogsResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class LogsResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsResponseMetadataPage.ts b/packages/datadog-api-client-v2/models/LogsResponseMetadataPage.ts index 7225a4e48cb1..dbf96680a46b 100644 --- a/packages/datadog-api-client-v2/models/LogsResponseMetadataPage.ts +++ b/packages/datadog-api-client-v2/models/LogsResponseMetadataPage.ts @@ -16,6 +16,13 @@ export class LogsResponseMetadataPage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class LogsResponseMetadataPage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/LogsWarning.ts b/packages/datadog-api-client-v2/models/LogsWarning.ts index 56ee5ba4c570..0de38ad9a2dc 100644 --- a/packages/datadog-api-client-v2/models/LogsWarning.ts +++ b/packages/datadog-api-client-v2/models/LogsWarning.ts @@ -23,6 +23,13 @@ export class LogsWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class LogsWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Metric.ts b/packages/datadog-api-client-v2/models/Metric.ts index 6cfc8eaff4ae..572cc22c4073 100644 --- a/packages/datadog-api-client-v2/models/Metric.ts +++ b/packages/datadog-api-client-v2/models/Metric.ts @@ -20,6 +20,13 @@ export class Metric { */ "type"?: MetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class Metric { baseName: "type", type: "MetricType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricAllTags.ts b/packages/datadog-api-client-v2/models/MetricAllTags.ts index ede31d9124b6..15f4a0cd4271 100644 --- a/packages/datadog-api-client-v2/models/MetricAllTags.ts +++ b/packages/datadog-api-client-v2/models/MetricAllTags.ts @@ -25,6 +25,13 @@ export class MetricAllTags { */ "type"?: MetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricAllTags { baseName: "type", type: "MetricType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricAllTagsAttributes.ts b/packages/datadog-api-client-v2/models/MetricAllTagsAttributes.ts index 6d4a80658c01..6ead3115c030 100644 --- a/packages/datadog-api-client-v2/models/MetricAllTagsAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricAllTagsAttributes.ts @@ -15,6 +15,13 @@ export class MetricAllTagsAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class MetricAllTagsAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricAllTagsResponse.ts b/packages/datadog-api-client-v2/models/MetricAllTagsResponse.ts index 3104d609d714..58d796997a93 100644 --- a/packages/datadog-api-client-v2/models/MetricAllTagsResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricAllTagsResponse.ts @@ -16,6 +16,13 @@ export class MetricAllTagsResponse { */ "data"?: MetricAllTags; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricAllTagsResponse { baseName: "data", type: "MetricAllTags", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreate.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreate.ts index 3b12023a5d51..9a173a95a54b 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreate.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreate.ts @@ -25,6 +25,13 @@ export class MetricBulkTagConfigCreate { */ "type": MetricBulkConfigureTagsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class MetricBulkTagConfigCreate { type: "MetricBulkConfigureTagsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.ts index ed2b9c928b22..853dce057277 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.ts @@ -25,6 +25,13 @@ export class MetricBulkTagConfigCreateAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MetricBulkTagConfigCreateAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateRequest.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateRequest.ts index f76287d1b71b..1033e0b065b3 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateRequest.ts @@ -16,6 +16,13 @@ export class MetricBulkTagConfigCreateRequest { */ "data": MetricBulkTagConfigCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricBulkTagConfigCreateRequest { type: "MetricBulkTagConfigCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDelete.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDelete.ts index 2627e6e36a79..93ba198e6682 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDelete.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDelete.ts @@ -25,6 +25,13 @@ export class MetricBulkTagConfigDelete { */ "type": MetricBulkConfigureTagsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class MetricBulkTagConfigDelete { type: "MetricBulkConfigureTagsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteAttributes.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteAttributes.ts index 9e461293c7cf..6ab7edfeba1e 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteAttributes.ts @@ -15,6 +15,13 @@ export class MetricBulkTagConfigDeleteAttributes { */ "emails"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricBulkTagConfigDeleteAttributes { type: "Array", format: "email", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteRequest.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteRequest.ts index 696499891820..0de000b9259f 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteRequest.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigDeleteRequest.ts @@ -16,6 +16,13 @@ export class MetricBulkTagConfigDeleteRequest { */ "data": MetricBulkTagConfigDelete; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricBulkTagConfigDeleteRequest { type: "MetricBulkTagConfigDelete", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigResponse.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigResponse.ts index ceb8ac8b930f..2138024e7f2e 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigResponse.ts @@ -17,6 +17,13 @@ export class MetricBulkTagConfigResponse { */ "data"?: MetricBulkTagConfigStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricBulkTagConfigResponse { baseName: "data", type: "MetricBulkTagConfigStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatus.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatus.ts index 02d2bdf12cc6..f0140aa45c11 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatus.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatus.ts @@ -26,6 +26,13 @@ export class MetricBulkTagConfigStatus { */ "type": MetricBulkConfigureTagsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class MetricBulkTagConfigStatus { type: "MetricBulkConfigureTagsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatusAttributes.ts b/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatusAttributes.ts index f22ad4be6e24..c9b6fea1506e 100644 --- a/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatusAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricBulkTagConfigStatusAttributes.ts @@ -28,6 +28,13 @@ export class MetricBulkTagConfigStatusAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class MetricBulkTagConfigStatusAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricCustomAggregation.ts b/packages/datadog-api-client-v2/models/MetricCustomAggregation.ts index 707be20312e7..71858c5db04c 100644 --- a/packages/datadog-api-client-v2/models/MetricCustomAggregation.ts +++ b/packages/datadog-api-client-v2/models/MetricCustomAggregation.ts @@ -21,6 +21,13 @@ export class MetricCustomAggregation { */ "time": MetricCustomTimeAggregation; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class MetricCustomAggregation { type: "MetricCustomTimeAggregation", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricDistinctVolume.ts b/packages/datadog-api-client-v2/models/MetricDistinctVolume.ts index 02aaafacf283..53fb9cdd1b39 100644 --- a/packages/datadog-api-client-v2/models/MetricDistinctVolume.ts +++ b/packages/datadog-api-client-v2/models/MetricDistinctVolume.ts @@ -25,6 +25,13 @@ export class MetricDistinctVolume { */ "type"?: MetricDistinctVolumeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricDistinctVolume { baseName: "type", type: "MetricDistinctVolumeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricDistinctVolumeAttributes.ts b/packages/datadog-api-client-v2/models/MetricDistinctVolumeAttributes.ts index fb03d216dbd2..a1790e7f048c 100644 --- a/packages/datadog-api-client-v2/models/MetricDistinctVolumeAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricDistinctVolumeAttributes.ts @@ -15,6 +15,13 @@ export class MetricDistinctVolumeAttributes { */ "distinctVolume"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricDistinctVolumeAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricEstimate.ts b/packages/datadog-api-client-v2/models/MetricEstimate.ts index 86246e4da5cb..0b8aacf439eb 100644 --- a/packages/datadog-api-client-v2/models/MetricEstimate.ts +++ b/packages/datadog-api-client-v2/models/MetricEstimate.ts @@ -25,6 +25,13 @@ export class MetricEstimate { */ "type"?: MetricEstimateResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricEstimate { baseName: "type", type: "MetricEstimateResourceType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricEstimateAttributes.ts b/packages/datadog-api-client-v2/models/MetricEstimateAttributes.ts index ef18043e49a4..a7028ed2c9a1 100644 --- a/packages/datadog-api-client-v2/models/MetricEstimateAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricEstimateAttributes.ts @@ -24,6 +24,13 @@ export class MetricEstimateAttributes { */ "estimatedOutputSeries"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MetricEstimateAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricEstimateResponse.ts b/packages/datadog-api-client-v2/models/MetricEstimateResponse.ts index 00235d3d9148..f1b4134be16c 100644 --- a/packages/datadog-api-client-v2/models/MetricEstimateResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricEstimateResponse.ts @@ -16,6 +16,13 @@ export class MetricEstimateResponse { */ "data"?: MetricEstimate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricEstimateResponse { baseName: "data", type: "MetricEstimate", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolume.ts b/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolume.ts index 5efe02549f8a..05093a8cbb47 100644 --- a/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolume.ts +++ b/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolume.ts @@ -25,6 +25,13 @@ export class MetricIngestedIndexedVolume { */ "type"?: MetricIngestedIndexedVolumeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricIngestedIndexedVolume { baseName: "type", type: "MetricIngestedIndexedVolumeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.ts b/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.ts index 96401d8e599d..baf2ebbbf02c 100644 --- a/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.ts @@ -19,6 +19,13 @@ export class MetricIngestedIndexedVolumeAttributes { */ "ingestedVolume"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MetricIngestedIndexedVolumeAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricMetadata.ts b/packages/datadog-api-client-v2/models/MetricMetadata.ts index 3b92f07cab09..a623f050c062 100644 --- a/packages/datadog-api-client-v2/models/MetricMetadata.ts +++ b/packages/datadog-api-client-v2/models/MetricMetadata.ts @@ -16,6 +16,13 @@ export class MetricMetadata { */ "origin"?: MetricOrigin; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricMetadata { baseName: "origin", type: "MetricOrigin", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricOrigin.ts b/packages/datadog-api-client-v2/models/MetricOrigin.ts index 720e861328a5..f5b13c9d44bc 100644 --- a/packages/datadog-api-client-v2/models/MetricOrigin.ts +++ b/packages/datadog-api-client-v2/models/MetricOrigin.ts @@ -23,6 +23,13 @@ export class MetricOrigin { */ "service"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MetricOrigin { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricPayload.ts b/packages/datadog-api-client-v2/models/MetricPayload.ts index 16fa275caffd..27018e560cf7 100644 --- a/packages/datadog-api-client-v2/models/MetricPayload.ts +++ b/packages/datadog-api-client-v2/models/MetricPayload.ts @@ -16,6 +16,13 @@ export class MetricPayload { */ "series": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricPayload { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricPoint.ts b/packages/datadog-api-client-v2/models/MetricPoint.ts index b12f49383daa..dfe0bcdd91c7 100644 --- a/packages/datadog-api-client-v2/models/MetricPoint.ts +++ b/packages/datadog-api-client-v2/models/MetricPoint.ts @@ -20,6 +20,13 @@ export class MetricPoint { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class MetricPoint { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricResource.ts b/packages/datadog-api-client-v2/models/MetricResource.ts index 739d5992c691..329b6b5d4b37 100644 --- a/packages/datadog-api-client-v2/models/MetricResource.ts +++ b/packages/datadog-api-client-v2/models/MetricResource.ts @@ -19,6 +19,13 @@ export class MetricResource { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class MetricResource { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricSeries.ts b/packages/datadog-api-client-v2/models/MetricSeries.ts index aaf157df8f0a..2b7af6237e27 100644 --- a/packages/datadog-api-client-v2/models/MetricSeries.ts +++ b/packages/datadog-api-client-v2/models/MetricSeries.ts @@ -52,6 +52,13 @@ export class MetricSeries { */ "unit"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -101,6 +108,10 @@ export class MetricSeries { baseName: "unit", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregations.ts b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregations.ts index c32f467c4668..322d0c3036f6 100644 --- a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregations.ts +++ b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregations.ts @@ -25,6 +25,13 @@ export class MetricSuggestedTagsAndAggregations { */ "type"?: MetricActiveConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricSuggestedTagsAndAggregations { baseName: "type", type: "MetricActiveConfigurationType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregationsResponse.ts b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregationsResponse.ts index c3d9373f1686..d022b3f047f8 100644 --- a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregationsResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAndAggregationsResponse.ts @@ -16,6 +16,13 @@ export class MetricSuggestedTagsAndAggregationsResponse { */ "data"?: MetricSuggestedTagsAndAggregations; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricSuggestedTagsAndAggregationsResponse { baseName: "data", type: "MetricSuggestedTagsAndAggregations", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAttributes.ts b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAttributes.ts index 0697679d09a1..3ae56b4bc1ae 100644 --- a/packages/datadog-api-client-v2/models/MetricSuggestedTagsAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricSuggestedTagsAttributes.ts @@ -20,6 +20,13 @@ export class MetricSuggestedTagsAttributes { */ "activeTags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class MetricSuggestedTagsAttributes { baseName: "active_tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfiguration.ts b/packages/datadog-api-client-v2/models/MetricTagConfiguration.ts index 3eaa4aa020d1..75b5aaea1fe0 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfiguration.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfiguration.ts @@ -25,6 +25,13 @@ export class MetricTagConfiguration { */ "type"?: MetricTagConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MetricTagConfiguration { baseName: "type", type: "MetricTagConfigurationType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.ts index d3f9dc6821c7..ccf873c071f7 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationAttributes.ts @@ -59,6 +59,13 @@ export class MetricTagConfigurationAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -98,6 +105,10 @@ export class MetricTagConfigurationAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.ts index 8605b545922e..1dcfbbf66489 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateAttributes.ts @@ -51,6 +51,13 @@ export class MetricTagConfigurationCreateAttributes { */ "tags": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -82,6 +89,10 @@ export class MetricTagConfigurationCreateAttributes { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateData.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateData.ts index 6b7763148692..5f82f1176df2 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateData.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateData.ts @@ -25,6 +25,13 @@ export class MetricTagConfigurationCreateData { */ "type": MetricTagConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class MetricTagConfigurationCreateData { type: "MetricTagConfigurationType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateRequest.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateRequest.ts index 2ba16c3d3516..8ec0008ba5a1 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationCreateRequest.ts @@ -16,6 +16,13 @@ export class MetricTagConfigurationCreateRequest { */ "data": MetricTagConfigurationCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricTagConfigurationCreateRequest { type: "MetricTagConfigurationCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationResponse.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationResponse.ts index dc2015dcb7c6..c4b074494d05 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationResponse.ts @@ -16,6 +16,13 @@ export class MetricTagConfigurationResponse { */ "data"?: MetricTagConfiguration; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricTagConfigurationResponse { baseName: "data", type: "MetricTagConfiguration", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.ts index d05758326468..fda030d2271a 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateAttributes.ts @@ -46,6 +46,13 @@ export class MetricTagConfigurationUpdateAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class MetricTagConfigurationUpdateAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateData.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateData.ts index fb5ce5b7663e..112b6820f7ce 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateData.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateData.ts @@ -25,6 +25,13 @@ export class MetricTagConfigurationUpdateData { */ "type": MetricTagConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class MetricTagConfigurationUpdateData { type: "MetricTagConfigurationType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateRequest.ts b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateRequest.ts index df3f29ddd0da..afc8bf27c2a3 100644 --- a/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/MetricTagConfigurationUpdateRequest.ts @@ -16,6 +16,13 @@ export class MetricTagConfigurationUpdateRequest { */ "data": MetricTagConfigurationUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MetricTagConfigurationUpdateRequest { type: "MetricTagConfigurationUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricVolumesResponse.ts b/packages/datadog-api-client-v2/models/MetricVolumesResponse.ts index eef21b3e8a39..99639e9d0ac3 100644 --- a/packages/datadog-api-client-v2/models/MetricVolumesResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricVolumesResponse.ts @@ -16,6 +16,13 @@ export class MetricVolumesResponse { */ "data"?: MetricVolumes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricVolumesResponse { baseName: "data", type: "MetricVolumes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.ts b/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.ts index eccd0a1cdd9c..0e23c0046741 100644 --- a/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.ts +++ b/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.ts @@ -16,6 +16,13 @@ export class MetricsAndMetricTagConfigurationsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MetricsAndMetricTagConfigurationsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricsScalarQuery.ts b/packages/datadog-api-client-v2/models/MetricsScalarQuery.ts index 03f3c536d7c9..89cdb66f2191 100644 --- a/packages/datadog-api-client-v2/models/MetricsScalarQuery.ts +++ b/packages/datadog-api-client-v2/models/MetricsScalarQuery.ts @@ -29,6 +29,13 @@ export class MetricsScalarQuery { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class MetricsScalarQuery { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.ts b/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.ts index e725078ce3e0..10f68f7c5859 100644 --- a/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.ts +++ b/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.ts @@ -24,6 +24,13 @@ export class MetricsTimeseriesQuery { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MetricsTimeseriesQuery { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeCreateRequest.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeCreateRequest.ts index 606cf39572d2..04371550d554 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeCreateRequest.ts @@ -21,6 +21,13 @@ export class MonitorConfigPolicyAttributeCreateRequest { */ "policyType": MonitorConfigPolicyType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class MonitorConfigPolicyAttributeCreateRequest { type: "MonitorConfigPolicyType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeEditRequest.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeEditRequest.ts index 8260637ae055..699fd4b39261 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeEditRequest.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeEditRequest.ts @@ -21,6 +21,13 @@ export class MonitorConfigPolicyAttributeEditRequest { */ "policyType": MonitorConfigPolicyType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class MonitorConfigPolicyAttributeEditRequest { type: "MonitorConfigPolicyType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeResponse.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeResponse.ts index 97a26424e4c3..be91cced6d89 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeResponse.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyAttributeResponse.ts @@ -21,6 +21,13 @@ export class MonitorConfigPolicyAttributeResponse { */ "policyType"?: MonitorConfigPolicyType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonitorConfigPolicyAttributeResponse { baseName: "policy_type", type: "MonitorConfigPolicyType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateData.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateData.ts index 988cf7352d3f..8cd55c4ea33a 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateData.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateData.ts @@ -21,6 +21,13 @@ export class MonitorConfigPolicyCreateData { */ "type": MonitorConfigPolicyResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class MonitorConfigPolicyCreateData { type: "MonitorConfigPolicyResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateRequest.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateRequest.ts index be07754b53bb..bd7dc6b115c8 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyCreateRequest.ts @@ -16,6 +16,13 @@ export class MonitorConfigPolicyCreateRequest { */ "data": MonitorConfigPolicyCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MonitorConfigPolicyCreateRequest { type: "MonitorConfigPolicyCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditData.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditData.ts index 3c7f83b8efd0..4637865184cb 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditData.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditData.ts @@ -25,6 +25,13 @@ export class MonitorConfigPolicyEditData { */ "type": MonitorConfigPolicyResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class MonitorConfigPolicyEditData { type: "MonitorConfigPolicyResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditRequest.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditRequest.ts index aea6f975e148..daaa25e9e569 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditRequest.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyEditRequest.ts @@ -16,6 +16,13 @@ export class MonitorConfigPolicyEditRequest { */ "data": MonitorConfigPolicyEditData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class MonitorConfigPolicyEditRequest { type: "MonitorConfigPolicyEditData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyListResponse.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyListResponse.ts index 20c9bc07ed60..5fc14f658b65 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyListResponse.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyListResponse.ts @@ -16,6 +16,13 @@ export class MonitorConfigPolicyListResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MonitorConfigPolicyListResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponse.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponse.ts index cf1d60ccc408..c5a434b372f9 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponse.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponse.ts @@ -16,6 +16,13 @@ export class MonitorConfigPolicyResponse { */ "data"?: MonitorConfigPolicyResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class MonitorConfigPolicyResponse { baseName: "data", type: "MonitorConfigPolicyResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponseData.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponseData.ts index 3787b943f28a..94379a9860d2 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponseData.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyResponseData.ts @@ -25,6 +25,13 @@ export class MonitorConfigPolicyResponseData { */ "type"?: MonitorConfigPolicyResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MonitorConfigPolicyResponseData { baseName: "type", type: "MonitorConfigPolicyResourceType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicy.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicy.ts index d34d43385a20..638f4ebdaea3 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicy.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicy.ts @@ -23,6 +23,13 @@ export class MonitorConfigPolicyTagPolicy { */ "validTagValues"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class MonitorConfigPolicyTagPolicy { baseName: "valid_tag_values", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicyCreateRequest.ts b/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicyCreateRequest.ts index 304e06c0dc23..52e2f7220fbf 100644 --- a/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicyCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/MonitorConfigPolicyTagPolicyCreateRequest.ts @@ -23,6 +23,13 @@ export class MonitorConfigPolicyTagPolicyCreateRequest { */ "validTagValues": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class MonitorConfigPolicyTagPolicyCreateRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponse.ts b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponse.ts index fe06aa9b4cce..f2b94ec92f95 100644 --- a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponse.ts +++ b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponse.ts @@ -21,6 +21,13 @@ export class MonitorDowntimeMatchResponse { */ "meta"?: DowntimeMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonitorDowntimeMatchResponse { baseName: "meta", type: "DowntimeMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseAttributes.ts b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseAttributes.ts index c80b92e75fdd..7e75de2f2a30 100644 --- a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseAttributes.ts @@ -27,6 +27,13 @@ export class MonitorDowntimeMatchResponseAttributes { */ "start"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class MonitorDowntimeMatchResponseAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseData.ts b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseData.ts index 8b6a99dfb805..1a5c09f54a4f 100644 --- a/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseData.ts +++ b/packages/datadog-api-client-v2/models/MonitorDowntimeMatchResponseData.ts @@ -25,6 +25,13 @@ export class MonitorDowntimeMatchResponseData { */ "type"?: MonitorDowntimeMatchResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MonitorDowntimeMatchResponseData { baseName: "type", type: "MonitorDowntimeMatchResourceType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonitorType.ts b/packages/datadog-api-client-v2/models/MonitorType.ts index ea42717db1cc..35daf36891ae 100644 --- a/packages/datadog-api-client-v2/models/MonitorType.ts +++ b/packages/datadog-api-client-v2/models/MonitorType.ts @@ -55,6 +55,13 @@ export class MonitorType { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -112,6 +119,10 @@ export class MonitorType { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonthlyCostAttributionAttributes.ts b/packages/datadog-api-client-v2/models/MonthlyCostAttributionAttributes.ts index cf6cfc35ced5..0424e25b621d 100644 --- a/packages/datadog-api-client-v2/models/MonthlyCostAttributionAttributes.ts +++ b/packages/datadog-api-client-v2/models/MonthlyCostAttributionAttributes.ts @@ -42,6 +42,13 @@ export class MonthlyCostAttributionAttributes { */ "values"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -80,6 +87,10 @@ export class MonthlyCostAttributionAttributes { baseName: "values", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonthlyCostAttributionBody.ts b/packages/datadog-api-client-v2/models/MonthlyCostAttributionBody.ts index 1678b6fab145..5400d48a627e 100644 --- a/packages/datadog-api-client-v2/models/MonthlyCostAttributionBody.ts +++ b/packages/datadog-api-client-v2/models/MonthlyCostAttributionBody.ts @@ -25,6 +25,13 @@ export class MonthlyCostAttributionBody { */ "type"?: CostAttributionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class MonthlyCostAttributionBody { baseName: "type", type: "CostAttributionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonthlyCostAttributionMeta.ts b/packages/datadog-api-client-v2/models/MonthlyCostAttributionMeta.ts index ef27f17c3010..c4ef27afc056 100644 --- a/packages/datadog-api-client-v2/models/MonthlyCostAttributionMeta.ts +++ b/packages/datadog-api-client-v2/models/MonthlyCostAttributionMeta.ts @@ -21,6 +21,13 @@ export class MonthlyCostAttributionMeta { */ "pagination"?: MonthlyCostAttributionPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonthlyCostAttributionMeta { baseName: "pagination", type: "MonthlyCostAttributionPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonthlyCostAttributionPagination.ts b/packages/datadog-api-client-v2/models/MonthlyCostAttributionPagination.ts index 8cb8f69f86b5..4980d6682512 100644 --- a/packages/datadog-api-client-v2/models/MonthlyCostAttributionPagination.ts +++ b/packages/datadog-api-client-v2/models/MonthlyCostAttributionPagination.ts @@ -15,6 +15,13 @@ export class MonthlyCostAttributionPagination { */ "nextRecordId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class MonthlyCostAttributionPagination { baseName: "next_record_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/MonthlyCostAttributionResponse.ts b/packages/datadog-api-client-v2/models/MonthlyCostAttributionResponse.ts index 6505f19d56b6..b16e083ef064 100644 --- a/packages/datadog-api-client-v2/models/MonthlyCostAttributionResponse.ts +++ b/packages/datadog-api-client-v2/models/MonthlyCostAttributionResponse.ts @@ -21,6 +21,13 @@ export class MonthlyCostAttributionResponse { */ "meta"?: MonthlyCostAttributionMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class MonthlyCostAttributionResponse { baseName: "meta", type: "MonthlyCostAttributionMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/NullableRelationshipToUser.ts b/packages/datadog-api-client-v2/models/NullableRelationshipToUser.ts index 86f9a80b5c14..8312b77bcef2 100644 --- a/packages/datadog-api-client-v2/models/NullableRelationshipToUser.ts +++ b/packages/datadog-api-client-v2/models/NullableRelationshipToUser.ts @@ -16,6 +16,13 @@ export class NullableRelationshipToUser { */ "data": NullableRelationshipToUserData | null; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NullableRelationshipToUser { type: "NullableRelationshipToUserData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/NullableRelationshipToUserData.ts b/packages/datadog-api-client-v2/models/NullableRelationshipToUserData.ts index 2e84379ee0c9..121c1c6ce373 100644 --- a/packages/datadog-api-client-v2/models/NullableRelationshipToUserData.ts +++ b/packages/datadog-api-client-v2/models/NullableRelationshipToUserData.ts @@ -20,6 +20,13 @@ export class NullableRelationshipToUserData { */ "type": UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class NullableRelationshipToUserData { type: "UsersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/NullableUserRelationship.ts b/packages/datadog-api-client-v2/models/NullableUserRelationship.ts index edf32561b685..8bdbff55cc71 100644 --- a/packages/datadog-api-client-v2/models/NullableUserRelationship.ts +++ b/packages/datadog-api-client-v2/models/NullableUserRelationship.ts @@ -16,6 +16,13 @@ export class NullableUserRelationship { */ "data": NullableUserRelationshipData | null; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class NullableUserRelationship { type: "NullableUserRelationshipData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts b/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts index a20ddee8607f..cb27021b2529 100644 --- a/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts +++ b/packages/datadog-api-client-v2/models/NullableUserRelationshipData.ts @@ -20,6 +20,13 @@ export class NullableUserRelationshipData { */ "type": UserResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class NullableUserRelationshipData { type: "UserResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index c2935e9919e1..077f3ce79da1 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -3058,26 +3058,43 @@ export class ObjectSerializer { const attributesMap = typeMap[type].getAttributeTypeMap(); const instance: { [index: string]: any } = {}; - for (const attributeName in attributesMap) { + for (const attributeName in data) { const attributeObj = attributesMap[attributeName]; - if (attributeName == "additionalProperties") { - if (data.additionalProperties) { - for (const key in data.additionalProperties) { - instance[key] = ObjectSerializer.serialize( - data.additionalProperties[key], - attributeObj.type, - attributeObj.format - ); - } - } + if ( + attributeName === "_unparsed" || + attributeName === "additionalProperties" + ) { continue; + } else if ( + attributeObj === undefined && + !("additionalProperties" in attributesMap) + ) { + throw new Error( + "unexpected attribute " + attributeName + " of type " + type + ); + } else if (attributeObj) { + instance[attributeObj.baseName] = ObjectSerializer.serialize( + data[attributeName], + attributeObj.type, + attributeObj.format + ); } - instance[attributeObj.baseName] = ObjectSerializer.serialize( - data[attributeName], - attributeObj.type, - attributeObj.format - ); - // check for required properties + } + + const additionalProperties = attributesMap["additionalProperties"]; + if (additionalProperties && data.additionalProperties) { + for (const key in data.additionalProperties) { + instance[key] = ObjectSerializer.serialize( + data.additionalProperties[key], + additionalProperties.type, + additionalProperties.format + ); + } + } + + // check for required properties + for (const attributeName in attributesMap) { + const attributeObj = attributesMap[attributeName]; if ( attributeObj?.required && instance[attributeObj.baseName] === undefined diff --git a/packages/datadog-api-client-v2/models/OktaAccount.ts b/packages/datadog-api-client-v2/models/OktaAccount.ts index fdb1148e23fc..57417a46c5f6 100644 --- a/packages/datadog-api-client-v2/models/OktaAccount.ts +++ b/packages/datadog-api-client-v2/models/OktaAccount.ts @@ -25,6 +25,13 @@ export class OktaAccount { */ "type": OktaAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class OktaAccount { type: "OktaAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountAttributes.ts b/packages/datadog-api-client-v2/models/OktaAccountAttributes.ts index 8e0f87a59a29..d511a502cb43 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountAttributes.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountAttributes.ts @@ -35,6 +35,13 @@ export class OktaAccountAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class OktaAccountAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountRequest.ts b/packages/datadog-api-client-v2/models/OktaAccountRequest.ts index 06efc3965544..5ea76886f7b5 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountRequest.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountRequest.ts @@ -16,6 +16,13 @@ export class OktaAccountRequest { */ "data": OktaAccount; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OktaAccountRequest { type: "OktaAccount", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountResponse.ts b/packages/datadog-api-client-v2/models/OktaAccountResponse.ts index 5c514ea2e4fe..892bc97ed325 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountResponse.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountResponse.ts @@ -16,6 +16,13 @@ export class OktaAccountResponse { */ "data"?: OktaAccount; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OktaAccountResponse { baseName: "data", type: "OktaAccount", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountResponseData.ts b/packages/datadog-api-client-v2/models/OktaAccountResponseData.ts index aeed1351e1e8..2972a6914f22 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountResponseData.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountResponseData.ts @@ -25,6 +25,13 @@ export class OktaAccountResponseData { */ "type": OktaAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class OktaAccountResponseData { type: "OktaAccountType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequest.ts b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequest.ts index 572e707ab45a..0690c7bcb5d6 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequest.ts @@ -16,6 +16,13 @@ export class OktaAccountUpdateRequest { */ "data": OktaAccountUpdateRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OktaAccountUpdateRequest { type: "OktaAccountUpdateRequestData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestAttributes.ts index a58bfa6f2304..36e73d582bde 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestAttributes.ts @@ -31,6 +31,13 @@ export class OktaAccountUpdateRequestAttributes { */ "domain": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class OktaAccountUpdateRequestAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestData.ts b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestData.ts index c6438571e45c..6f00b48a0ff9 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestData.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountUpdateRequestData.ts @@ -21,6 +21,13 @@ export class OktaAccountUpdateRequestData { */ "type"?: OktaAccountType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class OktaAccountUpdateRequestData { baseName: "type", type: "OktaAccountType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OktaAccountsResponse.ts b/packages/datadog-api-client-v2/models/OktaAccountsResponse.ts index 5eeea8985736..6611e33a3e3d 100644 --- a/packages/datadog-api-client-v2/models/OktaAccountsResponse.ts +++ b/packages/datadog-api-client-v2/models/OktaAccountsResponse.ts @@ -16,6 +16,13 @@ export class OktaAccountsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OktaAccountsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCap.ts b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCap.ts index f6b84de64d82..f61f0ac29bb4 100644 --- a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCap.ts +++ b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCap.ts @@ -21,6 +21,13 @@ export class OnDemandConcurrencyCap { */ "type"?: OnDemandConcurrencyCapType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class OnDemandConcurrencyCap { baseName: "type", type: "OnDemandConcurrencyCapType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapAttributes.ts b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapAttributes.ts index df67e65c90fb..3477cbc15bb6 100644 --- a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapAttributes.ts +++ b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapAttributes.ts @@ -15,6 +15,13 @@ export class OnDemandConcurrencyCapAttributes { */ "onDemandConcurrencyCap"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OnDemandConcurrencyCapAttributes { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapResponse.ts b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapResponse.ts index c11927ae5809..580453400959 100644 --- a/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapResponse.ts +++ b/packages/datadog-api-client-v2/models/OnDemandConcurrencyCapResponse.ts @@ -16,6 +16,13 @@ export class OnDemandConcurrencyCapResponse { */ "data"?: OnDemandConcurrencyCap; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OnDemandConcurrencyCapResponse { baseName: "data", type: "OnDemandConcurrencyCap", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpenAPIEndpoint.ts b/packages/datadog-api-client-v2/models/OpenAPIEndpoint.ts index fe4e8389ac9b..c12698d7c107 100644 --- a/packages/datadog-api-client-v2/models/OpenAPIEndpoint.ts +++ b/packages/datadog-api-client-v2/models/OpenAPIEndpoint.ts @@ -19,6 +19,13 @@ export class OpenAPIEndpoint { */ "path"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class OpenAPIEndpoint { baseName: "path", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpenAPIFile.ts b/packages/datadog-api-client-v2/models/OpenAPIFile.ts index 12867813cc61..92905faec512 100644 --- a/packages/datadog-api-client-v2/models/OpenAPIFile.ts +++ b/packages/datadog-api-client-v2/models/OpenAPIFile.ts @@ -17,6 +17,13 @@ export class OpenAPIFile { */ "openapiSpecFile"?: HttpFile; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -31,6 +38,10 @@ export class OpenAPIFile { type: "HttpFile", format: "binary", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateAttributes.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateAttributes.ts index 23aecfa624ac..6463d06ba7d4 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateAttributes.ts @@ -28,6 +28,13 @@ export class OpsgenieServiceCreateAttributes { */ "region": OpsgenieServiceRegionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class OpsgenieServiceCreateAttributes { type: "OpsgenieServiceRegionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateData.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateData.ts index 6d13798635d6..2d4700a68a7d 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateData.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateData.ts @@ -21,6 +21,13 @@ export class OpsgenieServiceCreateData { */ "type": OpsgenieServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class OpsgenieServiceCreateData { type: "OpsgenieServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateRequest.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateRequest.ts index 6851b3c9a53f..d4ba68bc1ebd 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceCreateRequest.ts @@ -16,6 +16,13 @@ export class OpsgenieServiceCreateRequest { */ "data": OpsgenieServiceCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OpsgenieServiceCreateRequest { type: "OpsgenieServiceCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceResponse.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceResponse.ts index 92468c90deb3..0dd61f2f301c 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceResponse.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceResponse.ts @@ -16,6 +16,13 @@ export class OpsgenieServiceResponse { */ "data": OpsgenieServiceResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OpsgenieServiceResponse { type: "OpsgenieServiceResponseData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceResponseAttributes.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceResponseAttributes.ts index 6579891d440e..b0d1b9a7b5d8 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceResponseAttributes.ts @@ -24,6 +24,13 @@ export class OpsgenieServiceResponseAttributes { */ "region"?: OpsgenieServiceRegionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class OpsgenieServiceResponseAttributes { baseName: "region", type: "OpsgenieServiceRegionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceResponseData.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceResponseData.ts index 7c077b5e2fd6..3f0fa04a63e9 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceResponseData.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceResponseData.ts @@ -25,6 +25,13 @@ export class OpsgenieServiceResponseData { */ "type": OpsgenieServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class OpsgenieServiceResponseData { type: "OpsgenieServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateAttributes.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateAttributes.ts index 94d5fc5f8071..99dc537b7032 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateAttributes.ts @@ -28,6 +28,13 @@ export class OpsgenieServiceUpdateAttributes { */ "region"?: OpsgenieServiceRegionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class OpsgenieServiceUpdateAttributes { baseName: "region", type: "OpsgenieServiceRegionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateData.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateData.ts index 9787b503474a..80d54867495c 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateData.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateData.ts @@ -25,6 +25,13 @@ export class OpsgenieServiceUpdateData { */ "type": OpsgenieServiceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class OpsgenieServiceUpdateData { type: "OpsgenieServiceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateRequest.ts b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateRequest.ts index 4726924383c1..9f4b8576d179 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServiceUpdateRequest.ts @@ -16,6 +16,13 @@ export class OpsgenieServiceUpdateRequest { */ "data": OpsgenieServiceUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OpsgenieServiceUpdateRequest { type: "OpsgenieServiceUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OpsgenieServicesResponse.ts b/packages/datadog-api-client-v2/models/OpsgenieServicesResponse.ts index 762fc3f0fb3a..fa7549c26e99 100644 --- a/packages/datadog-api-client-v2/models/OpsgenieServicesResponse.ts +++ b/packages/datadog-api-client-v2/models/OpsgenieServicesResponse.ts @@ -16,6 +16,13 @@ export class OpsgenieServicesResponse { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class OpsgenieServicesResponse { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Organization.ts b/packages/datadog-api-client-v2/models/Organization.ts index 2b1119962f8e..3308fc63732d 100644 --- a/packages/datadog-api-client-v2/models/Organization.ts +++ b/packages/datadog-api-client-v2/models/Organization.ts @@ -25,6 +25,13 @@ export class Organization { */ "type": OrganizationsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class Organization { type: "OrganizationsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OrganizationAttributes.ts b/packages/datadog-api-client-v2/models/OrganizationAttributes.ts index b07c8d10cc0a..07d789943a11 100644 --- a/packages/datadog-api-client-v2/models/OrganizationAttributes.ts +++ b/packages/datadog-api-client-v2/models/OrganizationAttributes.ts @@ -43,6 +43,13 @@ export class OrganizationAttributes { */ "url"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -86,6 +93,10 @@ export class OrganizationAttributes { baseName: "url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchAttributes.ts b/packages/datadog-api-client-v2/models/OutcomesBatchAttributes.ts index 5ac13f575fd4..8c0097b78ff7 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchAttributes.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchAttributes.ts @@ -16,6 +16,13 @@ export class OutcomesBatchAttributes { */ "results"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OutcomesBatchAttributes { baseName: "results", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchRequest.ts b/packages/datadog-api-client-v2/models/OutcomesBatchRequest.ts index 64ecdc0d3afd..7e73cf4e84f9 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchRequest.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchRequest.ts @@ -16,6 +16,13 @@ export class OutcomesBatchRequest { */ "data"?: OutcomesBatchRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class OutcomesBatchRequest { baseName: "data", type: "OutcomesBatchRequestData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchRequestData.ts b/packages/datadog-api-client-v2/models/OutcomesBatchRequestData.ts index 96fc25ea4abf..03c8c838ba95 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchRequestData.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchRequestData.ts @@ -21,6 +21,13 @@ export class OutcomesBatchRequestData { */ "type"?: OutcomesBatchType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class OutcomesBatchRequestData { baseName: "type", type: "OutcomesBatchType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchRequestItem.ts b/packages/datadog-api-client-v2/models/OutcomesBatchRequestItem.ts index c196afddcab8..9270970187ed 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchRequestItem.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchRequestItem.ts @@ -28,6 +28,13 @@ export class OutcomesBatchRequestItem { */ "state": State; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class OutcomesBatchRequestItem { type: "State", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchResponse.ts b/packages/datadog-api-client-v2/models/OutcomesBatchResponse.ts index 9517e9431638..54e682718bc4 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchResponse.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchResponse.ts @@ -21,6 +21,13 @@ export class OutcomesBatchResponse { */ "meta": OutcomesBatchResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class OutcomesBatchResponse { type: "OutcomesBatchResponseMeta", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchResponseAttributes.ts b/packages/datadog-api-client-v2/models/OutcomesBatchResponseAttributes.ts index 4d82b6df0b13..93bc0e35e8c4 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchResponseAttributes.ts @@ -32,6 +32,13 @@ export class OutcomesBatchResponseAttributes { */ "state"?: State; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -63,6 +70,10 @@ export class OutcomesBatchResponseAttributes { baseName: "state", type: "State", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesBatchResponseMeta.ts b/packages/datadog-api-client-v2/models/OutcomesBatchResponseMeta.ts index 1e96fc408bf8..7e5d66d56428 100644 --- a/packages/datadog-api-client-v2/models/OutcomesBatchResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/OutcomesBatchResponseMeta.ts @@ -19,6 +19,13 @@ export class OutcomesBatchResponseMeta { */ "totalUpdated"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class OutcomesBatchResponseMeta { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesResponse.ts b/packages/datadog-api-client-v2/models/OutcomesResponse.ts index 59031cb27d02..dab1eef456d1 100644 --- a/packages/datadog-api-client-v2/models/OutcomesResponse.ts +++ b/packages/datadog-api-client-v2/models/OutcomesResponse.ts @@ -26,6 +26,13 @@ export class OutcomesResponse { */ "links"?: OutcomesResponseLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class OutcomesResponse { baseName: "links", type: "OutcomesResponseLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesResponseDataItem.ts b/packages/datadog-api-client-v2/models/OutcomesResponseDataItem.ts index f7b252988805..9a57c770290a 100644 --- a/packages/datadog-api-client-v2/models/OutcomesResponseDataItem.ts +++ b/packages/datadog-api-client-v2/models/OutcomesResponseDataItem.ts @@ -30,6 +30,13 @@ export class OutcomesResponseDataItem { */ "type"?: OutcomeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class OutcomesResponseDataItem { baseName: "type", type: "OutcomeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesResponseIncludedItem.ts b/packages/datadog-api-client-v2/models/OutcomesResponseIncludedItem.ts index 5a991021c402..681abc10105e 100644 --- a/packages/datadog-api-client-v2/models/OutcomesResponseIncludedItem.ts +++ b/packages/datadog-api-client-v2/models/OutcomesResponseIncludedItem.ts @@ -25,6 +25,13 @@ export class OutcomesResponseIncludedItem { */ "type"?: RuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class OutcomesResponseIncludedItem { baseName: "type", type: "RuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesResponseIncludedRuleAttributes.ts b/packages/datadog-api-client-v2/models/OutcomesResponseIncludedRuleAttributes.ts index 4b432fe6d4ce..c1f446c8cc0b 100644 --- a/packages/datadog-api-client-v2/models/OutcomesResponseIncludedRuleAttributes.ts +++ b/packages/datadog-api-client-v2/models/OutcomesResponseIncludedRuleAttributes.ts @@ -19,6 +19,13 @@ export class OutcomesResponseIncludedRuleAttributes { */ "scorecardName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class OutcomesResponseIncludedRuleAttributes { baseName: "scorecard_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/OutcomesResponseLinks.ts b/packages/datadog-api-client-v2/models/OutcomesResponseLinks.ts index 1975ee8b2d51..16beff4ea1f4 100644 --- a/packages/datadog-api-client-v2/models/OutcomesResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/OutcomesResponseLinks.ts @@ -15,6 +15,13 @@ export class OutcomesResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class OutcomesResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Pagination.ts b/packages/datadog-api-client-v2/models/Pagination.ts index e34000773ca6..3181b52bd757 100644 --- a/packages/datadog-api-client-v2/models/Pagination.ts +++ b/packages/datadog-api-client-v2/models/Pagination.ts @@ -19,6 +19,13 @@ export class Pagination { */ "totalFilteredCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class Pagination { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PartialAPIKey.ts b/packages/datadog-api-client-v2/models/PartialAPIKey.ts index 3c3cff1c036c..7d4ce522b392 100644 --- a/packages/datadog-api-client-v2/models/PartialAPIKey.ts +++ b/packages/datadog-api-client-v2/models/PartialAPIKey.ts @@ -30,6 +30,13 @@ export class PartialAPIKey { */ "type"?: APIKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class PartialAPIKey { baseName: "type", type: "APIKeysType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.ts b/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.ts index aa077b0fc91d..94d8a7532d54 100644 --- a/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.ts +++ b/packages/datadog-api-client-v2/models/PartialAPIKeyAttributes.ts @@ -35,6 +35,13 @@ export class PartialAPIKeyAttributes { */ "remoteConfigReadEnabled"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -68,6 +75,10 @@ export class PartialAPIKeyAttributes { baseName: "remote_config_read_enabled", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PartialApplicationKey.ts b/packages/datadog-api-client-v2/models/PartialApplicationKey.ts index a84f1c5eb695..145d2a7f551d 100644 --- a/packages/datadog-api-client-v2/models/PartialApplicationKey.ts +++ b/packages/datadog-api-client-v2/models/PartialApplicationKey.ts @@ -30,6 +30,13 @@ export class PartialApplicationKey { */ "type"?: ApplicationKeysType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class PartialApplicationKey { baseName: "type", type: "ApplicationKeysType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.ts b/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.ts index 45914646030d..5dba9feb2f1a 100644 --- a/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.ts +++ b/packages/datadog-api-client-v2/models/PartialApplicationKeyAttributes.ts @@ -27,6 +27,13 @@ export class PartialApplicationKeyAttributes { */ "scopes"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class PartialApplicationKeyAttributes { baseName: "scopes", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PartialApplicationKeyResponse.ts b/packages/datadog-api-client-v2/models/PartialApplicationKeyResponse.ts index c7c95451dbfa..5a87ae643bc4 100644 --- a/packages/datadog-api-client-v2/models/PartialApplicationKeyResponse.ts +++ b/packages/datadog-api-client-v2/models/PartialApplicationKeyResponse.ts @@ -21,6 +21,13 @@ export class PartialApplicationKeyResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class PartialApplicationKeyResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Permission.ts b/packages/datadog-api-client-v2/models/Permission.ts index a4e7d7795665..03aee918d0af 100644 --- a/packages/datadog-api-client-v2/models/Permission.ts +++ b/packages/datadog-api-client-v2/models/Permission.ts @@ -25,6 +25,13 @@ export class Permission { */ "type": PermissionsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class Permission { type: "PermissionsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PermissionAttributes.ts b/packages/datadog-api-client-v2/models/PermissionAttributes.ts index f9dede58ee51..0a96834a7e29 100644 --- a/packages/datadog-api-client-v2/models/PermissionAttributes.ts +++ b/packages/datadog-api-client-v2/models/PermissionAttributes.ts @@ -39,6 +39,13 @@ export class PermissionAttributes { */ "restricted"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -77,6 +84,10 @@ export class PermissionAttributes { baseName: "restricted", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PermissionsResponse.ts b/packages/datadog-api-client-v2/models/PermissionsResponse.ts index b943cf65c2d7..83323cfa78fc 100644 --- a/packages/datadog-api-client-v2/models/PermissionsResponse.ts +++ b/packages/datadog-api-client-v2/models/PermissionsResponse.ts @@ -16,6 +16,13 @@ export class PermissionsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class PermissionsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Powerpack.ts b/packages/datadog-api-client-v2/models/Powerpack.ts index 22d73629ef29..c6d4885198f9 100644 --- a/packages/datadog-api-client-v2/models/Powerpack.ts +++ b/packages/datadog-api-client-v2/models/Powerpack.ts @@ -16,6 +16,13 @@ export class Powerpack { */ "data"?: PowerpackData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class Powerpack { baseName: "data", type: "PowerpackData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackAttributes.ts b/packages/datadog-api-client-v2/models/PowerpackAttributes.ts index 77111cc434a0..8c3529acaeb4 100644 --- a/packages/datadog-api-client-v2/models/PowerpackAttributes.ts +++ b/packages/datadog-api-client-v2/models/PowerpackAttributes.ts @@ -33,6 +33,13 @@ export class PowerpackAttributes { */ "templateVariables"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class PowerpackAttributes { baseName: "template_variables", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackData.ts b/packages/datadog-api-client-v2/models/PowerpackData.ts index f7532c8d0dea..e19d15b1e4c1 100644 --- a/packages/datadog-api-client-v2/models/PowerpackData.ts +++ b/packages/datadog-api-client-v2/models/PowerpackData.ts @@ -29,6 +29,13 @@ export class PowerpackData { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class PowerpackData { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackGroupWidget.ts b/packages/datadog-api-client-v2/models/PowerpackGroupWidget.ts index 568e51dcf457..07e15c4f6a9d 100644 --- a/packages/datadog-api-client-v2/models/PowerpackGroupWidget.ts +++ b/packages/datadog-api-client-v2/models/PowerpackGroupWidget.ts @@ -26,6 +26,13 @@ export class PowerpackGroupWidget { */ "liveSpan"?: WidgetLiveSpan; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class PowerpackGroupWidget { baseName: "live_span", type: "WidgetLiveSpan", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackGroupWidgetDefinition.ts b/packages/datadog-api-client-v2/models/PowerpackGroupWidgetDefinition.ts index 15f5e8aeab69..41117544afde 100644 --- a/packages/datadog-api-client-v2/models/PowerpackGroupWidgetDefinition.ts +++ b/packages/datadog-api-client-v2/models/PowerpackGroupWidgetDefinition.ts @@ -32,6 +32,13 @@ export class PowerpackGroupWidgetDefinition { */ "widgets": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -64,6 +71,10 @@ export class PowerpackGroupWidgetDefinition { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackGroupWidgetLayout.ts b/packages/datadog-api-client-v2/models/PowerpackGroupWidgetLayout.ts index 417a157b316d..c267b494fee2 100644 --- a/packages/datadog-api-client-v2/models/PowerpackGroupWidgetLayout.ts +++ b/packages/datadog-api-client-v2/models/PowerpackGroupWidgetLayout.ts @@ -27,6 +27,13 @@ export class PowerpackGroupWidgetLayout { */ "y": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class PowerpackGroupWidgetLayout { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackInnerWidgetLayout.ts b/packages/datadog-api-client-v2/models/PowerpackInnerWidgetLayout.ts index 5cb501be7ae1..159861f6dbc8 100644 --- a/packages/datadog-api-client-v2/models/PowerpackInnerWidgetLayout.ts +++ b/packages/datadog-api-client-v2/models/PowerpackInnerWidgetLayout.ts @@ -27,6 +27,13 @@ export class PowerpackInnerWidgetLayout { */ "y": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class PowerpackInnerWidgetLayout { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackInnerWidgets.ts b/packages/datadog-api-client-v2/models/PowerpackInnerWidgets.ts index dbf0ba0645a8..96c52779177e 100644 --- a/packages/datadog-api-client-v2/models/PowerpackInnerWidgets.ts +++ b/packages/datadog-api-client-v2/models/PowerpackInnerWidgets.ts @@ -20,6 +20,13 @@ export class PowerpackInnerWidgets { */ "layout"?: PowerpackInnerWidgetLayout; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class PowerpackInnerWidgets { baseName: "layout", type: "PowerpackInnerWidgetLayout", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackRelationships.ts b/packages/datadog-api-client-v2/models/PowerpackRelationships.ts index 909ea65dcdd2..2ed0c48777e1 100644 --- a/packages/datadog-api-client-v2/models/PowerpackRelationships.ts +++ b/packages/datadog-api-client-v2/models/PowerpackRelationships.ts @@ -16,6 +16,13 @@ export class PowerpackRelationships { */ "author"?: RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class PowerpackRelationships { baseName: "author", type: "RelationshipToUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackResponse.ts b/packages/datadog-api-client-v2/models/PowerpackResponse.ts index 4e64f15a3ab9..939911a3cfe2 100644 --- a/packages/datadog-api-client-v2/models/PowerpackResponse.ts +++ b/packages/datadog-api-client-v2/models/PowerpackResponse.ts @@ -21,6 +21,13 @@ export class PowerpackResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class PowerpackResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackResponseLinks.ts b/packages/datadog-api-client-v2/models/PowerpackResponseLinks.ts index 555a38bec9e4..9d726b51d905 100644 --- a/packages/datadog-api-client-v2/models/PowerpackResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/PowerpackResponseLinks.ts @@ -31,6 +31,13 @@ export class PowerpackResponseLinks { */ "self"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class PowerpackResponseLinks { baseName: "self", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpackTemplateVariable.ts b/packages/datadog-api-client-v2/models/PowerpackTemplateVariable.ts index 7f76008e6605..9334eb0e2993 100644 --- a/packages/datadog-api-client-v2/models/PowerpackTemplateVariable.ts +++ b/packages/datadog-api-client-v2/models/PowerpackTemplateVariable.ts @@ -19,6 +19,13 @@ export class PowerpackTemplateVariable { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class PowerpackTemplateVariable { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpacksResponseMeta.ts b/packages/datadog-api-client-v2/models/PowerpacksResponseMeta.ts index 4d93e519048d..fe19743cab46 100644 --- a/packages/datadog-api-client-v2/models/PowerpacksResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/PowerpacksResponseMeta.ts @@ -16,6 +16,13 @@ export class PowerpacksResponseMeta { */ "pagination"?: PowerpacksResponseMetaPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class PowerpacksResponseMeta { baseName: "pagination", type: "PowerpacksResponseMetaPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/PowerpacksResponseMetaPagination.ts b/packages/datadog-api-client-v2/models/PowerpacksResponseMetaPagination.ts index 4d70584aff5f..2e6273ec23dd 100644 --- a/packages/datadog-api-client-v2/models/PowerpacksResponseMetaPagination.ts +++ b/packages/datadog-api-client-v2/models/PowerpacksResponseMetaPagination.ts @@ -43,6 +43,13 @@ export class PowerpacksResponseMetaPagination { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class PowerpacksResponseMetaPagination { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProcessSummariesMeta.ts b/packages/datadog-api-client-v2/models/ProcessSummariesMeta.ts index 7f561053498e..2e891038d6f1 100644 --- a/packages/datadog-api-client-v2/models/ProcessSummariesMeta.ts +++ b/packages/datadog-api-client-v2/models/ProcessSummariesMeta.ts @@ -16,6 +16,13 @@ export class ProcessSummariesMeta { */ "page"?: ProcessSummariesMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ProcessSummariesMeta { baseName: "page", type: "ProcessSummariesMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProcessSummariesMetaPage.ts b/packages/datadog-api-client-v2/models/ProcessSummariesMetaPage.ts index e09cf63682d6..e5ca76be01a0 100644 --- a/packages/datadog-api-client-v2/models/ProcessSummariesMetaPage.ts +++ b/packages/datadog-api-client-v2/models/ProcessSummariesMetaPage.ts @@ -20,6 +20,13 @@ export class ProcessSummariesMetaPage { */ "size"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ProcessSummariesMetaPage { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProcessSummariesResponse.ts b/packages/datadog-api-client-v2/models/ProcessSummariesResponse.ts index b2e923919950..c5a05faa7b00 100644 --- a/packages/datadog-api-client-v2/models/ProcessSummariesResponse.ts +++ b/packages/datadog-api-client-v2/models/ProcessSummariesResponse.ts @@ -21,6 +21,13 @@ export class ProcessSummariesResponse { */ "meta"?: ProcessSummariesMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ProcessSummariesResponse { baseName: "meta", type: "ProcessSummariesMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProcessSummary.ts b/packages/datadog-api-client-v2/models/ProcessSummary.ts index 9760927e4e27..4ee563899da2 100644 --- a/packages/datadog-api-client-v2/models/ProcessSummary.ts +++ b/packages/datadog-api-client-v2/models/ProcessSummary.ts @@ -25,6 +25,13 @@ export class ProcessSummary { */ "type"?: ProcessSummaryType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ProcessSummary { baseName: "type", type: "ProcessSummaryType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProcessSummaryAttributes.ts b/packages/datadog-api-client-v2/models/ProcessSummaryAttributes.ts index bb440fd9a1db..c917dbb2f815 100644 --- a/packages/datadog-api-client-v2/models/ProcessSummaryAttributes.ts +++ b/packages/datadog-api-client-v2/models/ProcessSummaryAttributes.ts @@ -43,6 +43,13 @@ export class ProcessSummaryAttributes { */ "user"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -86,6 +93,10 @@ export class ProcessSummaryAttributes { baseName: "user", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Project.ts b/packages/datadog-api-client-v2/models/Project.ts index 0ef50feb6e54..493f33a6a3d3 100644 --- a/packages/datadog-api-client-v2/models/Project.ts +++ b/packages/datadog-api-client-v2/models/Project.ts @@ -30,6 +30,13 @@ export class Project { */ "type": ProjectResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class Project { type: "ProjectResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectAttributes.ts b/packages/datadog-api-client-v2/models/ProjectAttributes.ts index 3f7f5829b102..9384f6cff517 100644 --- a/packages/datadog-api-client-v2/models/ProjectAttributes.ts +++ b/packages/datadog-api-client-v2/models/ProjectAttributes.ts @@ -19,6 +19,13 @@ export class ProjectAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class ProjectAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectCreate.ts b/packages/datadog-api-client-v2/models/ProjectCreate.ts index 501844205416..58cdde34f10c 100644 --- a/packages/datadog-api-client-v2/models/ProjectCreate.ts +++ b/packages/datadog-api-client-v2/models/ProjectCreate.ts @@ -21,6 +21,13 @@ export class ProjectCreate { */ "type": ProjectResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ProjectCreate { type: "ProjectResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts b/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts index 972b1746fb57..a1b3150adfbd 100644 --- a/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/ProjectCreateAttributes.ts @@ -19,6 +19,13 @@ export class ProjectCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ProjectCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts b/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts index 4399edee3be6..fe7964711953 100644 --- a/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/ProjectCreateRequest.ts @@ -16,6 +16,13 @@ export class ProjectCreateRequest { */ "data": ProjectCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ProjectCreateRequest { type: "ProjectCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectRelationship.ts b/packages/datadog-api-client-v2/models/ProjectRelationship.ts index f76a313f5152..23a431d9cd20 100644 --- a/packages/datadog-api-client-v2/models/ProjectRelationship.ts +++ b/packages/datadog-api-client-v2/models/ProjectRelationship.ts @@ -16,6 +16,13 @@ export class ProjectRelationship { */ "data": ProjectRelationshipData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ProjectRelationship { type: "ProjectRelationshipData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts b/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts index dcbb0744906e..636ae22c4134 100644 --- a/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts +++ b/packages/datadog-api-client-v2/models/ProjectRelationshipData.ts @@ -20,6 +20,13 @@ export class ProjectRelationshipData { */ "type": ProjectResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class ProjectRelationshipData { type: "ProjectResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectRelationships.ts b/packages/datadog-api-client-v2/models/ProjectRelationships.ts index 7ce9a356be39..3fc3a311f699 100644 --- a/packages/datadog-api-client-v2/models/ProjectRelationships.ts +++ b/packages/datadog-api-client-v2/models/ProjectRelationships.ts @@ -21,6 +21,13 @@ export class ProjectRelationships { */ "memberUser"?: UsersRelationship; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ProjectRelationships { baseName: "member_user", type: "UsersRelationship", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectResponse.ts b/packages/datadog-api-client-v2/models/ProjectResponse.ts index f145ca5a083b..abe1612e5141 100644 --- a/packages/datadog-api-client-v2/models/ProjectResponse.ts +++ b/packages/datadog-api-client-v2/models/ProjectResponse.ts @@ -16,6 +16,13 @@ export class ProjectResponse { */ "data"?: Project; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ProjectResponse { baseName: "data", type: "Project", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectedCost.ts b/packages/datadog-api-client-v2/models/ProjectedCost.ts index 21212bd4aaaa..f729c68409e4 100644 --- a/packages/datadog-api-client-v2/models/ProjectedCost.ts +++ b/packages/datadog-api-client-v2/models/ProjectedCost.ts @@ -25,6 +25,13 @@ export class ProjectedCost { */ "type"?: ProjectedCostType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ProjectedCost { baseName: "type", type: "ProjectedCostType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectedCostAttributes.ts b/packages/datadog-api-client-v2/models/ProjectedCostAttributes.ts index 540acc417cca..c30871986a41 100644 --- a/packages/datadog-api-client-v2/models/ProjectedCostAttributes.ts +++ b/packages/datadog-api-client-v2/models/ProjectedCostAttributes.ts @@ -36,6 +36,13 @@ export class ProjectedCostAttributes { */ "region"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class ProjectedCostAttributes { baseName: "region", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectedCostResponse.ts b/packages/datadog-api-client-v2/models/ProjectedCostResponse.ts index 27967f3dba89..9aeae49a8995 100644 --- a/packages/datadog-api-client-v2/models/ProjectedCostResponse.ts +++ b/packages/datadog-api-client-v2/models/ProjectedCostResponse.ts @@ -16,6 +16,13 @@ export class ProjectedCostResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ProjectedCostResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ProjectsResponse.ts b/packages/datadog-api-client-v2/models/ProjectsResponse.ts index e3287eed2714..090a99ac1e84 100644 --- a/packages/datadog-api-client-v2/models/ProjectsResponse.ts +++ b/packages/datadog-api-client-v2/models/ProjectsResponse.ts @@ -16,6 +16,13 @@ export class ProjectsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ProjectsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/QueryFormula.ts b/packages/datadog-api-client-v2/models/QueryFormula.ts index 5113fb115860..9e7aea9566ae 100644 --- a/packages/datadog-api-client-v2/models/QueryFormula.ts +++ b/packages/datadog-api-client-v2/models/QueryFormula.ts @@ -21,6 +21,13 @@ export class QueryFormula { */ "limit"?: FormulaLimit; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class QueryFormula { baseName: "limit", type: "FormulaLimit", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMAggregateBucketValueTimeseriesPoint.ts b/packages/datadog-api-client-v2/models/RUMAggregateBucketValueTimeseriesPoint.ts index c94e0e3ee910..4007f7b60f7e 100644 --- a/packages/datadog-api-client-v2/models/RUMAggregateBucketValueTimeseriesPoint.ts +++ b/packages/datadog-api-client-v2/models/RUMAggregateBucketValueTimeseriesPoint.ts @@ -19,6 +19,13 @@ export class RUMAggregateBucketValueTimeseriesPoint { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RUMAggregateBucketValueTimeseriesPoint { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMAggregateRequest.ts b/packages/datadog-api-client-v2/models/RUMAggregateRequest.ts index 989bc3f40534..ef1c64cf9eee 100644 --- a/packages/datadog-api-client-v2/models/RUMAggregateRequest.ts +++ b/packages/datadog-api-client-v2/models/RUMAggregateRequest.ts @@ -37,6 +37,13 @@ export class RUMAggregateRequest { */ "page"?: RUMQueryPageOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -66,6 +73,10 @@ export class RUMAggregateRequest { baseName: "page", type: "RUMQueryPageOptions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMAggregateSort.ts b/packages/datadog-api-client-v2/models/RUMAggregateSort.ts index c44223d3ba57..85a147b73f21 100644 --- a/packages/datadog-api-client-v2/models/RUMAggregateSort.ts +++ b/packages/datadog-api-client-v2/models/RUMAggregateSort.ts @@ -30,6 +30,13 @@ export class RUMAggregateSort { */ "type"?: RUMAggregateSortType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class RUMAggregateSort { baseName: "type", type: "RUMAggregateSortType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMAggregationBucketsResponse.ts b/packages/datadog-api-client-v2/models/RUMAggregationBucketsResponse.ts index 91544518187a..ceaa20276bd2 100644 --- a/packages/datadog-api-client-v2/models/RUMAggregationBucketsResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMAggregationBucketsResponse.ts @@ -16,6 +16,13 @@ export class RUMAggregationBucketsResponse { */ "buckets"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RUMAggregationBucketsResponse { baseName: "buckets", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMAnalyticsAggregateResponse.ts b/packages/datadog-api-client-v2/models/RUMAnalyticsAggregateResponse.ts index aff089f950c1..5de8f2429882 100644 --- a/packages/datadog-api-client-v2/models/RUMAnalyticsAggregateResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMAnalyticsAggregateResponse.ts @@ -26,6 +26,13 @@ export class RUMAnalyticsAggregateResponse { */ "meta"?: RUMResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class RUMAnalyticsAggregateResponse { baseName: "meta", type: "RUMResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplication.ts b/packages/datadog-api-client-v2/models/RUMApplication.ts index 906fd4baaa4c..d9ab60e3873f 100644 --- a/packages/datadog-api-client-v2/models/RUMApplication.ts +++ b/packages/datadog-api-client-v2/models/RUMApplication.ts @@ -25,6 +25,13 @@ export class RUMApplication { */ "type": RUMApplicationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class RUMApplication { type: "RUMApplicationType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationAttributes.ts b/packages/datadog-api-client-v2/models/RUMApplicationAttributes.ts index 98e6ec2a99d2..870c38259290 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationAttributes.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationAttributes.ts @@ -55,6 +55,13 @@ export class RUMApplicationAttributes { */ "updatedByHandle": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -120,6 +127,10 @@ export class RUMApplicationAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationCreate.ts b/packages/datadog-api-client-v2/models/RUMApplicationCreate.ts index 94a914eca067..715a563fbf7a 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationCreate.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationCreate.ts @@ -21,6 +21,13 @@ export class RUMApplicationCreate { */ "type": RUMApplicationCreateType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class RUMApplicationCreate { type: "RUMApplicationCreateType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationCreateAttributes.ts b/packages/datadog-api-client-v2/models/RUMApplicationCreateAttributes.ts index 3f20b5008236..9cb22c5dd32d 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationCreateAttributes.ts @@ -19,6 +19,13 @@ export class RUMApplicationCreateAttributes { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RUMApplicationCreateAttributes { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationCreateRequest.ts b/packages/datadog-api-client-v2/models/RUMApplicationCreateRequest.ts index b208dee88653..57c15c48cf14 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationCreateRequest.ts @@ -16,6 +16,13 @@ export class RUMApplicationCreateRequest { */ "data": RUMApplicationCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RUMApplicationCreateRequest { type: "RUMApplicationCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationList.ts b/packages/datadog-api-client-v2/models/RUMApplicationList.ts index 64375c0875bf..5ba340e4f520 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationList.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationList.ts @@ -25,6 +25,13 @@ export class RUMApplicationList { */ "type": RUMApplicationListType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class RUMApplicationList { type: "RUMApplicationListType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationListAttributes.ts b/packages/datadog-api-client-v2/models/RUMApplicationListAttributes.ts index 97a95a7b591a..258d2d673a3d 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationListAttributes.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationListAttributes.ts @@ -51,6 +51,13 @@ export class RUMApplicationListAttributes { */ "updatedByHandle": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -111,6 +118,10 @@ export class RUMApplicationListAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationResponse.ts b/packages/datadog-api-client-v2/models/RUMApplicationResponse.ts index 644481489478..1b5222bd2005 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationResponse.ts @@ -16,6 +16,13 @@ export class RUMApplicationResponse { */ "data"?: RUMApplication; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RUMApplicationResponse { baseName: "data", type: "RUMApplication", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationUpdate.ts b/packages/datadog-api-client-v2/models/RUMApplicationUpdate.ts index 97628c82ea1c..66f9ac37e3a9 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationUpdate.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationUpdate.ts @@ -25,6 +25,13 @@ export class RUMApplicationUpdate { */ "type": RUMApplicationUpdateType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class RUMApplicationUpdate { type: "RUMApplicationUpdateType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationUpdateAttributes.ts b/packages/datadog-api-client-v2/models/RUMApplicationUpdateAttributes.ts index 1a8e38e6dc49..45c99a81ddc1 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationUpdateAttributes.ts @@ -19,6 +19,13 @@ export class RUMApplicationUpdateAttributes { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class RUMApplicationUpdateAttributes { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationUpdateRequest.ts b/packages/datadog-api-client-v2/models/RUMApplicationUpdateRequest.ts index d6af527675d0..04093b197380 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationUpdateRequest.ts @@ -16,6 +16,13 @@ export class RUMApplicationUpdateRequest { */ "data": RUMApplicationUpdate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RUMApplicationUpdateRequest { type: "RUMApplicationUpdate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMApplicationsResponse.ts b/packages/datadog-api-client-v2/models/RUMApplicationsResponse.ts index 8011d8a54825..d37a12c68201 100644 --- a/packages/datadog-api-client-v2/models/RUMApplicationsResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMApplicationsResponse.ts @@ -16,6 +16,13 @@ export class RUMApplicationsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RUMApplicationsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMBucketResponse.ts b/packages/datadog-api-client-v2/models/RUMBucketResponse.ts index bf41ff3737e6..a65052df6f5d 100644 --- a/packages/datadog-api-client-v2/models/RUMBucketResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMBucketResponse.ts @@ -20,6 +20,13 @@ export class RUMBucketResponse { */ "computes"?: { [key: string]: RUMAggregateBucketValue }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RUMBucketResponse { baseName: "computes", type: "{ [key: string]: RUMAggregateBucketValue; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMCompute.ts b/packages/datadog-api-client-v2/models/RUMCompute.ts index 6ea459f83383..3ed8d9621861 100644 --- a/packages/datadog-api-client-v2/models/RUMCompute.ts +++ b/packages/datadog-api-client-v2/models/RUMCompute.ts @@ -30,6 +30,13 @@ export class RUMCompute { */ "type"?: RUMComputeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class RUMCompute { baseName: "type", type: "RUMComputeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMEvent.ts b/packages/datadog-api-client-v2/models/RUMEvent.ts index 1c1c3595462c..a05e230fc287 100644 --- a/packages/datadog-api-client-v2/models/RUMEvent.ts +++ b/packages/datadog-api-client-v2/models/RUMEvent.ts @@ -25,6 +25,13 @@ export class RUMEvent { */ "type"?: RUMEventType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class RUMEvent { baseName: "type", type: "RUMEventType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMEventAttributes.ts b/packages/datadog-api-client-v2/models/RUMEventAttributes.ts index c553d9d76d16..dbdd82e7ef6e 100644 --- a/packages/datadog-api-client-v2/models/RUMEventAttributes.ts +++ b/packages/datadog-api-client-v2/models/RUMEventAttributes.ts @@ -29,6 +29,13 @@ export class RUMEventAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class RUMEventAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMEventsResponse.ts b/packages/datadog-api-client-v2/models/RUMEventsResponse.ts index e331f573a946..2399d280d502 100644 --- a/packages/datadog-api-client-v2/models/RUMEventsResponse.ts +++ b/packages/datadog-api-client-v2/models/RUMEventsResponse.ts @@ -26,6 +26,13 @@ export class RUMEventsResponse { */ "meta"?: RUMResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class RUMEventsResponse { baseName: "meta", type: "RUMResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMGroupBy.ts b/packages/datadog-api-client-v2/models/RUMGroupBy.ts index 8585bc3b35b3..8388545694d6 100644 --- a/packages/datadog-api-client-v2/models/RUMGroupBy.ts +++ b/packages/datadog-api-client-v2/models/RUMGroupBy.ts @@ -40,6 +40,13 @@ export class RUMGroupBy { */ "total"?: RUMGroupByTotal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class RUMGroupBy { baseName: "total", type: "RUMGroupByTotal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMGroupByHistogram.ts b/packages/datadog-api-client-v2/models/RUMGroupByHistogram.ts index 41026ed18c33..4019b96aee9d 100644 --- a/packages/datadog-api-client-v2/models/RUMGroupByHistogram.ts +++ b/packages/datadog-api-client-v2/models/RUMGroupByHistogram.ts @@ -26,6 +26,13 @@ export class RUMGroupByHistogram { */ "min": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class RUMGroupByHistogram { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMQueryFilter.ts b/packages/datadog-api-client-v2/models/RUMQueryFilter.ts index f1c683575931..97504fafa690 100644 --- a/packages/datadog-api-client-v2/models/RUMQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/RUMQueryFilter.ts @@ -23,6 +23,13 @@ export class RUMQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class RUMQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMQueryOptions.ts b/packages/datadog-api-client-v2/models/RUMQueryOptions.ts index 17366c18284a..363e2b301518 100644 --- a/packages/datadog-api-client-v2/models/RUMQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/RUMQueryOptions.ts @@ -20,6 +20,13 @@ export class RUMQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RUMQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMQueryPageOptions.ts b/packages/datadog-api-client-v2/models/RUMQueryPageOptions.ts index a0f0e504d296..f7196f580f88 100644 --- a/packages/datadog-api-client-v2/models/RUMQueryPageOptions.ts +++ b/packages/datadog-api-client-v2/models/RUMQueryPageOptions.ts @@ -19,6 +19,13 @@ export class RUMQueryPageOptions { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RUMQueryPageOptions { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMResponseLinks.ts b/packages/datadog-api-client-v2/models/RUMResponseLinks.ts index 8c70c596c837..9169d21ef64c 100644 --- a/packages/datadog-api-client-v2/models/RUMResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/RUMResponseLinks.ts @@ -16,6 +16,13 @@ export class RUMResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RUMResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMResponseMetadata.ts b/packages/datadog-api-client-v2/models/RUMResponseMetadata.ts index e368cae77930..83420e7153b0 100644 --- a/packages/datadog-api-client-v2/models/RUMResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/RUMResponseMetadata.ts @@ -35,6 +35,13 @@ export class RUMResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class RUMResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMResponsePage.ts b/packages/datadog-api-client-v2/models/RUMResponsePage.ts index a9c7c57330b2..8b911a83648a 100644 --- a/packages/datadog-api-client-v2/models/RUMResponsePage.ts +++ b/packages/datadog-api-client-v2/models/RUMResponsePage.ts @@ -15,6 +15,13 @@ export class RUMResponsePage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class RUMResponsePage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMSearchEventsRequest.ts b/packages/datadog-api-client-v2/models/RUMSearchEventsRequest.ts index 4d2b2c9ce24d..968b309d1edc 100644 --- a/packages/datadog-api-client-v2/models/RUMSearchEventsRequest.ts +++ b/packages/datadog-api-client-v2/models/RUMSearchEventsRequest.ts @@ -32,6 +32,13 @@ export class RUMSearchEventsRequest { */ "sort"?: RUMSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class RUMSearchEventsRequest { baseName: "sort", type: "RUMSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RUMWarning.ts b/packages/datadog-api-client-v2/models/RUMWarning.ts index 06fda5b70d8b..4833247fd4f8 100644 --- a/packages/datadog-api-client-v2/models/RUMWarning.ts +++ b/packages/datadog-api-client-v2/models/RUMWarning.ts @@ -23,6 +23,13 @@ export class RUMWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class RUMWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachment.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachment.ts index aaab085716eb..c65194354a1b 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachment.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachment.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentAttachment { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentAttachment { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachmentData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachmentData.ts index 99e9e0b84f4d..5c6aaca77f90 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachmentData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentAttachmentData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentAttachmentData { */ "type": IncidentAttachmentType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentAttachmentData { type: "IncidentAttachmentType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentImpactData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentImpactData.ts index 96ff81d74cb9..4e6cd2ed24f0 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentImpactData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentImpactData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentImpactData { */ "type": IncidentImpactsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentImpactData { type: "IncidentImpactsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentImpacts.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentImpacts.ts index 4fff1b6e652b..be747b5492b9 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentImpacts.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentImpacts.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentImpacts { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentImpacts { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadataData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadataData.ts index afb6753c1c37..6b9bb819e961 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadataData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadataData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentIntegrationMetadataData { */ "type": IncidentIntegrationMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentIntegrationMetadataData { type: "IncidentIntegrationMetadataType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadatas.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadatas.ts index 4968febf13c8..0c034cdcb21b 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadatas.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentIntegrationMetadatas.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentIntegrationMetadatas { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentIntegrationMetadatas { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortem.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortem.ts index 4d90dc6874e7..7904fc6d15d0 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortem.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortem.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentPostmortem { */ "data": RelationshipToIncidentPostmortemData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentPostmortem { type: "RelationshipToIncidentPostmortemData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortemData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortemData.ts index 62fb79c58481..cfbbc34049ea 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortemData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentPostmortemData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentPostmortemData { */ "type": IncidentPostmortemType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentPostmortemData { type: "IncidentPostmortemType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentResponderData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentResponderData.ts index a142860e4db4..9450c5ae4e1c 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentResponderData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentResponderData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentResponderData { */ "type": IncidentRespondersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentResponderData { type: "IncidentRespondersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentResponders.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentResponders.ts index b59b23e7118f..c57803e26ae8 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentResponders.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentResponders.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentResponders { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentResponders { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFieldData.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFieldData.ts index 4533c70c2695..fab7f9d4eadd 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFieldData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFieldData.ts @@ -20,6 +20,13 @@ export class RelationshipToIncidentUserDefinedFieldData { */ "type": IncidentUserDefinedFieldType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToIncidentUserDefinedFieldData { type: "IncidentUserDefinedFieldType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFields.ts b/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFields.ts index 6ec4ef2e0c59..8131b063f58a 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFields.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToIncidentUserDefinedFields.ts @@ -16,6 +16,13 @@ export class RelationshipToIncidentUserDefinedFields { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToIncidentUserDefinedFields { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToOrganization.ts b/packages/datadog-api-client-v2/models/RelationshipToOrganization.ts index 4435afc8a0e0..c25204766253 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToOrganization.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToOrganization.ts @@ -16,6 +16,13 @@ export class RelationshipToOrganization { */ "data": RelationshipToOrganizationData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToOrganization { type: "RelationshipToOrganizationData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToOrganizationData.ts b/packages/datadog-api-client-v2/models/RelationshipToOrganizationData.ts index 05420ab1b27f..0e52f0a6edbc 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToOrganizationData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToOrganizationData.ts @@ -20,6 +20,13 @@ export class RelationshipToOrganizationData { */ "type": OrganizationsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToOrganizationData { type: "OrganizationsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToOrganizations.ts b/packages/datadog-api-client-v2/models/RelationshipToOrganizations.ts index 9846a5fb0068..eadac2d080b3 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToOrganizations.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToOrganizations.ts @@ -16,6 +16,13 @@ export class RelationshipToOrganizations { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToOrganizations { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToOutcome.ts b/packages/datadog-api-client-v2/models/RelationshipToOutcome.ts index 741bba1f8fae..4efb3eec579b 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToOutcome.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToOutcome.ts @@ -16,6 +16,13 @@ export class RelationshipToOutcome { */ "data"?: RelationshipToOutcomeData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToOutcome { baseName: "data", type: "RelationshipToOutcomeData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToOutcomeData.ts b/packages/datadog-api-client-v2/models/RelationshipToOutcomeData.ts index 1ad5524c981f..c4e2b8024b64 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToOutcomeData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToOutcomeData.ts @@ -20,6 +20,13 @@ export class RelationshipToOutcomeData { */ "type"?: RuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RelationshipToOutcomeData { baseName: "type", type: "RuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToPermission.ts b/packages/datadog-api-client-v2/models/RelationshipToPermission.ts index 1bdc0a0736fa..d127fc722e12 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToPermission.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToPermission.ts @@ -16,6 +16,13 @@ export class RelationshipToPermission { */ "data"?: RelationshipToPermissionData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToPermission { baseName: "data", type: "RelationshipToPermissionData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToPermissionData.ts b/packages/datadog-api-client-v2/models/RelationshipToPermissionData.ts index 3e2492794e4b..a69e93eeb5ff 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToPermissionData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToPermissionData.ts @@ -20,6 +20,13 @@ export class RelationshipToPermissionData { */ "type"?: PermissionsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RelationshipToPermissionData { baseName: "type", type: "PermissionsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToPermissions.ts b/packages/datadog-api-client-v2/models/RelationshipToPermissions.ts index 5aacacd0fd77..f386a3cf940d 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToPermissions.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToPermissions.ts @@ -16,6 +16,13 @@ export class RelationshipToPermissions { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToPermissions { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRole.ts b/packages/datadog-api-client-v2/models/RelationshipToRole.ts index 0c680c08b93b..454907690303 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRole.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRole.ts @@ -16,6 +16,13 @@ export class RelationshipToRole { */ "data"?: RelationshipToRoleData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToRole { baseName: "data", type: "RelationshipToRoleData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRoleData.ts b/packages/datadog-api-client-v2/models/RelationshipToRoleData.ts index bb7dfb9b27ee..10e083eddb51 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRoleData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRoleData.ts @@ -20,6 +20,13 @@ export class RelationshipToRoleData { */ "type"?: RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RelationshipToRoleData { baseName: "type", type: "RolesType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRoles.ts b/packages/datadog-api-client-v2/models/RelationshipToRoles.ts index fdfc927864b7..9d8edd6fc3f9 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRoles.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRoles.ts @@ -16,6 +16,13 @@ export class RelationshipToRoles { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToRoles { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRule.ts b/packages/datadog-api-client-v2/models/RelationshipToRule.ts index c0d914911014..9d025307b48e 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRule.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRule.ts @@ -16,6 +16,13 @@ export class RelationshipToRule { */ "scorecard"?: RelationshipToRuleData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToRule { baseName: "scorecard", type: "RelationshipToRuleData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRuleData.ts b/packages/datadog-api-client-v2/models/RelationshipToRuleData.ts index 68d3397d5e11..723a354617d0 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRuleData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRuleData.ts @@ -16,6 +16,13 @@ export class RelationshipToRuleData { */ "data"?: RelationshipToRuleDataObject; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RelationshipToRuleData { baseName: "data", type: "RelationshipToRuleDataObject", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToRuleDataObject.ts b/packages/datadog-api-client-v2/models/RelationshipToRuleDataObject.ts index 7bbacd59f4a0..5f9cd848e476 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToRuleDataObject.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToRuleDataObject.ts @@ -20,6 +20,13 @@ export class RelationshipToRuleDataObject { */ "type"?: ScorecardType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class RelationshipToRuleDataObject { baseName: "type", type: "ScorecardType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttribute.ts b/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttribute.ts index f532f40f3ce7..59c9dd0b89f3 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttribute.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttribute.ts @@ -16,6 +16,13 @@ export class RelationshipToSAMLAssertionAttribute { */ "data": RelationshipToSAMLAssertionAttributeData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToSAMLAssertionAttribute { type: "RelationshipToSAMLAssertionAttributeData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.ts b/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.ts index f99db2d93964..4bd77afb5173 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToSAMLAssertionAttributeData.ts @@ -20,6 +20,13 @@ export class RelationshipToSAMLAssertionAttributeData { */ "type": SAMLAssertionAttributesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToSAMLAssertionAttributeData { type: "SAMLAssertionAttributesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToTeamLinkData.ts b/packages/datadog-api-client-v2/models/RelationshipToTeamLinkData.ts index c1b92342abd5..2999f7ac7eb2 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToTeamLinkData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToTeamLinkData.ts @@ -20,6 +20,13 @@ export class RelationshipToTeamLinkData { */ "type": TeamLinkType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToTeamLinkData { type: "TeamLinkType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToTeamLinks.ts b/packages/datadog-api-client-v2/models/RelationshipToTeamLinks.ts index ea189fd58078..7c659086adda 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToTeamLinks.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToTeamLinks.ts @@ -21,6 +21,13 @@ export class RelationshipToTeamLinks { */ "links"?: TeamRelationshipsLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RelationshipToTeamLinks { baseName: "links", type: "TeamRelationshipsLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUser.ts b/packages/datadog-api-client-v2/models/RelationshipToUser.ts index a528d0824b23..8a95c6dcef3a 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUser.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUser.ts @@ -16,6 +16,13 @@ export class RelationshipToUser { */ "data": RelationshipToUserData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToUser { type: "RelationshipToUserData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserData.ts b/packages/datadog-api-client-v2/models/RelationshipToUserData.ts index d1007ad7461a..55d6157bed30 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserData.ts @@ -20,6 +20,13 @@ export class RelationshipToUserData { */ "type": UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToUserData { type: "UsersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermission.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermission.ts index f12f03ea21c3..cc96c9a4d92b 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermission.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermission.ts @@ -21,6 +21,13 @@ export class RelationshipToUserTeamPermission { */ "links"?: TeamRelationshipsLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RelationshipToUserTeamPermission { baseName: "links", type: "TeamRelationshipsLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermissionData.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermissionData.ts index ca6350ed8461..e5b484480d66 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermissionData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamPermissionData.ts @@ -20,6 +20,13 @@ export class RelationshipToUserTeamPermissionData { */ "type": UserTeamPermissionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToUserTeamPermissionData { type: "UserTeamPermissionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeam.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeam.ts index 69f22ba99e8a..eabd85ec3048 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeam.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeam.ts @@ -16,6 +16,13 @@ export class RelationshipToUserTeamTeam { */ "data": RelationshipToUserTeamTeamData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToUserTeamTeam { type: "RelationshipToUserTeamTeamData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeamData.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeamData.ts index 1445289d7bd5..2bd60656d32a 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeamData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamTeamData.ts @@ -20,6 +20,13 @@ export class RelationshipToUserTeamTeamData { */ "type": UserTeamTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToUserTeamTeamData { type: "UserTeamTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamUser.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamUser.ts index 65f301045008..14b588f3180e 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamUser.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamUser.ts @@ -16,6 +16,13 @@ export class RelationshipToUserTeamUser { */ "data": RelationshipToUserTeamUserData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToUserTeamUser { type: "RelationshipToUserTeamUserData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUserTeamUserData.ts b/packages/datadog-api-client-v2/models/RelationshipToUserTeamUserData.ts index 021ec2aa91bf..e029af3bf9a6 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUserTeamUserData.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUserTeamUserData.ts @@ -20,6 +20,13 @@ export class RelationshipToUserTeamUserData { */ "type": UserTeamUserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RelationshipToUserTeamUserData { type: "UserTeamUserType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RelationshipToUsers.ts b/packages/datadog-api-client-v2/models/RelationshipToUsers.ts index b041724a80a8..7a5ff9c52616 100644 --- a/packages/datadog-api-client-v2/models/RelationshipToUsers.ts +++ b/packages/datadog-api-client-v2/models/RelationshipToUsers.ts @@ -16,6 +16,13 @@ export class RelationshipToUsers { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RelationshipToUsers { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ReorderRetentionFiltersRequest.ts b/packages/datadog-api-client-v2/models/ReorderRetentionFiltersRequest.ts index 78b18db0b1db..7c917e3ac1c6 100644 --- a/packages/datadog-api-client-v2/models/ReorderRetentionFiltersRequest.ts +++ b/packages/datadog-api-client-v2/models/ReorderRetentionFiltersRequest.ts @@ -16,6 +16,13 @@ export class ReorderRetentionFiltersRequest { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ReorderRetentionFiltersRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ResponseMetaAttributes.ts b/packages/datadog-api-client-v2/models/ResponseMetaAttributes.ts index db27c9db508e..33179f3379bb 100644 --- a/packages/datadog-api-client-v2/models/ResponseMetaAttributes.ts +++ b/packages/datadog-api-client-v2/models/ResponseMetaAttributes.ts @@ -16,6 +16,13 @@ export class ResponseMetaAttributes { */ "page"?: Pagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ResponseMetaAttributes { baseName: "page", type: "Pagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RestrictionPolicy.ts b/packages/datadog-api-client-v2/models/RestrictionPolicy.ts index 0694f74ec43b..9624c895210b 100644 --- a/packages/datadog-api-client-v2/models/RestrictionPolicy.ts +++ b/packages/datadog-api-client-v2/models/RestrictionPolicy.ts @@ -25,6 +25,13 @@ export class RestrictionPolicy { */ "type": RestrictionPolicyType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class RestrictionPolicy { type: "RestrictionPolicyType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RestrictionPolicyAttributes.ts b/packages/datadog-api-client-v2/models/RestrictionPolicyAttributes.ts index 28aea6d1eca4..18ee304c95c9 100644 --- a/packages/datadog-api-client-v2/models/RestrictionPolicyAttributes.ts +++ b/packages/datadog-api-client-v2/models/RestrictionPolicyAttributes.ts @@ -16,6 +16,13 @@ export class RestrictionPolicyAttributes { */ "bindings": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RestrictionPolicyAttributes { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RestrictionPolicyBinding.ts b/packages/datadog-api-client-v2/models/RestrictionPolicyBinding.ts index 851a16eff70e..279c9155254e 100644 --- a/packages/datadog-api-client-v2/models/RestrictionPolicyBinding.ts +++ b/packages/datadog-api-client-v2/models/RestrictionPolicyBinding.ts @@ -22,6 +22,13 @@ export class RestrictionPolicyBinding { */ "relation": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -41,6 +48,10 @@ export class RestrictionPolicyBinding { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RestrictionPolicyResponse.ts b/packages/datadog-api-client-v2/models/RestrictionPolicyResponse.ts index 26261d46ade2..a39fe44ad8e4 100644 --- a/packages/datadog-api-client-v2/models/RestrictionPolicyResponse.ts +++ b/packages/datadog-api-client-v2/models/RestrictionPolicyResponse.ts @@ -16,6 +16,13 @@ export class RestrictionPolicyResponse { */ "data": RestrictionPolicy; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RestrictionPolicyResponse { type: "RestrictionPolicy", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RestrictionPolicyUpdateRequest.ts b/packages/datadog-api-client-v2/models/RestrictionPolicyUpdateRequest.ts index 082861ff4979..748db3ab8082 100644 --- a/packages/datadog-api-client-v2/models/RestrictionPolicyUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/RestrictionPolicyUpdateRequest.ts @@ -16,6 +16,13 @@ export class RestrictionPolicyUpdateRequest { */ "data": RestrictionPolicy; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RestrictionPolicyUpdateRequest { type: "RestrictionPolicy", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilter.ts b/packages/datadog-api-client-v2/models/RetentionFilter.ts index 99b545d99976..054bb9a0bd69 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilter.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilter.ts @@ -25,6 +25,13 @@ export class RetentionFilter { */ "type": ApmRetentionFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class RetentionFilter { type: "ApmRetentionFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterAll.ts b/packages/datadog-api-client-v2/models/RetentionFilterAll.ts index 3342822c16bc..30f55f9eaebf 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterAll.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterAll.ts @@ -25,6 +25,13 @@ export class RetentionFilterAll { */ "type": ApmRetentionFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class RetentionFilterAll { type: "ApmRetentionFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterAllAttributes.ts b/packages/datadog-api-client-v2/models/RetentionFilterAllAttributes.ts index 681f4caf8bf0..f5fa272b6ba5 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterAllAttributes.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterAllAttributes.ts @@ -58,6 +58,13 @@ export class RetentionFilterAllAttributes { */ "rate"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -115,6 +122,10 @@ export class RetentionFilterAllAttributes { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterAttributes.ts b/packages/datadog-api-client-v2/models/RetentionFilterAttributes.ts index 48c547b3fd2b..2cda69ee2f0d 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterAttributes.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterAttributes.ts @@ -58,6 +58,13 @@ export class RetentionFilterAttributes { */ "rate"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -115,6 +122,10 @@ export class RetentionFilterAttributes { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterCreateAttributes.ts b/packages/datadog-api-client-v2/models/RetentionFilterCreateAttributes.ts index 8dba86af0594..324f2cef3d81 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterCreateAttributes.ts @@ -34,6 +34,13 @@ export class RetentionFilterCreateAttributes { */ "rate": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class RetentionFilterCreateAttributes { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterCreateData.ts b/packages/datadog-api-client-v2/models/RetentionFilterCreateData.ts index 2aed80de01ca..ca099f719826 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterCreateData.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterCreateData.ts @@ -21,6 +21,13 @@ export class RetentionFilterCreateData { */ "type": ApmRetentionFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class RetentionFilterCreateData { type: "ApmRetentionFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterCreateRequest.ts b/packages/datadog-api-client-v2/models/RetentionFilterCreateRequest.ts index 2f20762aa634..2ee09aa64526 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterCreateRequest.ts @@ -16,6 +16,13 @@ export class RetentionFilterCreateRequest { */ "data": RetentionFilterCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RetentionFilterCreateRequest { type: "RetentionFilterCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterResponse.ts b/packages/datadog-api-client-v2/models/RetentionFilterResponse.ts index a3e8976f93fd..9d6cc09a1ea7 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterResponse.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterResponse.ts @@ -16,6 +16,13 @@ export class RetentionFilterResponse { */ "data"?: RetentionFilter; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RetentionFilterResponse { baseName: "data", type: "RetentionFilter", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterUpdateData.ts b/packages/datadog-api-client-v2/models/RetentionFilterUpdateData.ts index e5d775d4ca75..950ecf4425cb 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterUpdateData.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterUpdateData.ts @@ -25,6 +25,13 @@ export class RetentionFilterUpdateData { */ "type": ApmRetentionFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class RetentionFilterUpdateData { type: "ApmRetentionFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterUpdateRequest.ts b/packages/datadog-api-client-v2/models/RetentionFilterUpdateRequest.ts index c7a62bb6d9aa..03034b8e8f4f 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterUpdateRequest.ts @@ -16,6 +16,13 @@ export class RetentionFilterUpdateRequest { */ "data": RetentionFilterUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RetentionFilterUpdateRequest { type: "RetentionFilterUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFilterWithoutAttributes.ts b/packages/datadog-api-client-v2/models/RetentionFilterWithoutAttributes.ts index dc7f7bd68a25..3dc126571626 100644 --- a/packages/datadog-api-client-v2/models/RetentionFilterWithoutAttributes.ts +++ b/packages/datadog-api-client-v2/models/RetentionFilterWithoutAttributes.ts @@ -20,6 +20,13 @@ export class RetentionFilterWithoutAttributes { */ "type": ApmRetentionFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class RetentionFilterWithoutAttributes { type: "ApmRetentionFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RetentionFiltersResponse.ts b/packages/datadog-api-client-v2/models/RetentionFiltersResponse.ts index 62003b7340ef..1f0dbd2136d1 100644 --- a/packages/datadog-api-client-v2/models/RetentionFiltersResponse.ts +++ b/packages/datadog-api-client-v2/models/RetentionFiltersResponse.ts @@ -16,6 +16,13 @@ export class RetentionFiltersResponse { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RetentionFiltersResponse { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Role.ts b/packages/datadog-api-client-v2/models/Role.ts index d92a4edd8c80..9bfd732e2648 100644 --- a/packages/datadog-api-client-v2/models/Role.ts +++ b/packages/datadog-api-client-v2/models/Role.ts @@ -30,6 +30,13 @@ export class Role { */ "type": RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class Role { type: "RolesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleAttributes.ts b/packages/datadog-api-client-v2/models/RoleAttributes.ts index 17ddd1172225..97e0d53aed6a 100644 --- a/packages/datadog-api-client-v2/models/RoleAttributes.ts +++ b/packages/datadog-api-client-v2/models/RoleAttributes.ts @@ -27,6 +27,13 @@ export class RoleAttributes { */ "userCount"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class RoleAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleClone.ts b/packages/datadog-api-client-v2/models/RoleClone.ts index d4d0c1a376f3..2fd94f482072 100644 --- a/packages/datadog-api-client-v2/models/RoleClone.ts +++ b/packages/datadog-api-client-v2/models/RoleClone.ts @@ -21,6 +21,13 @@ export class RoleClone { */ "type": RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class RoleClone { type: "RolesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCloneAttributes.ts b/packages/datadog-api-client-v2/models/RoleCloneAttributes.ts index 981e21e78fc3..6494c31e55ec 100644 --- a/packages/datadog-api-client-v2/models/RoleCloneAttributes.ts +++ b/packages/datadog-api-client-v2/models/RoleCloneAttributes.ts @@ -15,6 +15,13 @@ export class RoleCloneAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RoleCloneAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCloneRequest.ts b/packages/datadog-api-client-v2/models/RoleCloneRequest.ts index e2d6a60efc3a..ba40d6bb5cb4 100644 --- a/packages/datadog-api-client-v2/models/RoleCloneRequest.ts +++ b/packages/datadog-api-client-v2/models/RoleCloneRequest.ts @@ -16,6 +16,13 @@ export class RoleCloneRequest { */ "data": RoleClone; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RoleCloneRequest { type: "RoleClone", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCreateAttributes.ts b/packages/datadog-api-client-v2/models/RoleCreateAttributes.ts index 4d40542b099b..a540a486947c 100644 --- a/packages/datadog-api-client-v2/models/RoleCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/RoleCreateAttributes.ts @@ -23,6 +23,13 @@ export class RoleCreateAttributes { */ "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class RoleCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCreateData.ts b/packages/datadog-api-client-v2/models/RoleCreateData.ts index 6f6581ec245d..3249eaeea236 100644 --- a/packages/datadog-api-client-v2/models/RoleCreateData.ts +++ b/packages/datadog-api-client-v2/models/RoleCreateData.ts @@ -26,6 +26,13 @@ export class RoleCreateData { */ "type"?: RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class RoleCreateData { baseName: "type", type: "RolesType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCreateRequest.ts b/packages/datadog-api-client-v2/models/RoleCreateRequest.ts index b10384ebaa1e..dacffad5a69c 100644 --- a/packages/datadog-api-client-v2/models/RoleCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/RoleCreateRequest.ts @@ -16,6 +16,13 @@ export class RoleCreateRequest { */ "data": RoleCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RoleCreateRequest { type: "RoleCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCreateResponse.ts b/packages/datadog-api-client-v2/models/RoleCreateResponse.ts index edc41de11981..f08d9dd01bbf 100644 --- a/packages/datadog-api-client-v2/models/RoleCreateResponse.ts +++ b/packages/datadog-api-client-v2/models/RoleCreateResponse.ts @@ -16,6 +16,13 @@ export class RoleCreateResponse { */ "data"?: RoleCreateResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RoleCreateResponse { baseName: "data", type: "RoleCreateResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleCreateResponseData.ts b/packages/datadog-api-client-v2/models/RoleCreateResponseData.ts index e176a7e4e01f..02ae2237b050 100644 --- a/packages/datadog-api-client-v2/models/RoleCreateResponseData.ts +++ b/packages/datadog-api-client-v2/models/RoleCreateResponseData.ts @@ -30,6 +30,13 @@ export class RoleCreateResponseData { */ "type": RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class RoleCreateResponseData { type: "RolesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleRelationships.ts b/packages/datadog-api-client-v2/models/RoleRelationships.ts index 86c158740466..7ece9f326a10 100644 --- a/packages/datadog-api-client-v2/models/RoleRelationships.ts +++ b/packages/datadog-api-client-v2/models/RoleRelationships.ts @@ -21,6 +21,13 @@ export class RoleRelationships { */ "users"?: RelationshipToUsers; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RoleRelationships { baseName: "users", type: "RelationshipToUsers", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleResponse.ts b/packages/datadog-api-client-v2/models/RoleResponse.ts index 8839eecd6b0e..c3bfafe4f70d 100644 --- a/packages/datadog-api-client-v2/models/RoleResponse.ts +++ b/packages/datadog-api-client-v2/models/RoleResponse.ts @@ -16,6 +16,13 @@ export class RoleResponse { */ "data"?: Role; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RoleResponse { baseName: "data", type: "Role", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleResponseRelationships.ts b/packages/datadog-api-client-v2/models/RoleResponseRelationships.ts index cdb5241373bd..2009ab7ce630 100644 --- a/packages/datadog-api-client-v2/models/RoleResponseRelationships.ts +++ b/packages/datadog-api-client-v2/models/RoleResponseRelationships.ts @@ -16,6 +16,13 @@ export class RoleResponseRelationships { */ "permissions"?: RelationshipToPermissions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RoleResponseRelationships { baseName: "permissions", type: "RelationshipToPermissions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleUpdateAttributes.ts b/packages/datadog-api-client-v2/models/RoleUpdateAttributes.ts index 2897c2e2b10b..074beab53994 100644 --- a/packages/datadog-api-client-v2/models/RoleUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/RoleUpdateAttributes.ts @@ -23,6 +23,13 @@ export class RoleUpdateAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class RoleUpdateAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleUpdateData.ts b/packages/datadog-api-client-v2/models/RoleUpdateData.ts index 2b6b256c1bb0..dae469c38b7c 100644 --- a/packages/datadog-api-client-v2/models/RoleUpdateData.ts +++ b/packages/datadog-api-client-v2/models/RoleUpdateData.ts @@ -30,6 +30,13 @@ export class RoleUpdateData { */ "type": RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class RoleUpdateData { type: "RolesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleUpdateRequest.ts b/packages/datadog-api-client-v2/models/RoleUpdateRequest.ts index 64edf4a35bfe..dd59afaea5dc 100644 --- a/packages/datadog-api-client-v2/models/RoleUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/RoleUpdateRequest.ts @@ -16,6 +16,13 @@ export class RoleUpdateRequest { */ "data": RoleUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class RoleUpdateRequest { type: "RoleUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleUpdateResponse.ts b/packages/datadog-api-client-v2/models/RoleUpdateResponse.ts index 128eec12fb31..3ce1918b1437 100644 --- a/packages/datadog-api-client-v2/models/RoleUpdateResponse.ts +++ b/packages/datadog-api-client-v2/models/RoleUpdateResponse.ts @@ -16,6 +16,13 @@ export class RoleUpdateResponse { */ "data"?: RoleUpdateResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RoleUpdateResponse { baseName: "data", type: "RoleUpdateResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RoleUpdateResponseData.ts b/packages/datadog-api-client-v2/models/RoleUpdateResponseData.ts index 361f45438e04..9049dba25bdb 100644 --- a/packages/datadog-api-client-v2/models/RoleUpdateResponseData.ts +++ b/packages/datadog-api-client-v2/models/RoleUpdateResponseData.ts @@ -30,6 +30,13 @@ export class RoleUpdateResponseData { */ "type": RolesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class RoleUpdateResponseData { type: "RolesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RolesResponse.ts b/packages/datadog-api-client-v2/models/RolesResponse.ts index af5fb15c7526..5c5c0ba33eec 100644 --- a/packages/datadog-api-client-v2/models/RolesResponse.ts +++ b/packages/datadog-api-client-v2/models/RolesResponse.ts @@ -21,6 +21,13 @@ export class RolesResponse { */ "meta"?: ResponseMetaAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class RolesResponse { baseName: "meta", type: "ResponseMetaAttributes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RuleAttributes.ts b/packages/datadog-api-client-v2/models/RuleAttributes.ts index da5cc62c191c..a890495ecc06 100644 --- a/packages/datadog-api-client-v2/models/RuleAttributes.ts +++ b/packages/datadog-api-client-v2/models/RuleAttributes.ts @@ -47,6 +47,13 @@ export class RuleAttributes { */ "scorecardName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -94,6 +101,10 @@ export class RuleAttributes { baseName: "scorecard_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/RuleOutcomeRelationships.ts b/packages/datadog-api-client-v2/models/RuleOutcomeRelationships.ts index 550ecd209d8f..3994b1d6de47 100644 --- a/packages/datadog-api-client-v2/models/RuleOutcomeRelationships.ts +++ b/packages/datadog-api-client-v2/models/RuleOutcomeRelationships.ts @@ -16,6 +16,13 @@ export class RuleOutcomeRelationships { */ "rule"?: RelationshipToOutcome; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class RuleOutcomeRelationships { baseName: "rule", type: "RelationshipToOutcome", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SAMLAssertionAttribute.ts b/packages/datadog-api-client-v2/models/SAMLAssertionAttribute.ts index 5c89350b53ed..f515db27b498 100644 --- a/packages/datadog-api-client-v2/models/SAMLAssertionAttribute.ts +++ b/packages/datadog-api-client-v2/models/SAMLAssertionAttribute.ts @@ -25,6 +25,13 @@ export class SAMLAssertionAttribute { */ "type": SAMLAssertionAttributesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class SAMLAssertionAttribute { type: "SAMLAssertionAttributesType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SAMLAssertionAttributeAttributes.ts b/packages/datadog-api-client-v2/models/SAMLAssertionAttributeAttributes.ts index ffaa22eced4a..8d85e042a73d 100644 --- a/packages/datadog-api-client-v2/models/SAMLAssertionAttributeAttributes.ts +++ b/packages/datadog-api-client-v2/models/SAMLAssertionAttributeAttributes.ts @@ -19,6 +19,13 @@ export class SAMLAssertionAttributeAttributes { */ "attributeValue"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SAMLAssertionAttributeAttributes { baseName: "attribute_value", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarFormulaQueryRequest.ts b/packages/datadog-api-client-v2/models/ScalarFormulaQueryRequest.ts index 1740c12ba891..d660c631bc03 100644 --- a/packages/datadog-api-client-v2/models/ScalarFormulaQueryRequest.ts +++ b/packages/datadog-api-client-v2/models/ScalarFormulaQueryRequest.ts @@ -16,6 +16,13 @@ export class ScalarFormulaQueryRequest { */ "data": ScalarFormulaRequest; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ScalarFormulaQueryRequest { type: "ScalarFormulaRequest", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarFormulaQueryResponse.ts b/packages/datadog-api-client-v2/models/ScalarFormulaQueryResponse.ts index 594df6e2cce4..3fd42bc6da04 100644 --- a/packages/datadog-api-client-v2/models/ScalarFormulaQueryResponse.ts +++ b/packages/datadog-api-client-v2/models/ScalarFormulaQueryResponse.ts @@ -20,6 +20,13 @@ export class ScalarFormulaQueryResponse { */ "errors"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ScalarFormulaQueryResponse { baseName: "errors", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarFormulaRequest.ts b/packages/datadog-api-client-v2/models/ScalarFormulaRequest.ts index f321dde3be89..b52c97cd1b25 100644 --- a/packages/datadog-api-client-v2/models/ScalarFormulaRequest.ts +++ b/packages/datadog-api-client-v2/models/ScalarFormulaRequest.ts @@ -21,6 +21,13 @@ export class ScalarFormulaRequest { */ "type": ScalarFormulaRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class ScalarFormulaRequest { type: "ScalarFormulaRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarFormulaRequestAttributes.ts b/packages/datadog-api-client-v2/models/ScalarFormulaRequestAttributes.ts index c405e2d1a581..920611e5ec96 100644 --- a/packages/datadog-api-client-v2/models/ScalarFormulaRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/ScalarFormulaRequestAttributes.ts @@ -29,6 +29,13 @@ export class ScalarFormulaRequestAttributes { */ "to": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -59,6 +66,10 @@ export class ScalarFormulaRequestAttributes { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarFormulaResponseAtrributes.ts b/packages/datadog-api-client-v2/models/ScalarFormulaResponseAtrributes.ts index 2dd92b2834ea..bc16edab9544 100644 --- a/packages/datadog-api-client-v2/models/ScalarFormulaResponseAtrributes.ts +++ b/packages/datadog-api-client-v2/models/ScalarFormulaResponseAtrributes.ts @@ -16,6 +16,13 @@ export class ScalarFormulaResponseAtrributes { */ "columns"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ScalarFormulaResponseAtrributes { baseName: "columns", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarMeta.ts b/packages/datadog-api-client-v2/models/ScalarMeta.ts index d8a16fb572a3..b5e511cfca94 100644 --- a/packages/datadog-api-client-v2/models/ScalarMeta.ts +++ b/packages/datadog-api-client-v2/models/ScalarMeta.ts @@ -19,6 +19,13 @@ export class ScalarMeta { */ "unit"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -32,6 +39,10 @@ export class ScalarMeta { baseName: "unit", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ScalarResponse.ts b/packages/datadog-api-client-v2/models/ScalarResponse.ts index 306b19e3a0c1..ccb0abb30d9a 100644 --- a/packages/datadog-api-client-v2/models/ScalarResponse.ts +++ b/packages/datadog-api-client-v2/models/ScalarResponse.ts @@ -21,6 +21,13 @@ export class ScalarResponse { */ "type"?: ScalarFormulaResponseType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ScalarResponse { baseName: "type", type: "ScalarFormulaResponseType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilter.ts b/packages/datadog-api-client-v2/models/SecurityFilter.ts index 75d2cdb7ad3c..efcab3327d61 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilter.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilter.ts @@ -25,6 +25,13 @@ export class SecurityFilter { */ "type"?: SecurityFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SecurityFilter { baseName: "type", type: "SecurityFilterType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterAttributes.ts b/packages/datadog-api-client-v2/models/SecurityFilterAttributes.ts index 5d73ce6a530d..619721a1be34 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterAttributes.ts @@ -41,6 +41,13 @@ export class SecurityFilterAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -79,6 +86,10 @@ export class SecurityFilterAttributes { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityFilterCreateAttributes.ts index d35e57e0b70f..fb78f9fca3d8 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterCreateAttributes.ts @@ -33,6 +33,13 @@ export class SecurityFilterCreateAttributes { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -67,6 +74,10 @@ export class SecurityFilterCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterCreateData.ts b/packages/datadog-api-client-v2/models/SecurityFilterCreateData.ts index 1b0f4590a0d9..c37d83b900d9 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterCreateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterCreateData.ts @@ -21,6 +21,13 @@ export class SecurityFilterCreateData { */ "type": SecurityFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SecurityFilterCreateData { type: "SecurityFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterCreateRequest.ts b/packages/datadog-api-client-v2/models/SecurityFilterCreateRequest.ts index 9037e198b6a8..da2ab92c4b1d 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterCreateRequest.ts @@ -16,6 +16,13 @@ export class SecurityFilterCreateRequest { */ "data": SecurityFilterCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityFilterCreateRequest { type: "SecurityFilterCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilter.ts b/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilter.ts index b8ada8bdeff0..da0d13c00375 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilter.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilter.ts @@ -19,6 +19,13 @@ export class SecurityFilterExclusionFilter { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SecurityFilterExclusionFilter { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilterResponse.ts b/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilterResponse.ts index 8977b3fe9f50..cf4646510b6f 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilterResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterExclusionFilterResponse.ts @@ -19,6 +19,13 @@ export class SecurityFilterExclusionFilterResponse { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SecurityFilterExclusionFilterResponse { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterMeta.ts b/packages/datadog-api-client-v2/models/SecurityFilterMeta.ts index 8a7b8850da34..808feb6a5b21 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterMeta.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterMeta.ts @@ -15,6 +15,13 @@ export class SecurityFilterMeta { */ "warning"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SecurityFilterMeta { baseName: "warning", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterResponse.ts b/packages/datadog-api-client-v2/models/SecurityFilterResponse.ts index d8ebf3349b8f..ef302f5c24b6 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterResponse.ts @@ -21,6 +21,13 @@ export class SecurityFilterResponse { */ "meta"?: SecurityFilterMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SecurityFilterResponse { baseName: "meta", type: "SecurityFilterMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityFilterUpdateAttributes.ts index f0f61eabdf69..65e11d93fe6d 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterUpdateAttributes.ts @@ -37,6 +37,13 @@ export class SecurityFilterUpdateAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class SecurityFilterUpdateAttributes { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityFilterUpdateData.ts index 445eb9846e71..db88019c0863 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterUpdateData.ts @@ -21,6 +21,13 @@ export class SecurityFilterUpdateData { */ "type": SecurityFilterType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SecurityFilterUpdateData { type: "SecurityFilterType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFilterUpdateRequest.ts b/packages/datadog-api-client-v2/models/SecurityFilterUpdateRequest.ts index 0283db9b690d..bf2dd96cb0c4 100644 --- a/packages/datadog-api-client-v2/models/SecurityFilterUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityFilterUpdateRequest.ts @@ -16,6 +16,13 @@ export class SecurityFilterUpdateRequest { */ "data": SecurityFilterUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityFilterUpdateRequest { type: "SecurityFilterUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityFiltersResponse.ts b/packages/datadog-api-client-v2/models/SecurityFiltersResponse.ts index 2bf6ead8933c..bffc3ed599cc 100644 --- a/packages/datadog-api-client-v2/models/SecurityFiltersResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityFiltersResponse.ts @@ -21,6 +21,13 @@ export class SecurityFiltersResponse { */ "meta"?: SecurityFilterMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SecurityFiltersResponse { baseName: "meta", type: "SecurityFilterMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringFilter.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringFilter.ts index 5e2c1f404667..83bfd5298c11 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringFilter.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringFilter.ts @@ -20,6 +20,13 @@ export class SecurityMonitoringFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SecurityMonitoringFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringListRulesResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringListRulesResponse.ts index 7b58fed520a5..a0dcb3a71f8a 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringListRulesResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringListRulesResponse.ts @@ -21,6 +21,13 @@ export class SecurityMonitoringListRulesResponse { */ "meta"?: ResponseMetaAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SecurityMonitoringListRulesResponse { baseName: "meta", type: "ResponseMetaAttributes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.ts index 42f7c87cb5b5..3e0859c52c02 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.ts @@ -29,6 +29,13 @@ export class SecurityMonitoringRuleCase { */ "status"?: SecurityMonitoringRuleSeverity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SecurityMonitoringRuleCase { baseName: "status", type: "SecurityMonitoringRuleSeverity", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.ts index b406c91e99a0..04129d6b7a8c 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.ts @@ -29,6 +29,13 @@ export class SecurityMonitoringRuleCaseCreate { */ "status": SecurityMonitoringRuleSeverity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SecurityMonitoringRuleCaseCreate { type: "SecurityMonitoringRuleSeverity", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.ts index d68b421a613c..e8ba122599c6 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringRuleImpossibleTravelOptions { */ "baselineUserLocations"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringRuleImpossibleTravelOptions { baseName: "baselineUserLocations", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.ts index d60fdbc7035f..10a69f7f06fb 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.ts @@ -32,6 +32,13 @@ export class SecurityMonitoringRuleNewValueOptions { */ "learningThreshold"?: SecurityMonitoringRuleNewValueOptionsLearningThreshold; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class SecurityMonitoringRuleNewValueOptions { type: "SecurityMonitoringRuleNewValueOptionsLearningThreshold", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.ts index 5f9c72cc3065..8b1fb4822253 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.ts @@ -66,6 +66,13 @@ export class SecurityMonitoringRuleOptions { */ "thirdPartyRuleOptions"?: SecurityMonitoringRuleThirdPartyOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -118,6 +125,10 @@ export class SecurityMonitoringRuleOptions { baseName: "thirdPartyRuleOptions", type: "SecurityMonitoringRuleThirdPartyOptions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.ts index 3e331d41494e..2168827cd807 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.ts @@ -29,6 +29,13 @@ export class SecurityMonitoringRuleThirdPartyOptions { */ "signalTitleTemplate"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SecurityMonitoringRuleThirdPartyOptions { baseName: "signalTitleTemplate", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.ts index b760b8b06926..8e7fbacabf88 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.ts @@ -65,6 +65,13 @@ export class SecurityMonitoringRuleUpdatePayload { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -123,6 +130,10 @@ export class SecurityMonitoringRuleUpdatePayload { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignal.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignal.ts index a14b9230c454..6d24ebd1ad01 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignal.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignal.ts @@ -26,6 +26,13 @@ export class SecurityMonitoringSignal { */ "type"?: SecurityMonitoringSignalType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SecurityMonitoringSignal { baseName: "type", type: "SecurityMonitoringSignalType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateAttributes.ts index 4fb1b7b5ddb6..11cf2f3c02e8 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateAttributes.ts @@ -20,6 +20,13 @@ export class SecurityMonitoringSignalAssigneeUpdateAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SecurityMonitoringSignalAssigneeUpdateAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateData.ts index 529862fe8137..15413a3b7703 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateData.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalAssigneeUpdateData { */ "attributes": SecurityMonitoringSignalAssigneeUpdateAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalAssigneeUpdateData { type: "SecurityMonitoringSignalAssigneeUpdateAttributes", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateRequest.ts index 8fd737d77ae0..f7bfdbd43ad7 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAssigneeUpdateRequest.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalAssigneeUpdateRequest { */ "data": SecurityMonitoringSignalAssigneeUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalAssigneeUpdateRequest { type: "SecurityMonitoringSignalAssigneeUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAttributes.ts index e5309578911f..10b8913b1d89 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalAttributes.ts @@ -28,6 +28,13 @@ export class SecurityMonitoringSignalAttributes { */ "timestamp"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SecurityMonitoringSignalAttributes { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateAttributes.ts index ba2da284fc1a..3b2a7006974d 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateAttributes.ts @@ -19,6 +19,13 @@ export class SecurityMonitoringSignalIncidentsUpdateAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class SecurityMonitoringSignalIncidentsUpdateAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateData.ts index 127daef389a8..3a5d81775879 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateData.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalIncidentsUpdateData { */ "attributes": SecurityMonitoringSignalIncidentsUpdateAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalIncidentsUpdateData { type: "SecurityMonitoringSignalIncidentsUpdateAttributes", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateRequest.ts index 605bb92f91a9..fd5ea05956ec 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalIncidentsUpdateRequest.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalIncidentsUpdateRequest { */ "data": SecurityMonitoringSignalIncidentsUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalIncidentsUpdateRequest { type: "SecurityMonitoringSignalIncidentsUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequest.ts index e755da22c593..0a0a662dc59a 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequest.ts @@ -26,6 +26,13 @@ export class SecurityMonitoringSignalListRequest { */ "sort"?: SecurityMonitoringSignalsSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SecurityMonitoringSignalListRequest { baseName: "sort", type: "SecurityMonitoringSignalsSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestFilter.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestFilter.ts index 8a9f0ef76a93..bc51413fa01a 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestFilter.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestFilter.ts @@ -23,6 +23,13 @@ export class SecurityMonitoringSignalListRequestFilter { */ "to"?: Date; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SecurityMonitoringSignalListRequestFilter { type: "Date", format: "date-time", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestPage.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestPage.ts index d16d1b0a256e..bd20a81e1eb7 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestPage.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalListRequestPage.ts @@ -19,6 +19,13 @@ export class SecurityMonitoringSignalListRequestPage { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SecurityMonitoringSignalListRequestPage { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalResponse.ts index 9fc287658f15..3a308fb78da4 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalResponse.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalResponse { */ "data"?: SecurityMonitoringSignal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSignalResponse { baseName: "data", type: "SecurityMonitoringSignal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleCreatePayload.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleCreatePayload.ts index c98c9f7195c7..f1e15deb3c3b 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleCreatePayload.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleCreatePayload.ts @@ -56,6 +56,13 @@ export class SecurityMonitoringSignalRuleCreatePayload { */ "type"?: SecurityMonitoringSignalRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -111,6 +118,10 @@ export class SecurityMonitoringSignalRuleCreatePayload { baseName: "type", type: "SecurityMonitoringSignalRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.ts index 65048be4b769..0658f49b1b1b 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.ts @@ -36,6 +36,13 @@ export class SecurityMonitoringSignalRuleQuery { */ "ruleId": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class SecurityMonitoringSignalRuleQuery { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.ts index bc2f13e4fc13..54925def2469 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.ts @@ -88,6 +88,13 @@ export class SecurityMonitoringSignalRuleResponse { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -174,6 +181,10 @@ export class SecurityMonitoringSignalRuleResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.ts index 11d17760762b..e773a4782428 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.ts @@ -48,6 +48,13 @@ export class SecurityMonitoringSignalRuleResponseQuery { */ "ruleId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -94,6 +101,10 @@ export class SecurityMonitoringSignalRuleResponseQuery { baseName: "ruleId", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateAttributes.ts index 88ee01c4cbfc..a55e773c2430 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateAttributes.ts @@ -29,6 +29,13 @@ export class SecurityMonitoringSignalStateUpdateAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SecurityMonitoringSignalStateUpdateAttributes { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateData.ts index 58a3fdb208f5..7af476882cbe 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateData.ts @@ -25,6 +25,13 @@ export class SecurityMonitoringSignalStateUpdateData { */ "type"?: SecurityMonitoringSignalMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SecurityMonitoringSignalStateUpdateData { baseName: "type", type: "SecurityMonitoringSignalMetadataType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateRequest.ts index 4505eb5d425f..1877cd3c0bae 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalStateUpdateRequest.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalStateUpdateRequest { */ "data": SecurityMonitoringSignalStateUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalStateUpdateRequest { type: "SecurityMonitoringSignalStateUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageAttributes.ts index c656d167e383..e2de014d1a86 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageAttributes.ts @@ -50,6 +50,13 @@ export class SecurityMonitoringSignalTriageAttributes { */ "stateUpdateUser"?: SecurityMonitoringTriageUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -101,6 +108,10 @@ export class SecurityMonitoringSignalTriageAttributes { baseName: "state_update_user", type: "SecurityMonitoringTriageUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateData.ts index ce8db4bba44f..3f2411ae93bc 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateData.ts @@ -25,6 +25,13 @@ export class SecurityMonitoringSignalTriageUpdateData { */ "type"?: SecurityMonitoringSignalMetadataType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SecurityMonitoringSignalTriageUpdateData { baseName: "type", type: "SecurityMonitoringSignalMetadataType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateResponse.ts index 8a7806e8a114..a3711da24600 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalTriageUpdateResponse.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalTriageUpdateResponse { */ "data": SecurityMonitoringSignalTriageUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSignalTriageUpdateResponse { type: "SecurityMonitoringSignalTriageUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponse.ts index 35297e8d7579..1b2a418f332b 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponse.ts @@ -27,6 +27,13 @@ export class SecurityMonitoringSignalsListResponse { */ "meta"?: SecurityMonitoringSignalsListResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class SecurityMonitoringSignalsListResponse { baseName: "meta", type: "SecurityMonitoringSignalsListResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseLinks.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseLinks.ts index 2fe94b1cc9a2..f366c739033c 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseLinks.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalsListResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSignalsListResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMeta.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMeta.ts index 33e1560fd85a..f4aa4282d6f5 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMeta.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalsListResponseMeta { */ "page"?: SecurityMonitoringSignalsListResponseMetaPage; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSignalsListResponseMeta { baseName: "page", type: "SecurityMonitoringSignalsListResponseMetaPage", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMetaPage.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMetaPage.ts index 1da18ae44a01..ebafc12e8d0a 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMetaPage.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsListResponseMetaPage.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSignalsListResponseMetaPage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSignalsListResponseMetaPage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.ts index 66c2e001e7d2..bfd83b30b840 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.ts @@ -61,6 +61,13 @@ export class SecurityMonitoringStandardRuleCreatePayload { */ "type"?: SecurityMonitoringRuleTypeCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -120,6 +127,10 @@ export class SecurityMonitoringStandardRuleCreatePayload { baseName: "type", type: "SecurityMonitoringRuleTypeCreate", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.ts index ae629ec91b14..80917184fad1 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.ts @@ -45,6 +45,13 @@ export class SecurityMonitoringStandardRuleQuery { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -86,6 +93,10 @@ export class SecurityMonitoringStandardRuleQuery { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.ts index 356abafd1d4e..b7840be1133d 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.ts @@ -98,6 +98,13 @@ export class SecurityMonitoringStandardRuleResponse { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -192,6 +199,10 @@ export class SecurityMonitoringStandardRuleResponse { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppression.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppression.ts index be80ff167ce9..99792ea637bc 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppression.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppression.ts @@ -25,6 +25,13 @@ export class SecurityMonitoringSuppression { */ "type"?: SecurityMonitoringSuppressionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SecurityMonitoringSuppression { baseName: "type", type: "SecurityMonitoringSuppressionType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.ts index c3d9cfadaa9a..2be81ac09a13 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.ts @@ -56,6 +56,13 @@ export class SecurityMonitoringSuppressionAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -113,6 +120,10 @@ export class SecurityMonitoringSuppressionAttributes { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.ts index 2072612e8c6b..c041d44fb1ee 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.ts @@ -35,6 +35,13 @@ export class SecurityMonitoringSuppressionCreateAttributes { */ "suppressionQuery": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -73,6 +80,10 @@ export class SecurityMonitoringSuppressionCreateAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateData.ts index 10b076dd4adf..add581eb0f78 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateData.ts @@ -21,6 +21,13 @@ export class SecurityMonitoringSuppressionCreateData { */ "type": SecurityMonitoringSuppressionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SecurityMonitoringSuppressionCreateData { type: "SecurityMonitoringSuppressionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateRequest.ts index 597a57c30847..ffa9deb74bd3 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateRequest.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSuppressionCreateRequest { */ "data": SecurityMonitoringSuppressionCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSuppressionCreateRequest { type: "SecurityMonitoringSuppressionCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionResponse.ts index 3bda7df6f94d..80f5a44b3ae5 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionResponse.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSuppressionResponse { */ "data"?: SecurityMonitoringSuppression; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSuppressionResponse { baseName: "data", type: "SecurityMonitoringSuppression", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.ts index 9320421c068e..f19f7c996b50 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.ts @@ -39,6 +39,13 @@ export class SecurityMonitoringSuppressionUpdateAttributes { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -78,6 +85,10 @@ export class SecurityMonitoringSuppressionUpdateAttributes { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateData.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateData.ts index 499f8f0ebd7f..4f6b279c71e3 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateData.ts @@ -21,6 +21,13 @@ export class SecurityMonitoringSuppressionUpdateData { */ "type": SecurityMonitoringSuppressionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SecurityMonitoringSuppressionUpdateData { type: "SecurityMonitoringSuppressionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateRequest.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateRequest.ts index 233988d7b5c8..73f51e5e0498 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateRequest.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSuppressionUpdateRequest { */ "data": SecurityMonitoringSuppressionUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SecurityMonitoringSuppressionUpdateRequest { type: "SecurityMonitoringSuppressionUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionsResponse.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionsResponse.ts index fbc6efa052fc..65f14d8e76d6 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionsResponse.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionsResponse.ts @@ -16,6 +16,13 @@ export class SecurityMonitoringSuppressionsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SecurityMonitoringSuppressionsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRootQuery.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRootQuery.ts index aa8dce9cfe65..46d9e2855d82 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRootQuery.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRootQuery.ts @@ -19,6 +19,13 @@ export class SecurityMonitoringThirdPartyRootQuery { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SecurityMonitoringThirdPartyRootQuery { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCase.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCase.ts index c838faf8a403..6526c56a844d 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCase.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCase.ts @@ -28,6 +28,13 @@ export class SecurityMonitoringThirdPartyRuleCase { */ "status"?: SecurityMonitoringRuleSeverity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class SecurityMonitoringThirdPartyRuleCase { baseName: "status", type: "SecurityMonitoringRuleSeverity", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCaseCreate.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCaseCreate.ts index 0febeb8941e5..b42df9564e9e 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCaseCreate.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCaseCreate.ts @@ -28,6 +28,13 @@ export class SecurityMonitoringThirdPartyRuleCaseCreate { */ "status": SecurityMonitoringRuleSeverity; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SecurityMonitoringThirdPartyRuleCaseCreate { type: "SecurityMonitoringRuleSeverity", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringTriageUser.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringTriageUser.ts index dde1366e249c..7e0d2c89891c 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringTriageUser.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringTriageUser.ts @@ -31,6 +31,13 @@ export class SecurityMonitoringTriageUser { */ "uuid": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class SecurityMonitoringTriageUser { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SecurityMonitoringUser.ts b/packages/datadog-api-client-v2/models/SecurityMonitoringUser.ts index bd1922801e8d..c2914fe25210 100644 --- a/packages/datadog-api-client-v2/models/SecurityMonitoringUser.ts +++ b/packages/datadog-api-client-v2/models/SecurityMonitoringUser.ts @@ -19,6 +19,13 @@ export class SecurityMonitoringUser { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SecurityMonitoringUser { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigRequest.ts index 79c5d73d8e6b..f4574ed8e71f 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigRequest.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerConfigRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SensitiveDataScannerConfigRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfiguration.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfiguration.ts index e58427541ead..cef666f3519b 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfiguration.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfiguration.ts @@ -20,6 +20,13 @@ export class SensitiveDataScannerConfiguration { */ "type"?: SensitiveDataScannerConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SensitiveDataScannerConfiguration { baseName: "type", type: "SensitiveDataScannerConfigurationType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationData.ts index 586baba871ae..4f4203499f14 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationData.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerConfigurationData { */ "data"?: SensitiveDataScannerConfiguration; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerConfigurationData { baseName: "data", type: "SensitiveDataScannerConfiguration", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationRelationships.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationRelationships.ts index 27e17a073ca7..9614c7755f4d 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationRelationships.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerConfigurationRelationships.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerConfigurationRelationships { */ "groups"?: SensitiveDataScannerGroupList; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerConfigurationRelationships { baseName: "groups", type: "SensitiveDataScannerGroupList", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateGroupResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateGroupResponse.ts index 3a3ca6d876be..39edb977fea2 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateGroupResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateGroupResponse.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerCreateGroupResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SensitiveDataScannerCreateGroupResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateRuleResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateRuleResponse.ts index e1d53f72749d..2b8c3312e273 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerCreateRuleResponse.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerCreateRuleResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SensitiveDataScannerCreateRuleResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerFilter.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerFilter.ts index 018d30f9f62b..7c0a5adf72b9 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerFilter.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerFilter.ts @@ -15,6 +15,13 @@ export class SensitiveDataScannerFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SensitiveDataScannerFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponse.ts index 9c4af847d413..f8e86a809e17 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponse.ts @@ -26,6 +26,13 @@ export class SensitiveDataScannerGetConfigResponse { */ "meta"?: SensitiveDataScannerMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SensitiveDataScannerGetConfigResponse { baseName: "meta", type: "SensitiveDataScannerMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponseData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponseData.ts index abcb07e75f92..746ffdc35fbc 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponseData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGetConfigResponseData.ts @@ -29,6 +29,13 @@ export class SensitiveDataScannerGetConfigResponseData { */ "type"?: SensitiveDataScannerConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class SensitiveDataScannerGetConfigResponseData { baseName: "type", type: "SensitiveDataScannerConfigurationType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroup.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroup.ts index 1195dca68c6f..22ceb8a40d95 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroup.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroup.ts @@ -20,6 +20,13 @@ export class SensitiveDataScannerGroup { */ "type"?: SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SensitiveDataScannerGroup { baseName: "type", type: "SensitiveDataScannerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupAttributes.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupAttributes.ts index bd38cea9a14c..49a91d638311 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupAttributes.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupAttributes.ts @@ -33,6 +33,13 @@ export class SensitiveDataScannerGroupAttributes { */ "productList"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class SensitiveDataScannerGroupAttributes { baseName: "product_list", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreate.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreate.ts index 739d0c1e1a06..30c8d2271346 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreate.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreate.ts @@ -26,6 +26,13 @@ export class SensitiveDataScannerGroupCreate { */ "type": SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class SensitiveDataScannerGroupCreate { type: "SensitiveDataScannerGroupType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreateRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreateRequest.ts index 4ef368965125..4e307c807a64 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupCreateRequest.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerGroupCreateRequest { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SensitiveDataScannerGroupCreateRequest { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupData.ts index 08c4d878544d..ddfdb02996df 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupData.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerGroupData { */ "data"?: SensitiveDataScannerGroup; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerGroupData { baseName: "data", type: "SensitiveDataScannerGroup", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteRequest.ts index 040fcd77a640..e404124a0751 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteRequest.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerGroupDeleteRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SensitiveDataScannerGroupDeleteRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteResponse.ts index e4b68ac76326..fc32eb5aaed5 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupDeleteResponse.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerGroupDeleteResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerGroupDeleteResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupIncludedItem.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupIncludedItem.ts index a2d3a779a0af..a35041c54800 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupIncludedItem.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupIncludedItem.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerGroupIncludedItem { */ "type"?: SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerGroupIncludedItem { baseName: "type", type: "SensitiveDataScannerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupItem.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupItem.ts index 73e506b3be37..f97dbed32da8 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupItem.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupItem.ts @@ -20,6 +20,13 @@ export class SensitiveDataScannerGroupItem { */ "type"?: SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SensitiveDataScannerGroupItem { baseName: "type", type: "SensitiveDataScannerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupList.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupList.ts index 2116f87aeef4..c501d2ba0551 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupList.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupList.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerGroupList { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerGroupList { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupRelationships.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupRelationships.ts index d5e5304e001c..0e5de841608a 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupRelationships.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupRelationships.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerGroupRelationships { */ "rules"?: SensitiveDataScannerRuleData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SensitiveDataScannerGroupRelationships { baseName: "rules", type: "SensitiveDataScannerRuleData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupResponse.ts index 77c14409de11..55d16175c20d 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupResponse.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerGroupResponse { */ "type"?: SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerGroupResponse { baseName: "type", type: "SensitiveDataScannerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdate.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdate.ts index 0adacfd84eb5..2520e3cd35c4 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdate.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdate.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerGroupUpdate { */ "type"?: SensitiveDataScannerGroupType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerGroupUpdate { baseName: "type", type: "SensitiveDataScannerGroupType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateRequest.ts index a542dd8c6df9..149e05a0d5c4 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateRequest.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerGroupUpdateRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SensitiveDataScannerGroupUpdateRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateResponse.ts index 57dfe6e525df..0abc76f7eda8 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerGroupUpdateResponse.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerGroupUpdateResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerGroupUpdateResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerIncludedKeywordConfiguration.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerIncludedKeywordConfiguration.ts index 4751f9c548bd..77be33261af0 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerIncludedKeywordConfiguration.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerIncludedKeywordConfiguration.ts @@ -24,6 +24,13 @@ export class SensitiveDataScannerIncludedKeywordConfiguration { */ "keywords": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SensitiveDataScannerIncludedKeywordConfiguration { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerMeta.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerMeta.ts index d5836733ba33..47adac2add44 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerMeta.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerMeta.ts @@ -35,6 +35,13 @@ export class SensitiveDataScannerMeta { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class SensitiveDataScannerMeta { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerMetaVersionOnly.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerMetaVersionOnly.ts index 4b69fa8d4378..d838fe721e1c 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerMetaVersionOnly.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerMetaVersionOnly.ts @@ -15,6 +15,13 @@ export class SensitiveDataScannerMetaVersionOnly { */ "version"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerMetaVersionOnly { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderConfig.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderConfig.ts index df91fd36069e..1d0fbc014e07 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderConfig.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderConfig.ts @@ -25,6 +25,13 @@ export class SensitiveDataScannerReorderConfig { */ "type"?: SensitiveDataScannerConfigurationType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SensitiveDataScannerReorderConfig { baseName: "type", type: "SensitiveDataScannerConfigurationType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderGroupsResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderGroupsResponse.ts index 5235541651c7..b43cf1fe9ab1 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderGroupsResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerReorderGroupsResponse.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerReorderGroupsResponse { */ "meta"?: SensitiveDataScannerMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerReorderGroupsResponse { baseName: "meta", type: "SensitiveDataScannerMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRule.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRule.ts index 7499db75c981..6a06b65ed0fa 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRule.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRule.ts @@ -20,6 +20,13 @@ export class SensitiveDataScannerRule { */ "type"?: SensitiveDataScannerRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SensitiveDataScannerRule { baseName: "type", type: "SensitiveDataScannerRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleAttributes.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleAttributes.ts index dc089db031a7..ada3557ef932 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleAttributes.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleAttributes.ts @@ -57,6 +57,13 @@ export class SensitiveDataScannerRuleAttributes { */ "textReplacement"?: SensitiveDataScannerTextReplacement; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -107,6 +114,10 @@ export class SensitiveDataScannerRuleAttributes { baseName: "text_replacement", type: "SensitiveDataScannerTextReplacement", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreate.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreate.ts index 965ab751ef28..17c22166be50 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreate.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreate.ts @@ -26,6 +26,13 @@ export class SensitiveDataScannerRuleCreate { */ "type": SensitiveDataScannerRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -50,6 +57,10 @@ export class SensitiveDataScannerRuleCreate { type: "SensitiveDataScannerRuleType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreateRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreateRequest.ts index 87646530f317..946bfb11fa9b 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleCreateRequest.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerRuleCreateRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SensitiveDataScannerRuleCreateRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleData.ts index cc58b37cd3ad..68c23b1c415c 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleData.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerRuleData { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerRuleData { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteRequest.ts index 76f368efd664..29bbb44acccf 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteRequest.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerRuleDeleteRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SensitiveDataScannerRuleDeleteRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteResponse.ts index 22aa0cab4373..7f55e7872189 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleDeleteResponse.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerRuleDeleteResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerRuleDeleteResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleIncludedItem.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleIncludedItem.ts index 499c49fc9643..a3fb86b9f625 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleIncludedItem.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleIncludedItem.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerRuleIncludedItem { */ "type"?: SensitiveDataScannerRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerRuleIncludedItem { baseName: "type", type: "SensitiveDataScannerRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleRelationships.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleRelationships.ts index 4cb85658a6f1..96afef25997f 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleRelationships.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleRelationships.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerRuleRelationships { */ "standardPattern"?: SensitiveDataScannerStandardPatternData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SensitiveDataScannerRuleRelationships { baseName: "standard_pattern", type: "SensitiveDataScannerStandardPatternData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleResponse.ts index d58cccb55545..ef14f00bb994 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleResponse.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerRuleResponse { */ "type"?: SensitiveDataScannerRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerRuleResponse { baseName: "type", type: "SensitiveDataScannerRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdate.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdate.ts index 1a1f05b76a89..7f195c9ae89c 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdate.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdate.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerRuleUpdate { */ "type"?: SensitiveDataScannerRuleType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SensitiveDataScannerRuleUpdate { baseName: "type", type: "SensitiveDataScannerRuleType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateRequest.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateRequest.ts index 7c489867f6ce..5b2e3b37f38d 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateRequest.ts @@ -21,6 +21,13 @@ export class SensitiveDataScannerRuleUpdateRequest { */ "meta": SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SensitiveDataScannerRuleUpdateRequest { type: "SensitiveDataScannerMetaVersionOnly", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateResponse.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateResponse.ts index a7a177203ff2..250d2ecd2187 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateResponse.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerRuleUpdateResponse.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerRuleUpdateResponse { */ "meta"?: SensitiveDataScannerMetaVersionOnly; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerRuleUpdateResponse { baseName: "meta", type: "SensitiveDataScannerMetaVersionOnly", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPattern.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPattern.ts index da81c0f55946..f483862fd9ee 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPattern.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPattern.ts @@ -20,6 +20,13 @@ export class SensitiveDataScannerStandardPattern { */ "type"?: SensitiveDataScannerStandardPatternType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SensitiveDataScannerStandardPattern { baseName: "type", type: "SensitiveDataScannerStandardPatternType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts index 56aa32a86212..1ff0e9f0a19a 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts @@ -35,6 +35,13 @@ export class SensitiveDataScannerStandardPatternAttributes { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -69,6 +76,10 @@ export class SensitiveDataScannerStandardPatternAttributes { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternData.ts index c308bdd6da81..37a528dd7325 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternData.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerStandardPatternData { */ "data"?: SensitiveDataScannerStandardPattern; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerStandardPatternData { baseName: "data", type: "SensitiveDataScannerStandardPattern", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseData.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseData.ts index 4a8460e9cef8..55153db68bc2 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseData.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseData.ts @@ -16,6 +16,13 @@ export class SensitiveDataScannerStandardPatternsResponseData { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SensitiveDataScannerStandardPatternsResponseData { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseItem.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseItem.ts index 09298f5e794a..584199814ced 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseItem.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternsResponseItem.ts @@ -25,6 +25,13 @@ export class SensitiveDataScannerStandardPatternsResponseItem { */ "type"?: SensitiveDataScannerStandardPatternType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SensitiveDataScannerStandardPatternsResponseItem { baseName: "type", type: "SensitiveDataScannerStandardPatternType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerTextReplacement.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerTextReplacement.ts index 1cbdaa778188..1db87f65ab17 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerTextReplacement.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerTextReplacement.ts @@ -30,6 +30,13 @@ export class SensitiveDataScannerTextReplacement { */ "type"?: SensitiveDataScannerTextReplacementType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -52,6 +59,10 @@ export class SensitiveDataScannerTextReplacement { baseName: "type", type: "SensitiveDataScannerTextReplacementType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceAccountCreateAttributes.ts b/packages/datadog-api-client-v2/models/ServiceAccountCreateAttributes.ts index b8015d8ad0cb..b203549ec645 100644 --- a/packages/datadog-api-client-v2/models/ServiceAccountCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/ServiceAccountCreateAttributes.ts @@ -27,6 +27,13 @@ export class ServiceAccountCreateAttributes { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class ServiceAccountCreateAttributes { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceAccountCreateData.ts b/packages/datadog-api-client-v2/models/ServiceAccountCreateData.ts index df5058782c5c..2720a15a50fd 100644 --- a/packages/datadog-api-client-v2/models/ServiceAccountCreateData.ts +++ b/packages/datadog-api-client-v2/models/ServiceAccountCreateData.ts @@ -26,6 +26,13 @@ export class ServiceAccountCreateData { */ "type": UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class ServiceAccountCreateData { type: "UsersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceAccountCreateRequest.ts b/packages/datadog-api-client-v2/models/ServiceAccountCreateRequest.ts index 1cbfcbd994a6..b884e9afffbe 100644 --- a/packages/datadog-api-client-v2/models/ServiceAccountCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/ServiceAccountCreateRequest.ts @@ -16,6 +16,13 @@ export class ServiceAccountCreateRequest { */ "data": ServiceAccountCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class ServiceAccountCreateRequest { type: "ServiceAccountCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.ts index 6bf70ff9ac57..3b43f16cf164 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.ts @@ -16,6 +16,13 @@ export class ServiceDefinitionCreateResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ServiceDefinitionCreateResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionData.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionData.ts index 77ae5dc4ea87..364daae9f66c 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionData.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionData.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionData { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class ServiceDefinitionData { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.ts index ddf6653e1e38..af051e4b074c 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.ts @@ -21,6 +21,13 @@ export class ServiceDefinitionDataAttributes { */ "schema"?: ServiceDefinitionSchema; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionDataAttributes { baseName: "schema", type: "ServiceDefinitionSchema", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.ts index a2c9553b7fa5..5d72f5b41c23 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.ts @@ -16,6 +16,13 @@ export class ServiceDefinitionGetResponse { */ "data"?: ServiceDefinitionData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ServiceDefinitionGetResponse { baseName: "data", type: "ServiceDefinitionData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.ts index c5f42e000b31..f27bccbdf0e6 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.ts @@ -40,6 +40,13 @@ export class ServiceDefinitionMeta { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -77,6 +84,10 @@ export class ServiceDefinitionMeta { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionMetaWarnings.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionMetaWarnings.ts index 4e7a41ea1985..88832734d07d 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionMetaWarnings.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionMetaWarnings.ts @@ -23,6 +23,13 @@ export class ServiceDefinitionMetaWarnings { */ "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class ServiceDefinitionMetaWarnings { baseName: "message", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1.ts index f832a11b59ba..2d94404bcd55 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1.ts @@ -49,6 +49,13 @@ export class ServiceDefinitionV1 { */ "tags"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -92,6 +99,10 @@ export class ServiceDefinitionV1 { baseName: "tags", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.ts index 79b267b49404..61f1c9db97b7 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.ts @@ -19,6 +19,13 @@ export class ServiceDefinitionV1Contact { */ "slack"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ServiceDefinitionV1Contact { baseName: "slack", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.ts index 2ee8bf5e957c..874a87a6c96a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.ts @@ -27,6 +27,13 @@ export class ServiceDefinitionV1Info { */ "serviceTier"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class ServiceDefinitionV1Info { baseName: "service-tier", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.ts index 2badb4198c0f..6351b26e3f6a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.ts @@ -15,6 +15,13 @@ export class ServiceDefinitionV1Integrations { */ "pagerduty"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ServiceDefinitionV1Integrations { baseName: "pagerduty", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.ts index 37875a6c55a4..eef406867603 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.ts @@ -19,6 +19,13 @@ export class ServiceDefinitionV1Org { */ "team"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class ServiceDefinitionV1Org { baseName: "team", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.ts index 0d1e438222c8..fa3ed749df5c 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV1Resource { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class ServiceDefinitionV1Resource { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2.ts index 10adbb49740f..55cdfc214892 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2.ts @@ -61,6 +61,13 @@ export class ServiceDefinitionV2 { */ "team"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -116,6 +123,10 @@ export class ServiceDefinitionV2 { baseName: "team", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.ts index 49fecacbb58c..ecc0fa9d41f2 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.ts @@ -23,6 +23,13 @@ export class ServiceDefinitionV2Doc { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ServiceDefinitionV2Doc { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1.ts index 973c938273e9..580ee19b2665 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1.ts @@ -63,6 +63,13 @@ export class ServiceDefinitionV2Dot1 { */ "tier"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -122,6 +129,10 @@ export class ServiceDefinitionV2Dot1 { baseName: "tier", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Email.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Email.ts index 8496a7038e9b..f9e908192db9 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Email.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Email.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Dot1Email { */ "type": ServiceDefinitionV2Dot1EmailType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class ServiceDefinitionV2Dot1Email { type: "ServiceDefinitionV2Dot1EmailType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Integrations.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Integrations.ts index e1b2c12a19fc..4311c31f5793 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Integrations.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Integrations.ts @@ -21,6 +21,13 @@ export class ServiceDefinitionV2Dot1Integrations { */ "pagerduty"?: ServiceDefinitionV2Dot1Pagerduty; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionV2Dot1Integrations { baseName: "pagerduty", type: "ServiceDefinitionV2Dot1Pagerduty", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Link.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Link.ts index d783c7f151b3..901866472e40 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Link.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Link.ts @@ -28,6 +28,13 @@ export class ServiceDefinitionV2Dot1Link { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class ServiceDefinitionV2Dot1Link { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1MSTeams.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1MSTeams.ts index 5daf696a4a00..568ca1b14e7d 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1MSTeams.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1MSTeams.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Dot1MSTeams { */ "type": ServiceDefinitionV2Dot1MSTeamsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ServiceDefinitionV2Dot1MSTeams { type: "ServiceDefinitionV2Dot1MSTeamsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Opsgenie.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Opsgenie.ts index 7ebed1f1e58c..95ee168c9d00 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Opsgenie.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Opsgenie.ts @@ -20,6 +20,13 @@ export class ServiceDefinitionV2Dot1Opsgenie { */ "serviceUrl": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionV2Dot1Opsgenie { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Pagerduty.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Pagerduty.ts index bc35c35bc3b1..f43a5d89ba4b 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Pagerduty.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Pagerduty.ts @@ -15,6 +15,13 @@ export class ServiceDefinitionV2Dot1Pagerduty { */ "serviceUrl"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ServiceDefinitionV2Dot1Pagerduty { baseName: "service-url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Slack.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Slack.ts index 73eca85eeaf4..d71bd2a8ff80 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Slack.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot1Slack.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Dot1Slack { */ "type": ServiceDefinitionV2Dot1SlackType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ServiceDefinitionV2Dot1Slack { type: "ServiceDefinitionV2Dot1SlackType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2.ts index 386c77abbb38..034883945776 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2.ts @@ -72,6 +72,13 @@ export class ServiceDefinitionV2Dot2 { */ "type"?: ServiceDefinitionV2Dot2Type; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -139,6 +146,10 @@ export class ServiceDefinitionV2Dot2 { baseName: "type", type: "ServiceDefinitionV2Dot2Type", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Contact.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Contact.ts index 0ad8ab93d82a..b9c25b0f293a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Contact.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Contact.ts @@ -23,6 +23,13 @@ export class ServiceDefinitionV2Dot2Contact { */ "type": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ServiceDefinitionV2Dot2Contact { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Integrations.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Integrations.ts index a57be5372541..34d59dff9a5f 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Integrations.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Integrations.ts @@ -21,6 +21,13 @@ export class ServiceDefinitionV2Dot2Integrations { */ "pagerduty"?: ServiceDefinitionV2Dot2Pagerduty; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionV2Dot2Integrations { baseName: "pagerduty", type: "ServiceDefinitionV2Dot2Pagerduty", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Link.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Link.ts index 2d29e09512a6..7d0be383034b 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Link.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Link.ts @@ -27,6 +27,13 @@ export class ServiceDefinitionV2Dot2Link { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class ServiceDefinitionV2Dot2Link { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Opsgenie.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Opsgenie.ts index 86b42533fa06..59310896a77c 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Opsgenie.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Opsgenie.ts @@ -20,6 +20,13 @@ export class ServiceDefinitionV2Dot2Opsgenie { */ "serviceUrl": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionV2Dot2Opsgenie { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Pagerduty.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Pagerduty.ts index 34d739ff55b7..07668f50087d 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Pagerduty.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Dot2Pagerduty.ts @@ -15,6 +15,13 @@ export class ServiceDefinitionV2Dot2Pagerduty { */ "serviceUrl"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ServiceDefinitionV2Dot2Pagerduty { baseName: "service-url", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.ts index f65547622d70..3ca329fd550a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Email { */ "type": ServiceDefinitionV2EmailType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class ServiceDefinitionV2Email { type: "ServiceDefinitionV2EmailType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.ts index 39c1b14b539c..191b4536fdb9 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.ts @@ -20,6 +20,13 @@ export class ServiceDefinitionV2Integrations { */ "pagerduty"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class ServiceDefinitionV2Integrations { baseName: "pagerduty", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.ts index f552831969c8..3f2bbdcf339a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Link { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class ServiceDefinitionV2Link { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2MSTeams.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2MSTeams.ts index 1352a121ab82..461bb92a7d7a 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2MSTeams.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2MSTeams.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2MSTeams { */ "type": ServiceDefinitionV2MSTeamsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ServiceDefinitionV2MSTeams { type: "ServiceDefinitionV2MSTeamsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.ts index 8a6166a88094..5c915115559d 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.ts @@ -20,6 +20,13 @@ export class ServiceDefinitionV2Opsgenie { */ "serviceUrl": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceDefinitionV2Opsgenie { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.ts index a2a7b9581be9..2143d4e33762 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.ts @@ -23,6 +23,13 @@ export class ServiceDefinitionV2Repo { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class ServiceDefinitionV2Repo { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.ts index 31c9dc0d77f7..af82b19a6464 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.ts @@ -24,6 +24,13 @@ export class ServiceDefinitionV2Slack { */ "type": ServiceDefinitionV2SlackType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class ServiceDefinitionV2Slack { type: "ServiceDefinitionV2SlackType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.ts b/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.ts index 514bf03820f4..f8707e24cb29 100644 --- a/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.ts +++ b/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.ts @@ -16,6 +16,13 @@ export class ServiceDefinitionsListResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class ServiceDefinitionsListResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceNowTicket.ts b/packages/datadog-api-client-v2/models/ServiceNowTicket.ts index 87077edb74d1..3067ad2a580c 100644 --- a/packages/datadog-api-client-v2/models/ServiceNowTicket.ts +++ b/packages/datadog-api-client-v2/models/ServiceNowTicket.ts @@ -21,6 +21,13 @@ export class ServiceNowTicket { */ "status"?: Case3rdPartyTicketStatus; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class ServiceNowTicket { baseName: "status", type: "Case3rdPartyTicketStatus", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts b/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts index cd77f307a84b..a3421e8dd721 100644 --- a/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts +++ b/packages/datadog-api-client-v2/models/ServiceNowTicketResult.ts @@ -15,6 +15,13 @@ export class ServiceNowTicketResult { */ "sysTargetLink"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class ServiceNowTicketResult { baseName: "sys_target_link", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SlackIntegrationMetadata.ts b/packages/datadog-api-client-v2/models/SlackIntegrationMetadata.ts index d58ec1f7ecf0..e87f63b894a4 100644 --- a/packages/datadog-api-client-v2/models/SlackIntegrationMetadata.ts +++ b/packages/datadog-api-client-v2/models/SlackIntegrationMetadata.ts @@ -16,6 +16,13 @@ export class SlackIntegrationMetadata { */ "channels": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SlackIntegrationMetadata { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SlackIntegrationMetadataChannelItem.ts b/packages/datadog-api-client-v2/models/SlackIntegrationMetadataChannelItem.ts index 8fb26c6a2701..787106b879bc 100644 --- a/packages/datadog-api-client-v2/models/SlackIntegrationMetadataChannelItem.ts +++ b/packages/datadog-api-client-v2/models/SlackIntegrationMetadataChannelItem.ts @@ -27,6 +27,13 @@ export class SlackIntegrationMetadataChannelItem { */ "teamId"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SlackIntegrationMetadataChannelItem { baseName: "team_id", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Span.ts b/packages/datadog-api-client-v2/models/Span.ts index 1664b71c1720..60ff1b3de4f0 100644 --- a/packages/datadog-api-client-v2/models/Span.ts +++ b/packages/datadog-api-client-v2/models/Span.ts @@ -25,6 +25,13 @@ export class Span { */ "type"?: SpansType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class Span { baseName: "type", type: "SpansType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateBucket.ts b/packages/datadog-api-client-v2/models/SpansAggregateBucket.ts index 4e96f17c8801..93780eab06c9 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateBucket.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateBucket.ts @@ -25,6 +25,13 @@ export class SpansAggregateBucket { */ "type"?: SpansAggregateBucketType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SpansAggregateBucket { baseName: "type", type: "SpansAggregateBucketType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateBucketAttributes.ts b/packages/datadog-api-client-v2/models/SpansAggregateBucketAttributes.ts index c85a6e1a55aa..d6250dff314c 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateBucketAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateBucketAttributes.ts @@ -24,6 +24,13 @@ export class SpansAggregateBucketAttributes { */ "computes"?: { [key: string]: SpansAggregateBucketValue }; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class SpansAggregateBucketAttributes { baseName: "computes", type: "{ [key: string]: SpansAggregateBucketValue; }", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateBucketValueTimeseriesPoint.ts b/packages/datadog-api-client-v2/models/SpansAggregateBucketValueTimeseriesPoint.ts index 3000bdf92a1d..5488eed3624b 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateBucketValueTimeseriesPoint.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateBucketValueTimeseriesPoint.ts @@ -19,6 +19,13 @@ export class SpansAggregateBucketValueTimeseriesPoint { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SpansAggregateBucketValueTimeseriesPoint { type: "number", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateData.ts b/packages/datadog-api-client-v2/models/SpansAggregateData.ts index 71cd6d02dd94..ad32c3d61783 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateData.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateData.ts @@ -21,6 +21,13 @@ export class SpansAggregateData { */ "type"?: SpansAggregateRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SpansAggregateData { baseName: "type", type: "SpansAggregateRequestType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateRequest.ts b/packages/datadog-api-client-v2/models/SpansAggregateRequest.ts index fb5388922533..1431d5f52470 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateRequest.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateRequest.ts @@ -16,6 +16,13 @@ export class SpansAggregateRequest { */ "data"?: SpansAggregateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansAggregateRequest { baseName: "data", type: "SpansAggregateData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateRequestAttributes.ts b/packages/datadog-api-client-v2/models/SpansAggregateRequestAttributes.ts index 5d537f8747f5..0a82ad5f2da8 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateRequestAttributes.ts @@ -32,6 +32,13 @@ export class SpansAggregateRequestAttributes { */ "options"?: SpansQueryOptions; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class SpansAggregateRequestAttributes { baseName: "options", type: "SpansQueryOptions", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateResponse.ts b/packages/datadog-api-client-v2/models/SpansAggregateResponse.ts index f0916e769e10..06323c538def 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateResponse.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateResponse.ts @@ -21,6 +21,13 @@ export class SpansAggregateResponse { */ "meta"?: SpansAggregateResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SpansAggregateResponse { baseName: "meta", type: "SpansAggregateResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateResponseMetadata.ts b/packages/datadog-api-client-v2/models/SpansAggregateResponseMetadata.ts index a9cc5440a293..4a5cf0d312db 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateResponseMetadata.ts @@ -30,6 +30,13 @@ export class SpansAggregateResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SpansAggregateResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAggregateSort.ts b/packages/datadog-api-client-v2/models/SpansAggregateSort.ts index 86c7dcb98458..d6360b87edf2 100644 --- a/packages/datadog-api-client-v2/models/SpansAggregateSort.ts +++ b/packages/datadog-api-client-v2/models/SpansAggregateSort.ts @@ -30,6 +30,13 @@ export class SpansAggregateSort { */ "type"?: SpansAggregateSortType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class SpansAggregateSort { baseName: "type", type: "SpansAggregateSortType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansAttributes.ts b/packages/datadog-api-client-v2/models/SpansAttributes.ts index 4c5e77aae415..f7de847e6094 100644 --- a/packages/datadog-api-client-v2/models/SpansAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansAttributes.ts @@ -81,6 +81,13 @@ export class SpansAttributes { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -160,6 +167,10 @@ export class SpansAttributes { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansCompute.ts b/packages/datadog-api-client-v2/models/SpansCompute.ts index 06302b1c030b..660d8ce645a9 100644 --- a/packages/datadog-api-client-v2/models/SpansCompute.ts +++ b/packages/datadog-api-client-v2/models/SpansCompute.ts @@ -30,6 +30,13 @@ export class SpansCompute { */ "type"?: SpansComputeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class SpansCompute { baseName: "type", type: "SpansComputeType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansFilter.ts b/packages/datadog-api-client-v2/models/SpansFilter.ts index 79347961ceac..140b4126fce4 100644 --- a/packages/datadog-api-client-v2/models/SpansFilter.ts +++ b/packages/datadog-api-client-v2/models/SpansFilter.ts @@ -15,6 +15,13 @@ export class SpansFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SpansFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansFilterCreate.ts b/packages/datadog-api-client-v2/models/SpansFilterCreate.ts index ecc69d58a200..8f3e3e506438 100644 --- a/packages/datadog-api-client-v2/models/SpansFilterCreate.ts +++ b/packages/datadog-api-client-v2/models/SpansFilterCreate.ts @@ -15,6 +15,13 @@ export class SpansFilterCreate { */ "query": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansFilterCreate { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansGroupBy.ts b/packages/datadog-api-client-v2/models/SpansGroupBy.ts index 687d55d08a10..706a15dc2679 100644 --- a/packages/datadog-api-client-v2/models/SpansGroupBy.ts +++ b/packages/datadog-api-client-v2/models/SpansGroupBy.ts @@ -40,6 +40,13 @@ export class SpansGroupBy { */ "total"?: SpansGroupByTotal; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -75,6 +82,10 @@ export class SpansGroupBy { baseName: "total", type: "SpansGroupByTotal", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansGroupByHistogram.ts b/packages/datadog-api-client-v2/models/SpansGroupByHistogram.ts index ec94f3acbc70..4d1e54507144 100644 --- a/packages/datadog-api-client-v2/models/SpansGroupByHistogram.ts +++ b/packages/datadog-api-client-v2/models/SpansGroupByHistogram.ts @@ -26,6 +26,13 @@ export class SpansGroupByHistogram { */ "min": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -53,6 +60,10 @@ export class SpansGroupByHistogram { required: true, format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListRequest.ts b/packages/datadog-api-client-v2/models/SpansListRequest.ts index 04b97714eec9..8eb4289247ed 100644 --- a/packages/datadog-api-client-v2/models/SpansListRequest.ts +++ b/packages/datadog-api-client-v2/models/SpansListRequest.ts @@ -16,6 +16,13 @@ export class SpansListRequest { */ "data"?: SpansListRequestData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansListRequest { baseName: "data", type: "SpansListRequestData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListRequestAttributes.ts b/packages/datadog-api-client-v2/models/SpansListRequestAttributes.ts index 2de30a66fb0e..a01277e1ae2a 100644 --- a/packages/datadog-api-client-v2/models/SpansListRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansListRequestAttributes.ts @@ -32,6 +32,13 @@ export class SpansListRequestAttributes { */ "sort"?: SpansSort; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class SpansListRequestAttributes { baseName: "sort", type: "SpansSort", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListRequestData.ts b/packages/datadog-api-client-v2/models/SpansListRequestData.ts index 382d1692fc06..e70bc04757ab 100644 --- a/packages/datadog-api-client-v2/models/SpansListRequestData.ts +++ b/packages/datadog-api-client-v2/models/SpansListRequestData.ts @@ -21,6 +21,13 @@ export class SpansListRequestData { */ "type"?: SpansListRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SpansListRequestData { baseName: "type", type: "SpansListRequestType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListRequestPage.ts b/packages/datadog-api-client-v2/models/SpansListRequestPage.ts index 6b02963a5fc8..3a1b3d4f7406 100644 --- a/packages/datadog-api-client-v2/models/SpansListRequestPage.ts +++ b/packages/datadog-api-client-v2/models/SpansListRequestPage.ts @@ -19,6 +19,13 @@ export class SpansListRequestPage { */ "limit"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SpansListRequestPage { type: "number", format: "int32", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListResponse.ts b/packages/datadog-api-client-v2/models/SpansListResponse.ts index c3b77f9a2906..bca2693e869d 100644 --- a/packages/datadog-api-client-v2/models/SpansListResponse.ts +++ b/packages/datadog-api-client-v2/models/SpansListResponse.ts @@ -26,6 +26,13 @@ export class SpansListResponse { */ "meta"?: SpansListResponseMetadata; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SpansListResponse { baseName: "meta", type: "SpansListResponseMetadata", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListResponseLinks.ts b/packages/datadog-api-client-v2/models/SpansListResponseLinks.ts index 560b6e7f347b..59257dee9c23 100644 --- a/packages/datadog-api-client-v2/models/SpansListResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/SpansListResponseLinks.ts @@ -16,6 +16,13 @@ export class SpansListResponseLinks { */ "next"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansListResponseLinks { baseName: "next", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansListResponseMetadata.ts b/packages/datadog-api-client-v2/models/SpansListResponseMetadata.ts index da5fe4446ac8..b860d9ef060b 100644 --- a/packages/datadog-api-client-v2/models/SpansListResponseMetadata.ts +++ b/packages/datadog-api-client-v2/models/SpansListResponseMetadata.ts @@ -35,6 +35,13 @@ export class SpansListResponseMetadata { */ "warnings"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -65,6 +72,10 @@ export class SpansListResponseMetadata { baseName: "warnings", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricCompute.ts b/packages/datadog-api-client-v2/models/SpansMetricCompute.ts index bb39ce429cf3..bf060cec19d4 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricCompute.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricCompute.ts @@ -25,6 +25,13 @@ export class SpansMetricCompute { */ "path"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SpansMetricCompute { baseName: "path", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricCreateAttributes.ts b/packages/datadog-api-client-v2/models/SpansMetricCreateAttributes.ts index 75db02279003..f666dee45964 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricCreateAttributes.ts @@ -26,6 +26,13 @@ export class SpansMetricCreateAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class SpansMetricCreateAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricCreateData.ts b/packages/datadog-api-client-v2/models/SpansMetricCreateData.ts index 05dcc4a195fd..8df91b80b4ae 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricCreateData.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricCreateData.ts @@ -25,6 +25,13 @@ export class SpansMetricCreateData { */ "type": SpansMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class SpansMetricCreateData { type: "SpansMetricType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricCreateRequest.ts b/packages/datadog-api-client-v2/models/SpansMetricCreateRequest.ts index e55ba2e31a93..66223cb40af4 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricCreateRequest.ts @@ -16,6 +16,13 @@ export class SpansMetricCreateRequest { */ "data": SpansMetricCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SpansMetricCreateRequest { type: "SpansMetricCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricFilter.ts b/packages/datadog-api-client-v2/models/SpansMetricFilter.ts index 21f26224d768..9f1050ccdb78 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricFilter.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricFilter.ts @@ -15,6 +15,13 @@ export class SpansMetricFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SpansMetricFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricGroupBy.ts b/packages/datadog-api-client-v2/models/SpansMetricGroupBy.ts index 7b8139dfa89a..29d4c2ce1c10 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricGroupBy.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricGroupBy.ts @@ -19,6 +19,13 @@ export class SpansMetricGroupBy { */ "tagName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class SpansMetricGroupBy { baseName: "tag_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponse.ts b/packages/datadog-api-client-v2/models/SpansMetricResponse.ts index 6a595418cf00..7e71ec8bf49f 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponse.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponse.ts @@ -16,6 +16,13 @@ export class SpansMetricResponse { */ "data"?: SpansMetricResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansMetricResponse { baseName: "data", type: "SpansMetricResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponseAttributes.ts b/packages/datadog-api-client-v2/models/SpansMetricResponseAttributes.ts index 4b89da3da6c7..b27ae3cbd7d5 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponseAttributes.ts @@ -26,6 +26,13 @@ export class SpansMetricResponseAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SpansMetricResponseAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponseCompute.ts b/packages/datadog-api-client-v2/models/SpansMetricResponseCompute.ts index e4c272aaeb5e..ab180380ebad 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponseCompute.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponseCompute.ts @@ -25,6 +25,13 @@ export class SpansMetricResponseCompute { */ "path"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SpansMetricResponseCompute { baseName: "path", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponseData.ts b/packages/datadog-api-client-v2/models/SpansMetricResponseData.ts index af7642c623d0..02fe78f2cd73 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponseData.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponseData.ts @@ -25,6 +25,13 @@ export class SpansMetricResponseData { */ "type"?: SpansMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class SpansMetricResponseData { baseName: "type", type: "SpansMetricType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponseFilter.ts b/packages/datadog-api-client-v2/models/SpansMetricResponseFilter.ts index bf1e7e0b102f..8257be8d71b9 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponseFilter.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponseFilter.ts @@ -15,6 +15,13 @@ export class SpansMetricResponseFilter { */ "query"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class SpansMetricResponseFilter { baseName: "query", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricResponseGroupBy.ts b/packages/datadog-api-client-v2/models/SpansMetricResponseGroupBy.ts index fedaf2aeb51d..1f699356343b 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricResponseGroupBy.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricResponseGroupBy.ts @@ -19,6 +19,13 @@ export class SpansMetricResponseGroupBy { */ "tagName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -36,6 +43,10 @@ export class SpansMetricResponseGroupBy { baseName: "tag_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricUpdateAttributes.ts b/packages/datadog-api-client-v2/models/SpansMetricUpdateAttributes.ts index 4429da2e117e..7e507853efd5 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricUpdateAttributes.ts @@ -26,6 +26,13 @@ export class SpansMetricUpdateAttributes { */ "groupBy"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class SpansMetricUpdateAttributes { baseName: "group_by", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricUpdateCompute.ts b/packages/datadog-api-client-v2/models/SpansMetricUpdateCompute.ts index 930643f920c0..6f008b5243f3 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricUpdateCompute.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricUpdateCompute.ts @@ -16,6 +16,13 @@ export class SpansMetricUpdateCompute { */ "includePercentiles"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansMetricUpdateCompute { baseName: "include_percentiles", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricUpdateData.ts b/packages/datadog-api-client-v2/models/SpansMetricUpdateData.ts index a6943c665da2..ae9a87175b63 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricUpdateData.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricUpdateData.ts @@ -21,6 +21,13 @@ export class SpansMetricUpdateData { */ "type": SpansMetricType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class SpansMetricUpdateData { type: "SpansMetricType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricUpdateRequest.ts b/packages/datadog-api-client-v2/models/SpansMetricUpdateRequest.ts index 57697b73cbd8..557a808d2a89 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricUpdateRequest.ts @@ -16,6 +16,13 @@ export class SpansMetricUpdateRequest { */ "data": SpansMetricUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class SpansMetricUpdateRequest { type: "SpansMetricUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansMetricsResponse.ts b/packages/datadog-api-client-v2/models/SpansMetricsResponse.ts index 7d2ed4eeb134..e9132267f08e 100644 --- a/packages/datadog-api-client-v2/models/SpansMetricsResponse.ts +++ b/packages/datadog-api-client-v2/models/SpansMetricsResponse.ts @@ -16,6 +16,13 @@ export class SpansMetricsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansMetricsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansQueryFilter.ts b/packages/datadog-api-client-v2/models/SpansQueryFilter.ts index 817a7eaaa068..e332cedc8fab 100644 --- a/packages/datadog-api-client-v2/models/SpansQueryFilter.ts +++ b/packages/datadog-api-client-v2/models/SpansQueryFilter.ts @@ -23,6 +23,13 @@ export class SpansQueryFilter { */ "to"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SpansQueryFilter { baseName: "to", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansQueryOptions.ts b/packages/datadog-api-client-v2/models/SpansQueryOptions.ts index d21a7920963a..ae522893366e 100644 --- a/packages/datadog-api-client-v2/models/SpansQueryOptions.ts +++ b/packages/datadog-api-client-v2/models/SpansQueryOptions.ts @@ -20,6 +20,13 @@ export class SpansQueryOptions { */ "timezone"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class SpansQueryOptions { baseName: "timezone", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansResponseMetadataPage.ts b/packages/datadog-api-client-v2/models/SpansResponseMetadataPage.ts index 4a0e35093452..e74010229f97 100644 --- a/packages/datadog-api-client-v2/models/SpansResponseMetadataPage.ts +++ b/packages/datadog-api-client-v2/models/SpansResponseMetadataPage.ts @@ -16,6 +16,13 @@ export class SpansResponseMetadataPage { */ "after"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class SpansResponseMetadataPage { baseName: "after", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/SpansWarning.ts b/packages/datadog-api-client-v2/models/SpansWarning.ts index bb68c0cae805..8e37abe4d33b 100644 --- a/packages/datadog-api-client-v2/models/SpansWarning.ts +++ b/packages/datadog-api-client-v2/models/SpansWarning.ts @@ -23,6 +23,13 @@ export class SpansWarning { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class SpansWarning { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Team.ts b/packages/datadog-api-client-v2/models/Team.ts index 7e8a81093727..02d2cec5f164 100644 --- a/packages/datadog-api-client-v2/models/Team.ts +++ b/packages/datadog-api-client-v2/models/Team.ts @@ -30,6 +30,13 @@ export class Team { */ "type": TeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -58,6 +65,10 @@ export class Team { type: "TeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamAttributes.ts b/packages/datadog-api-client-v2/models/TeamAttributes.ts index 630135e4327a..a919045fba6b 100644 --- a/packages/datadog-api-client-v2/models/TeamAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamAttributes.ts @@ -59,6 +59,13 @@ export class TeamAttributes { */ "visibleModules"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -123,6 +130,10 @@ export class TeamAttributes { baseName: "visible_modules", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamCreate.ts b/packages/datadog-api-client-v2/models/TeamCreate.ts index 39d98ef75f5a..dcc5efdcbfc0 100644 --- a/packages/datadog-api-client-v2/models/TeamCreate.ts +++ b/packages/datadog-api-client-v2/models/TeamCreate.ts @@ -26,6 +26,13 @@ export class TeamCreate { */ "type": TeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class TeamCreate { type: "TeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamCreateAttributes.ts b/packages/datadog-api-client-v2/models/TeamCreateAttributes.ts index f03811104d7e..2a097ee6cf5b 100644 --- a/packages/datadog-api-client-v2/models/TeamCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamCreateAttributes.ts @@ -39,6 +39,13 @@ export class TeamCreateAttributes { */ "visibleModules"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -79,6 +86,10 @@ export class TeamCreateAttributes { baseName: "visible_modules", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamCreateRelationships.ts b/packages/datadog-api-client-v2/models/TeamCreateRelationships.ts index 652d4af38275..2532d8f0219b 100644 --- a/packages/datadog-api-client-v2/models/TeamCreateRelationships.ts +++ b/packages/datadog-api-client-v2/models/TeamCreateRelationships.ts @@ -16,6 +16,13 @@ export class TeamCreateRelationships { */ "users"?: RelationshipToUsers; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamCreateRelationships { baseName: "users", type: "RelationshipToUsers", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamCreateRequest.ts b/packages/datadog-api-client-v2/models/TeamCreateRequest.ts index 439935a0d8bf..68a50635cf90 100644 --- a/packages/datadog-api-client-v2/models/TeamCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/TeamCreateRequest.ts @@ -16,6 +16,13 @@ export class TeamCreateRequest { */ "data": TeamCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class TeamCreateRequest { type: "TeamCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLink.ts b/packages/datadog-api-client-v2/models/TeamLink.ts index 9f67f300d30a..028fa735ed45 100644 --- a/packages/datadog-api-client-v2/models/TeamLink.ts +++ b/packages/datadog-api-client-v2/models/TeamLink.ts @@ -25,6 +25,13 @@ export class TeamLink { */ "type": TeamLinkType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class TeamLink { type: "TeamLinkType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLinkAttributes.ts b/packages/datadog-api-client-v2/models/TeamLinkAttributes.ts index 7e04db53315b..34f9abf03a3a 100644 --- a/packages/datadog-api-client-v2/models/TeamLinkAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamLinkAttributes.ts @@ -27,6 +27,13 @@ export class TeamLinkAttributes { */ "url": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class TeamLinkAttributes { type: "string", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLinkCreate.ts b/packages/datadog-api-client-v2/models/TeamLinkCreate.ts index f619555d1a79..f6c2e618d443 100644 --- a/packages/datadog-api-client-v2/models/TeamLinkCreate.ts +++ b/packages/datadog-api-client-v2/models/TeamLinkCreate.ts @@ -21,6 +21,13 @@ export class TeamLinkCreate { */ "type": TeamLinkType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class TeamLinkCreate { type: "TeamLinkType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLinkCreateRequest.ts b/packages/datadog-api-client-v2/models/TeamLinkCreateRequest.ts index 2e73d9db50cb..bab8f127226f 100644 --- a/packages/datadog-api-client-v2/models/TeamLinkCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/TeamLinkCreateRequest.ts @@ -16,6 +16,13 @@ export class TeamLinkCreateRequest { */ "data": TeamLinkCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class TeamLinkCreateRequest { type: "TeamLinkCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLinkResponse.ts b/packages/datadog-api-client-v2/models/TeamLinkResponse.ts index 54d7c491786c..33bbf8f6dcaf 100644 --- a/packages/datadog-api-client-v2/models/TeamLinkResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamLinkResponse.ts @@ -16,6 +16,13 @@ export class TeamLinkResponse { */ "data"?: TeamLink; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamLinkResponse { baseName: "data", type: "TeamLink", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamLinksResponse.ts b/packages/datadog-api-client-v2/models/TeamLinksResponse.ts index 819cade654e0..157a77707eda 100644 --- a/packages/datadog-api-client-v2/models/TeamLinksResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamLinksResponse.ts @@ -16,6 +16,13 @@ export class TeamLinksResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamLinksResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSetting.ts b/packages/datadog-api-client-v2/models/TeamPermissionSetting.ts index 6c7e63ef4f1a..4e2dc3eb0e0b 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSetting.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSetting.ts @@ -25,6 +25,13 @@ export class TeamPermissionSetting { */ "type": TeamPermissionSettingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class TeamPermissionSetting { type: "TeamPermissionSettingType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingAttributes.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingAttributes.ts index 3207acef5757..4b80220a9ce7 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingAttributes.ts @@ -33,6 +33,13 @@ export class TeamPermissionSettingAttributes { */ "value"?: TeamPermissionSettingValue; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -62,6 +69,10 @@ export class TeamPermissionSettingAttributes { baseName: "value", type: "TeamPermissionSettingValue", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingResponse.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingResponse.ts index 2a0ba31d7f8d..ca6972ac2dc8 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingResponse.ts @@ -16,6 +16,13 @@ export class TeamPermissionSettingResponse { */ "data"?: TeamPermissionSetting; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamPermissionSettingResponse { baseName: "data", type: "TeamPermissionSetting", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdate.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdate.ts index 3999dc87f60b..0d65db776743 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdate.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdate.ts @@ -21,6 +21,13 @@ export class TeamPermissionSettingUpdate { */ "type": TeamPermissionSettingType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class TeamPermissionSettingUpdate { type: "TeamPermissionSettingType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateAttributes.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateAttributes.ts index fec276f96e2d..94b05eeac5af 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateAttributes.ts @@ -16,6 +16,13 @@ export class TeamPermissionSettingUpdateAttributes { */ "value"?: TeamPermissionSettingValue; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamPermissionSettingUpdateAttributes { baseName: "value", type: "TeamPermissionSettingValue", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateRequest.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateRequest.ts index 28646bd9aab4..c3d30ececf56 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingUpdateRequest.ts @@ -16,6 +16,13 @@ export class TeamPermissionSettingUpdateRequest { */ "data": TeamPermissionSettingUpdate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class TeamPermissionSettingUpdateRequest { type: "TeamPermissionSettingUpdate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamPermissionSettingsResponse.ts b/packages/datadog-api-client-v2/models/TeamPermissionSettingsResponse.ts index 9aab3f85ae10..057999027009 100644 --- a/packages/datadog-api-client-v2/models/TeamPermissionSettingsResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamPermissionSettingsResponse.ts @@ -16,6 +16,13 @@ export class TeamPermissionSettingsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamPermissionSettingsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamRelationships.ts b/packages/datadog-api-client-v2/models/TeamRelationships.ts index 160121286fb4..58900f9fc738 100644 --- a/packages/datadog-api-client-v2/models/TeamRelationships.ts +++ b/packages/datadog-api-client-v2/models/TeamRelationships.ts @@ -21,6 +21,13 @@ export class TeamRelationships { */ "userTeamPermissions"?: RelationshipToUserTeamPermission; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class TeamRelationships { baseName: "user_team_permissions", type: "RelationshipToUserTeamPermission", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamRelationshipsLinks.ts b/packages/datadog-api-client-v2/models/TeamRelationshipsLinks.ts index 743f70debcbe..c13ecbe23f77 100644 --- a/packages/datadog-api-client-v2/models/TeamRelationshipsLinks.ts +++ b/packages/datadog-api-client-v2/models/TeamRelationshipsLinks.ts @@ -15,6 +15,13 @@ export class TeamRelationshipsLinks { */ "related"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class TeamRelationshipsLinks { baseName: "related", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamResponse.ts b/packages/datadog-api-client-v2/models/TeamResponse.ts index 8c35d3a1ad5b..4723b4038294 100644 --- a/packages/datadog-api-client-v2/models/TeamResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamResponse.ts @@ -16,6 +16,13 @@ export class TeamResponse { */ "data"?: Team; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamResponse { baseName: "data", type: "Team", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamUpdate.ts b/packages/datadog-api-client-v2/models/TeamUpdate.ts index 99728a6b19c6..573398a030bd 100644 --- a/packages/datadog-api-client-v2/models/TeamUpdate.ts +++ b/packages/datadog-api-client-v2/models/TeamUpdate.ts @@ -26,6 +26,13 @@ export class TeamUpdate { */ "type": TeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class TeamUpdate { type: "TeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamUpdateAttributes.ts b/packages/datadog-api-client-v2/models/TeamUpdateAttributes.ts index 1920bfe16be6..c0b3a71a0574 100644 --- a/packages/datadog-api-client-v2/models/TeamUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/TeamUpdateAttributes.ts @@ -43,6 +43,13 @@ export class TeamUpdateAttributes { */ "visibleModules"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -88,6 +95,10 @@ export class TeamUpdateAttributes { baseName: "visible_modules", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamUpdateRelationships.ts b/packages/datadog-api-client-v2/models/TeamUpdateRelationships.ts index e8cbdc2f3501..a4f12dc1e992 100644 --- a/packages/datadog-api-client-v2/models/TeamUpdateRelationships.ts +++ b/packages/datadog-api-client-v2/models/TeamUpdateRelationships.ts @@ -16,6 +16,13 @@ export class TeamUpdateRelationships { */ "teamLinks"?: RelationshipToTeamLinks; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamUpdateRelationships { baseName: "team_links", type: "RelationshipToTeamLinks", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamUpdateRequest.ts b/packages/datadog-api-client-v2/models/TeamUpdateRequest.ts index 644f7c5a6bde..3eee3d285a40 100644 --- a/packages/datadog-api-client-v2/models/TeamUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/TeamUpdateRequest.ts @@ -16,6 +16,13 @@ export class TeamUpdateRequest { */ "data": TeamUpdate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class TeamUpdateRequest { type: "TeamUpdate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamsResponse.ts b/packages/datadog-api-client-v2/models/TeamsResponse.ts index 4c6e95ea92c0..c1cfd23498a1 100644 --- a/packages/datadog-api-client-v2/models/TeamsResponse.ts +++ b/packages/datadog-api-client-v2/models/TeamsResponse.ts @@ -31,6 +31,13 @@ export class TeamsResponse { */ "meta"?: TeamsResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class TeamsResponse { baseName: "meta", type: "TeamsResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamsResponseLinks.ts b/packages/datadog-api-client-v2/models/TeamsResponseLinks.ts index 2d4d60599178..59cc027d78ab 100644 --- a/packages/datadog-api-client-v2/models/TeamsResponseLinks.ts +++ b/packages/datadog-api-client-v2/models/TeamsResponseLinks.ts @@ -31,6 +31,13 @@ export class TeamsResponseLinks { */ "self"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -60,6 +67,10 @@ export class TeamsResponseLinks { baseName: "self", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamsResponseMeta.ts b/packages/datadog-api-client-v2/models/TeamsResponseMeta.ts index b8e53848125a..fb4885c753f2 100644 --- a/packages/datadog-api-client-v2/models/TeamsResponseMeta.ts +++ b/packages/datadog-api-client-v2/models/TeamsResponseMeta.ts @@ -16,6 +16,13 @@ export class TeamsResponseMeta { */ "pagination"?: TeamsResponseMetaPagination; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class TeamsResponseMeta { baseName: "pagination", type: "TeamsResponseMetaPagination", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TeamsResponseMetaPagination.ts b/packages/datadog-api-client-v2/models/TeamsResponseMetaPagination.ts index d25255acd291..06299f98b7eb 100644 --- a/packages/datadog-api-client-v2/models/TeamsResponseMetaPagination.ts +++ b/packages/datadog-api-client-v2/models/TeamsResponseMetaPagination.ts @@ -43,6 +43,13 @@ export class TeamsResponseMetaPagination { */ "type"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -91,6 +98,10 @@ export class TeamsResponseMetaPagination { baseName: "type", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryRequest.ts b/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryRequest.ts index 78419027d736..5c58d24401ae 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryRequest.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryRequest.ts @@ -16,6 +16,13 @@ export class TimeseriesFormulaQueryRequest { */ "data": TimeseriesFormulaRequest; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class TimeseriesFormulaQueryRequest { type: "TimeseriesFormulaRequest", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryResponse.ts b/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryResponse.ts index e9f011982069..a23b4a05a6b8 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryResponse.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesFormulaQueryResponse.ts @@ -20,6 +20,13 @@ export class TimeseriesFormulaQueryResponse { */ "errors"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -37,6 +44,10 @@ export class TimeseriesFormulaQueryResponse { baseName: "errors", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesFormulaRequest.ts b/packages/datadog-api-client-v2/models/TimeseriesFormulaRequest.ts index acce036041fc..f1f35bde892a 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesFormulaRequest.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesFormulaRequest.ts @@ -21,6 +21,13 @@ export class TimeseriesFormulaRequest { */ "type": TimeseriesFormulaRequestType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class TimeseriesFormulaRequest { type: "TimeseriesFormulaRequestType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesFormulaRequestAttributes.ts b/packages/datadog-api-client-v2/models/TimeseriesFormulaRequestAttributes.ts index 4c4475e1093d..e692ae6bcd75 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesFormulaRequestAttributes.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesFormulaRequestAttributes.ts @@ -36,6 +36,13 @@ export class TimeseriesFormulaRequestAttributes { */ "to": number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -71,6 +78,10 @@ export class TimeseriesFormulaRequestAttributes { required: true, format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesResponse.ts b/packages/datadog-api-client-v2/models/TimeseriesResponse.ts index 7434cca29566..5f92dfc64d7e 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesResponse.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesResponse.ts @@ -21,6 +21,13 @@ export class TimeseriesResponse { */ "type"?: TimeseriesFormulaResponseType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class TimeseriesResponse { baseName: "type", type: "TimeseriesFormulaResponseType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesResponseAttributes.ts b/packages/datadog-api-client-v2/models/TimeseriesResponseAttributes.ts index d952290f7416..7aabcef468fb 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesResponseAttributes.ts @@ -24,6 +24,13 @@ export class TimeseriesResponseAttributes { */ "values"?: Array>; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class TimeseriesResponseAttributes { type: "Array>", format: "double", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/TimeseriesResponseSeries.ts b/packages/datadog-api-client-v2/models/TimeseriesResponseSeries.ts index 8444d2f24cc7..b508bfc57aa0 100644 --- a/packages/datadog-api-client-v2/models/TimeseriesResponseSeries.ts +++ b/packages/datadog-api-client-v2/models/TimeseriesResponseSeries.ts @@ -27,6 +27,13 @@ export class TimeseriesResponseSeries { */ "unit"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class TimeseriesResponseSeries { baseName: "unit", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/Unit.ts b/packages/datadog-api-client-v2/models/Unit.ts index c4612c31156c..882e23b3e769 100644 --- a/packages/datadog-api-client-v2/models/Unit.ts +++ b/packages/datadog-api-client-v2/models/Unit.ts @@ -31,6 +31,13 @@ export class Unit { */ "shortName"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -61,6 +68,10 @@ export class Unit { baseName: "short_name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponse.ts b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponse.ts index b48ed58c42c3..09b59001e9d2 100644 --- a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponse.ts +++ b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponse.ts @@ -16,6 +16,13 @@ export class UpdateOpenAPIResponse { */ "data"?: UpdateOpenAPIResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UpdateOpenAPIResponse { baseName: "data", type: "UpdateOpenAPIResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseAttributes.ts b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseAttributes.ts index 0a701be4c00b..f881f837b333 100644 --- a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseAttributes.ts +++ b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseAttributes.ts @@ -16,6 +16,13 @@ export class UpdateOpenAPIResponseAttributes { */ "failedEndpoints"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UpdateOpenAPIResponseAttributes { baseName: "failed_endpoints", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseData.ts b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseData.ts index 9a91df7daab9..99e0df52eedc 100644 --- a/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseData.ts +++ b/packages/datadog-api-client-v2/models/UpdateOpenAPIResponseData.ts @@ -20,6 +20,13 @@ export class UpdateOpenAPIResponseData { */ "id"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UpdateOpenAPIResponseData { type: "string", format: "uuid", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageApplicationSecurityMonitoringResponse.ts b/packages/datadog-api-client-v2/models/UsageApplicationSecurityMonitoringResponse.ts index fedfd4f78d36..892554be83bd 100644 --- a/packages/datadog-api-client-v2/models/UsageApplicationSecurityMonitoringResponse.ts +++ b/packages/datadog-api-client-v2/models/UsageApplicationSecurityMonitoringResponse.ts @@ -16,6 +16,13 @@ export class UsageApplicationSecurityMonitoringResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageApplicationSecurityMonitoringResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageAttributesObject.ts b/packages/datadog-api-client-v2/models/UsageAttributesObject.ts index 8b0fa41d3818..fd1861c8b399 100644 --- a/packages/datadog-api-client-v2/models/UsageAttributesObject.ts +++ b/packages/datadog-api-client-v2/models/UsageAttributesObject.ts @@ -37,6 +37,13 @@ export class UsageAttributesObject { */ "usageType"?: HourlyUsageType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -70,6 +77,10 @@ export class UsageAttributesObject { baseName: "usage_type", type: "HourlyUsageType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageDataObject.ts b/packages/datadog-api-client-v2/models/UsageDataObject.ts index d09a1a5968c2..04fbed58d822 100644 --- a/packages/datadog-api-client-v2/models/UsageDataObject.ts +++ b/packages/datadog-api-client-v2/models/UsageDataObject.ts @@ -25,6 +25,13 @@ export class UsageDataObject { */ "type"?: UsageTimeSeriesType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class UsageDataObject { baseName: "type", type: "UsageTimeSeriesType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageLambdaTracedInvocationsResponse.ts b/packages/datadog-api-client-v2/models/UsageLambdaTracedInvocationsResponse.ts index 0f7db11a4a63..7895af6826d2 100644 --- a/packages/datadog-api-client-v2/models/UsageLambdaTracedInvocationsResponse.ts +++ b/packages/datadog-api-client-v2/models/UsageLambdaTracedInvocationsResponse.ts @@ -16,6 +16,13 @@ export class UsageLambdaTracedInvocationsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageLambdaTracedInvocationsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageObservabilityPipelinesResponse.ts b/packages/datadog-api-client-v2/models/UsageObservabilityPipelinesResponse.ts index 225caacd29bb..44d7d506bd4d 100644 --- a/packages/datadog-api-client-v2/models/UsageObservabilityPipelinesResponse.ts +++ b/packages/datadog-api-client-v2/models/UsageObservabilityPipelinesResponse.ts @@ -16,6 +16,13 @@ export class UsageObservabilityPipelinesResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UsageObservabilityPipelinesResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsageTimeSeriesObject.ts b/packages/datadog-api-client-v2/models/UsageTimeSeriesObject.ts index 6c9a1d893c57..ffc68411d930 100644 --- a/packages/datadog-api-client-v2/models/UsageTimeSeriesObject.ts +++ b/packages/datadog-api-client-v2/models/UsageTimeSeriesObject.ts @@ -19,6 +19,13 @@ export class UsageTimeSeriesObject { */ "value"?: number; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UsageTimeSeriesObject { type: "number", format: "int64", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/User.ts b/packages/datadog-api-client-v2/models/User.ts index 489f3397275b..94e959a02159 100644 --- a/packages/datadog-api-client-v2/models/User.ts +++ b/packages/datadog-api-client-v2/models/User.ts @@ -30,6 +30,13 @@ export class User { */ "type"?: UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class User { baseName: "type", type: "UsersType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserAttributes.ts b/packages/datadog-api-client-v2/models/UserAttributes.ts index 9f5e94562dcd..d8e508f87393 100644 --- a/packages/datadog-api-client-v2/models/UserAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserAttributes.ts @@ -55,6 +55,13 @@ export class UserAttributes { */ "verified"?: boolean; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -110,6 +117,10 @@ export class UserAttributes { baseName: "verified", type: "boolean", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserCreateAttributes.ts b/packages/datadog-api-client-v2/models/UserCreateAttributes.ts index a4140cea4bdb..24d9e0b45bde 100644 --- a/packages/datadog-api-client-v2/models/UserCreateAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserCreateAttributes.ts @@ -23,6 +23,13 @@ export class UserCreateAttributes { */ "title"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -45,6 +52,10 @@ export class UserCreateAttributes { baseName: "title", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserCreateData.ts b/packages/datadog-api-client-v2/models/UserCreateData.ts index 38481266fa35..fb8a8ecffdcc 100644 --- a/packages/datadog-api-client-v2/models/UserCreateData.ts +++ b/packages/datadog-api-client-v2/models/UserCreateData.ts @@ -26,6 +26,13 @@ export class UserCreateData { */ "type": UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class UserCreateData { type: "UsersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserCreateRequest.ts b/packages/datadog-api-client-v2/models/UserCreateRequest.ts index 3d7ddac29261..2aab69e65f27 100644 --- a/packages/datadog-api-client-v2/models/UserCreateRequest.ts +++ b/packages/datadog-api-client-v2/models/UserCreateRequest.ts @@ -16,6 +16,13 @@ export class UserCreateRequest { */ "data": UserCreateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserCreateRequest { type: "UserCreateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationData.ts b/packages/datadog-api-client-v2/models/UserInvitationData.ts index a43486b260bb..9be17ef0b2c7 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationData.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationData.ts @@ -21,6 +21,13 @@ export class UserInvitationData { */ "type": UserInvitationsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -40,6 +47,10 @@ export class UserInvitationData { type: "UserInvitationsType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationDataAttributes.ts b/packages/datadog-api-client-v2/models/UserInvitationDataAttributes.ts index 4d81435dd31b..5300229f44ef 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationDataAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationDataAttributes.ts @@ -27,6 +27,13 @@ export class UserInvitationDataAttributes { */ "uuid"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -54,6 +61,10 @@ export class UserInvitationDataAttributes { baseName: "uuid", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationRelationships.ts b/packages/datadog-api-client-v2/models/UserInvitationRelationships.ts index ae39c1c6ebb4..6782a84c5f0c 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationRelationships.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationRelationships.ts @@ -16,6 +16,13 @@ export class UserInvitationRelationships { */ "user": RelationshipToUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserInvitationRelationships { type: "RelationshipToUser", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationResponse.ts b/packages/datadog-api-client-v2/models/UserInvitationResponse.ts index 87057bf15591..727be50640ed 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationResponse.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationResponse.ts @@ -16,6 +16,13 @@ export class UserInvitationResponse { */ "data"?: UserInvitationResponseData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UserInvitationResponse { baseName: "data", type: "UserInvitationResponseData", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationResponseData.ts b/packages/datadog-api-client-v2/models/UserInvitationResponseData.ts index 5dc34f7ec25a..0086cfd42820 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationResponseData.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationResponseData.ts @@ -30,6 +30,13 @@ export class UserInvitationResponseData { */ "type"?: UserInvitationsType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -55,6 +62,10 @@ export class UserInvitationResponseData { baseName: "type", type: "UserInvitationsType", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationsRequest.ts b/packages/datadog-api-client-v2/models/UserInvitationsRequest.ts index 89c8a89f32a4..d9e78cad8ec5 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationsRequest.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationsRequest.ts @@ -16,6 +16,13 @@ export class UserInvitationsRequest { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserInvitationsRequest { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserInvitationsResponse.ts b/packages/datadog-api-client-v2/models/UserInvitationsResponse.ts index 9036d10b9fa2..f9dde2b111ef 100644 --- a/packages/datadog-api-client-v2/models/UserInvitationsResponse.ts +++ b/packages/datadog-api-client-v2/models/UserInvitationsResponse.ts @@ -16,6 +16,13 @@ export class UserInvitationsResponse { */ "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UserInvitationsResponse { baseName: "data", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserRelationshipData.ts b/packages/datadog-api-client-v2/models/UserRelationshipData.ts index a1113b6cfe2c..84aaf850fa36 100644 --- a/packages/datadog-api-client-v2/models/UserRelationshipData.ts +++ b/packages/datadog-api-client-v2/models/UserRelationshipData.ts @@ -20,6 +20,13 @@ export class UserRelationshipData { */ "type": UserResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class UserRelationshipData { type: "UserResourceType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserRelationships.ts b/packages/datadog-api-client-v2/models/UserRelationships.ts index edf71ea1668a..139165a6447f 100644 --- a/packages/datadog-api-client-v2/models/UserRelationships.ts +++ b/packages/datadog-api-client-v2/models/UserRelationships.ts @@ -16,6 +16,13 @@ export class UserRelationships { */ "roles"?: RelationshipToRoles; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -29,6 +36,10 @@ export class UserRelationships { baseName: "roles", type: "RelationshipToRoles", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserResponse.ts b/packages/datadog-api-client-v2/models/UserResponse.ts index d962ebc20027..6bd11d5bb604 100644 --- a/packages/datadog-api-client-v2/models/UserResponse.ts +++ b/packages/datadog-api-client-v2/models/UserResponse.ts @@ -21,6 +21,13 @@ export class UserResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UserResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserResponseRelationships.ts b/packages/datadog-api-client-v2/models/UserResponseRelationships.ts index fa296870b0b7..5912fb0daba5 100644 --- a/packages/datadog-api-client-v2/models/UserResponseRelationships.ts +++ b/packages/datadog-api-client-v2/models/UserResponseRelationships.ts @@ -31,6 +31,13 @@ export class UserResponseRelationships { */ "roles"?: RelationshipToRoles; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -56,6 +63,10 @@ export class UserResponseRelationships { baseName: "roles", type: "RelationshipToRoles", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeam.ts b/packages/datadog-api-client-v2/models/UserTeam.ts index e977cc8ec260..e37e24650929 100644 --- a/packages/datadog-api-client-v2/models/UserTeam.ts +++ b/packages/datadog-api-client-v2/models/UserTeam.ts @@ -30,6 +30,13 @@ export class UserTeam { */ "type": UserTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -57,6 +64,10 @@ export class UserTeam { type: "UserTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamAttributes.ts b/packages/datadog-api-client-v2/models/UserTeamAttributes.ts index 34f5bf028228..1681ab8045bb 100644 --- a/packages/datadog-api-client-v2/models/UserTeamAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserTeamAttributes.ts @@ -25,6 +25,13 @@ export class UserTeamAttributes { */ "role"?: UserTeamRole; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -46,6 +53,10 @@ export class UserTeamAttributes { baseName: "role", type: "UserTeamRole", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamCreate.ts b/packages/datadog-api-client-v2/models/UserTeamCreate.ts index d0085721eba8..e66157bb0545 100644 --- a/packages/datadog-api-client-v2/models/UserTeamCreate.ts +++ b/packages/datadog-api-client-v2/models/UserTeamCreate.ts @@ -26,6 +26,13 @@ export class UserTeamCreate { */ "type": UserTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class UserTeamCreate { type: "UserTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamPermission.ts b/packages/datadog-api-client-v2/models/UserTeamPermission.ts index 94cfe26d430c..ef27d0557543 100644 --- a/packages/datadog-api-client-v2/models/UserTeamPermission.ts +++ b/packages/datadog-api-client-v2/models/UserTeamPermission.ts @@ -25,6 +25,13 @@ export class UserTeamPermission { */ "type": UserTeamPermissionType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -48,6 +55,10 @@ export class UserTeamPermission { type: "UserTeamPermissionType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamPermissionAttributes.ts b/packages/datadog-api-client-v2/models/UserTeamPermissionAttributes.ts index 2e1736087b56..68a90c83cf74 100644 --- a/packages/datadog-api-client-v2/models/UserTeamPermissionAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserTeamPermissionAttributes.ts @@ -15,6 +15,13 @@ export class UserTeamPermissionAttributes { */ "permissions"?: any; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -28,6 +35,10 @@ export class UserTeamPermissionAttributes { baseName: "permissions", type: "any", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamRelationships.ts b/packages/datadog-api-client-v2/models/UserTeamRelationships.ts index d53920b7c08b..5d014557c1d0 100644 --- a/packages/datadog-api-client-v2/models/UserTeamRelationships.ts +++ b/packages/datadog-api-client-v2/models/UserTeamRelationships.ts @@ -21,6 +21,13 @@ export class UserTeamRelationships { */ "user"?: RelationshipToUserTeamUser; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UserTeamRelationships { baseName: "user", type: "RelationshipToUserTeamUser", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamRequest.ts b/packages/datadog-api-client-v2/models/UserTeamRequest.ts index ac3a57c7aede..9759468993c1 100644 --- a/packages/datadog-api-client-v2/models/UserTeamRequest.ts +++ b/packages/datadog-api-client-v2/models/UserTeamRequest.ts @@ -16,6 +16,13 @@ export class UserTeamRequest { */ "data": UserTeamCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserTeamRequest { type: "UserTeamCreate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamResponse.ts b/packages/datadog-api-client-v2/models/UserTeamResponse.ts index 79e04ec221c9..f42c555392c8 100644 --- a/packages/datadog-api-client-v2/models/UserTeamResponse.ts +++ b/packages/datadog-api-client-v2/models/UserTeamResponse.ts @@ -21,6 +21,13 @@ export class UserTeamResponse { */ "included"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -38,6 +45,10 @@ export class UserTeamResponse { baseName: "included", type: "Array", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamUpdate.ts b/packages/datadog-api-client-v2/models/UserTeamUpdate.ts index 6b6f611beaea..9e7e6086c5f9 100644 --- a/packages/datadog-api-client-v2/models/UserTeamUpdate.ts +++ b/packages/datadog-api-client-v2/models/UserTeamUpdate.ts @@ -21,6 +21,13 @@ export class UserTeamUpdate { */ "type": UserTeamType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -39,6 +46,10 @@ export class UserTeamUpdate { type: "UserTeamType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamUpdateRequest.ts b/packages/datadog-api-client-v2/models/UserTeamUpdateRequest.ts index cc3f9acc561a..8e555623ad0c 100644 --- a/packages/datadog-api-client-v2/models/UserTeamUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/UserTeamUpdateRequest.ts @@ -16,6 +16,13 @@ export class UserTeamUpdateRequest { */ "data": UserTeamUpdate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserTeamUpdateRequest { type: "UserTeamUpdate", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserTeamsResponse.ts b/packages/datadog-api-client-v2/models/UserTeamsResponse.ts index 86b2d0e646eb..b0b841e2fc51 100644 --- a/packages/datadog-api-client-v2/models/UserTeamsResponse.ts +++ b/packages/datadog-api-client-v2/models/UserTeamsResponse.ts @@ -26,6 +26,13 @@ export class UserTeamsResponse { */ "meta"?: TeamsResponseMeta; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class UserTeamsResponse { baseName: "meta", type: "TeamsResponseMeta", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserUpdateAttributes.ts b/packages/datadog-api-client-v2/models/UserUpdateAttributes.ts index 3e63ecd69c6b..532867f6463f 100644 --- a/packages/datadog-api-client-v2/models/UserUpdateAttributes.ts +++ b/packages/datadog-api-client-v2/models/UserUpdateAttributes.ts @@ -23,6 +23,13 @@ export class UserUpdateAttributes { */ "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -44,6 +51,10 @@ export class UserUpdateAttributes { baseName: "name", type: "string", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserUpdateData.ts b/packages/datadog-api-client-v2/models/UserUpdateData.ts index 2ea4e25e1497..3ca29fe66ab2 100644 --- a/packages/datadog-api-client-v2/models/UserUpdateData.ts +++ b/packages/datadog-api-client-v2/models/UserUpdateData.ts @@ -25,6 +25,13 @@ export class UserUpdateData { */ "type": UsersType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -49,6 +56,10 @@ export class UserUpdateData { type: "UsersType", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UserUpdateRequest.ts b/packages/datadog-api-client-v2/models/UserUpdateRequest.ts index 67840c0c6605..9778c3fd79ab 100644 --- a/packages/datadog-api-client-v2/models/UserUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/UserUpdateRequest.ts @@ -16,6 +16,13 @@ export class UserUpdateRequest { */ "data": UserUpdateData; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UserUpdateRequest { type: "UserUpdateData", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsersRelationship.ts b/packages/datadog-api-client-v2/models/UsersRelationship.ts index c7e527a93f71..bbe4fd87aaf3 100644 --- a/packages/datadog-api-client-v2/models/UsersRelationship.ts +++ b/packages/datadog-api-client-v2/models/UsersRelationship.ts @@ -16,6 +16,13 @@ export class UsersRelationship { */ "data": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -30,6 +37,10 @@ export class UsersRelationship { type: "Array", required: true, }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** diff --git a/packages/datadog-api-client-v2/models/UsersResponse.ts b/packages/datadog-api-client-v2/models/UsersResponse.ts index bd34d9a40047..36b36c073e31 100644 --- a/packages/datadog-api-client-v2/models/UsersResponse.ts +++ b/packages/datadog-api-client-v2/models/UsersResponse.ts @@ -26,6 +26,13 @@ export class UsersResponse { */ "meta"?: ResponseMetaAttributes; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** * @ignore */ @@ -47,6 +54,10 @@ export class UsersResponse { baseName: "meta", type: "ResponseMetaAttributes", }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, }; /** From f74bdc99a46c7446d34b2e9a86352e91c96e1cbf Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:45:27 -0500 Subject: [PATCH 22/41] [LOGSAC-468] Make project_id optional in Public API spec (#1539) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: Kevin Zou <17015060+nkzou@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 1 - .../models/LogsArchiveIntegrationGCS.ts | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 91702c7eea91..4a2b860f7ae5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-26 18:27:09.460981", - "spec_repo_commit": "65e025be" + "regenerated": "2024-02-27 14:00:04.501359", + "spec_repo_commit": "39b75d82" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-26 18:27:09.477057", - "spec_repo_commit": "65e025be" + "regenerated": "2024-02-27 14:00:04.521356", + "spec_repo_commit": "39b75d82" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dbf3a054c05c..a06a49b76cf2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -10410,7 +10410,6 @@ components: example: project-id type: string required: - - project_id - client_email type: object LogsArchiveIntegrationS3: diff --git a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts index a39b992900c0..eea16ad5afd9 100644 --- a/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts +++ b/packages/datadog-api-client-v2/models/LogsArchiveIntegrationGCS.ts @@ -17,7 +17,7 @@ export class LogsArchiveIntegrationGCS { /** * A project ID. */ - "projectId": string; + "projectId"?: string; /** * A container for additional, undeclared properties. @@ -43,7 +43,6 @@ export class LogsArchiveIntegrationGCS { projectId: { baseName: "project_id", type: "string", - required: true, }, additionalProperties: { baseName: "additionalProperties", From 71ac5a2b6e945022aa9f932529d812b8c00482a5 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:35:32 -0500 Subject: [PATCH 23/41] Add docs link for Case Management (#1540) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 +++- features/v2/case_management.feature | 5 ++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 4a2b860f7ae5..45e41cbdcec6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-27 14:00:04.501359", - "spec_repo_commit": "39b75d82" + "regenerated": "2024-02-28 16:48:28.561191", + "spec_repo_commit": "9bc5f106" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-27 14:00:04.521356", - "spec_repo_commit": "39b75d82" + "regenerated": "2024-02-28 16:48:28.576750", + "spec_repo_commit": "9bc5f106" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a06a49b76cf2..a87f8a37f8f3 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -34542,7 +34542,9 @@ tags: [Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more information. name: CI Visibility Tests -- description: View and manage cases and project within Case Management +- description: View and manage cases and projects within Case Management. See the + [Case Management page](https://docs.datadoghq.com/service_management/case_management/) + for more information. name: Case Management - description: The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management diff --git a/features/v2/case_management.feature b/features/v2/case_management.feature index 2d99e555384a..e95b1dc1c4c9 100644 --- a/features/v2/case_management.feature +++ b/features/v2/case_management.feature @@ -1,6 +1,9 @@ @endpoint(case-management) @endpoint(case-management-v2) Feature: Case Management - View and manage cases and project within Case Management + View and manage cases and projects within Case Management. See the [Case + Management + page](https://docs.datadoghq.com/service_management/case_management/) for + more information. Background: Given a valid "apiKeyAuth" key in the system From 7940251f3d91173696f62a6c9c9b33ca03ec93ec Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 20:02:49 +0000 Subject: [PATCH 24/41] (DOCS-7109) Update folder descriptions (#1537) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 10 +++--- .generator/schemas/v2/openapi.yaml | 43 ++++++++++++++++--------- features/v1/logs.feature | 4 ++- features/v1/metrics.feature | 3 +- features/v1/security_monitoring.feature | 4 ++- features/v2/ip_allowlist.feature | 4 ++- features/v2/logs.feature | 4 ++- features/v2/logs_archives.feature | 2 +- features/v2/metrics.feature | 4 ++- features/v2/okta_integration.feature | 4 ++- features/v2/powerpack.feature | 11 ++++--- features/v2/processes.feature | 4 ++- features/v2/rum.feature | 5 ++- features/v2/security_monitoring.feature | 4 ++- 15 files changed, 75 insertions(+), 39 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 45e41cbdcec6..fb1a4840f875 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 16:48:28.561191", - "spec_repo_commit": "9bc5f106" + "regenerated": "2024-02-28 18:48:42.808205", + "spec_repo_commit": "af330811" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 16:48:28.576750", - "spec_repo_commit": "9bc5f106" + "regenerated": "2024-02-28 18:48:42.825808", + "spec_repo_commit": "af330811" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 3544367815bd..28d8d091dfb1 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -33819,6 +33819,7 @@ tags: url: https://docs.datadoghq.com/account_management/api-app-keys/ name: Key Management - description: Search your logs and send them to your Datadog platform over HTTP. + See the [Log Management page](https://docs.datadoghq.com/logs/) for more information. name: Logs - description: 'Manage configuration of [log indexes](https://docs.datadoghq.com/logs/indexes/). @@ -33849,7 +33850,8 @@ tags: A graph can only contain a set number of points\nand as the timeframe over which a metric is viewed increases,\naggregation between points occurs to stay below that set number.\n\nThe Post, Patch, and Delete `manage_tags` API methods can - only be performed by\na user who has the `Manage Tags for Metrics` permission." + only be performed by\na user who has the `Manage Tags for Metrics` permission.\n\nSee + the [Metrics page](https://docs.datadoghq.com/metrics/) for more information." name: Metrics - description: '[Monitors](https://docs.datadoghq.com/monitors) allow you to watch a metric or check that you care about and @@ -33885,9 +33887,9 @@ tags: externalDocs: url: https://docs.datadoghq.com/integrations/pagerduty/ name: PagerDuty Integration -- description: 'Detection rules for generating signals and listing of generated - - signals.' +- description: Create and manage your security rules, signals, filters, and more. + See the [Datadog Security page](https://docs.datadoghq.com/security/) for more + information. name: Security Monitoring - description: 'The service check endpoint allows you to post check statuses for use with monitors. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a87f8a37f8f3..235e42f975d7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -34617,7 +34617,8 @@ tags: This is an enterprise-only feature. Request access by - contacting Datadog support.' + contacting Datadog support, or see the [IP Allowlist page](https://docs.datadoghq.com/account_management/org_settings/ip_allowlist/) + for more information.' name: IP Allowlist - description: Create, update, delete, and retrieve services which can be associated with incidents. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/) @@ -34643,13 +34644,14 @@ tags: url: https://docs.datadoghq.com/account_management/api-app-keys/ name: Key Management - description: Search your logs and send them to your Datadog platform over HTTP. + See the [Log Management page](https://docs.datadoghq.com/logs/) for more information. name: Logs - description: 'Archives forward all the logs ingested to a cloud storage system. See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives) - for a list of the archives currently configured in web UI.' + for a list of the archives currently configured in Datadog.' externalDocs: description: Find out more at url: https://docs.datadoghq.com/logs/archives/ @@ -34667,7 +34669,8 @@ tags: points\nand as the timeframe over which a metric is viewed increases,\naggregation between points occurs to stay below that set number.\n\nThe Post, Patch, and Delete `manage_tags` API methods can only be performed by\na user who has the `Manage - Tags for Metrics` permission." + Tags for Metrics` permission.\n\nSee the [Metrics page](https://docs.datadoghq.com/metrics/) + for more information." name: Metrics - description: '[Monitors](https://docs.datadoghq.com/monitors) allow you to watch a metric or check that you care about and @@ -34683,8 +34686,8 @@ tags: description: Find out more at url: https://docs.datadoghq.com/monitors/create/types/ name: Monitors -- description: Configure your Datadog Okta integration directly through the Datadog - API. +- description: Configure your [Datadog Okta integration](https://docs.datadoghq.com/integrations/okta/) + directly through the Datadog API. name: Okta Integration - description: 'Configure your [Datadog Opsgenie integration](https://docs.datadoghq.com/integrations/opsgenie/) @@ -34698,25 +34701,33 @@ tags: description: Find out more at url: https://docs.datadoghq.com/account_management/multi_organization name: Organizations -- description: 'The powerpack endpoints allow you to: +- description: 'The Powerpack endpoints allow you to: + + - Get a Powerpack - - Get a powerpack + - Create a Powerpack - - Create a powerpack + - Delete a Powerpack - - Delete a powerpack + - Get a list of all Powerpacks - - Get a list of all powerpacks + The Patch and Delete API methods can only be performed on a Powerpack by - The Patch and Delete API methods can only be performed on a powerpack by + a user who has the powerpack create permission for that specific Powerpack. - a user who has the powerpack create permission for that specific powerpack.' + + Read [Scale Graphing Expertise with Powerpacks](https://docs.datadoghq.com/dashboards/guide/powerpacks-best-practices/) + for more information.' name: Powerpack - description: The processes API allows you to query processes data for your organization. + See the [Live Processes page](https://docs.datadoghq.com/infrastructure/process/) + for more information. name: Processes -- description: Search or aggregate your RUM events over HTTP. +- description: Manage your Real User Monitoring (RUM) applications, and search or + aggregate your RUM events over HTTP. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) + for more information name: RUM - description: 'A restriction policy defines the access control rules for a resource, mapping a set of relations @@ -34742,9 +34753,9 @@ tags: [Pipelines page](https://app.datadoghq.com/logs/pipelines).' name: Roles -- description: 'Detection rules for generating signals and listing of generated - - signals.' +- description: Create and manage your security rules, signals, filters, and more. + See the [Datadog Security page](https://docs.datadoghq.com/security/) for more + information. name: Security Monitoring - description: Create, update, delete, and retrieve sensitive data scanner groups and rules. diff --git a/features/v1/logs.feature b/features/v1/logs.feature index 1c02147f98ab..5ae909c3aae6 100644 --- a/features/v1/logs.feature +++ b/features/v1/logs.feature @@ -1,6 +1,8 @@ @endpoint(logs) @endpoint(logs-v1) Feature: Logs - Search your logs and send them to your Datadog platform over HTTP. + Search your logs and send them to your Datadog platform over HTTP. See the + [Log Management page](https://docs.datadoghq.com/logs/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v1/metrics.feature b/features/v1/metrics.feature index c1ac08aa1e19..112cf9cc0a1a 100644 --- a/features/v1/metrics.feature +++ b/features/v1/metrics.feature @@ -7,7 +7,8 @@ Feature: Metrics timeframe over which a metric is viewed increases, aggregation between points occurs to stay below that set number. The Post, Patch, and Delete `manage_tags` API methods can only be performed by a user who has the - `Manage Tags for Metrics` permission. + `Manage Tags for Metrics` permission. See the [Metrics + page](https://docs.datadoghq.com/metrics/) for more information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v1/security_monitoring.feature b/features/v1/security_monitoring.feature index d77c67f9b8f3..34cc3160b92d 100644 --- a/features/v1/security_monitoring.feature +++ b/features/v1/security_monitoring.feature @@ -1,6 +1,8 @@ @endpoint(security-monitoring) @endpoint(security-monitoring-v1) Feature: Security Monitoring - Detection rules for generating signals and listing of generated signals. + Create and manage your security rules, signals, filters, and more. See the + [Datadog Security page](https://docs.datadoghq.com/security/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/ip_allowlist.feature b/features/v2/ip_allowlist.feature index c4f3d0622bbb..571c8b8ef8f7 100644 --- a/features/v2/ip_allowlist.feature +++ b/features/v2/ip_allowlist.feature @@ -3,7 +3,9 @@ Feature: IP Allowlist The IP allowlist API is used to manage the IP addresses that can access the Datadog API and web UI. It does not block access to intake APIs or public dashboards. This is an enterprise-only feature. Request access by - contacting Datadog support. + contacting Datadog support, or see the [IP Allowlist page](https://docs.da + tadoghq.com/account_management/org_settings/ip_allowlist/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/logs.feature b/features/v2/logs.feature index a3bf22f42a9d..625f4fe82c73 100644 --- a/features/v2/logs.feature +++ b/features/v2/logs.feature @@ -1,6 +1,8 @@ @endpoint(logs) @endpoint(logs-v2) Feature: Logs - Search your logs and send them to your Datadog platform over HTTP. + Search your logs and send them to your Datadog platform over HTTP. See the + [Log Management page](https://docs.datadoghq.com/logs/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/logs_archives.feature b/features/v2/logs_archives.feature index 257a3fd11d8a..1e1057c34299 100644 --- a/features/v2/logs_archives.feature +++ b/features/v2/logs_archives.feature @@ -2,7 +2,7 @@ Feature: Logs Archives Archives forward all the logs ingested to a cloud storage system. See the [Archives Page](https://app.datadoghq.com/logs/pipelines/archives) for a - list of the archives currently configured in web UI. + list of the archives currently configured in Datadog. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/metrics.feature b/features/v2/metrics.feature index 59bebca45957..751f90ef4305 100644 --- a/features/v2/metrics.feature +++ b/features/v2/metrics.feature @@ -7,7 +7,9 @@ Feature: Metrics number of points and as the timeframe over which a metric is viewed increases, aggregation between points occurs to stay below that set number. The Post, Patch, and Delete `manage_tags` API methods can only be - performed by a user who has the `Manage Tags for Metrics` permission. + performed by a user who has the `Manage Tags for Metrics` permission. See + the [Metrics page](https://docs.datadoghq.com/metrics/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/okta_integration.feature b/features/v2/okta_integration.feature index ad0f7b9e26db..006e8fe20b67 100644 --- a/features/v2/okta_integration.feature +++ b/features/v2/okta_integration.feature @@ -1,6 +1,8 @@ @endpoint(okta-integration) @endpoint(okta-integration-v2) Feature: Okta Integration - Configure your Datadog Okta integration directly through the Datadog API. + Configure your [Datadog Okta + integration](https://docs.datadoghq.com/integrations/okta/) directly + through the Datadog API. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/powerpack.feature b/features/v2/powerpack.feature index b6d4b770129c..31daf5b5f8cb 100644 --- a/features/v2/powerpack.feature +++ b/features/v2/powerpack.feature @@ -1,9 +1,12 @@ @endpoint(powerpack) @endpoint(powerpack-v2) Feature: Powerpack - The powerpack endpoints allow you to: - Get a powerpack - Create a - powerpack - Delete a powerpack - Get a list of all powerpacks The Patch - and Delete API methods can only be performed on a powerpack by a user who - has the powerpack create permission for that specific powerpack. + The Powerpack endpoints allow you to: - Get a Powerpack - Create a + Powerpack - Delete a Powerpack - Get a list of all Powerpacks The Patch + and Delete API methods can only be performed on a Powerpack by a user who + has the powerpack create permission for that specific Powerpack. Read + [Scale Graphing Expertise with + Powerpacks](https://docs.datadoghq.com/dashboards/guide/powerpacks-best- + practices/) for more information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/processes.feature b/features/v2/processes.feature index b8aa114a509e..0806c596fa78 100644 --- a/features/v2/processes.feature +++ b/features/v2/processes.feature @@ -1,7 +1,9 @@ @endpoint(processes) @endpoint(processes-v2) Feature: Processes The processes API allows you to query processes data for your - organization. + organization. See the [Live Processes + page](https://docs.datadoghq.com/infrastructure/process/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/rum.feature b/features/v2/rum.feature index c008a272f771..c89ef6aed277 100644 --- a/features/v2/rum.feature +++ b/features/v2/rum.feature @@ -1,6 +1,9 @@ @endpoint(rum) @endpoint(rum-v2) Feature: RUM - Search or aggregate your RUM events over HTTP. + Manage your Real User Monitoring (RUM) applications, and search or + aggregate your RUM events over HTTP. See the [RUM & Session Replay + page](https://docs.datadoghq.com/real_user_monitoring/) for more + information Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/security_monitoring.feature b/features/v2/security_monitoring.feature index 73b1741d31ae..19a88c9b51eb 100644 --- a/features/v2/security_monitoring.feature +++ b/features/v2/security_monitoring.feature @@ -1,6 +1,8 @@ @endpoint(security-monitoring) @endpoint(security-monitoring-v2) Feature: Security Monitoring - Detection rules for generating signals and listing of generated signals. + Create and manage your security rules, signals, filters, and more. See the + [Datadog Security page](https://docs.datadoghq.com/security/) for more + information. Background: Given a valid "apiKeyAuth" key in the system From 7d49150e0c261c72ec18d8c5e73972e0d6933001 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 20:48:52 +0000 Subject: [PATCH 25/41] (DOCS-7109) Update folder descriptions (#1538) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +++---- .generator/schemas/v1/openapi.yaml | 24 +++++++++---------- .generator/schemas/v2/openapi.yaml | 16 +++++++++---- features/v1/service_checks.feature | 13 +++++----- ...ervice_level_objective_corrections.feature | 4 +++- features/v1/tags.feature | 4 ++-- features/v1/webhooks_integration.feature | 5 ++-- features/v2/sensitive_data_scanner.feature | 4 +++- features/v2/service_accounts.feature | 4 +++- features/v2/service_scorecards.feature | 6 +++-- features/v2/spans_metrics.feature | 3 ++- features/v2/teams.feature | 4 +++- 12 files changed, 55 insertions(+), 40 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index fb1a4840f875..4a4525697f18 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 18:48:42.808205", - "spec_repo_commit": "af330811" + "regenerated": "2024-02-28 20:18:56.052368", + "spec_repo_commit": "a9aecd28" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 18:48:42.825808", - "spec_repo_commit": "af330811" + "regenerated": "2024-02-28 20:18:56.113404", + "spec_repo_commit": "a9aecd28" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 28d8d091dfb1..742b1849d4f9 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -33906,18 +33906,18 @@ tags: an OK status. - - [Read more about Service Check monitors.][1] + - [Read more about Service Check monitors][1]. - - [Read more about Process Check monitors.][2] + - [Read more about Process Check monitors][2]. - - [Read more about Network Check monitors.][3] + - [Read more about Network monitors][3]. - - [Read more about Custom Check monitors.][4] + - [Read more about Custom Check monitors][4]. - - [Read more about Service Check and status codes.][5] + - [Read more about Service Checks and status codes][5]. - [1]: https://docs.datadoghq.com/monitors/create/types/host/?tab=checkalert + [1]: https://docs.datadoghq.com/monitors/types/service_check/ [2]: https://docs.datadoghq.com/monitors/create/types/process_check/?tab=checkalert @@ -33931,7 +33931,8 @@ tags: from negatively impacting\nyour SLO\u2019s status and error budget. You can use Status Corrections for various purposes, such\nas removing planned maintenance windows, non-business hours, or other time periods that do\nnot correspond to - genuine issues." + genuine issues. See [SLO status corrections](https://docs.datadoghq.com/service_management/service_level_objectives/#slo-status-corrections) + for more information." name: Service Level Objective Corrections - description: '[Service Level Objectives](https://docs.datadoghq.com/monitors/service_level_objectives/#configuration) @@ -33981,9 +33982,7 @@ tags: users, feed, chef, puppet, git, bitbucket, fabric, capistrano, etc. - Read more about tags on the dedicated - - [documentation page](https://docs.datadoghq.com/tagging).' + Read more about tags on [Getting Started with Tags](https://docs.datadoghq.com/getting_started/tagging/).' name: Tags - description: 'The usage metering API allows you to get hourly, daily, and @@ -34015,9 +34014,8 @@ tags: - description: 'Configure your Datadog-Webhooks integration directly through the Datadog API. - For more information about the Datadog-Webhooks integration, - - see the [integration page](https://docs.datadoghq.com/integrations/webhooks).' + See the [Webhooks integration page](https://docs.datadoghq.com/integrations/webhooks) + for more information.' externalDocs: url: https://docs.datadoghq.com/integrations/webhooks name: Webhooks Integration diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 235e42f975d7..d1b6f0e8e7b2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -34758,15 +34758,19 @@ tags: information. name: Security Monitoring - description: Create, update, delete, and retrieve sensitive data scanner groups - and rules. + and rules. See the [Sensitive Data Scanner page](https://docs.datadoghq.com/sensitive_data_scanner/) + for more information. name: Sensitive Data Scanner -- description: Create, edit, and disable service accounts. +- description: Create, edit, and disable service accounts. See the [Service Accounts + page](https://docs.datadoghq.com/account_management/org_settings/service_accounts/) + for more information. name: Service Accounts - description: API to create, update, retrieve and delete service definitions. externalDocs: url: https://docs.datadoghq.com/tracing/service_catalog/ name: Service Definition -- description: 'API to create, update scorecard rules and outcomes. +- description: 'API to create, update scorecard rules and outcomes. See [Service Scorecards](https://docs.datadoghq.com/account_management/org_settings/service_accounts/) + for more information. This feature is currently in BETA. If you have any feedback, contact [Datadog @@ -34775,7 +34779,8 @@ tags: - description: Search and aggregate your spans from your Datadog platform over HTTP. name: Spans - description: Manage configuration of [span-based metrics](https://app.datadoghq.com/apm/traces/generate-metrics) - for your organization. + for your organization. See [Generate Metrics from Spans](https://docs.datadoghq.com/tracing/trace_pipeline/generate_metrics/) + for more information. externalDocs: description: Find out more at url: https://docs.datadoghq.com/tracing/metrics/metrics_namespace/ @@ -34787,7 +34792,8 @@ tags: use Datadog\u2019s API to\nmanage both test types programmatically.\n\nFor more information about Synthetics, see the [Synthetics overview](https://docs.datadoghq.com/synthetics/)." name: Synthetics -- description: View and manage teams within Datadog. +- description: View and manage teams within Datadog. See the [Teams page](https://docs.datadoghq.com/account_management/teams/) + for more information. name: Teams - description: 'The usage metering API allows you to get hourly, daily, and diff --git a/features/v1/service_checks.feature b/features/v1/service_checks.feature index 3244e3781dd1..5ed435e4cb7d 100644 --- a/features/v1/service_checks.feature +++ b/features/v1/service_checks.feature @@ -5,13 +5,12 @@ Feature: Service Checks is posted with a message containing more than 500 characters, only the first 500 characters are displayed. Messages are limited for checks with a Critical or Warning status, they are dropped for checks with an OK status. - - [Read more about Service Check monitors.][1] - [Read more about Process - Check monitors.][2] - [Read more about Network Check monitors.][3] - [Read - more about Custom Check monitors.][4] - [Read more about Service Check and - status codes.][5] [1]: - https://docs.datadoghq.com/monitors/create/types/host/?tab=checkalert [2]: - https://docs.datadoghq.com/monitors/create/types/process_check/?tab=checka - lert [3]: + - [Read more about Service Check monitors][1]. - [Read more about Process + Check monitors][2]. - [Read more about Network monitors][3]. - [Read more + about Custom Check monitors][4]. - [Read more about Service Checks and + status codes][5]. [1]: + https://docs.datadoghq.com/monitors/types/service_check/ [2]: https://docs + .datadoghq.com/monitors/create/types/process_check/?tab=checkalert [3]: https://docs.datadoghq.com/monitors/create/types/network/?tab=checkalert [4]: https://docs.datadoghq.com/monitors/create/types/custom_check/?tab=ch eckalert [5]: https://docs.datadoghq.com/developers/service_checks/ diff --git a/features/v1/service_level_objective_corrections.feature b/features/v1/service_level_objective_corrections.feature index 5bd777cbd51b..d301d8e6764f 100644 --- a/features/v1/service_level_objective_corrections.feature +++ b/features/v1/service_level_objective_corrections.feature @@ -4,7 +4,9 @@ Feature: Service Level Objective Corrections negatively impacting your SLO’s status and error budget. You can use Status Corrections for various purposes, such as removing planned maintenance windows, non-business hours, or other time periods that do not - correspond to genuine issues. + correspond to genuine issues. See [SLO status corrections](https://docs.da + tadoghq.com/service_management/service_level_objectives/#slo-status- + corrections) for more information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v1/tags.feature b/features/v1/tags.feature index 38d94ef924f9..36e1eabfdc25 100644 --- a/features/v1/tags.feature +++ b/features/v1/tags.feature @@ -6,8 +6,8 @@ Feature: Tags tags to a particular host. The component of your infrastructure responsible for a tag is identified by a source. For example, some valid sources include nagios, hudson, jenkins, users, feed, chef, puppet, git, - bitbucket, fabric, capistrano, etc. Read more about tags on the dedicated - [documentation page](https://docs.datadoghq.com/tagging). + bitbucket, fabric, capistrano, etc. Read more about tags on [Getting + Started with Tags](https://docs.datadoghq.com/getting_started/tagging/). Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v1/webhooks_integration.feature b/features/v1/webhooks_integration.feature index 747d86f8c090..e58d93b78169 100644 --- a/features/v1/webhooks_integration.feature +++ b/features/v1/webhooks_integration.feature @@ -1,8 +1,9 @@ @endpoint(webhooks-integration) @endpoint(webhooks-integration-v1) Feature: Webhooks Integration Configure your Datadog-Webhooks integration directly through the Datadog - API. For more information about the Datadog-Webhooks integration, see the - [integration page](https://docs.datadoghq.com/integrations/webhooks). + API. See the [Webhooks integration + page](https://docs.datadoghq.com/integrations/webhooks) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/sensitive_data_scanner.feature b/features/v2/sensitive_data_scanner.feature index 57808d6657ce..dd708c38a74d 100644 --- a/features/v2/sensitive_data_scanner.feature +++ b/features/v2/sensitive_data_scanner.feature @@ -1,7 +1,9 @@ @endpoint(sensitive-data-scanner) @endpoint(sensitive-data-scanner-v2) @endpoint(sensitivedatascanner) @endpoint(sensitivedatascanner-v2) Feature: Sensitive Data Scanner Create, update, delete, and retrieve sensitive data scanner groups and - rules. + rules. See the [Sensitive Data Scanner + page](https://docs.datadoghq.com/sensitive_data_scanner/) for more + information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/service_accounts.feature b/features/v2/service_accounts.feature index c41493e186bb..6e25db1e8f20 100644 --- a/features/v2/service_accounts.feature +++ b/features/v2/service_accounts.feature @@ -1,6 +1,8 @@ @endpoint(service-accounts) @endpoint(service-accounts-v2) Feature: Service Accounts - Create, edit, and disable service accounts. + Create, edit, and disable service accounts. See the [Service Accounts page + ](https://docs.datadoghq.com/account_management/org_settings/service_accou + nts/) for more information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/service_scorecards.feature b/features/v2/service_scorecards.feature index 8d17ab58538a..3c0502f9d76d 100644 --- a/features/v2/service_scorecards.feature +++ b/features/v2/service_scorecards.feature @@ -1,7 +1,9 @@ @endpoint(service-scorecards) @endpoint(service-scorecards-v2) Feature: Service Scorecards - API to create, update scorecard rules and outcomes. This feature is - currently in BETA. If you have any feedback, contact [Datadog + API to create, update scorecard rules and outcomes. See [Service Scorecard + s](https://docs.datadoghq.com/account_management/org_settings/service_acco + unts/) for more information. This feature is currently in BETA. If you + have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). Background: diff --git a/features/v2/spans_metrics.feature b/features/v2/spans_metrics.feature index ef3394efdeb7..9de01b47e5f6 100644 --- a/features/v2/spans_metrics.feature +++ b/features/v2/spans_metrics.feature @@ -2,7 +2,8 @@ Feature: Spans Metrics Manage configuration of [span-based metrics](https://app.datadoghq.com/apm/traces/generate-metrics) for your - organization. + organization. See [Generate Metrics from Spans](https://docs.datadoghq.com + /tracing/trace_pipeline/generate_metrics/) for more information. Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v2/teams.feature b/features/v2/teams.feature index 9673e82ca9af..5d4069034c9a 100644 --- a/features/v2/teams.feature +++ b/features/v2/teams.feature @@ -1,6 +1,8 @@ @endpoint(team) @endpoint(team-v2) @endpoint(teams) @endpoint(teams-v2) Feature: Teams - View and manage teams within Datadog. + View and manage teams within Datadog. See the [Teams + page](https://docs.datadoghq.com/account_management/teams/) for more + information. Background: Given a valid "apiKeyAuth" key in the system From 65bc8c9ea0388871ad7ce0d6c18869936a746c49 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:59:15 +0000 Subject: [PATCH 26/41] Fix given name (#1541) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +++---- .../frozen.json | 2 +- .../recording.har | 16 ++++++------- .../frozen.json | 2 +- .../recording.har | 24 +++++++++---------- .../frozen.json | 2 +- .../recording.har | 24 +++++++++---------- features/v1/given.json | 2 +- 8 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 4a4525697f18..c3ffee6f3aa4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 20:18:56.052368", - "spec_repo_commit": "a9aecd28" + "regenerated": "2024-02-28 21:36:48.223370", + "spec_repo_commit": "f478a381" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 20:18:56.113404", - "spec_repo_commit": "a9aecd28" + "regenerated": "2024-02-28 21:36:48.240771", + "spec_repo_commit": "f478a381" } } } \ No newline at end of file diff --git a/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/frozen.json b/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/frozen.json index 4864dc2191a3..7cd47715c38b 100644 --- a/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/frozen.json +++ b/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/frozen.json @@ -1 +1 @@ -"2023-12-15T18:21:55.828Z" +"2024-02-28T20:25:59.580Z" diff --git a/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/recording.har b/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/recording.har index c57896c48b9e..a2040ed58cf2 100644 --- a/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/recording.har +++ b/cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "c74c2d19202443b6fd7d64d04102e9ee", + "_id": "28fc80566b966b1b3358284b38769d4c", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17026645-0000-0000-0000-170266451500\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17026645-0000-0000-0000-170266451500\",\"new_tenant_name\":\"17026645-0000-0000-0000-170266451500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17026645-0000-0000-0000-170266451500\"}" + "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17091519-0000-0000-0000-170915195900\",\"new_tenant_name\":\"17091519-0000-0000-0000-170915195900\",\"resource_collection_enabled\":true,\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:55.845Z", - "time": 1746 + "startedDateTime": "2024-02-28T20:25:59.587Z", + "time": 190 }, { - "_id": "a9241c65d27d6c4fe73de2af97b0f404", + "_id": "493d73f332fefc7b7b8cf7d6a6b7bfea", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"client_id\":\"17026645-0000-0000-0000-170266451500\",\"tenant_name\":\"17026645-0000-0000-0000-170266451500\"}" + "text": "{\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:57.602Z", - "time": 129 + "startedDateTime": "2024-02-28T20:25:59.787Z", + "time": 133 } ], "pages": [], diff --git a/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/frozen.json b/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/frozen.json index a946169560c5..eb2a81cc67c2 100644 --- a/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/frozen.json +++ b/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/frozen.json @@ -1 +1 @@ -"2023-12-15T18:21:57.741Z" +"2024-02-28T20:25:59.931Z" diff --git a/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har b/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har index 48745b0699d3..c376cc407194 100644 --- a/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har +++ b/cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "237a45b24857427905e7b3861bf0b01b", + "_id": "28fc80566b966b1b3358284b38769d4c", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17026645-0000-0000-0000-170266451700\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17026645-0000-0000-0000-170266451700\",\"new_tenant_name\":\"17026645-0000-0000-0000-170266451700\",\"resource_collection_enabled\":true,\"tenant_name\":\"17026645-0000-0000-0000-170266451700\"}" + "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17091519-0000-0000-0000-170915195900\",\"new_tenant_name\":\"17091519-0000-0000-0000-170915195900\",\"resource_collection_enabled\":true,\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:57.746Z", - "time": 1907 + "startedDateTime": "2024-02-28T20:25:59.936Z", + "time": 173 }, { - "_id": "ca90b9f367e9dde14f9af1200a46b7e7", + "_id": "493d73f332fefc7b7b8cf7d6a6b7bfea", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"client_id\":\"17026645-0000-0000-0000-170266451700\",\"tenant_name\":\"17026645-0000-0000-0000-170266451700\"}" + "text": "{\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:59.659Z", - "time": 105 + "startedDateTime": "2024-02-28T20:26:00.117Z", + "time": 113 }, { - "_id": "ca90b9f367e9dde14f9af1200a46b7e7", + "_id": "493d73f332fefc7b7b8cf7d6a6b7bfea", "_order": 1, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"client_id\":\"17026645-0000-0000-0000-170266451700\",\"tenant_name\":\"17026645-0000-0000-0000-170266451700\"}" + "text": "{\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -163,8 +163,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:59.770Z", - "time": 127 + "startedDateTime": "2024-02-28T20:26:00.238Z", + "time": 115 } ], "pages": [], diff --git a/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/frozen.json b/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/frozen.json index b1ae5c7427d8..79ea6b4bca9c 100644 --- a/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/frozen.json +++ b/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/frozen.json @@ -1 +1 @@ -"2023-12-15T18:21:59.912Z" +"2024-02-28T20:26:00.368Z" diff --git a/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har b/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har index bd847f095e57..9648181bd806 100644 --- a/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har +++ b/cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "271471e86eb8fd8c72946683ff145119", + "_id": "73f064101653cdc69b011e9e812ea062", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17026645-0000-0000-0000-170266451900\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17026645-0000-0000-0000-170266451900\",\"new_tenant_name\":\"17026645-0000-0000-0000-170266451900\",\"resource_collection_enabled\":true,\"tenant_name\":\"17026645-0000-0000-0000-170266451900\"}" + "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17091519-0000-0000-0000-170915196000\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17091519-0000-0000-0000-170915196000\",\"new_tenant_name\":\"17091519-0000-0000-0000-170915196000\",\"resource_collection_enabled\":true,\"tenant_name\":\"17091519-0000-0000-0000-170915196000\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:21:59.915Z", - "time": 1491 + "startedDateTime": "2024-02-28T20:26:00.371Z", + "time": 152 }, { - "_id": "8538f072e06d8ef608ce107c5e79b111", + "_id": "ce24f58ea6739e6c62deb89b3d9173dc", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17026645-0000-0000-0000-170266451900\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17026645-0000-0000-0000-170266451900\",\"new_tenant_name\":\"17026645-0000-0000-0000-170266451900\",\"resource_collection_enabled\":true,\"tenant_name\":\"17026645-0000-0000-0000-170266451900\"}" + "text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17091519-0000-0000-0000-170915196000\",\"client_secret\":\"testingx./Sw*g/Y33t..R1cH+hScMDt\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17091519-0000-0000-0000-170915196000\",\"new_tenant_name\":\"17091519-0000-0000-0000-170915196000\",\"resource_collection_enabled\":true,\"tenant_name\":\"17091519-0000-0000-0000-170915196000\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:22:01.431Z", - "time": 1552 + "startedDateTime": "2024-02-28T20:26:00.534Z", + "time": 154 }, { - "_id": "f81fd706a1195bb413d2ca244a018bef", + "_id": "538ea99f76863523c49059b13615f1c8", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"client_id\":\"17026645-0000-0000-0000-170266451900\",\"tenant_name\":\"17026645-0000-0000-0000-170266451900\"}" + "text": "{\"client_id\":\"17091519-0000-0000-0000-170915196000\",\"tenant_name\":\"17091519-0000-0000-0000-170915196000\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/integration/azure" @@ -163,8 +163,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-12-15T18:22:02.990Z", - "time": 98 + "startedDateTime": "2024-02-28T20:26:00.694Z", + "time": 124 } ], "pages": [], diff --git a/features/v1/given.json b/features/v1/given.json index 6ba2f4e62d0d..2b44628aa1fb 100644 --- a/features/v1/given.json +++ b/features/v1/given.json @@ -121,7 +121,7 @@ } ], "step": "there is a valid \"azure_account\" in the system", - "key": "aws_account", + "key": "azure_account", "tag": "Azure Integration", "operationId": "CreateAzureIntegration" }, From 3918b392270de4f4d1833fee51d3892f50239de9 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:29:38 +0000 Subject: [PATCH 27/41] Adds support for `ListMetricAssets` endpoint (#1531) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 301 +++++++++++++++++- .../frozen.json | 1 + .../recording.har | 57 ++++ examples/v2/metrics/ListMetricAssets.ts | 21 ++ features/support/scenarios_model_mapping.ts | 7 + features/v2/metrics.feature | 18 ++ features/v2/undo.json | 6 + .../datadog-api-client-v2/apis/MetricsApi.ts | 127 ++++++++ packages/datadog-api-client-v2/index.ts | 23 ++ .../models/MetricAssetAttributes.ts | 52 +++ .../MetricAssetDashboardRelationship.ts | 61 ++++ .../MetricAssetDashboardRelationships.ts | 53 +++ .../models/MetricAssetMonitorRelationship.ts | 61 ++++ .../models/MetricAssetMonitorRelationships.ts | 53 +++ .../models/MetricAssetNotebookRelationship.ts | 61 ++++ .../MetricAssetNotebookRelationships.ts | 53 +++ .../models/MetricAssetResponseData.ts | 72 +++++ .../models/MetricAssetResponseIncluded.ts | 22 ++ .../MetricAssetResponseRelationships.ts | 80 +++++ .../models/MetricAssetSLORelationship.ts | 61 ++++ .../models/MetricAssetSLORelationships.ts | 53 +++ .../models/MetricAssetsResponse.ts | 62 ++++ .../models/MetricDashboardAsset.ts | 72 +++++ .../models/MetricDashboardAttributes.ts | 61 ++++ .../models/MetricDashboardType.ts | 14 + .../models/MetricMonitorAsset.ts | 72 +++++ .../models/MetricMonitorType.ts | 14 + .../models/MetricNotebookAsset.ts | 72 +++++ .../models/MetricNotebookType.ts | 14 + .../models/MetricSLOAsset.ts | 72 +++++ .../models/MetricSLOType.ts | 14 + .../models/ObjectSerializer.ts | 44 +++ 33 files changed, 1745 insertions(+), 17 deletions(-) create mode 100644 cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/frozen.json create mode 100644 cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/recording.har create mode 100644 examples/v2/metrics/ListMetricAssets.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetDashboardRelationship.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetDashboardRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetMonitorRelationship.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetMonitorRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetNotebookRelationship.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetNotebookRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetResponseData.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetResponseIncluded.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetResponseRelationships.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetSLORelationship.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetSLORelationships.ts create mode 100644 packages/datadog-api-client-v2/models/MetricAssetsResponse.ts create mode 100644 packages/datadog-api-client-v2/models/MetricDashboardAsset.ts create mode 100644 packages/datadog-api-client-v2/models/MetricDashboardAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/MetricDashboardType.ts create mode 100644 packages/datadog-api-client-v2/models/MetricMonitorAsset.ts create mode 100644 packages/datadog-api-client-v2/models/MetricMonitorType.ts create mode 100644 packages/datadog-api-client-v2/models/MetricNotebookAsset.ts create mode 100644 packages/datadog-api-client-v2/models/MetricNotebookType.ts create mode 100644 packages/datadog-api-client-v2/models/MetricSLOAsset.ts create mode 100644 packages/datadog-api-client-v2/models/MetricSLOType.ts diff --git a/.apigentools-info b/.apigentools-info index c3ffee6f3aa4..b4bdbd12e6f0 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 21:36:48.223370", - "spec_repo_commit": "f478a381" + "regenerated": "2024-02-29 14:49:21.352759", + "spec_repo_commit": "bb5305bc" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-28 21:36:48.240771", - "spec_repo_commit": "f478a381" + "regenerated": "2024-02-29 14:49:21.368688", + "spec_repo_commit": "bb5305bc" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d1b6f0e8e7b2..9a70faf6ba58 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -11082,6 +11082,136 @@ components: $ref: '#/components/schemas/MetricAllTags' readOnly: true type: object + MetricAssetAttributes: + description: Assets where only included attribute is its title + properties: + title: + description: Title of the asset. + type: string + type: object + MetricAssetDashboardRelationship: + description: An object of type `dashboard` that can be referenced in the `included` + data. + properties: + id: + $ref: '#/components/schemas/MetricDashboardID' + type: + $ref: '#/components/schemas/MetricDashboardType' + type: object + MetricAssetDashboardRelationships: + description: An object containing the list of dashboards that can be referenced + in the `included` data. + properties: + data: + description: A list of dashboards that can be referenced in the `included` + data. + items: + $ref: '#/components/schemas/MetricAssetDashboardRelationship' + type: array + type: object + MetricAssetMonitorRelationship: + description: An object of type `monitor` that can be referenced in the `included` + data. + properties: + id: + $ref: '#/components/schemas/MetricMonitorID' + type: + $ref: '#/components/schemas/MetricMonitorType' + type: object + MetricAssetMonitorRelationships: + description: A object containing the list of monitors that can be referenced + in the `included` data. + properties: + data: + description: A list of monitors that can be referenced in the `included` + data. + items: + $ref: '#/components/schemas/MetricAssetMonitorRelationship' + type: array + type: object + MetricAssetNotebookRelationship: + description: An object of type `notebook` that can be referenced in the `included` + data. + properties: + id: + $ref: '#/components/schemas/MetricNotebookID' + type: + $ref: '#/components/schemas/MetricNotebookType' + type: object + MetricAssetNotebookRelationships: + description: An object containing the list of notebooks that can be referenced + in the `included` data. + properties: + data: + description: A list of notebooks that can be referenced in the `included` + data. + items: + $ref: '#/components/schemas/MetricAssetNotebookRelationship' + type: array + type: object + MetricAssetResponseData: + description: Metric assets response data. + properties: + id: + $ref: '#/components/schemas/MetricName' + relationships: + $ref: '#/components/schemas/MetricAssetResponseRelationships' + type: + $ref: '#/components/schemas/MetricType' + required: + - id + - type + type: object + MetricAssetResponseIncluded: + description: List of included assets with full set of attributes. + oneOf: + - $ref: '#/components/schemas/MetricDashboardAsset' + - $ref: '#/components/schemas/MetricMonitorAsset' + - $ref: '#/components/schemas/MetricNotebookAsset' + - $ref: '#/components/schemas/MetricSLOAsset' + MetricAssetResponseRelationships: + description: Relationships to assets related to the metric. + properties: + dashboards: + $ref: '#/components/schemas/MetricAssetDashboardRelationships' + monitors: + $ref: '#/components/schemas/MetricAssetMonitorRelationships' + notebooks: + $ref: '#/components/schemas/MetricAssetNotebookRelationships' + slos: + $ref: '#/components/schemas/MetricAssetSLORelationships' + type: object + MetricAssetSLORelationship: + description: An object of type `slos` that can be referenced in the `included` + data. + properties: + id: + $ref: '#/components/schemas/MetricSLOID' + type: + $ref: '#/components/schemas/MetricSLOType' + type: object + MetricAssetSLORelationships: + description: An object containing a list of SLOs that can be referenced in the + `included` data. + properties: + data: + description: A list of SLOs that can be referenced in the `included` data. + items: + $ref: '#/components/schemas/MetricAssetSLORelationship' + type: array + type: object + MetricAssetsResponse: + description: Response object that includes related dashboards, monitors, notebooks, + and SLOs. + properties: + data: + $ref: '#/components/schemas/MetricAssetResponseData' + included: + description: Array of objects related to the metric assets. + items: + $ref: '#/components/schemas/MetricAssetResponseIncluded' + type: array + type: object MetricBulkConfigureTagsType: default: metric_bulk_configure_tags description: The metric bulk configure tags resource. @@ -11323,6 +11453,44 @@ components: - MAX - MIN - SUM + MetricDashboardAsset: + description: A dashboard object with title and popularity. + properties: + attributes: + $ref: '#/components/schemas/MetricDashboardAttributes' + id: + $ref: '#/components/schemas/MetricDashboardID' + type: + $ref: '#/components/schemas/MetricDashboardType' + required: + - id + - type + type: object + MetricDashboardAttributes: + description: Attributes related to the dashboard, including title and popularity. + properties: + popularity: + description: Value from 0 to 5 that ranks popularity of the dashboard. + format: double + maximum: 5 + minimum: 0 + type: number + title: + description: Title of the asset. + type: string + type: object + MetricDashboardID: + description: The related dashboard's ID. + example: xxx-yyy-zzz + type: string + MetricDashboardType: + description: Dashboard resource type. + enum: + - dashboards + example: dashboards + type: string + x-enum-varnames: + - DASHBOARDS MetricDistinctVolume: description: Object for a single metric's distinct volume. properties: @@ -11463,10 +11631,60 @@ components: origin: $ref: '#/components/schemas/MetricOrigin' type: object + MetricMonitorAsset: + description: A monitor object with title. + properties: + attributes: + $ref: '#/components/schemas/MetricAssetAttributes' + id: + $ref: '#/components/schemas/MetricMonitorID' + type: + $ref: '#/components/schemas/MetricMonitorType' + required: + - id + - type + type: object + MetricMonitorID: + description: The related monitor's ID. + example: '1775073' + type: string + MetricMonitorType: + description: Monitor resource type. + enum: + - monitors + example: monitors + type: string + x-enum-varnames: + - MONITORS MetricName: description: The metric name for this resource. example: test.metric.latency type: string + MetricNotebookAsset: + description: A notebook object with title. + properties: + attributes: + $ref: '#/components/schemas/MetricAssetAttributes' + id: + $ref: '#/components/schemas/MetricNotebookID' + type: + $ref: '#/components/schemas/MetricNotebookType' + required: + - id + - type + type: object + MetricNotebookID: + description: The related notebook's ID. + example: '12345' + type: string + MetricNotebookType: + description: Notebook resource type. + enum: + - notebooks + example: notebooks + type: string + x-enum-varnames: + - NOTEBOOKS MetricOrigin: description: Metric origin information. properties: @@ -11540,6 +11758,31 @@ components: description: The type of the resource. type: string type: object + MetricSLOAsset: + description: A SLO object with title. + properties: + attributes: + $ref: '#/components/schemas/MetricAssetAttributes' + id: + $ref: '#/components/schemas/MetricSLOID' + type: + $ref: '#/components/schemas/MetricSLOType' + required: + - id + - type + type: object + MetricSLOID: + description: The SLO ID. + example: 9ffef113b389520db54391d67d652dfb + type: string + MetricSLOType: + description: SLO resource type. + enum: + - slos + example: slos + type: string + x-enum-varnames: + - SLOS MetricSeries: description: 'A metric to submit to Datadog. @@ -28087,6 +28330,51 @@ paths: summary: List tags by metric name tags: - Metrics + /api/v2/metrics/{metric_name}/assets: + get: + description: Returns dashboards, monitors, notebooks, and SLOs that a metric + is stored in, if any. Updated every 24 hours. + operationId: ListMetricAssets + parameters: + - $ref: '#/components/parameters/MetricName' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/MetricAssetsResponse' + description: Success + '400': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: API error response. + '403': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: API error response. + '404': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: API error response. + '429': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Too Many Requests + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: Related Assets to a Metric + tags: + - Metrics /api/v2/metrics/{metric_name}/estimate: get: description: Returns the estimated cardinality for a metric with a given tag, @@ -28180,19 +28468,6 @@ paths: summary: Tag Configuration Cardinality Estimator tags: - Metrics - x-dd-ownership: - notification_configuration: - manual_escalation_policy: '[Points Aggregation] Primary' - prod_high_urgency: '@pagerduty-Points-Aggregation @slack-points-aggr-ops' - prod_low_urgency: '@slack-points-aggr-ops' - slack_support_channel: '#points-aggregation' - staging_high_urgency: '@slack-points-aggr-stg-ops' - staging_low_urgency: '@slack-points-aggr-stg-ops' - team: points-aggregation - team_escalation: '[Points Aggregation] Primary' - x-permission: - operator: OPEN - permissions: [] /api/v2/metrics/{metric_name}/tags: delete: description: 'Deletes a metric''s tag configuration. Can only be used with application diff --git a/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/frozen.json b/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/frozen.json new file mode 100644 index 000000000000..dfded3f38755 --- /dev/null +++ b/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/frozen.json @@ -0,0 +1 @@ +"2024-02-28T15:57:55.633Z" diff --git a/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/recording.har b/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/recording.har new file mode 100644 index 000000000000..f1f1aae11ecf --- /dev/null +++ b/cassettes/v2/Metrics_2046978582/Related-Assets-to-a-Metric-returns-Success-response_2851257340/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Metrics/Related Assets to a Metric returns \"Success\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dfcd0626c1aed48ad54d5dc307ed2ff9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 527, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/metrics/system.cpu.user/assets" + }, + "response": { + "bodySize": 4504, + "content": { + "mimeType": "application/vnd.api+json", + "size": 4504, + "text": "{\"data\":{\"id\":\"system.cpu.user\",\"type\":\"metrics\",\"relationships\":{\"dashboards\":{\"data\":[{\"id\":\"d5e-dpd-umy\",\"type\":\"dashboards\"},{\"id\":\"884-jxj-d7f\",\"type\":\"dashboards\"},{\"id\":\"kqz-yw2-egk\",\"type\":\"dashboards\"},{\"id\":\"43b-kw6-vqr\",\"type\":\"dashboards\"},{\"id\":\"3bd-yi5-t9f\",\"type\":\"dashboards\"},{\"id\":\"zfd-a24-thy\",\"type\":\"dashboards\"},{\"id\":\"5qr-399-8wz\",\"type\":\"dashboards\"},{\"id\":\"zst-bcm-gq6\",\"type\":\"dashboards\"},{\"id\":\"ytd-nd3-bxu\",\"type\":\"dashboards\"},{\"id\":\"7dp-46c-6tr\",\"type\":\"dashboards\"},{\"id\":\"ug4-a8z-jva\",\"type\":\"dashboards\"},{\"id\":\"89p-5x9-mfp\",\"type\":\"dashboards\"},{\"id\":\"unw-hwk-68w\",\"type\":\"dashboards\"},{\"id\":\"2m8-ht3-7kf\",\"type\":\"dashboards\"},{\"id\":\"eq3-r74-a85\",\"type\":\"dashboards\"},{\"id\":\"8yn-6s7-pue\",\"type\":\"dashboards\"},{\"id\":\"b6n-8j5-2iz\",\"type\":\"dashboards\"},{\"id\":\"4j8-nbn-4gi\",\"type\":\"dashboards\"},{\"id\":\"tpx-f7m-z57\",\"type\":\"dashboards\"},{\"id\":\"xfe-kap-e5y\",\"type\":\"dashboards\"},{\"id\":\"5tp-tr6-93q\",\"type\":\"dashboards\"},{\"id\":\"6md-r2g-kxc\",\"type\":\"dashboards\"},{\"id\":\"neh-3bi-sgi\",\"type\":\"dashboards\"},{\"id\":\"63v-49e-a7d\",\"type\":\"dashboards\"},{\"id\":\"8w6-777-dbc\",\"type\":\"dashboards\"},{\"id\":\"bgp-uee-rt3\",\"type\":\"dashboards\"},{\"id\":\"p8w-deq-k6x\",\"type\":\"dashboards\"},{\"id\":\"f4a-76m-nbn\",\"type\":\"dashboards\"},{\"id\":\"9km-gj8-2rj\",\"type\":\"dashboards\"},{\"id\":\"deh-2pa-jv8\",\"type\":\"dashboards\"}]},\"monitors\":{\"data\":[]},\"notebooks\":{\"data\":[{\"id\":\"4758632\",\"type\":\"notebooks\"}]},\"slos\":{\"data\":[]}}},\"included\":[{\"id\":\"d5e-dpd-umy\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Cloud Foundry - Infrastructure Overview\"}},{\"id\":\"884-jxj-d7f\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Cloud Foundry - Infrastructure Overview\"}},{\"id\":\"kqz-yw2-egk\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"PCF Nozzle Testing (cloned)\"}},{\"id\":\"43b-kw6-vqr\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Cloud Foundry - Overview (cloned)\"}},{\"id\":\"3bd-yi5-t9f\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Cloud Foundry - Overview (cloned)\"}},{\"id\":\"zfd-a24-thy\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"PCF Cloud Controller\"}},{\"id\":\"5qr-399-8wz\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Example-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget_1708538631\"}},{\"id\":\"zst-bcm-gq6\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Ordered Layout Dashboard\"}},{\"id\":\"ytd-nd3-bxu\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"7dp-46c-6tr\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"ug4-a8z-jva\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"89p-5x9-mfp\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"unw-hwk-68w\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"2m8-ht3-7kf\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"eq3-r74-a85\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"8yn-6s7-pue\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"b6n-8j5-2iz\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Cloud Foundry - Overview (cloned) (cloned)\"}},{\"id\":\"4j8-nbn-4gi\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"tpx-f7m-z57\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"{{ unique }}\"}},{\"id\":\"xfe-kap-e5y\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"5tp-tr6-93q\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"6md-r2g-kxc\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"neh-3bi-sgi\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"63v-49e-a7d\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"sarah test\"}},{\"id\":\"8w6-777-dbc\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"bgp-uee-rt3\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"\"}},{\"id\":\"p8w-deq-k6x\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"CRP-176\"}},{\"id\":\"f4a-76m-nbn\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Hippolyte's Screenboard Fri, Apr 16, 10:20:54 am\"}},{\"id\":\"9km-gj8-2rj\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Hippolyte's Screenboard Fri, Apr 16, 10:20:54 am\"}},{\"id\":\"deh-2pa-jv8\",\"type\":\"dashboards\",\"attributes\":{\"popularity\":0,\"title\":\"Hippolyte's Timeboard Wed, Mar 3, 10:57:28 am\"}},{\"id\":\"4758632\",\"type\":\"notebooks\",\"attributes\":{\"title\":\"PCF Container Usage Attribution\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 509, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-02-28T15:57:55.640Z", + "time": 90 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v2/metrics/ListMetricAssets.ts b/examples/v2/metrics/ListMetricAssets.ts new file mode 100644 index 000000000000..a35de4bb772a --- /dev/null +++ b/examples/v2/metrics/ListMetricAssets.ts @@ -0,0 +1,21 @@ +/** + * Related Assets to a Metric returns "Success" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.MetricsApi(configuration); + +const params: v2.MetricsApiListMetricAssetsRequest = { + metricName: "system.cpu.user", +}; + +apiInstance + .listMetricAssets(params) + .then((data: v2.MetricAssetsResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index 628d310d7c2e..afa50079a155 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -4136,6 +4136,13 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "MetricAllTagsResponse", }, + "v2.ListMetricAssets": { + "metricName": { + "type": "string", + "format": "", + }, + "operationResponseType": "MetricAssetsResponse", + }, "v2.EstimateMetricsOutputSeries": { "metricName": { "type": "string", diff --git a/features/v2/metrics.feature b/features/v2/metrics.feature index 751f90ef4305..671d2173ad26 100644 --- a/features/v2/metrics.feature +++ b/features/v2/metrics.feature @@ -279,6 +279,24 @@ Feature: Metrics When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/metrics-experience + Scenario: Related Assets to a Metric returns "API error response." response + Given a valid "appKeyAuth" key in the system + And new "ListMetricAssets" request + And request contains "metric_name" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 API error response. + + @team:DataDog/metrics-experience + Scenario: Related Assets to a Metric returns "Success" response + Given a valid "appKeyAuth" key in the system + And new "ListMetricAssets" request + And request contains "metric_name" parameter with value "system.cpu.user" + When the request is sent + Then the response status is 200 Success + And the response "data.type" is equal to "metrics" + And the response "data.id" is equal to "system.cpu.user" + @team:Datadog/timeseries-query Scenario: Scalar cross product query returns "Bad Request" response Given a valid "appKeyAuth" key in the system diff --git a/features/v2/undo.json b/features/v2/undo.json index f58d4d353469..387676557ab2 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -1162,6 +1162,12 @@ "type": "safe" } }, + "ListMetricAssets": { + "tag": "Metrics", + "undo": { + "type": "safe" + } + }, "EstimateMetricsOutputSeries": { "tag": "Metrics", "undo": { diff --git a/packages/datadog-api-client-v2/apis/MetricsApi.ts b/packages/datadog-api-client-v2/apis/MetricsApi.ts index 1b649af5fdcd..669d15c69730 100644 --- a/packages/datadog-api-client-v2/apis/MetricsApi.ts +++ b/packages/datadog-api-client-v2/apis/MetricsApi.ts @@ -19,6 +19,7 @@ import { ApiException } from "../../datadog-api-client-common/exception"; import { APIErrorResponse } from "../models/APIErrorResponse"; import { IntakePayloadAccepted } from "../models/IntakePayloadAccepted"; import { MetricAllTagsResponse } from "../models/MetricAllTagsResponse"; +import { MetricAssetsResponse } from "../models/MetricAssetsResponse"; import { MetricBulkTagConfigCreateRequest } from "../models/MetricBulkTagConfigCreateRequest"; import { MetricBulkTagConfigDeleteRequest } from "../models/MetricBulkTagConfigDeleteRequest"; import { MetricBulkTagConfigResponse } from "../models/MetricBulkTagConfigResponse"; @@ -322,6 +323,40 @@ export class MetricsApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async listMetricAssets( + metricName: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'metricName' is not null or undefined + if (metricName === null || metricName === undefined) { + throw new RequiredError("metricName", "listMetricAssets"); + } + + // Path Params + const localVarPath = "/api/v2/metrics/{metric_name}/assets".replace( + "{metric_name}", + encodeURIComponent(String(metricName)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.MetricsApi.listMetricAssets") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async listTagConfigurationByName( metricName: string, _options?: Configuration @@ -1076,6 +1111,69 @@ export class MetricsApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listMetricAssets + * @throws ApiException if the response code was not in [200, 299] + */ + public async listMetricAssets( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: MetricAssetsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "MetricAssetsResponse" + ) as MetricAssetsResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: MetricAssetsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "MetricAssetsResponse", + "" + ) as MetricAssetsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1663,6 +1761,14 @@ export interface MetricsApiListActiveMetricConfigurationsRequest { windowSeconds?: number; } +export interface MetricsApiListMetricAssetsRequest { + /** + * The name of the metric. + * @type string + */ + metricName: string; +} + export interface MetricsApiListTagConfigurationByNameRequest { /** * The name of the metric. @@ -1943,6 +2049,27 @@ export class MetricsApi { }); } + /** + * Returns dashboards, monitors, notebooks, and SLOs that a metric is stored in, if any. Updated every 24 hours. + * @param param The request object + */ + public listMetricAssets( + param: MetricsApiListMetricAssetsRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.listMetricAssets( + param.metricName, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.listMetricAssets(responseContext); + }); + }); + } + /** * Returns the tag configuration for the given metric name. * @param param The request object diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index a7bdf3dd8467..aa6a7b896343 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -260,6 +260,7 @@ export { MetricsApiDeleteTagConfigurationRequest, MetricsApiEstimateMetricsOutputSeriesRequest, MetricsApiListActiveMetricConfigurationsRequest, + MetricsApiListMetricAssetsRequest, MetricsApiListTagConfigurationByNameRequest, MetricsApiListTagConfigurationsRequest, MetricsApiListTagsByMetricNameRequest, @@ -1157,6 +1158,19 @@ export { MetricActiveConfigurationType } from "./models/MetricActiveConfiguratio export { MetricAllTags } from "./models/MetricAllTags"; export { MetricAllTagsAttributes } from "./models/MetricAllTagsAttributes"; export { MetricAllTagsResponse } from "./models/MetricAllTagsResponse"; +export { MetricAssetAttributes } from "./models/MetricAssetAttributes"; +export { MetricAssetDashboardRelationship } from "./models/MetricAssetDashboardRelationship"; +export { MetricAssetDashboardRelationships } from "./models/MetricAssetDashboardRelationships"; +export { MetricAssetMonitorRelationship } from "./models/MetricAssetMonitorRelationship"; +export { MetricAssetMonitorRelationships } from "./models/MetricAssetMonitorRelationships"; +export { MetricAssetNotebookRelationship } from "./models/MetricAssetNotebookRelationship"; +export { MetricAssetNotebookRelationships } from "./models/MetricAssetNotebookRelationships"; +export { MetricAssetResponseData } from "./models/MetricAssetResponseData"; +export { MetricAssetResponseIncluded } from "./models/MetricAssetResponseIncluded"; +export { MetricAssetResponseRelationships } from "./models/MetricAssetResponseRelationships"; +export { MetricAssetSLORelationship } from "./models/MetricAssetSLORelationship"; +export { MetricAssetSLORelationships } from "./models/MetricAssetSLORelationships"; +export { MetricAssetsResponse } from "./models/MetricAssetsResponse"; export { MetricBulkConfigureTagsType } from "./models/MetricBulkConfigureTagsType"; export { MetricBulkTagConfigCreate } from "./models/MetricBulkTagConfigCreate"; export { MetricBulkTagConfigCreateAttributes } from "./models/MetricBulkTagConfigCreateAttributes"; @@ -1171,6 +1185,9 @@ export { MetricContentEncoding } from "./models/MetricContentEncoding"; export { MetricCustomAggregation } from "./models/MetricCustomAggregation"; export { MetricCustomSpaceAggregation } from "./models/MetricCustomSpaceAggregation"; export { MetricCustomTimeAggregation } from "./models/MetricCustomTimeAggregation"; +export { MetricDashboardAsset } from "./models/MetricDashboardAsset"; +export { MetricDashboardAttributes } from "./models/MetricDashboardAttributes"; +export { MetricDashboardType } from "./models/MetricDashboardType"; export { MetricDistinctVolume } from "./models/MetricDistinctVolume"; export { MetricDistinctVolumeAttributes } from "./models/MetricDistinctVolumeAttributes"; export { MetricDistinctVolumeType } from "./models/MetricDistinctVolumeType"; @@ -1184,6 +1201,10 @@ export { MetricIngestedIndexedVolumeAttributes } from "./models/MetricIngestedIn export { MetricIngestedIndexedVolumeType } from "./models/MetricIngestedIndexedVolumeType"; export { MetricIntakeType } from "./models/MetricIntakeType"; export { MetricMetadata } from "./models/MetricMetadata"; +export { MetricMonitorAsset } from "./models/MetricMonitorAsset"; +export { MetricMonitorType } from "./models/MetricMonitorType"; +export { MetricNotebookAsset } from "./models/MetricNotebookAsset"; +export { MetricNotebookType } from "./models/MetricNotebookType"; export { MetricOrigin } from "./models/MetricOrigin"; export { MetricPayload } from "./models/MetricPayload"; export { MetricPoint } from "./models/MetricPoint"; @@ -1193,6 +1214,8 @@ export { MetricsAndMetricTagConfigurations } from "./models/MetricsAndMetricTagC export { MetricsAndMetricTagConfigurationsResponse } from "./models/MetricsAndMetricTagConfigurationsResponse"; export { MetricsDataSource } from "./models/MetricsDataSource"; export { MetricSeries } from "./models/MetricSeries"; +export { MetricSLOAsset } from "./models/MetricSLOAsset"; +export { MetricSLOType } from "./models/MetricSLOType"; export { MetricsScalarQuery } from "./models/MetricsScalarQuery"; export { MetricsTimeseriesQuery } from "./models/MetricsTimeseriesQuery"; export { MetricSuggestedTagsAndAggregations } from "./models/MetricSuggestedTagsAndAggregations"; diff --git a/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts b/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts new file mode 100644 index 000000000000..92e804a604ad --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetAttributes.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Assets where only included attribute is its title + */ +export class MetricAssetAttributes { + /** + * Title of the asset. + */ + "title"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + title: { + baseName: "title", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationship.ts b/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationship.ts new file mode 100644 index 000000000000..82482290c6a3 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationship.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricDashboardType } from "./MetricDashboardType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object of type `dashboard` that can be referenced in the `included` data. + */ +export class MetricAssetDashboardRelationship { + /** + * The related dashboard's ID. + */ + "id"?: string; + /** + * Dashboard resource type. + */ + "type"?: MetricDashboardType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricDashboardType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetDashboardRelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationships.ts b/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationships.ts new file mode 100644 index 000000000000..ba245593ef29 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetDashboardRelationships.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetDashboardRelationship } from "./MetricAssetDashboardRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object containing the list of dashboards that can be referenced in the `included` data. + */ +export class MetricAssetDashboardRelationships { + /** + * A list of dashboards that can be referenced in the `included` data. + */ + "data"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetDashboardRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationship.ts b/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationship.ts new file mode 100644 index 000000000000..0a2111522b8a --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationship.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricMonitorType } from "./MetricMonitorType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object of type `monitor` that can be referenced in the `included` data. + */ +export class MetricAssetMonitorRelationship { + /** + * The related monitor's ID. + */ + "id"?: string; + /** + * Monitor resource type. + */ + "type"?: MetricMonitorType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricMonitorType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetMonitorRelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationships.ts b/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationships.ts new file mode 100644 index 000000000000..b08d3c44dd0b --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetMonitorRelationships.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetMonitorRelationship } from "./MetricAssetMonitorRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A object containing the list of monitors that can be referenced in the `included` data. + */ +export class MetricAssetMonitorRelationships { + /** + * A list of monitors that can be referenced in the `included` data. + */ + "data"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetMonitorRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationship.ts b/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationship.ts new file mode 100644 index 000000000000..93c8c8e77baa --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationship.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricNotebookType } from "./MetricNotebookType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object of type `notebook` that can be referenced in the `included` data. + */ +export class MetricAssetNotebookRelationship { + /** + * The related notebook's ID. + */ + "id"?: string; + /** + * Notebook resource type. + */ + "type"?: MetricNotebookType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricNotebookType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetNotebookRelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationships.ts b/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationships.ts new file mode 100644 index 000000000000..e85bca6bc46b --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetNotebookRelationships.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetNotebookRelationship } from "./MetricAssetNotebookRelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object containing the list of notebooks that can be referenced in the `included` data. + */ +export class MetricAssetNotebookRelationships { + /** + * A list of notebooks that can be referenced in the `included` data. + */ + "data"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetNotebookRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetResponseData.ts b/packages/datadog-api-client-v2/models/MetricAssetResponseData.ts new file mode 100644 index 000000000000..5bf492ece414 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetResponseData.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetResponseRelationships } from "./MetricAssetResponseRelationships"; +import { MetricType } from "./MetricType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Metric assets response data. + */ +export class MetricAssetResponseData { + /** + * The metric name for this resource. + */ + "id": string; + /** + * Relationships to assets related to the metric. + */ + "relationships"?: MetricAssetResponseRelationships; + /** + * The metric resource type. + */ + "type": MetricType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "MetricAssetResponseRelationships", + }, + type: { + baseName: "type", + type: "MetricType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetResponseData.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetResponseIncluded.ts b/packages/datadog-api-client-v2/models/MetricAssetResponseIncluded.ts new file mode 100644 index 000000000000..d16a8d4707df --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetResponseIncluded.ts @@ -0,0 +1,22 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricDashboardAsset } from "./MetricDashboardAsset"; +import { MetricMonitorAsset } from "./MetricMonitorAsset"; +import { MetricNotebookAsset } from "./MetricNotebookAsset"; +import { MetricSLOAsset } from "./MetricSLOAsset"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * List of included assets with full set of attributes. + */ + +export type MetricAssetResponseIncluded = + | MetricDashboardAsset + | MetricMonitorAsset + | MetricNotebookAsset + | MetricSLOAsset + | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/MetricAssetResponseRelationships.ts b/packages/datadog-api-client-v2/models/MetricAssetResponseRelationships.ts new file mode 100644 index 000000000000..450ccb21877b --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetResponseRelationships.ts @@ -0,0 +1,80 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetDashboardRelationships } from "./MetricAssetDashboardRelationships"; +import { MetricAssetMonitorRelationships } from "./MetricAssetMonitorRelationships"; +import { MetricAssetNotebookRelationships } from "./MetricAssetNotebookRelationships"; +import { MetricAssetSLORelationships } from "./MetricAssetSLORelationships"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationships to assets related to the metric. + */ +export class MetricAssetResponseRelationships { + /** + * An object containing the list of dashboards that can be referenced in the `included` data. + */ + "dashboards"?: MetricAssetDashboardRelationships; + /** + * A object containing the list of monitors that can be referenced in the `included` data. + */ + "monitors"?: MetricAssetMonitorRelationships; + /** + * An object containing the list of notebooks that can be referenced in the `included` data. + */ + "notebooks"?: MetricAssetNotebookRelationships; + /** + * An object containing a list of SLOs that can be referenced in the `included` data. + */ + "slos"?: MetricAssetSLORelationships; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + dashboards: { + baseName: "dashboards", + type: "MetricAssetDashboardRelationships", + }, + monitors: { + baseName: "monitors", + type: "MetricAssetMonitorRelationships", + }, + notebooks: { + baseName: "notebooks", + type: "MetricAssetNotebookRelationships", + }, + slos: { + baseName: "slos", + type: "MetricAssetSLORelationships", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetResponseRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetSLORelationship.ts b/packages/datadog-api-client-v2/models/MetricAssetSLORelationship.ts new file mode 100644 index 000000000000..6844c67f19dd --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetSLORelationship.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricSLOType } from "./MetricSLOType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object of type `slos` that can be referenced in the `included` data. + */ +export class MetricAssetSLORelationship { + /** + * The SLO ID. + */ + "id"?: string; + /** + * SLO resource type. + */ + "type"?: MetricSLOType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "MetricSLOType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetSLORelationship.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetSLORelationships.ts b/packages/datadog-api-client-v2/models/MetricAssetSLORelationships.ts new file mode 100644 index 000000000000..f47ea1786b43 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetSLORelationships.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetSLORelationship } from "./MetricAssetSLORelationship"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * An object containing a list of SLOs that can be referenced in the `included` data. + */ +export class MetricAssetSLORelationships { + /** + * A list of SLOs that can be referenced in the `included` data. + */ + "data"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetSLORelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricAssetsResponse.ts b/packages/datadog-api-client-v2/models/MetricAssetsResponse.ts new file mode 100644 index 000000000000..0d90afbb8262 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricAssetsResponse.ts @@ -0,0 +1,62 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetResponseData } from "./MetricAssetResponseData"; +import { MetricAssetResponseIncluded } from "./MetricAssetResponseIncluded"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Response object that includes related dashboards, monitors, notebooks, and SLOs. + */ +export class MetricAssetsResponse { + /** + * Metric assets response data. + */ + "data"?: MetricAssetResponseData; + /** + * Array of objects related to the metric assets. + */ + "included"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "MetricAssetResponseData", + }, + included: { + baseName: "included", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricAssetsResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricDashboardAsset.ts b/packages/datadog-api-client-v2/models/MetricDashboardAsset.ts new file mode 100644 index 000000000000..884b79403060 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricDashboardAsset.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricDashboardAttributes } from "./MetricDashboardAttributes"; +import { MetricDashboardType } from "./MetricDashboardType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A dashboard object with title and popularity. + */ +export class MetricDashboardAsset { + /** + * Attributes related to the dashboard, including title and popularity. + */ + "attributes"?: MetricDashboardAttributes; + /** + * The related dashboard's ID. + */ + "id": string; + /** + * Dashboard resource type. + */ + "type": MetricDashboardType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricDashboardAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricDashboardType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricDashboardAsset.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricDashboardAttributes.ts b/packages/datadog-api-client-v2/models/MetricDashboardAttributes.ts new file mode 100644 index 000000000000..4ed990798ca7 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricDashboardAttributes.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Attributes related to the dashboard, including title and popularity. + */ +export class MetricDashboardAttributes { + /** + * Value from 0 to 5 that ranks popularity of the dashboard. + */ + "popularity"?: number; + /** + * Title of the asset. + */ + "title"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + popularity: { + baseName: "popularity", + type: "number", + format: "double", + }, + title: { + baseName: "title", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricDashboardAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricDashboardType.ts b/packages/datadog-api-client-v2/models/MetricDashboardType.ts new file mode 100644 index 000000000000..161f9bf9b6dc --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricDashboardType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Dashboard resource type. + */ + +export type MetricDashboardType = typeof DASHBOARDS | UnparsedObject; +export const DASHBOARDS = "dashboards"; diff --git a/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts b/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts new file mode 100644 index 000000000000..114540270e49 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricMonitorAsset.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetAttributes } from "./MetricAssetAttributes"; +import { MetricMonitorType } from "./MetricMonitorType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A monitor object with title. + */ +export class MetricMonitorAsset { + /** + * Assets where only included attribute is its title + */ + "attributes"?: MetricAssetAttributes; + /** + * The related monitor's ID. + */ + "id": string; + /** + * Monitor resource type. + */ + "type": MetricMonitorType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricAssetAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricMonitorType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricMonitorAsset.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricMonitorType.ts b/packages/datadog-api-client-v2/models/MetricMonitorType.ts new file mode 100644 index 000000000000..b390f02391e8 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricMonitorType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Monitor resource type. + */ + +export type MetricMonitorType = typeof MONITORS | UnparsedObject; +export const MONITORS = "monitors"; diff --git a/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts b/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts new file mode 100644 index 000000000000..a5fdb9b6e523 --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricNotebookAsset.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetAttributes } from "./MetricAssetAttributes"; +import { MetricNotebookType } from "./MetricNotebookType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A notebook object with title. + */ +export class MetricNotebookAsset { + /** + * Assets where only included attribute is its title + */ + "attributes"?: MetricAssetAttributes; + /** + * The related notebook's ID. + */ + "id": string; + /** + * Notebook resource type. + */ + "type": MetricNotebookType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricAssetAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricNotebookType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricNotebookAsset.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricNotebookType.ts b/packages/datadog-api-client-v2/models/MetricNotebookType.ts new file mode 100644 index 000000000000..4c27603890aa --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricNotebookType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Notebook resource type. + */ + +export type MetricNotebookType = typeof NOTEBOOKS | UnparsedObject; +export const NOTEBOOKS = "notebooks"; diff --git a/packages/datadog-api-client-v2/models/MetricSLOAsset.ts b/packages/datadog-api-client-v2/models/MetricSLOAsset.ts new file mode 100644 index 000000000000..4a07866c033e --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricSLOAsset.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { MetricAssetAttributes } from "./MetricAssetAttributes"; +import { MetricSLOType } from "./MetricSLOType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * A SLO object with title. + */ +export class MetricSLOAsset { + /** + * Assets where only included attribute is its title + */ + "attributes"?: MetricAssetAttributes; + /** + * The SLO ID. + */ + "id": string; + /** + * SLO resource type. + */ + "type": MetricSLOType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "MetricAssetAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "MetricSLOType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return MetricSLOAsset.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/MetricSLOType.ts b/packages/datadog-api-client-v2/models/MetricSLOType.ts new file mode 100644 index 000000000000..bb3868686a7e --- /dev/null +++ b/packages/datadog-api-client-v2/models/MetricSLOType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * SLO resource type. + */ + +export type MetricSLOType = typeof SLOS | UnparsedObject; +export const SLOS = "slos"; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 077f3ce79da1..05eb366ea3f1 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -517,6 +517,18 @@ import { Metric } from "./Metric"; import { MetricAllTags } from "./MetricAllTags"; import { MetricAllTagsAttributes } from "./MetricAllTagsAttributes"; import { MetricAllTagsResponse } from "./MetricAllTagsResponse"; +import { MetricAssetAttributes } from "./MetricAssetAttributes"; +import { MetricAssetDashboardRelationship } from "./MetricAssetDashboardRelationship"; +import { MetricAssetDashboardRelationships } from "./MetricAssetDashboardRelationships"; +import { MetricAssetMonitorRelationship } from "./MetricAssetMonitorRelationship"; +import { MetricAssetMonitorRelationships } from "./MetricAssetMonitorRelationships"; +import { MetricAssetNotebookRelationship } from "./MetricAssetNotebookRelationship"; +import { MetricAssetNotebookRelationships } from "./MetricAssetNotebookRelationships"; +import { MetricAssetResponseData } from "./MetricAssetResponseData"; +import { MetricAssetResponseRelationships } from "./MetricAssetResponseRelationships"; +import { MetricAssetSLORelationship } from "./MetricAssetSLORelationship"; +import { MetricAssetSLORelationships } from "./MetricAssetSLORelationships"; +import { MetricAssetsResponse } from "./MetricAssetsResponse"; import { MetricBulkTagConfigCreate } from "./MetricBulkTagConfigCreate"; import { MetricBulkTagConfigCreateAttributes } from "./MetricBulkTagConfigCreateAttributes"; import { MetricBulkTagConfigCreateRequest } from "./MetricBulkTagConfigCreateRequest"; @@ -527,6 +539,8 @@ import { MetricBulkTagConfigResponse } from "./MetricBulkTagConfigResponse"; import { MetricBulkTagConfigStatus } from "./MetricBulkTagConfigStatus"; import { MetricBulkTagConfigStatusAttributes } from "./MetricBulkTagConfigStatusAttributes"; import { MetricCustomAggregation } from "./MetricCustomAggregation"; +import { MetricDashboardAsset } from "./MetricDashboardAsset"; +import { MetricDashboardAttributes } from "./MetricDashboardAttributes"; import { MetricDistinctVolume } from "./MetricDistinctVolume"; import { MetricDistinctVolumeAttributes } from "./MetricDistinctVolumeAttributes"; import { MetricEstimate } from "./MetricEstimate"; @@ -535,10 +549,13 @@ import { MetricEstimateResponse } from "./MetricEstimateResponse"; import { MetricIngestedIndexedVolume } from "./MetricIngestedIndexedVolume"; import { MetricIngestedIndexedVolumeAttributes } from "./MetricIngestedIndexedVolumeAttributes"; import { MetricMetadata } from "./MetricMetadata"; +import { MetricMonitorAsset } from "./MetricMonitorAsset"; +import { MetricNotebookAsset } from "./MetricNotebookAsset"; import { MetricOrigin } from "./MetricOrigin"; import { MetricPayload } from "./MetricPayload"; import { MetricPoint } from "./MetricPoint"; import { MetricResource } from "./MetricResource"; +import { MetricSLOAsset } from "./MetricSLOAsset"; import { MetricSeries } from "./MetricSeries"; import { MetricSuggestedTagsAndAggregations } from "./MetricSuggestedTagsAndAggregations"; import { MetricSuggestedTagsAndAggregationsResponse } from "./MetricSuggestedTagsAndAggregationsResponse"; @@ -1339,11 +1356,15 @@ const enumsMap: { [key: string]: any[] } = { MetricContentEncoding: ["deflate", "zstd1", "gzip"], MetricCustomSpaceAggregation: ["avg", "max", "min", "sum"], MetricCustomTimeAggregation: ["avg", "count", "max", "min", "sum"], + MetricDashboardType: ["dashboards"], MetricDistinctVolumeType: ["distinct_metric_volumes"], MetricEstimateResourceType: ["metric_cardinality_estimate"], MetricEstimateType: ["count_or_gauge", "distribution", "percentile"], MetricIngestedIndexedVolumeType: ["metric_volumes"], MetricIntakeType: [0, 1, 2, 3], + MetricMonitorType: ["monitors"], + MetricNotebookType: ["notebooks"], + MetricSLOType: ["slos"], MetricTagConfigurationMetricTypes: ["gauge", "count", "rate", "distribution"], MetricTagConfigurationType: ["manage_tags"], MetricType: ["metrics"], @@ -2198,6 +2219,18 @@ const typeMap: { [index: string]: any } = { MetricAllTags: MetricAllTags, MetricAllTagsAttributes: MetricAllTagsAttributes, MetricAllTagsResponse: MetricAllTagsResponse, + MetricAssetAttributes: MetricAssetAttributes, + MetricAssetDashboardRelationship: MetricAssetDashboardRelationship, + MetricAssetDashboardRelationships: MetricAssetDashboardRelationships, + MetricAssetMonitorRelationship: MetricAssetMonitorRelationship, + MetricAssetMonitorRelationships: MetricAssetMonitorRelationships, + MetricAssetNotebookRelationship: MetricAssetNotebookRelationship, + MetricAssetNotebookRelationships: MetricAssetNotebookRelationships, + MetricAssetResponseData: MetricAssetResponseData, + MetricAssetResponseRelationships: MetricAssetResponseRelationships, + MetricAssetSLORelationship: MetricAssetSLORelationship, + MetricAssetSLORelationships: MetricAssetSLORelationships, + MetricAssetsResponse: MetricAssetsResponse, MetricBulkTagConfigCreate: MetricBulkTagConfigCreate, MetricBulkTagConfigCreateAttributes: MetricBulkTagConfigCreateAttributes, MetricBulkTagConfigCreateRequest: MetricBulkTagConfigCreateRequest, @@ -2208,6 +2241,8 @@ const typeMap: { [index: string]: any } = { MetricBulkTagConfigStatus: MetricBulkTagConfigStatus, MetricBulkTagConfigStatusAttributes: MetricBulkTagConfigStatusAttributes, MetricCustomAggregation: MetricCustomAggregation, + MetricDashboardAsset: MetricDashboardAsset, + MetricDashboardAttributes: MetricDashboardAttributes, MetricDistinctVolume: MetricDistinctVolume, MetricDistinctVolumeAttributes: MetricDistinctVolumeAttributes, MetricEstimate: MetricEstimate, @@ -2216,10 +2251,13 @@ const typeMap: { [index: string]: any } = { MetricIngestedIndexedVolume: MetricIngestedIndexedVolume, MetricIngestedIndexedVolumeAttributes: MetricIngestedIndexedVolumeAttributes, MetricMetadata: MetricMetadata, + MetricMonitorAsset: MetricMonitorAsset, + MetricNotebookAsset: MetricNotebookAsset, MetricOrigin: MetricOrigin, MetricPayload: MetricPayload, MetricPoint: MetricPoint, MetricResource: MetricResource, + MetricSLOAsset: MetricSLOAsset, MetricSeries: MetricSeries, MetricSuggestedTagsAndAggregations: MetricSuggestedTagsAndAggregations, MetricSuggestedTagsAndAggregationsResponse: @@ -2890,6 +2928,12 @@ const oneOfMap: { [index: string]: string[] } = { ], LogsGroupByMissing: ["string", "number"], LogsGroupByTotal: ["boolean", "string", "number"], + MetricAssetResponseIncluded: [ + "MetricDashboardAsset", + "MetricMonitorAsset", + "MetricNotebookAsset", + "MetricSLOAsset", + ], MetricVolumes: ["MetricDistinctVolume", "MetricIngestedIndexedVolume"], MetricsAndMetricTagConfigurations: ["Metric", "MetricTagConfiguration"], MonitorConfigPolicyPolicy: ["MonitorConfigPolicyTagPolicy"], From 93a19ab4bac1bb21c12ac16ce339ed185986b65a Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 5 Mar 2024 18:01:56 +0000 Subject: [PATCH 28/41] Deprecate the pattern property for SDS Standard Pattern Attributes (#1546) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 5 ++++- .../SensitiveDataScannerStandardPatternAttributes.ts | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index b4bdbd12e6f0..90614db905b6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-29 14:49:21.352759", - "spec_repo_commit": "bb5305bc" + "regenerated": "2024-03-05 16:47:43.626564", + "spec_repo_commit": "acf036aa" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-29 14:49:21.368688", - "spec_repo_commit": "bb5305bc" + "regenerated": "2024-03-05 16:47:43.641966", + "spec_repo_commit": "acf036aa" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9a70faf6ba58..dbd4cb423201 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -18316,7 +18316,10 @@ components: description: Name of the standard pattern. type: string pattern: - description: Regex to match. + deprecated: true + description: (Deprecated) Regex to match, optionally documented for older + standard rules. Refer to the `description` field to understand what the + rule does. type: string priority: description: Integer from 1 (high) to 5 (low) indicating standard pattern diff --git a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts index 1ff0e9f0a19a..5bbadb7f1b49 100644 --- a/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts +++ b/packages/datadog-api-client-v2/models/SensitiveDataScannerStandardPatternAttributes.ts @@ -23,7 +23,7 @@ export class SensitiveDataScannerStandardPatternAttributes { */ "name"?: string; /** - * Regex to match. + * (Deprecated) Regex to match, optionally documented for older standard rules. Refer to the `description` field to understand what the rule does. */ "pattern"?: string; /** From 5b97eb4bda2a6679b3bd3584f456e8d8928a00ca Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:23:48 +0000 Subject: [PATCH 29/41] [scorecards] Update Service Scorecards docs link (#1549) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 2 +- features/v2/service_scorecards.feature | 9 ++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 90614db905b6..a6aadcbde05d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-05 16:47:43.626564", - "spec_repo_commit": "acf036aa" + "regenerated": "2024-03-06 21:36:39.696705", + "spec_repo_commit": "d76a4666" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-05 16:47:43.641966", - "spec_repo_commit": "acf036aa" + "regenerated": "2024-03-06 21:36:39.714314", + "spec_repo_commit": "d76a4666" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index dbd4cb423201..9d84bc7546ef 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -35047,7 +35047,7 @@ tags: externalDocs: url: https://docs.datadoghq.com/tracing/service_catalog/ name: Service Definition -- description: 'API to create, update scorecard rules and outcomes. See [Service Scorecards](https://docs.datadoghq.com/account_management/org_settings/service_accounts/) +- description: 'API to create, update scorecard rules and outcomes. See [Service Scorecards](https://docs.datadoghq.com/service_catalog/scorecards) for more information. diff --git a/features/v2/service_scorecards.feature b/features/v2/service_scorecards.feature index 3c0502f9d76d..e772aeeb487e 100644 --- a/features/v2/service_scorecards.feature +++ b/features/v2/service_scorecards.feature @@ -1,10 +1,9 @@ @endpoint(service-scorecards) @endpoint(service-scorecards-v2) Feature: Service Scorecards - API to create, update scorecard rules and outcomes. See [Service Scorecard - s](https://docs.datadoghq.com/account_management/org_settings/service_acco - unts/) for more information. This feature is currently in BETA. If you - have any feedback, contact [Datadog - support](https://docs.datadoghq.com/help/). + API to create, update scorecard rules and outcomes. See [Service + Scorecards](https://docs.datadoghq.com/service_catalog/scorecards) for + more information. This feature is currently in BETA. If you have any + feedback, contact [Datadog support](https://docs.datadoghq.com/help/). Background: Given a valid "apiKeyAuth" key in the system From 566aa06e03b8a5fecc1704a74ed44f3542759320 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:21:39 +0000 Subject: [PATCH 30/41] Disable additionalProperties for Downtime Schedule UpdateRequest oneOfs (#1525) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 3 ++- .../DowntimeScheduleOneTimeCreateUpdateRequest.ts | 11 ----------- .../DowntimeScheduleRecurrencesUpdateRequest.ts | 11 ----------- 4 files changed, 6 insertions(+), 27 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a6aadcbde05d..0a309b96845f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-06 21:36:39.696705", - "spec_repo_commit": "d76a4666" + "regenerated": "2024-03-07 14:48:11.719468", + "spec_repo_commit": "dbf17f07" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-06 21:36:39.714314", - "spec_repo_commit": "d76a4666" + "regenerated": "2024-03-07 14:48:11.735278", + "spec_repo_commit": "dbf17f07" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9d84bc7546ef..4593428f90c1 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -6114,7 +6114,7 @@ components: type: string type: object DowntimeScheduleOneTimeCreateUpdateRequest: - additionalProperties: {} + additionalProperties: false description: A one-time downtime definition. properties: end: @@ -6249,6 +6249,7 @@ components: - recurrences type: object DowntimeScheduleRecurrencesUpdateRequest: + additionalProperties: false description: A recurring downtime schedule definition. properties: recurrences: diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts index 09e9816d10a5..09b317310457 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleOneTimeCreateUpdateRequest.ts @@ -21,13 +21,6 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest { */ "start"?: Date; - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - /** * @ignore */ @@ -47,10 +40,6 @@ export class DowntimeScheduleOneTimeCreateUpdateRequest { type: "Date", format: "date-time", }, - additionalProperties: { - baseName: "additionalProperties", - type: "any", - }, }; /** diff --git a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts index f6ba38b06222..008a6fe67e60 100644 --- a/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts +++ b/packages/datadog-api-client-v2/models/DowntimeScheduleRecurrencesUpdateRequest.ts @@ -20,13 +20,6 @@ export class DowntimeScheduleRecurrencesUpdateRequest { */ "timezone"?: string; - /** - * A container for additional, undeclared properties. - * This is a holder for any undeclared properties as specified with - * the 'additionalProperties' keyword in the OAS document. - */ - "additionalProperties"?: { [key: string]: any }; - /** * @ignore */ @@ -44,10 +37,6 @@ export class DowntimeScheduleRecurrencesUpdateRequest { baseName: "timezone", type: "string", }, - additionalProperties: { - baseName: "additionalProperties", - type: "any", - }, }; /** From 613af82a7f3f14ac241b1b4bf9849d23467d1c60 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:16:17 +0000 Subject: [PATCH 31/41] Fix ListServiceDefinitions pagination information (#1550) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 2 +- .../recording.har | 11 ++++++----- .../apis/ServiceDefinitionApi.ts | 7 ++----- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 0a309b96845f..e41ac818c933 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 14:48:11.719468", - "spec_repo_commit": "dbf17f07" + "regenerated": "2024-03-07 16:40:15.030371", + "spec_repo_commit": "ba5b230c" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 14:48:11.735278", - "spec_repo_commit": "dbf17f07" + "regenerated": "2024-03-07 16:40:15.047368", + "spec_repo_commit": "ba5b230c" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4593428f90c1..9201083ceb74 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -32455,7 +32455,7 @@ paths: - Service Definition x-pagination: limitParam: page[size] - pageOffsetParam: page[number] + pageParam: page[number] resultsPath: data post: description: Create or update service definition in the Datadog Service Catalog. diff --git a/cassettes/v2/Service-Definition_2211895093/Get-all-service-definitions-returns-OK-response-with-pagination_993577015/recording.har b/cassettes/v2/Service-Definition_2211895093/Get-all-service-definitions-returns-OK-response-with-pagination_993577015/recording.har index 9bc43a1a460d..adf038aa17ed 100644 --- a/cassettes/v2/Service-Definition_2211895093/Get-all-service-definitions-returns-OK-response-with-pagination_993577015/recording.har +++ b/cassettes/v2/Service-Definition_2211895093/Get-all-service-definitions-returns-OK-response-with-pagination_993577015/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "2e4420ff858de0f4313ccbc92eb665f7", + "_id": "570fd209d1660bd571045dafd2de9a93", "_order": 0, "cache": {}, "request": { @@ -28,11 +28,12 @@ { "name": "page", "value": { + "number": "0", "size": "2" } } ], - "url": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2" + "url": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2&page%5Bnumber%5D=0" }, "response": { "bodySize": 2155, @@ -58,7 +59,7 @@ "time": 468 }, { - "_id": "1c6d4b2001a98d9de4400911acda2436", + "_id": "834bf021fc4f484c0320b36a22143712", "_order": 0, "cache": {}, "request": { @@ -78,12 +79,12 @@ { "name": "page", "value": { - "number": "2", + "number": "1", "size": "2" } } ], - "url": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2&page%5Bnumber%5D=2" + "url": "https://api.datadoghq.com/api/v2/services/definitions?page%5Bsize%5D=2&page%5Bnumber%5D=1" }, "response": { "bodySize": 2636, diff --git a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts index 9dacb74ec8c8..f35ebdb3f6c2 100644 --- a/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.ts @@ -614,6 +614,7 @@ export class ServiceDefinitionApi { pageSize = param.pageSize; } param.pageSize = pageSize; + param.pageNumber = 0; while (true) { const requestContext = await this.requestFactory.listServiceDefinitions( param.pageSize, @@ -639,11 +640,7 @@ export class ServiceDefinitionApi { if (results.length < pageSize) { break; } - if (param.pageNumber === undefined) { - param.pageNumber = pageSize; - } else { - param.pageNumber = param.pageNumber + pageSize; - } + param.pageNumber = param.pageNumber + 1; } } } From 196d6890d6af424566201153ee377f8f53749ae5 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:16:40 +0000 Subject: [PATCH 32/41] [RQ-4596] Add observability pipelines core to public documentation (#1547) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 15 +++++++++++++++ .../models/HourlyUsageAttributionUsageType.ts | 2 ++ .../MonthlyUsageAttributionSupportedMetrics.ts | 4 ++++ .../models/MonthlyUsageAttributionValues.ts | 18 ++++++++++++++++++ .../models/ObjectSerializer.ts | 3 +++ 6 files changed, 46 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index e41ac818c933..8318c2536fbc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 16:40:15.030371", - "spec_repo_commit": "ba5b230c" + "regenerated": "2024-03-07 17:19:33.694024", + "spec_repo_commit": "52e6d7fb" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 16:40:15.047368", - "spec_repo_commit": "ba5b230c" + "regenerated": "2024-03-07 17:19:33.710260", + "spec_repo_commit": "52e6d7fb" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 742b1849d4f9..193a51a415fc 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4130,6 +4130,7 @@ components: - ndm_netflow_usage - npm_host_usage - obs_pipeline_bytes_usage + - obs_pipelines_vcpu_usage - profiled_container_usage - profiled_fargate_usage - profiled_host_usage @@ -4196,6 +4197,7 @@ components: - NDM_NETFLOW_USAGE - NPM_HOST_USAGE - OBS_PIPELINE_BYTES_USAGE + - OBS_PIPELINE_VCPU_USAGE - PROFILED_CONTAINER_USAGE - PROFILED_FARGATE_USAGE - PROFILED_HOST_USAGE @@ -7826,6 +7828,8 @@ components: - npm_host_percentage - obs_pipeline_bytes_usage - obs_pipeline_bytes_percentage + - obs_pipelines_vcpu_usage + - obs_pipelines_vcpu_percentage - profiled_container_usage - profiled_container_percentage - profiled_fargate_usage @@ -7953,6 +7957,8 @@ components: - NPM_HOST_PERCENTAGE - OBS_PIPELINE_BYTES_USAGE - OBS_PIPELINE_BYTES_PERCENTAGE + - OBS_PIPELINES_VCPU_USAGE + - OBS_PIPELINES_VCPU_PERCENTAGE - PROFILED_CONTAINER_USAGE - PROFILED_CONTAINER_PERCENTAGE - PROFILED_FARGATE_USAGE @@ -8444,6 +8450,15 @@ components: description: The observability pipeline bytes usage by tag(s). format: double type: number + obs_pipelines_vcpu_percentage: + description: The percentage of observability pipeline per core usage by + tag(s). + format: double + type: number + obs_pipelines_vcpu_usage: + description: The observability pipeline per core usage by tag(s). + format: double + type: number profiled_container_percentage: description: The percentage of profiled container usage by tag(s). format: double diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts index bb4eed11d577..bb07e9f17954 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts @@ -64,6 +64,7 @@ export type HourlyUsageAttributionUsageType = | typeof NDM_NETFLOW_USAGE | typeof NPM_HOST_USAGE | typeof OBS_PIPELINE_BYTES_USAGE + | typeof OBS_PIPELINE_VCPU_USAGE | typeof PROFILED_CONTAINER_USAGE | typeof PROFILED_FARGATE_USAGE | typeof PROFILED_HOST_USAGE @@ -135,6 +136,7 @@ export const MOBILE_APP_TESTING_USAGE = "mobile_app_testing_usage"; export const NDM_NETFLOW_USAGE = "ndm_netflow_usage"; export const NPM_HOST_USAGE = "npm_host_usage"; export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage"; +export const OBS_PIPELINE_VCPU_USAGE = "obs_pipelines_vcpu_usage"; export const PROFILED_CONTAINER_USAGE = "profiled_container_usage"; export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage"; export const PROFILED_HOST_USAGE = "profiled_host_usage"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts index 8a8f1333b3d0..b427997af3c8 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts @@ -79,6 +79,8 @@ export type MonthlyUsageAttributionSupportedMetrics = | typeof NPM_HOST_PERCENTAGE | typeof OBS_PIPELINE_BYTES_USAGE | typeof OBS_PIPELINE_BYTES_PERCENTAGE + | typeof OBS_PIPELINES_VCPU_USAGE + | typeof OBS_PIPELINES_VCPU_PERCENTAGE | typeof PROFILED_CONTAINER_USAGE | typeof PROFILED_CONTAINER_PERCENTAGE | typeof PROFILED_FARGATE_USAGE @@ -216,6 +218,8 @@ export const NPM_HOST_USAGE = "npm_host_usage"; export const NPM_HOST_PERCENTAGE = "npm_host_percentage"; export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage"; export const OBS_PIPELINE_BYTES_PERCENTAGE = "obs_pipeline_bytes_percentage"; +export const OBS_PIPELINES_VCPU_USAGE = "obs_pipelines_vcpu_usage"; +export const OBS_PIPELINES_VCPU_PERCENTAGE = "obs_pipelines_vcpu_percentage"; export const PROFILED_CONTAINER_USAGE = "profiled_container_usage"; export const PROFILED_CONTAINER_PERCENTAGE = "profiled_container_percentage"; export const PROFILED_FARGATE_USAGE = "profiled_fargate_usage"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts index 547409759da7..e6082676af3d 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts @@ -418,6 +418,14 @@ export class MonthlyUsageAttributionValues { * The observability pipeline bytes usage by tag(s). */ "obsPipelineBytesUsage"?: number; + /** + * The percentage of observability pipeline per core usage by tag(s). + */ + "obsPipelinesVcpuPercentage"?: number; + /** + * The observability pipeline per core usage by tag(s). + */ + "obsPipelinesVcpuUsage"?: number; /** * The percentage of profiled container usage by tag(s). */ @@ -1033,6 +1041,16 @@ export class MonthlyUsageAttributionValues { type: "number", format: "double", }, + obsPipelinesVcpuPercentage: { + baseName: "obs_pipelines_vcpu_percentage", + type: "number", + format: "double", + }, + obsPipelinesVcpuUsage: { + baseName: "obs_pipelines_vcpu_usage", + type: "number", + format: "double", + }, profiledContainerPercentage: { baseName: "profiled_container_percentage", type: "number", diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index d221afd39363..d6f4f79fbeaf 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -815,6 +815,7 @@ const enumsMap: { [key: string]: any[] } = { "ndm_netflow_usage", "npm_host_usage", "obs_pipeline_bytes_usage", + "obs_pipelines_vcpu_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", @@ -1020,6 +1021,8 @@ const enumsMap: { [key: string]: any[] } = { "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", + "obs_pipelines_vcpu_usage", + "obs_pipelines_vcpu_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", From 0132b06acdace3d0f47ba701054b6e7ffe69ba9e Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:40:35 +0000 Subject: [PATCH 33/41] Add support for new CRUD agent rules endpoints (#1545) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 184 ++++ .../frozen.json | 1 + .../recording.har | 67 ++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 2 +- .../recording.har | 18 +- .../frozen.json | 2 +- .../recording.har | 39 +- .../frozen.json | 1 + .../recording.har | 57 ++ .../frozen.json | 1 + .../recording.har | 152 ++++ .../frozen.json | 2 +- .../recording.har | 12 +- .../frozen.json | 2 +- .../recording.har | 55 +- .../frozen.json | 1 + .../recording.har | 57 ++ .../frozen.json | 1 + .../recording.har | 152 ++++ .../frozen.json | 2 +- .../recording.har | 14 +- .../frozen.json | 2 +- .../recording.har | 59 +- .../frozen.json | 1 + .../recording.har | 57 ++ .../frozen.json | 2 +- .../recording.har | 55 +- .../frozen.json | 1 + .../recording.har | 58 ++ .../frozen.json | 2 +- .../recording.har | 12 +- .../frozen.json | 1 + .../recording.har | 162 ++++ .../frozen.json | 1 + .../recording.har | 67 ++ .../frozen.json | 1 + .../recording.har | 162 ++++ .../frozen.json | 2 +- .../recording.har | 55 +- .../frozen.json | 2 +- .../recording.har | 14 +- .../frozen.json | 2 +- .../recording.har | 59 +- .../CreateCSMThreatsAgentRule.ts | 31 + .../DeleteCSMThreatsAgentRule.ts | 24 + .../DownloadCSMThreatsPolicy.ts | 17 + .../GetCSMThreatsAgentRule.ts | 24 + .../ListCSMThreatsAgentRules.ts | 17 + .../UpdateCSMThreatsAgentRule.ts | 35 + features/support/scenarios_model_mapping.ts | 114 ++- features/v2/cloud_workload_security.feature | 101 ++ features/v2/given.json | 12 + features/v2/undo.json | 43 + .../apis/CloudWorkloadSecurityApi.ts | 861 ++++++++++++++++-- packages/datadog-api-client-v2/index.ts | 6 + .../CloudWorkloadSecurityAgentRuleAction.ts | 61 ++ ...loudWorkloadSecurityAgentRuleAttributes.ts | 9 + .../CloudWorkloadSecurityAgentRuleKill.ts | 52 ++ ...loudWorkloadSecurityAgentRuleUpdateData.ts | 8 + .../models/ObjectSerializer.ts | 4 + 65 files changed, 2928 insertions(+), 318 deletions(-) create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/recording.har create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/frozen.json create mode 100644 cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/recording.har create mode 100644 examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.ts create mode 100644 examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.ts create mode 100644 examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.ts create mode 100644 examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.ts create mode 100644 examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.ts create mode 100644 examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.ts create mode 100644 packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.ts create mode 100644 packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleKill.ts diff --git a/.apigentools-info b/.apigentools-info index 8318c2536fbc..4bde54c3db4d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 17:19:33.694024", - "spec_repo_commit": "52e6d7fb" + "regenerated": "2024-03-08 14:49:41.084247", + "spec_repo_commit": "f5ed7e52" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-07 17:19:33.710260", - "spec_repo_commit": "52e6d7fb" + "regenerated": "2024-03-08 14:49:41.101800", + "spec_repo_commit": "f5ed7e52" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9201083ceb74..f4faf832a9fd 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3919,9 +3919,27 @@ components: type: string x-enum-varnames: - CLOUD_COST_ACTIVITY + CloudWorkloadSecurityAgentRuleAction: + description: The action the rule can perform if triggered. + properties: + filter: + description: SECL expression used to target the container to apply the action + on + type: string + kill: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleKill' + type: object + CloudWorkloadSecurityAgentRuleActions: + description: The array of actions the rule can perform if triggered. + items: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleAction' + nullable: true + type: array CloudWorkloadSecurityAgentRuleAttributes: description: A Cloud Workload Security Agent rule returned by the API. properties: + actions: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleActions' agentConstraint: description: The version of the agent. type: string @@ -4054,6 +4072,17 @@ components: type: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType' type: object + CloudWorkloadSecurityAgentRuleID: + description: The ID of the agent rule. + example: 3dd-0uc-h1s + type: string + CloudWorkloadSecurityAgentRuleKill: + description: Kill system call applied on the container matching the rule + properties: + signal: + description: Supported signals for the kill system call. + type: string + type: object CloudWorkloadSecurityAgentRuleResponse: description: Response object that includes an Agent rule. properties: @@ -4090,6 +4119,8 @@ components: properties: attributes: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateAttributes' + id: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleID' type: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleType' required: @@ -29582,6 +29613,154 @@ paths: We are gradually onboarding support for more sources. If you have any feedback, contact [Datadog Support](https://docs.datadoghq.com/help/).' + /api/v2/remote_config/products/cws/agent_rules: + get: + description: Get the list of Cloud Security Management Threats Agent rules. + operationId: ListCSMThreatsAgentRules + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse' + description: OK + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all CSM Threats Agent rules + tags: + - Cloud Workload Security + post: + description: Create a new Cloud Security Management Threats Agent rule with + the given parameters. + operationId: CreateCSMThreatsAgentRule + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest' + description: The definition of the new Agent rule. + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '409': + $ref: '#/components/responses/ConflictResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create a CSM Threats Agent rule + tags: + - Cloud Workload Security + x-codegen-request-body-name: body + /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}: + delete: + description: Delete a specific Cloud Security Management Threats Agent rule. + operationId: DeleteCSMThreatsAgentRule + parameters: + - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID' + responses: + '204': + description: OK + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete a CSM Threats Agent rule + tags: + - Cloud Workload Security + get: + description: Get the details of a specific Cloud Security Management Threats + Agent rule. + operationId: GetCSMThreatsAgentRule + parameters: + - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse' + description: OK + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get a CSM Threats Agent rule + tags: + - Cloud Workload Security + patch: + description: 'Update a specific Cloud Security Management Threats Agent rule. + + Returns the Agent rule object when the request is successful.' + operationId: UpdateCSMThreatsAgentRule + parameters: + - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest' + description: New definition of the Agent rule. + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '409': + $ref: '#/components/responses/ConcurrentModificationResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Update a CSM Threats Agent rule + tags: + - Cloud Workload Security + x-codegen-request-body-name: body + /api/v2/remote_config/products/cws/policy/download: + get: + description: 'The download endpoint generates a CSM Threats policy file from + your currently active + + CSM Threats rules, and downloads them as a `.policy` file. This file can then + be deployed to + + your Agents to update the policy running in your environment.' + operationId: DownloadCSMThreatsPolicy + responses: + '200': + content: + application/zip: + schema: + format: binary + type: string + description: OK + '403': + $ref: '#/components/responses/NotAuthorizedResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get the latest CSM Threats policy + tags: + - Cloud Workload Security /api/v2/restriction_policy/{resource_id}: delete: description: Deletes the restriction policy associated with a specified resource. @@ -34821,6 +35000,11 @@ tags: [Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more information. name: CI Visibility Tests +- 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/) + for more information on setting up CSM Threats. + name: CSM Threats - description: View and manage cases and projects within Case Management. See the [Case Management page](https://docs.datadoghq.com/service_management/case_management/) for more information. diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/frozen.json new file mode 100644 index 000000000000..92899e1aa179 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:01.846Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/recording.har new file mode 100644 index 000000000000..1540f5ccb85c --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_639435269/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Create a CSM Threats Agent rule returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a69f86145855ad31f75cec2b61dc38b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 149, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == sh\",\"name\":\"my_agent_rule\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 142, + "content": { + "mimeType": "application/json", + "size": 142, + "text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `my_agent_rule` error: rule compilation error: field `sh` not found)\"]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-03-08T14:19:01.854Z", + "time": 480 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/frozen.json new file mode 100644 index 000000000000..257c98d075c9 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/frozen.json @@ -0,0 +1 @@ +"2024-03-06T09:58:37.695Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/recording.har new file mode 100644 index 000000000000..b5622e00e3e1 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-Conflict-response_3890170597/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Create a CSM Threats Agent rule returns \"Conflict\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "8da2706dd366748c4c51b12b31462925", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 153, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 596, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"my_agent_rule\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 435, + "content": { + "mimeType": "application/json", + "size": 435, + "text": "{\"data\":{\"id\":\"8r4-bdz-7ma\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709719118032,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":null,\"name\":\"my_agent_rule\",\"updateDate\":1709719118032,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-06T09:58:37.698Z", + "time": 686 + }, + { + "_id": "c33d79407d6b56859d8a7df35f1c81a3", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 544, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/8r4-bdz-7ma" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 215, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-06T09:58:38.390Z", + "time": 561 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/frozen.json new file mode 100644 index 000000000000..0415c8fd1408 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:02.357Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/recording.har new file mode 100644 index 000000000000..f1ea6a24657c --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-CSM-Threats-Agent-rule-returns-OK-response_2579892377/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Create a CSM Threats Agent rule returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "8da2706dd366748c4c51b12b31462925", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 153, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"my_agent_rule\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 450, + "content": { + "mimeType": "application/json", + "size": 450, + "text": "{\"data\":{\"id\":\"zer-ow9-d4q\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907542607,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"my_agent_rule\",\"updateDate\":1709907542607,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:02.360Z", + "time": 785 + }, + { + "_id": "a6a178b7a011ecc98d0df557e83005ea", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/zer-ow9-d4q" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 196, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-08T14:19:03.151Z", + "time": 809 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/frozen.json index 69fc1bcf997b..4dfdb5e329bf 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/frozen.json @@ -1 +1 @@ -"2022-01-11T18:11:35.118Z" +"2024-03-08T14:19:03.967Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/recording.har index d8c2244f8d1d..f64b710aee06 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1665832305/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "b83bf54c5c6fd147cf68089d5491e83d", + "_id": "340747851736a6a3c615650548863cf1", "_order": 0, "cache": {}, "request": { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 542, + "headersSize": 626, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"open.file.path = sh\",\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsbadrequestresponse1641924695\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"open.file.path = sh\",\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsbadrequestresponse1709907543\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 232, + "bodySize": 223, "content": { "mimeType": "application/json", - "size": 232, - "text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `testcreateacloudworkloadsecurityagentrulereturnsbadrequestresponse1641924695` definition error: syntax error: 1:18: unexpected token \\\"sh\\\" (expected \\\"~\\\"))\"]}" + "size": 223, + "text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `testcreateacloudworkloadsecurityagentrulereturnsbadrequestresponse1709907543` error: syntax error `1:18: unexpected token \\\"sh\\\" (expected \\\"~\\\")`)\"]}\n" }, "cookies": [], "headers": [ @@ -51,14 +51,14 @@ "value": "application/json" } ], - "headersSize": 520, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2022-01-11T18:11:35.137Z", - "time": 516 + "startedDateTime": "2024-03-08T14:19:03.977Z", + "time": 367 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/frozen.json index 1d444405c1cd..6415fa7f5df3 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:20.359Z" +"2024-03-08T14:19:04.358Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/recording.har index a6b444fd1895..edc868ab5c12 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Create-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_1837785469/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "76d982cc8f5dcff0c7022bf62c803117", + "_id": "62e18ac87be2b3c32f9c92af75829ee9", "_order": 0, "cache": {}, "request": { @@ -32,36 +32,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsokresponse1652349080\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsokresponse1709907544\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 455, + "bodySize": 672, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 455, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsokresponse1652349080\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"Test Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349080821,\"creationDate\":1652349080821,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"qb1-cn9-jwq\"}}" + "mimeType": "application/json", + "size": 672, + "text": "{\"data\":{\"id\":\"svr-luf-gzy\",\"attributes\":{\"version\":1,\"name\":\"testcreateacloudworkloadsecurityagentrulereturnsokresponse1709907544\",\"description\":\"Test Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907544744,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907544744,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 714, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:20.362Z", - "time": 490 + "startedDateTime": "2024-03-08T14:19:04.366Z", + "time": 524 }, { - "_id": "19f31fc0a82606c91642eca4c0d035c6", + "_id": "5a425351421ad6da45998b0c6e369a05", "_order": 0, "cache": {}, "request": { @@ -78,29 +78,24 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/qb1-cn9-jwq" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/svr-luf-gzy" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:20.857Z", - "time": 476 + "startedDateTime": "2024-03-08T14:19:04.899Z", + "time": 432 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/frozen.json new file mode 100644 index 000000000000..d0e990dbae5b --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:05.335Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/recording.har new file mode 100644 index 000000000000..1bce5504d5e3 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-Not-Found-response_199236585/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Delete a CSM Threats Agent rule returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "ceb83d3d046b71c142fb4beb5c1fae4a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/abc-123-xyz" + }, + "response": { + "bodySize": 47, + "content": { + "mimeType": "application/json", + "size": 47, + "text": "{\"errors\":[{\"title\":\"failed to delete rule\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 216, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-08T14:19:05.336Z", + "time": 358 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/frozen.json new file mode 100644 index 000000000000..0d7a868c2093 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:05.699Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/recording.har new file mode 100644 index 000000000000..f92abd250544 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-CSM-Threats-Agent-rule-returns-OK-response_3600969032/recording.har @@ -0,0 +1,152 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Delete a CSM Threats Agent rule returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "e22d08c23b768ba353b4c16bf8a256c0", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 197, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteacsmthreatsagentrulereturnsokresponse1709907545\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 494, + "content": { + "mimeType": "application/json", + "size": 494, + "text": "{\"data\":{\"id\":\"e19-wln-ypy\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907546083,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testdeleteacsmthreatsagentrulereturnsokresponse1709907545\",\"updateDate\":1709907546083,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:05.700Z", + "time": 831 + }, + { + "_id": "d705aa4ff4cab83442a164fd13900bb3", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/e19-wln-ypy" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 196, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-08T14:19:06.541Z", + "time": 629 + }, + { + "_id": "d705aa4ff4cab83442a164fd13900bb3", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/e19-wln-ypy" + }, + "response": { + "bodySize": 47, + "content": { + "mimeType": "application/json", + "size": 47, + "text": "{\"errors\":[{\"title\":\"failed to delete rule\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 216, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-08T14:19:07.174Z", + "time": 397 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/frozen.json index 0d1f50046b88..bb2a5d377551 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:21.337Z" +"2024-03-08T14:19:07.580Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/recording.har index edb38fa814c2..7801ca1ea2ae 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1845725353/recording.har @@ -28,11 +28,11 @@ "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/abc-123-xyz" }, "response": { - "bodySize": 71, + "bodySize": 72, "content": { "mimeType": "application/json", - "size": 71, - "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}" + "size": 72, + "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}\n" }, "cookies": [], "headers": [ @@ -41,14 +41,14 @@ "value": "application/json" } ], - "headersSize": 669, + "headersSize": 653, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2022-05-12T09:51:21.338Z", - "time": 425 + "startedDateTime": "2024-03-08T14:19:07.585Z", + "time": 326 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/frozen.json index e28e4c1baa80..c40a3e481238 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:21.769Z" +"2024-03-08T14:19:07.919Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/recording.har index da1d98299323..781e288574fa 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Delete-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_3551434632/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "6e87d760e43e8c51a9d16f91005fdd6a", + "_id": "fc5ac68ce2a229f20648474e9f1bb6b6", "_order": 0, "cache": {}, "request": { @@ -32,36 +32,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteacloudworkloadsecurityagentrulereturnsokresponse1652349081\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testdeleteacloudworkloadsecurityagentrulereturnsokresponse1709907547\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 453, + "bodySize": 670, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 453, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testdeleteacloudworkloadsecurityagentrulereturnsokresponse1652349081\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349082186,\"creationDate\":1652349082186,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"hqy-ez4-nci\"}}" + "mimeType": "application/json", + "size": 670, + "text": "{\"data\":{\"id\":\"bo0-5k6-vtc\",\"attributes\":{\"version\":1,\"name\":\"testdeleteacloudworkloadsecurityagentrulereturnsokresponse1709907547\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907548216,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907548216,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:21.770Z", - "time": 446 + "startedDateTime": "2024-03-08T14:19:07.921Z", + "time": 368 }, { - "_id": "b26622c9ceef512d501b28500262f7f7", + "_id": "34ad6efe99515a382b03b6ed479f71b7", "_order": 0, "cache": {}, "request": { @@ -78,32 +78,27 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/hqy-ez4-nci" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/bo0-5k6-vtc" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:22.220Z", - "time": 437 + "startedDateTime": "2024-03-08T14:19:08.297Z", + "time": 441 }, { - "_id": "b26622c9ceef512d501b28500262f7f7", + "_id": "34ad6efe99515a382b03b6ed479f71b7", "_order": 1, "cache": {}, "request": { @@ -120,14 +115,14 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/hqy-ez4-nci" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/bo0-5k6-vtc" }, "response": { - "bodySize": 71, + "bodySize": 72, "content": { "mimeType": "application/json", - "size": 71, - "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=hqy-ez4-nci)\"]}" + "size": 72, + "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=bo0-5k6-vtc)\"]}\n" }, "cookies": [], "headers": [ @@ -136,14 +131,14 @@ "value": "application/json" } ], - "headersSize": 669, + "headersSize": 653, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2022-05-12T09:51:22.661Z", - "time": 454 + "startedDateTime": "2024-03-08T14:19:08.745Z", + "time": 437 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/frozen.json new file mode 100644 index 000000000000..b39de917aa48 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:09.189Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/recording.har new file mode 100644 index 000000000000..ab6d74bcf86c --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-Not-Found-response_460743364/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Get a CSM Threats Agent rule returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "5ff31f6e152f01dc8f2248d2ff5fd80d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 553, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/abc-123-xyz" + }, + "response": { + "bodySize": 44, + "content": { + "mimeType": "application/json", + "size": 44, + "text": "{\"errors\":[{\"title\":\"failed to get rule\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 216, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-08T14:19:09.192Z", + "time": 388 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/frozen.json new file mode 100644 index 000000000000..711c6ad92580 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:09.586Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/recording.har new file mode 100644 index 000000000000..b95de8d1f764 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-CSM-Threats-Agent-rule-returns-OK-response_3077375687/recording.har @@ -0,0 +1,152 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Get a CSM Threats Agent rule returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "c58c232f4f8e1fb60b884744cd13ed40", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 194, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetacsmthreatsagentrulereturnsokresponse1709907549\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 491, + "content": { + "mimeType": "application/json", + "size": 491, + "text": "{\"data\":{\"id\":\"hod-pqw-spq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907549922,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testgetacsmthreatsagentrulereturnsokresponse1709907549\",\"updateDate\":1709907549922,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:09.590Z", + "time": 725 + }, + { + "_id": "aa7074ee7e1ea75700497c117f38f40f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 553, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/hod-pqw-spq" + }, + "response": { + "bodySize": 491, + "content": { + "mimeType": "application/json", + "size": 491, + "text": "{\"data\":{\"id\":\"hod-pqw-spq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907549000,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testgetacsmthreatsagentrulereturnsokresponse1709907549\",\"updateDate\":1709907549000,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:10.320Z", + "time": 400 + }, + { + "_id": "9f5eba054fe91d367bd4d19dea83e4a2", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/hod-pqw-spq" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 196, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-08T14:19:10.728Z", + "time": 688 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/frozen.json index ea1abe574319..eeab8d7a5c97 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/frozen.json @@ -1 +1 @@ -"2022-01-11T18:11:38.248Z" +"2024-03-08T14:19:11.425Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/recording.har index c587e0bc2ca8..d746ca46cfff 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_1248940224/recording.har @@ -21,18 +21,18 @@ "value": "application/json" } ], - "headersSize": 497, + "headersSize": 581, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/abc-123-xyz" }, "response": { - "bodySize": 71, + "bodySize": 72, "content": { "mimeType": "application/json", - "size": 71, - "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}" + "size": 72, + "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}\n" }, "cookies": [], "headers": [ @@ -41,14 +41,14 @@ "value": "application/json" } ], - "headersSize": 519, + "headersSize": 653, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2022-01-11T18:11:38.250Z", - "time": 356 + "startedDateTime": "2024-03-08T14:19:11.432Z", + "time": 323 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/frozen.json index 8921313caa0e..93b2eb9a96ea 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:23.120Z" +"2024-03-08T14:19:11.763Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/recording.har index 4d69f0e145d8..fe707cd6c253 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_4051595395/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "86758ad98c5952754913efcc94308b96", + "_id": "d3c5890ee7f556a4819987a28329b7cc", "_order": 0, "cache": {}, "request": { @@ -32,36 +32,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1652349083\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1709907551\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 450, + "bodySize": 667, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 450, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1652349083\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349083546,\"creationDate\":1652349083546,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"xnm-bjf-tfb\"}}" + "mimeType": "application/json", + "size": 667, + "text": "{\"data\":{\"id\":\"ynn-umb-rss\",\"attributes\":{\"version\":1,\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1709907551\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907552061,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907552061,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:23.121Z", - "time": 453 + "startedDateTime": "2024-03-08T14:19:11.766Z", + "time": 368 }, { - "_id": "85a61811cce9371b6c68fe0882a104e0", + "_id": "0021bb7d28d990f3e05f1f215de72a90", "_order": 0, "cache": {}, "request": { @@ -78,33 +78,33 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/xnm-bjf-tfb" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ynn-umb-rss" }, "response": { - "bodySize": 450, + "bodySize": 667, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 450, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1652349083\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349083546,\"creationDate\":1652349083546,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"xnm-bjf-tfb\"}}" + "mimeType": "application/json", + "size": 667, + "text": "{\"data\":{\"id\":\"ynn-umb-rss\",\"attributes\":{\"version\":1,\"name\":\"testgetacloudworkloadsecurityagentrulereturnsokresponse1709907551\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907552061,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907552061,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:23.579Z", - "time": 444 + "startedDateTime": "2024-03-08T14:19:12.140Z", + "time": 322 }, { - "_id": "6ad0b7754a78c8476c2dd9f9497872c6", + "_id": "e31f7420d376822656db42842025ce16", "_order": 0, "cache": {}, "request": { @@ -121,29 +121,24 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/xnm-bjf-tfb" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ynn-umb-rss" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:24.027Z", - "time": 469 + "startedDateTime": "2024-03-08T14:19:12.467Z", + "time": 340 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/frozen.json new file mode 100644 index 000000000000..563c9cfcd843 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:12.809Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/recording.har new file mode 100644 index 000000000000..561de8b6d743 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-CSM-Threats-Agent-rules-returns-OK-response_2462152744/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Get all CSM Threats Agent rules returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "2da002574c58958d10ba4d08ee0f8e54", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 543, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 152040, + "content": { + "mimeType": "application/json", + "size": 152040, + "text": "{\"data\":[{\"id\":\"cwq-z6j-igp\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1691743022000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"Unauthorized network access by deno runtime\",\"enabled\":true,\"expression\":\"bind.addr.family\\u003e=0 \\u0026\\u0026 process.comm==\\\"deno\\\" \\u0026\\u0026 process.args not in [r\\\".*(allow-net|allow-ffi|-A|allow-all).*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"Deno_unauthorized_network_access_performed\",\"updateDate\":1698239523000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"lsi-6pb-7th\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1691743022000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"Unauthorized filesystem read by deno runtime\",\"enabled\":false,\"expression\":\"process.comm==\\\"deno\\\" \\u0026\\u0026 open.flags==524288 \\u0026\\u0026 open.file.name not in process.argv \\u0026\\u0026 process.args not in [r\\\".*(allow-read|-A|allow-all).*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"Deno_unauthorized_read_executed\",\"updateDate\":1698237510000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"mal-nic-u3y\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1691743022000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"Unauthorized subprocess created by deno runtime\",\"enabled\":true,\"expression\":\"exec.comm !=\\\"\\\" \\u0026\\u0026 process.ancestors.comm==\\\"deno\\\" \\u0026\\u0026 process.ancestors.args not in [r\\\".*(allow-run|-A|allow-all).*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"Deno_unauthorized_subprocess_created\",\"updateDate\":1698239525000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"q17-vsb-c4k\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1691743022000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"Unauthorized filesystem write by deno runtime\",\"enabled\":false,\"expression\":\"process.comm==\\\"deno\\\" \\u0026\\u0026 open.flags \\u00261==1 \\u0026\\u0026 process.args not in [r\\\".*(allow-write|-A|allow-all).*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"Deno_unauthorized_write_executed\",\"updateDate\":1698237513000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"qp4-oog-vwu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1682687626000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"A shell command was executed from a JupyterHub code cell\",\"enabled\":true,\"expression\":\"exec.file.path == \\\"/usr/bin/bash\\\" \\u0026\\u0026 process.ancestors.comm == \\\"jupyterhub-sing\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"jupyterhub_shell\",\"updateDate\":1698238456000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"doi-13m-kzx\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1688462439000,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"defaultRule\":false,\"description\":\"Kubernetes offensive tool executed\",\"enabled\":true,\"expression\":\"(exec.file.name in [ ~\\\"python*\\\" ] \\u0026\\u0026 (\\\"KubiScan.py\\\" in exec.argv || \\\"kubestriker\\\" in exec.argv )) || exec.file.name in [\\\"kubiscan\\\",\\\"kdigger\\\",\\\"kube-hunter\\\",\\\"rakkess\\\",\\\"peirates\\\",\\\"kubescape\\\",\\\"kubeaudit\\\",\\\"kube-linter\\\",\\\"stratus\\\",~\\\"botb-*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kubernetes_offensive_tool_executed\",\"updateDate\":1698238459000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"p24-io5-dv2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1702898544000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"iptables used to allow egress traffic\",\"enabled\":true,\"expression\":\"exec.comm == \\\"iptables\\\" \\u0026\\u0026 process.args in [r\\\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}.*ACCEPT\\\"] \\u0026\\u0026 process.args not in [r\\\"(127\\\\.)|(10\\\\.)|(172\\\\.1[6-9]\\\\.)|(172\\\\.2[0-9]\\\\.)|(^172\\\\.3[0-1]\\\\.)|(192\\\\.168\\\\.)|(169\\\\.254\\\\.)\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_egress_traffic_allowed_iptables\",\"updateDate\":1702898544000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"wy7-3ug-3k7\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1702898570000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Multiple files with extensions created under common user directories\",\"enabled\":true,\"expression\":\"rename.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/*\\\", ~\\\"/var/www/**\\\"] \\u0026\\u0026 rename.file.destination.name in [r\\\"\\\\.[0-9a-z]+$\\\"] \\u0026\\u0026 rename.file.destination.name not in [r\\\".*\\\\.(lock|dbtmp|log|journal|ini|sh|json|yml|tmp|snap|txt|pyc|stat|hcl|[0-9])+$\\\"] \\u0026\\u0026 process.comm not in [\\\"python\\\",\\\"python3\\\",\\\"agent\\\",\\\"security-agent\\\",\\\"kubectl\\\",\\\"kubelet\\\",\\\"datadog-cluster\\\",\\\"postgres\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_files_with_extensions_created\",\"updateDate\":1703590999000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"s7a-oly-ndz\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1702898596000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Kernel module loaded from common tmp directories\",\"enabled\":true,\"expression\":\"load_module.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\" ]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_kernel_module_loaded_from_tmp\",\"updateDate\":1702898596000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"wvn-ega-hae\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1702898618000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Libpam.so library hooked using ebpf\",\"enabled\":true,\"expression\":\"bpf.cmd == BPF_MAP_CREATE \\u0026\\u0026 process.args in [r\\\".*libpam.so.*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_libpam_hooked_using_ebpf\",\"updateDate\":1702898618000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"aie-5ua-pqh\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1702898642000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"A process is tracing privileged processes or sshd for possible credential dumping\",\"enabled\":true,\"expression\":\"((ptrace.tracee.euid==0 \\u0026\\u0026 ptrace.tracee.uid ==0)||ptrace.tracee.comm in [~\\\"*sshd*\\\"]) \\u0026\\u0026 process.comm not in [\\\"dlv\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_privileged_processes_or_sshd_traced\",\"updateDate\":1702898642000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"46g-4uu-8q2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1702898821000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Proxychaining technique used\",\"enabled\":true,\"expression\":\"exec.comm == \\\"proxychains\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_proxychains_executed\",\"updateDate\":1702898821000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"yyy-5go-xpw\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1702898856000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"A possible ransomware note created under common user directories\",\"enabled\":true,\"expression\":\"open.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/opt/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/**\\\", ~\\\"/var/www/**\\\"] \\u0026\\u0026 open.file.name in [r\\\".*(restore|recovery|readme|instruction|how_to|ransom).*\\\", r\\\".*(your_|crypt|lock|important).*\\\\.txt$\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_ransomware_notes_written\",\"updateDate\":1709907009000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"vdn-l8j-9h1\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1702898880000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"A process deleted common system log files\",\"enabled\":true,\"expression\":\"unlink.file.path in [\\\"/var/run/utmp\\\", \\\"/var/log/wtmp\\\", \\\"/var/log/btmp\\\", \\\"/var/log/lastlog\\\", \\\"/var/log/faillog\\\", \\\"/var/log/syslog\\\", \\\"/var/log/messages\\\", \\\"/var/log/secure\\\", \\\"/var/log/auth.log\\\", \\\"/var/log/boot.log\\\", \\\"/var/log/kern.log\\\"] \\u0026\\u0026 process.comm !=\\\"dockerd\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_system_logs_deleted\",\"updateDate\":1702898880000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"ofh-ne6-jcq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1702898912000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Tunneling and port forwarding tool used\",\"enabled\":true,\"expression\":\"((exec.comm == \\\"pivotnacci\\\" || exec.comm == \\\"gost\\\") \\u0026\\u0026 process.args in [r\\\".*(-L|-C|-R).*\\\"])||(exec.comm in [\\\"ssh\\\", \\\"sshd\\\"] \\u0026\\u0026 process.args in [r\\\".*(-R|-L|-D|w).*\\\"] \\u0026\\u0026 process.args in [r\\\"((25[0-5]|(2[0-4]|1\\\\d|[1-9])\\\\d)\\\\.?\\\\b){4}\\\"] ) || (exec.comm == \\\"sshuttle\\\" \\u0026\\u0026 process.args in [r\\\".*(-r|--remote|-l|--listen).*\\\"]) || (exec.comm == \\\"socat\\\" \\u0026\\u0026 process.args in [r\\\".*(TCP4-LISTEN:|SOCKS).*\\\"]) || (exec.comm in [\\\"iodine\\\", \\\"iodined\\\", \\\"dnscat\\\", \\\"hans\\\", \\\"hans-ubuntu\\\", \\\"ptunnel-ng\\\", \\\"ssf\\\", \\\"3proxy\\\", \\\"ngrok\\\"] \\u0026\\u0026 process.parent.comm in [\\\"bash\\\", \\\"dash\\\", \\\"ash\\\", \\\"sh\\\", \\\"tcsh\\\", \\\"csh\\\", \\\"zsh\\\", \\\"ksh\\\", \\\"fish\\\"])\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_malware_tunneling_and_port_forwarding_technique_used\",\"updateDate\":1702898912000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"7nc-c8z-od7\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707330428000,\"creator\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"},\"defaultRule\":false,\"description\":\"nsenter used in container to execute code on the OS PID1\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"nsenter\\\" \\u0026\\u0026 exec.args_options in [\\\"target=1\\\", \\\"t=1\\\"] \\u0026\\u0026 container.id !=\\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_nsenter_pid1_detection\",\"updateDate\":1707330428000,\"updater\":{\"name\":\"Juvenal Araujo\",\"handle\":\"juvenal.araujo@datadoghq.com\"}}},{\"id\":\"vui-e82-jrw\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1705501135000,\"creator\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Connection to red team domain\",\"enabled\":true,\"expression\":\"dns.question.name in [~\\\"*.interact.sh\\\" , ~\\\"*.oast.pro\\\" , ~\\\"*.oast.live\\\" , ~\\\"*.oast.site\\\" , ~\\\"*.oast.online\\\" , ~\\\"*.oast.fun\\\" , ~\\\"*.oast.me\\\" , ~\\\"*.burpcollaborator.net\\\" , ~\\\"*.oastify.com\\\" , ~\\\"*canarytokens.com\\\" , ~\\\"*.requestbin.net\\\" , ~\\\"*.dnslog.cn\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tde_red_team_domains_used\",\"updateDate\":1705501135000,\"updater\":{\"name\":\"Ahmed Mkadem\",\"handle\":\"ahmed.mkadem@datadoghq.com\"}}},{\"id\":\"7ts-208-rn4\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An AppArmor profile was modified in an interactive session\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"aa-disable\\\", \\\"aa-complain\\\", \\\"aa-audit\\\"] \\u0026\\u0026 exec.tty_name !=\\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"apparmor_modified_tty\",\"updateDate\":1708708314000,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}},{\"id\":\"def-000-7m7\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The auditctl command was used to modify auditd\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"auditctl\\\" \\u0026\\u0026 exec.args_flags not in [\\\"s\\\", \\\"l\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"auditctl_usage\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-ly8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The auditd configuration file was modified without using auditctl\",\"enabled\":true,\"expression\":\"open.file.path == \\\"/etc/audit/auditd.conf\\\" \\u0026\\u0026 open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 process.file.name != \\\"auditctl\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"auditd_config_modified\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-ehx\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The auditd rules file was modified without using auditctl\",\"enabled\":true,\"expression\":\"open.file.path in [\\\"/etc/audit/rules.d/audit.rules\\\", \\\"/etc/audit/audit.rules\\\"] \\u0026\\u0026 open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 process.file.name != \\\"auditctl\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"auditd_rule_file_modified\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"9f3-haw-91q\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The AWS EKS service account token was accessed\",\"enabled\":true,\"expression\":\"open.file.path =~ \\\"/var/run/secrets/eks.amazonaws.com/serviceaccount/**\\\" \\u0026\\u0026 open.file.name == \\\"token\\\" \\u0026\\u0026 process.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"aws_eks_service_account_token_accessed\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wgv-wsb-pse\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An AWS IMDS was called via a network utility\",\"enabled\":true,\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] \\u0026\\u0026 exec.args in [~\\\"*169.254.169.254/latest/meta-data/iam/security-credentials/*\\\", \\\"*169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\\\", ~\\\"*169.254.170.2/*/credentials?id=*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"aws_imds\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"c2g-31u-jpk\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An Azure IMDS was called via a network utility\",\"enabled\":true,\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] \\u0026\\u0026 exec.args in [~\\\"*169.254.169.254/metadata/identity/oauth2/token?api-version=*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"azure_imds\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-a41\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The base64 command was used to decode information\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"base64\\\" \\u0026\\u0026 exec.args_flags in [\\\"d\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"base64_decode\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-4tl\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Certutil was executed to transmit or decode a potentially malicious file\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"certutil.exe\\\" \\u0026\\u0026 ((exec.cmdline =~ \\\"*urlcache*\\\" \\u0026\\u0026 exec.cmdline =~ \\\"*split*\\\") || exec.cmdline =~ \\\"*decode*\\\")\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"certutil_usage\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-nin\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A newly created file contacted a chatroom domain\",\"enabled\":true,\"expression\":\"dns.question.name in [\\\"discord.com\\\", \\\"api.telegram.org\\\", \\\"cdn.discordapp.com\\\"] \\u0026\\u0026 process.file.in_upper_layer \\u0026\\u0026 process.file.change_time \\u003c 60s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"chatroom_request\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"647-nlb-uld\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A network utility (nmap) commonly used in intrusion attacks was executed\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"nmap\\\", \\\"masscan\\\", \\\"fping\\\", \\\"zgrab\\\", \\\"zgrab2\\\", \\\"rustscan\\\", \\\"pnscan\\\"] \\u0026\\u0026 exec.args_flags not in [\\\"V\\\", \\\"version\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"common_net_intrusion_util\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"smg-le8-msf\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A compiler wrote a suspicious file in a container\",\"enabled\":true,\"expression\":\"open.flags \\u0026 O_CREAT \\u003e 0\\n\\u0026\\u0026 (\\n (open.file.path =~ \\\"/tmp/**\\\" \\u0026\\u0026 open.file.name in [~\\\"*.ko\\\", ~\\\".*\\\"])\\n || open.file.path in [~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\", ~\\\"/root/**\\\", ~\\\"*/bin/*\\\", ~\\\"/usr/local/lib/**\\\"]\\n)\\n\\u0026\\u0026 (process.comm in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"] || process.ancestors.comm in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"])\\n\\u0026\\u0026 process.file.name not in [\\\"pip\\\", ~\\\"python*\\\"]\\n\\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"compile_after_delivery\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ehh-ypb-9pl\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A compiler was executed inside of a container\",\"enabled\":true,\"expression\":\"(exec.file.name in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"] || (exec.file.name == \\\"go\\\" \\u0026\\u0026 exec.args in [~\\\"*build*\\\", ~\\\"*run*\\\"])) \\u0026\\u0026 container.id !=\\\"\\\" \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/cilium-agent\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"compiler_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-u7b\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Known offensive tool crackmap exec executed\",\"enabled\":true,\"expression\":\"exec.cmdline in [~\\\"*crackmapexec*\\\", ~\\\"*cme*\\\"]\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"crackmap_exec_executed\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"s9m-foq-qqz\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"td2-31c-ln4\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"lli-czr-q4y\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || link.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-3b9\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 ((O_CREAT|O_RDWR|O_WRONLY|O_TRUNC)) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_open_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"0yj-grp-cmx\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"q08-c9l-rsp\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"kv9-026-vhz\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"credential_modified_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ogb-clp-hot\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wnk-nli-nbp\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"mcv-y5o-zg5\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ]\\n || link.file.destination.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"uis-h13-41q\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"xa1-b6v-n2l\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ]\\n || rename.file.destination.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"m23-qb9-9s8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"4mx-n6o-mmb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An unauthorized job was added to cron scheduling\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n \\u0026\\u0026 process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cron_at_job_creation_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"jr3-0m8-jlj\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process launched with arguments associated with cryptominers\",\"enabled\":true,\"expression\":\"exec.args_flags in [\\\"cpu-priority\\\", \\\"donate-level\\\", ~\\\"randomx-1gb-pages\\\"] || exec.args in [~\\\"*stratum+tcp*\\\", ~\\\"*stratum+ssl*\\\", ~\\\"*stratum1+tcp*\\\", ~\\\"*stratum1+ssl*\\\", ~\\\"*stratum2+tcp*\\\", ~\\\"*stratum2+ssl*\\\", ~\\\"*nicehash*\\\", ~\\\"*yespower*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cryptominer_args\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-6jw\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Process environment variables match cryptocurrency miner\",\"enabled\":true,\"expression\":\"exec.envs in [\\\"POOL_USER\\\", \\\"POOL_URL\\\", \\\"POOL_PASS\\\", \\\"DONATE_LEVEL\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"cryptominer_envs\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-h1x\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The Docker socket was referenced in a cURL command\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"curl\\\" \\u0026\\u0026 exec.args_flags in [\\\"unix-socket\\\"] \\u0026\\u0026 exec.args in [\\\"*docker.sock*\\\"] \\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"curl_docker_socket\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"mq1-y7n-kf2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A database application spawned a shell, shell utility, or HTTP utility\",\"enabled\":true,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) \\u0026\\u0026\\nprocess.parent.file.name in [\\\"mysqld\\\", \\\"mongod\\\", \\\"postgres\\\"] \\u0026\\u0026\\n!(process.parent.file.name == \\\"initdb\\\" \\u0026\\u0026\\nexec.args == \\\"-c locale -a\\\") \\u0026\\u0026\\n!(process.parent.file.name == \\\"postgres\\\" \\u0026\\u0026\\nexec.args == ~\\\"*pg_wal*\\\")\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"database_shell_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-u1r\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process deleted common system log files\",\"enabled\":true,\"expression\":\"unlink.file.path in [\\\"/var/run/utmp\\\", \\\"/var/log/wtmp\\\", \\\"/var/log/btmp\\\", \\\"/var/log/lastlog\\\", \\\"/var/log/faillog\\\", \\\"/var/log/syslog\\\", \\\"/var/log/messages\\\", \\\"/var/log/secure\\\", \\\"/var/log/auth.log\\\", \\\"/var/log/boot.log\\\", \\\"/var/log/kern.log\\\"] \\u0026\\u0026 process.comm not in [\\\"dockerd\\\", \\\"containerd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"delete_system_log\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-juz\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A privileged container was created\",\"enabled\":true,\"expression\":\"exec.file.name != \\\"\\\" \\u0026\\u0026 container.created_at \\u003c 1s \\u0026\\u0026 process.cap_permitted \\u0026 CAP_SYS_ADMIN \\u003e 0\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"deploy_priv_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"sej-11b-ey6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Potential Dirty pipe exploitation attempt\",\"enabled\":true,\"expression\":\"(splice.pipe_entry_flag \\u0026 PIPE_BUF_FLAG_CAN_MERGE) != 0 \\u0026\\u0026 (splice.pipe_exit_flag \\u0026 PIPE_BUF_FLAG_CAN_MERGE) == 0 \\u0026\\u0026 (process.uid != 0 \\u0026\\u0026 process.gid != 0)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"dirty_pipe_attempt\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"422-svi-03v\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Potential Dirty pipe exploitation\",\"enabled\":true,\"expression\":\"(splice.pipe_exit_flag \\u0026 PIPE_BUF_FLAG_CAN_MERGE) \\u003e 0 \\u0026\\u0026 (process.uid != 0 \\u0026\\u0026 process.gid != 0)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"dirty_pipe_exploitation\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"2rq-drz-11u\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process unlinked a dynamic linker config file\",\"enabled\":true,\"expression\":\"unlink.file.path in [\\\"/etc/ld.so.preload\\\", \\\"/etc/ld.so.conf\\\", ~\\\"/etc/ld.so.conf.d/*.conf\\\"] \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"dynamic_linker_config_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"2s5-ipa-ooo\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process wrote to a dynamic linker config file\",\"enabled\":true,\"expression\":\"open.file.path in [\\\"/etc/ld.so.preload\\\", \\\"/etc/ld.so.conf\\\", \\\"/etc/ld.so.conf.d/*.conf\\\"] \\u0026\\u0026 open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"] \\u0026\\u0026 process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"dynamic_linker_config_write\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-4xu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Kernel modules were listed using the lsmod command\",\"enabled\":true,\"expression\":\"exec.comm == \\\"lsmod\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"exec_lsmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-fqm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The whoami command was executed\",\"enabled\":true,\"expression\":\"exec.comm == \\\"whoami\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"exec_whoami\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-ev8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The wrmsr program executed\",\"enabled\":true,\"expression\":\"exec.comm == \\\"wrmsr\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"exec_wrmsr\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-bus\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The executable bit was added to a newly created file\",\"enabled\":true,\"expression\":\"chmod.file.in_upper_layer \\u0026\\u0026\\nchmod.file.change_time \\u003c 30s \\u0026\\u0026\\ncontainer.id != \\\"\\\" \\u0026\\u0026\\nchmod.file.destination.mode != chmod.file.mode \\u0026\\u0026\\nchmod.file.destination.mode \\u0026 S_IXUSR|S_IXGRP|S_IXOTH \\u003e 0 \\u0026\\u0026\\nprocess.argv in [\\\"+x\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"executable_bit_added\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ro4-rju-1vq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An GCP IMDS was called via a network utility\",\"enabled\":true,\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] \\u0026\\u0026 exec.args in [~\\\"*metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token\\\", ~\\\"*169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"gcp_imds\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-bgf\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A hidden file was executed in a suspicious folder\",\"enabled\":true,\"expression\":\"exec.file.name =~ \\\".*\\\" \\u0026\\u0026 exec.file.path in [~\\\"/home/**\\\", ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"hidden_file_executed\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"jeh-18e-m9h\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"An interactive shell was started inside of a container\",\"enabled\":true,\"expression\":\"exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] \\u0026\\u0026 exec.args_flags in [\\\"i\\\"] \\u0026\\u0026 container.id !=\\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"interactive_shell_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"4ov-ang-2gx\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A DNS lookup was done for a IP check service\",\"enabled\":true,\"expression\":\"dns.question.name in [\\\"icanhazip.com\\\", \\\"ip-api.com\\\", \\\"myip.opendns.com\\\", \\\"checkip.amazonaws.com\\\", \\\"whatismyip.akamai.com\\\"] \\u0026\\u0026 process.file.name != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ip_check_domain\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-88h\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Egress traffic allowed using iptables\",\"enabled\":true,\"expression\":\"exec.comm == \\\"iptables\\\" \\u0026\\u0026 process.args in [r\\\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}.*ACCEPT\\\"] \\u0026\\u0026 process.args not in [r\\\"(127\\\\.)|(10\\\\.)|(172\\\\.1[6-9]\\\\.)|(172\\\\.2[0-9]\\\\.)|(^172\\\\.3[0-1]\\\\.)|(192\\\\.168\\\\.)|(169\\\\.254\\\\.)\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"iptables_egress_allowed\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-but\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A java process spawned a shell, shell utility, or HTTP utility\",\"enabled\":true,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"])\\n\\u0026\\u0026 process.parent.file.name == \\\"java\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"java_shell_execution_parent\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-mfu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A Jupyter notebook executed a shell\",\"enabled\":true,\"expression\":\"(exec.file.name in [\\\"cat\\\",\\\"chgrp\\\",\\\"chmod\\\",\\\"chown\\\",\\\"cp\\\",\\\"date\\\",\\\"dd\\\",\\\"df\\\",\\\"dir\\\",\\\"echo\\\",\\\"ln\\\",\\\"ls\\\",\\\"mkdir\\\",\\\"mknod\\\",\\\"mktemp\\\",\\\"mv\\\",\\\"pwd\\\",\\\"readlink\\\",\\\"rm\\\",\\\"rmdir\\\",\\\"sleep\\\",\\\"stty\\\",\\\"sync\\\",\\\"touch\\\",\\\"uname\\\",\\\"vdir\\\",\\\"arch\\\",\\\"b2sum\\\",\\\"base32\\\",\\\"base64\\\",\\\"basename\\\",\\\"chcon\\\",\\\"cksum\\\",\\\"comm\\\",\\\"csplit\\\",\\\"cut\\\",\\\"dircolors\\\",\\\"dirname\\\",\\\"du\\\",\\\"env\\\",\\\"expand\\\",\\\"expr\\\",\\\"factor\\\",\\\"fmt\\\",\\\"fold\\\",\\\"groups\\\",\\\"head\\\",\\\"hostid\\\",\\\"id\\\",\\\"install\\\",\\\"join\\\",\\\"link\\\",\\\"logname\\\",\\\"md5sum\\\",\\\"textutils\\\",\\\"mkfifo\\\",\\\"nice\\\",\\\"nl\\\",\\\"nohup\\\",\\\"nproc\\\",\\\"numfmt\\\",\\\"od\\\",\\\"paste\\\",\\\"pathchk\\\",\\\"pinky\\\",\\\"pr\\\",\\\"printenv\\\",\\\"printf\\\",\\\"ptx\\\",\\\"realpath\\\",\\\"runcon\\\",\\\"seq\\\",\\\"sha1sum\\\",\\\"sha224sum\\\",\\\"sha256sum\\\",\\\"sha384sum\\\",\\\"sha512sum\\\",\\\"shred\\\",\\\"shuf\\\",\\\"sort\\\",\\\"split\\\",\\\"stat\\\",\\\"stdbuf\\\",\\\"sum\\\",\\\"tac\\\",\\\"tail\\\",\\\"tee\\\",\\\"test\\\",\\\"timeout\\\",\\\"tr\\\",\\\"truncate\\\",\\\"tsort\\\",\\\"tty\\\",\\\"unexpand\\\",\\\"uniq\\\",\\\"unlink\\\",\\\"users\\\",\\\"wc\\\",\\\"who\\\",\\\"whoami\\\",\\\"chroot\\\"] || exec.file.name in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] || exec.file.name in [\\\"dash\\\",\\\"sh\\\",\\\"static-sh\\\",\\\"sh\\\",\\\"bash\\\",\\\"bash\\\",\\\"bash-static\\\",\\\"zsh\\\",\\\"ash\\\",\\\"csh\\\",\\\"ksh\\\",\\\"tcsh\\\",\\\"busybox\\\",\\\"busybox\\\",\\\"fish\\\",\\\"ksh93\\\",\\\"rksh\\\",\\\"rksh93\\\",\\\"lksh\\\",\\\"mksh\\\",\\\"mksh-static\\\",\\\"csharp\\\",\\\"posh\\\",\\\"rc\\\",\\\"sash\\\",\\\"yash\\\",\\\"zsh5\\\",\\\"zsh5-static\\\"]) \\u0026\\u0026 process.ancestors.comm in [\\\"jupyter-noteboo\\\", \\\"jupyter-lab\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"jupyter_shell_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"0i7-z9o-zed\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The Kubernetes pod service account token was accessed\",\"enabled\":true,\"expression\":\"open.file.path in [~\\\"/var/run/secrets/kubernetes.io/serviceaccount/**\\\", ~\\\"/run/secrets/kubernetes.io/serviceaccount/**\\\"] \\u0026\\u0026 open.file.name == \\\"token\\\" \\u0026\\u0026 process.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"] \\u0026\\u0026 process.file.path not in [\\\"/usr/bin/cilium-agent\\\", \\\"/coredns\\\", \\\"/usr/bin/cilium-operator\\\", \\\"/manager\\\", \\\"/fluent-bit/bin/fluent-bit\\\", \\\"/usr/local/bin/cloud-node-manager\\\", \\\"/secrets-store-csi\\\", \\\"/bin/secrets-store-csi-driver-provider-aws\\\", \\\"/usr/bin/calico-node\\\", \\\"/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent\\\", \\\"/nginx-ingress-controller\\\", \\\"/cluster-autoscaler\\\", \\\"/cluster-proportional-autoscaler\\\", \\\"/haproxy-ingress-controller\\\", \\\"/kube-state-metrics\\\", \\\"/fluent-bit-gke-exporter\\\", \\\"/bin/external-secrets\\\", \\\"/node-termination-handler\\\", \\\"/fluent-bit-gke-exporter\\\", \\\"/bin/vault\\\", \\\"/usr/local/bin/kubectl\\\", \\\"/local-provisioner\\\", \\\"/usr/bin/gitlab-runner\\\", \\\"/usr/local/bin/vaultd\\\", \\\"/usr/local/bin/trace-driveline-writer\\\", \\\"/usr/local/bin/registration-controller\\\", \\\"/usr/local/bin/cluster-autoscaler\\\"] \\u0026\\u0026 process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"k8s_pod_service_account_token_accessed\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"2dz-kyt-nme\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"94l-lhd-e33\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ucb-5zb-rmj\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"5t3-iiv-rv5\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A kernel module was loaded\",\"enabled\":true,\"expression\":\"load_module.name not in [\\\"nf_tables\\\", \\\"iptable_filter\\\", \\\"ip6table_filter\\\", \\\"bpfilter\\\", \\\"ip6_tables\\\", \\\"ip6table_nat\\\", \\\"nf_reject_ipv4\\\", \\\"ipt_REJECT\\\", \\\"iptable_raw\\\"] \\u0026\\u0026 process.ancestors.file.name not in [~\\\"falcon*\\\", \\\"unattended-upgrade\\\", \\\"apt.systemd.daily\\\", \\\"xtables-legacy-multi\\\", \\\"ssm-agent-worker\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_load\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"dkb-9ud-0ca\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A container loaded a new kernel module\",\"enabled\":true,\"expression\":\"load_module.name != \\\"\\\" \\u0026\\u0026 container.id !=\\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_load_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"lrg-avx-x1k\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A kernel module was loaded from memory\",\"enabled\":true,\"expression\":\"load_module.loaded_from_memory == true\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_load_from_memory\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"gx3-4a5-w9a\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A kernel module was loaded from memory inside a container\",\"enabled\":true,\"expression\":\"load_module.loaded_from_memory == true \\u0026\\u0026 container.id !=\\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_load_from_memory_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"56y-vsb-zqu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"3i1-zpd-ycj\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"20v-gdb-0ha\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"fyq-x5u-mv1\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A new kernel module was added\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_module_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-dpm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process attempted to enable writing to model-specific registers\",\"enabled\":true,\"expression\":\"exec.comm == \\\"modprobe\\\" \\u0026\\u0026 process.args =~ \\\"*msr*allow_writes*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kernel_msr_write\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-xv7\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Kernel modules were listed using the kmod command\",\"enabled\":true,\"expression\":\"exec.comm == \\\"kmod\\\" \\u0026\\u0026 exec.args in [~\\\"*list*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kmod_list\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-b7s\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Kubernetes DNS enumeration\",\"enabled\":true,\"expression\":\"dns.question.name == \\\"any.any.svc.cluster.local\\\" \\u0026\\u0026 dns.question.type == SRV \\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"kubernetes_dns_enumeration\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"j8a-wic-bvi\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The LD_PRELOAD variable is populated by a link to a suspicious file directory\",\"enabled\":true,\"expression\":\"exec.envs in [~\\\"LD_PRELOAD=*/tmp/*\\\" ,~\\\"LD_PRELOAD=/dev/shm/*\\\" ]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ld_preload_unusual_library_path\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-fbb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Library libpam.so hooked using eBPF\",\"enabled\":true,\"expression\":\"bpf.cmd == BPF_MAP_CREATE \\u0026\\u0026 process.args in [r\\\".*libpam.so.*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"libpam_ebpf_hook\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-j1b\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Looney Tunables (CVE-2023-4911) exploit attempted\",\"enabled\":true,\"expression\":\"exec.file.mode \\u0026 S_ISUID \\u003e 0 \\u0026\\u0026 exec.file.uid == 0 \\u0026\\u0026 exec.uid != 0 \\u0026\\u0026 exec.envs in [~\\\"*GLIBC_TUNABLES*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"looney_tunables_exploit\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-6ql\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"memfd object created\",\"enabled\":true,\"expression\":\"exec.file.name =~ \\\"memfd*\\\" \\u0026\\u0026 exec.file.path == \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"memfd_create\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-d1i\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Process memory was dumped using the minidump function from comsvcs.dll\",\"enabled\":true,\"expression\":\"exec.cmdline =~ \\\"*MiniDump*\\\"\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"minidump_usage\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"caz-yrk-14e\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process resolved a DNS name associated with cryptomining activity\",\"enabled\":true,\"expression\":\"dns.question.name in [~\\\"*minexmr.com\\\", ~\\\"*nanopool.org\\\", ~\\\"*supportxmr.com\\\", ~\\\"*c3pool.com\\\", ~\\\"*p2pool.io\\\", ~\\\"*ethermine.org\\\", ~\\\"*f2pool.com\\\", ~\\\"*poolin.me\\\", ~\\\"*rplant.xyz\\\"] \\u0026\\u0026 process.file.name != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"mining_pool_lookup\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-mxb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The host file system was mounted in a container\",\"enabled\":true,\"expression\":\"mount.source.path == \\\"/\\\" \\u0026\\u0026 mount.fs_type != \\\"overlay\\\" \\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"mount_host_fs\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-mr5\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Process hidden using mount\",\"enabled\":true,\"expression\":\"mount.mountpoint.path =~ \\\"/proc/*\\\" \\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"mount_proc_hide\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"zfb-ixo-o4w\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A suspicious file was written by a network utility\",\"enabled\":true,\"expression\":\"open.flags \\u0026 O_CREAT \\u003e 0 \\u0026\\u0026 process.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]\\n\\u0026\\u0026 (\\n (open.file.path =~ \\\"/tmp/**\\\" \\u0026\\u0026 open.file.name in [~\\\"*.sh\\\", ~\\\"*.c\\\", ~\\\"*.so\\\", ~\\\"*.ko\\\"])\\n || open.file.path in [~\\\"/usr/**\\\", ~\\\"/lib/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_file_download\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"sqi-q1z-onu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Network utility executed with suspicious URI\",\"enabled\":true,\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] \\u0026\\u0026 exec.args in [~\\\"*.php*\\\", ~\\\"*.jpg*\\\"] \",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_unusual_request\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"7y2-ihu-hm2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A network utility was executed\",\"enabled\":true,\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) \\u0026\\u0026\\ncontainer.id == \\\"\\\" \\u0026\\u0026 exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_util\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"a52-req-ghm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Exfiltration attempt via network utility\",\"enabled\":true,\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] \\u0026\\u0026 \\nexec.args_options in [ ~\\\"post-file=*\\\", ~\\\"post-data=*\\\", ~\\\"T=*\\\", ~\\\"d=@*\\\", ~\\\"upload-file=*\\\", ~\\\"F=file*\\\"] \\u0026\\u0026\\nexec.args not in [~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_util_exfiltration\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"w0z-64n-bss\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A network utility was executed in a container\",\"enabled\":true,\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) \\u0026\\u0026\\ncontainer.id != \\\"\\\" \\u0026\\u0026 exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_util_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-0ra\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A network utility was executed in a container\",\"enabled\":true,\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) \\u0026\\u0026\\ncontainer.id != \\\"\\\" \\u0026\\u0026 exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] \\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"net_util_in_container_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-9rk\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Local account groups were enumerated after container start up\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"tcpdump\\\", \\\"tshark\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"network_sniffing_tool\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"xgw-28i-480\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A container executed a new binary not found in the container image\",\"enabled\":true,\"expression\":\"container.id != \\\"\\\" \\u0026\\u0026 process.file.in_upper_layer \\u0026\\u0026 process.file.modification_time \\u003c 30s \\u0026\\u0026 exec.file.name != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"new_binary_execution_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"mqh-lgo-brj\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"v2b-cd3-clr\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid) \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wwc-6it-t7i\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || link.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"e5h-onu-f7l\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 ((O_RDWR|O_WRONLY|O_CREAT)) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-i9x\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 ((O_RDWR|O_WRONLY|O_CREAT)) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) \\u0026\\u0026 container.created_at \\u003e 90s \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_open_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"sif-d9p-wzg\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"4mu-d2x-fyk\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"qt9-i99-q9p\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"nsswitch may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"nsswitch_conf_mod_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-d4i\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"NTDS file referenced in commandline\",\"enabled\":true,\"expression\":\"exec.cmdline =~ \\\"*ntds.dit*\\\"\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"ntds_in_commandline\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-49j\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A known kubernetes pentesting tool has been executed\",\"enabled\":true,\"expression\":\"(exec.file.name in [ ~\\\"python*\\\" ] \\u0026\\u0026 (\\\"KubiScan.py\\\" in exec.argv || \\\"kubestriker\\\" in exec.argv ) ) || exec.file.name in [ \\\"kubiscan\\\",\\\"kdigger\\\",\\\"kube-hunter\\\",\\\"rakkess\\\",\\\"peirates\\\",\\\"kubescape\\\",\\\"kubeaudit\\\",\\\"kube-linter\\\",\\\"stratus\\\",~\\\"botb-*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"offensive_k8s_tool\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"4yt-ize-avz\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Omiagent spawns a privileged child process\",\"enabled\":true,\"expression\":\"exec.uid \\u003e= 0 \\u0026\\u0026 process.ancestors.file.name == \\\"omiagent\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"omigod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-tp8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process opened a model-specific register (MSR) configuration file\",\"enabled\":true,\"expression\":\"open.file.path == \\\"/sys/module/msr/parameters/allow_writes\\\" \\u0026\\u0026 open.flags \\u0026 O_CREAT|O_TRUNC|O_RDWR|O_WRONLY \\u003e 0\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"open_msr_writes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"m7d-vlh-3yq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Package management was detected in a container\",\"enabled\":true,\"expression\":\"exec.file.path in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"package_management_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-k6i\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Package management was detected in a conatiner outside of container start_up\",\"enabled\":true,\"expression\":\"exec.file.path in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 container.id != \\\"\\\" \\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"package_management_in_container_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"34t-hic-8cn\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"pfu-dvh-e5w\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"x7i-34j-1rv\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"w7o-w48-j34\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wri-hx3-4n3\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"900-1sj-xhs\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"pxk-42u-fga\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"PAM may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pam_modification_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"l2e-aka-bw6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The passwd or chpasswd utility was used to modify an account password\",\"enabled\":true,\"expression\":\"exec.file.path in [\\\"/usr/bin/passwd\\\", \\\"/usr/sbin/chpasswd\\\"] \\u0026\\u0026 exec.args_flags not in [\\\"S\\\", \\\"status\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"passwd_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"460-gys-lqp\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Network Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A DNS lookup was done for a pastebin-like site\",\"enabled\":true,\"expression\":\"dns.question.name in [\\\"pastebin.com\\\", \\\"ghostbin.com\\\", \\\"termbin.com\\\", \\\"klgrth.io\\\"] \\u0026\\u0026 process.file.name != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"paste_site\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"7vi-w5r-h15\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"xiu-ghq-4zi\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"9ym-18v-5zi\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"fpa-r6g-2em\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n open.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-y7j\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n open.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_open_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"9pu-mp3-xea\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ssp-47a-p20\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"q0u-s8m-8pd\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Critical system binaries may have been modified\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pci_11_5_critical_binaries_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-8j2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A web application spawned a shell or shell utility\",\"enabled\":true,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] || exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] || exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) \\u0026\\u0026\\n(process.parent.file.name in [\\\"apache2\\\", \\\"nginx\\\", ~\\\"tomcat*\\\", \\\"httpd\\\"] || process.parent.file.name =~ \\\"php*\\\")\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"potential_web_shell_parent\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-oy4\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A tool used to dump process memory has been executed\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"procmon.exe\\\",\\\"procdump.exe\\\"]\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"procdump_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-oyv\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Processes were listed using the ps command\",\"enabled\":true,\"expression\":\"exec.comm == \\\"ps\\\" \\u0026\\u0026 exec.argv not in [\\\"-p\\\", \\\"--pid\\\"] \\u0026\\u0026 process.ancestors.file.name not in [\\\"qualys-cloud-agent\\\", \\\"amazon-ssm-agent\\\"] \\u0026\\u0026 process.parent.file.name not in [\\\"rkhunter\\\", \\\"jspawnhelper\\\", ~\\\"vm-agent*\\\", \\\"PassengerAgent\\\", \\\"node\\\", \\\"wdavdaemon\\\", \\\"chkrootkit\\\", \\\"tsagentd\\\", \\\"wazuh-modulesd\\\", \\\"wdavdaemon\\\", \\\"talend-remote-engine-service\\\", \\\"check_procs\\\", \\\"newrelic-daemon\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ps_discovery\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"pwu-7u7-iiq\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process uses an anti-debugging technique to block debuggers\",\"enabled\":true,\"expression\":\"ptrace.request == PTRACE_TRACEME \\u0026\\u0026 process.file.name != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ptrace_antidebug\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"kpm-7kh-xz5\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process attempted to inject code into another process\",\"enabled\":true,\"expression\":\"ptrace.request == PTRACE_POKETEXT || ptrace.request == PTRACE_POKEDATA || ptrace.request == PTRACE_POKEUSR\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ptrace_injection\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wpz-bim-6rb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process was spawned with indicators of exploitation of CVE-2021-4034\",\"enabled\":true,\"expression\":\"(exec.file.path == \\\"/usr/bin/pkexec\\\" \\u0026\\u0026 exec.envs in [~\\\"*SHELL*\\\", ~\\\"*PATH*\\\"] \\u0026\\u0026 exec.envs not in [~\\\"*DISPLAY*\\\", ~\\\"*DESKTOP_SESSION*\\\"] \\u0026\\u0026 exec.uid != 0)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"pwnkit_privilege_escalation\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"g7f-kfr-tdb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Python code was provided on the command line\",\"enabled\":true,\"expression\":\"exec.file.name == ~\\\"python*\\\" \\u0026\\u0026 exec.args_flags in [\\\"c\\\"] \\u0026\\u0026 exec.args in [~\\\"*-c*SOCK_STREAM*\\\", ~\\\"*-c*subprocess*\\\", \\\"*-c*/bash*\\\", \\\"*-c*/bin/sh*\\\", \\\"*-c*pty.spawn*\\\"] \\u0026\\u0026 exec.args !~ \\\"*setuptools*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"python_cli_code\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-do7\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Possible ransomware note created under common user directories\",\"enabled\":true,\"expression\":\"open.flags \\u0026 O_CREAT \\u003e 0\\n\\u0026\\u0026 open.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/opt/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/**\\\", ~\\\"/var/www/**\\\"]\\n\\u0026\\u0026 open.file.name in [r\\\"(?i).*(restore|recover|read|instruction|how_to|ransom|lock).*(your_|crypt|lock|file|ransom).*\\\"] \\u0026\\u0026 open.file.name not in [r\\\".*\\\\.lock$\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ransomware_note\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-y27\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"RC scripts modified\",\"enabled\":true,\"expression\":\"(open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 (open.file.path in [\\\"/etc/rc.common\\\", \\\"/etc/rc.local\\\"])) \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"rc_scripts_modified\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-qwm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The kubeconfig file was accessed\",\"enabled\":true,\"expression\":\"open.file.path in [~\\\"/home/*/.kube/config\\\", \\\"/root/.kube/config\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"read_kubeconfig\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-rhk\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"OS information was read from the /etc/lsb-release file\",\"enabled\":true,\"expression\":\"open.file.path == \\\"/etc/lsb-release\\\" \\u0026\\u0026 open.flags \\u0026 O_RDONLY \\u003e 0\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"read_release_info\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-npv\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Detects CVE-2022-0543\",\"enabled\":true,\"expression\":\"(open.file.path =~ \\\"/usr/lib/x86_64-linux-gnu/*\\\" \\u0026\\u0026 open.file.name in [\\\"libc-2.29.so\\\", \\\"libc-2.30.so\\\", \\\"libc-2.31.so\\\", \\\"libc-2.32.so\\\", \\\"libc-2.33.so\\\", \\\"libc-2.34.so\\\", \\\"libc-2.35.so\\\", \\\"libc-2.36.so\\\", \\\"libc-2.37.so\\\"]) \\u0026\\u0026 process.ancestors.comm in [\\\"redis-check-rdb\\\", \\\"redis-server\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"redis_sandbox_escape\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-wv3\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Redis module has been created\",\"enabled\":true,\"expression\":\"(open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 open.file.path =~ \\\"/tmp/**\\\" \\u0026\\u0026 open.file.name in [~\\\"*.rdb\\\", ~\\\"*.aof\\\", ~\\\"*.so\\\"]) \\u0026\\u0026 process.file.name in [\\\"redis-check-rdb\\\", \\\"redis-server\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"redis_save_module\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"tlu-qlm-1ow\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The runc binary was modified in a non-standard way\",\"enabled\":true,\"expression\":\"open.file.path in [\\\"/usr/bin/runc\\\", \\\"/usr/sbin/runc\\\", \\\"/usr/bin/docker-runc\\\"]\\n\\u0026\\u0026 open.flags \\u0026 O_CREAT|O_TRUNC|O_RDWR|O_WRONLY \\u003e 0\\n\\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"runc_modification\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-vqm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A scheduled task was created\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"at.exe\\\",\\\"schtasks.exe\\\"]\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"scheduled_task_creation\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wgq-lg4-tas\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SELinux enforcement status was disabled\",\"enabled\":true,\"expression\":\"selinux.enforce.status in [\\\"permissive\\\", \\\"disabled\\\"] \\u0026\\u0026 process.ancestors.args != ~\\\"*BECOME-SUCCESS*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"selinux_disable_enforcement\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-j45\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Kernel Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A process is tracing privileged processes or sshd for possible credential dumping\",\"enabled\":true,\"expression\":\"(ptrace.request == PTRACE_PEEKTEXT || ptrace.request == PTRACE_PEEKDATA || ptrace.request == PTRACE_PEEKUSR) \\u0026\\u0026 ptrace.tracee.euid == 0 \\u0026\\u0026 process.comm not in [\\\"dlv\\\", \\\"dlv-linux-amd64\\\", \\\"strace\\\", \\\"gdb\\\", \\\"lldb-server\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sensitive_tracing\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-uv8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"systemctl used to stop a service\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"systemctl\\\" \\u0026\\u0026 exec.args in [~\\\"*stop*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"service_stop\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"dfr-by9-sx8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Shell History was Deleted\",\"enabled\":true,\"expression\":\"(unlink.file.name =~ r\\\".([dbazfi]*sh)(_history)$\\\") \\u0026\\u0026 process.comm not in [\\\"dockerd\\\", \\\"containerd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"shell_history_deleted\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"dmf-a2c-odj\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A symbolic link for shell history was created targeting /dev/null\",\"enabled\":true,\"expression\":\"exec.comm == \\\"ln\\\" \\u0026\\u0026 exec.args in [~\\\"*.*history*\\\", \\\"/dev/null\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"shell_history_symlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"v5x-8l4-d6a\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Shell History was Deleted\",\"enabled\":true,\"expression\":\"open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026 open.file.name =~ r\\\".([dbazfi]*sh)(_history)$\\\" \\u0026\\u0026 open.file.path in [~\\\"/root/*\\\", ~\\\"/home/**\\\"] \\u0026\\u0026 process.file.name == \\\"truncate\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"shell_history_truncated\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-fn2\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Shell profile was modified\",\"enabled\":true,\"expression\":\"open.file.path in [~\\\"/home/*/*profile\\\", ~\\\"/home/*/*rc\\\"] \\u0026\\u0026 open.flags \\u0026 ((O_CREAT|O_TRUNC|O_RDWR|O_WRONLY)) \\u003e 0\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"shell_profile_modification\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"htc-275-0wt\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n chmod.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (chmod.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"7q3-6aa-pix\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n chown.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (chown.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"91f-pyq-54k\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n link.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (link.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"rpc-ji0-zfu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n open.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (open.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-qwu\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n open.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (open.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) \\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_open_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"t5u-qdx-650\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n rename.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (rename.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"y0y-3gl-645\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n unlink.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (unlink.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"hba-kfe-1xr\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSH modified keys may have been modified\",\"enabled\":true,\"expression\":\"(\\n utimes.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] \\u0026\\u0026 (utimes.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_authorized_keys_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-o13\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"The configuration directory for an ssh worm\",\"enabled\":true,\"expression\":\"open.file.path in [\\\"/root/.prng/*\\\", ~\\\"/home/*/.prng/*\\\", ~\\\"/root/.config/prng/*\\\", ~\\\"/home/*/.config/prng/*\\\"] \\u0026\\u0026 open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssh_it_tool_config_write\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"y5i-yxn-27t\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 chmod.file.mode != chmod.file.destination.mode\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"kyr-sg6-us9\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"w6f-wte-i63\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n \\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n \\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"191-ty1-ede\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-qt6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\\n\\u0026\\u0026 container.created_at \\u003e 90s\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_open_v2\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"o5t-b08-86p\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"9y1-cbb-p03\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/ssl/certs/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"ayv-hqe-lx8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"SSL certificates may have been tampered with\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/ssl/certs/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n\\u0026\\u0026 process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n\\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n\\u0026\\u0026 process.file.name !~ \\\"runc*\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"ssl_certificate_tampering_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-crv\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path == \\\"/etc/sudoers\\\") \\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-l8e\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path == \\\"/etc/sudoers\\\")\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-myb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (link.file.path == \\\"/etc/sudoers\\\"\\n || link.file.destination.path == \\\"/etc/sudoers\\\")\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-mmo\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"\\n(open.flags \\u0026 (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n(open.file.path == \\\"/etc/sudoers\\\")) \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-550\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path == \\\"/etc/sudoers\\\"\\n || rename.file.destination.path == \\\"/etc/sudoers\\\")\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-bxs\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path == \\\"/etc/sudoers\\\")\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-s07\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Sudoers policy file may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path == \\\"/etc/sudoers\\\")\\n) \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"sudoers_policy_modified_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-5wh\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"a SUID file was executed\",\"enabled\":true,\"expression\":\"(setuid.euid == 0 || setuid.uid == 0) \\u0026\\u0026 process.file.mode \\u0026 S_ISUID \\u003e 0 \\u0026\\u0026 process.file.uid == 0 \\u0026\\u0026 process.uid != 0 \\u0026\\u0026 process.file.path != \\\"/usr/bin/sudo\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"suid_file_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-4y4\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A suspicious bitsadmin command has been executed\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"bitsadmin.exe\\\" \\u0026\\u0026 exec.cmdline in [~\\\"*addfile*\\\", ~\\\"*create*\\\", ~\\\"*resume*\\\"]\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"suspicious_bitsadmin_usage\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"afj-5sv-2wb\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A container management utility was executed in a container\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"docker\\\", \\\"kubectl\\\"] \\u0026\\u0026 container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"suspicious_container_client\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-2k6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Suspicious usage of ntdsutil\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"ntdsutil.exe\\\" \\u0026\\u0026 exec.cmdline in [~\\\"*ntds*\\\", ~\\\"*create*\\\"]\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"suspicious_ntdsutil_usage\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-zo8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Recently written or modified suid file has been executed\",\"enabled\":true,\"expression\":\"((process.file.mode \\u0026 S_ISUID \\u003e 0) \\u0026\\u0026 process.file.modification_time \\u003c 30s) \\u0026\\u0026 exec.file.name != \\\"\\\" \\u0026\\u0026 process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"suspicious_suid_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"48s-46n-g4w\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 chmod.file.destination.mode != chmod.file.mode\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_chmod\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"wwy-h4d-pwm\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) \\u0026\\u0026 (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_chown\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"64n-p6m-uq1\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_link\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"7zw-qbm-y6d\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n open.flags \\u0026 (O_CREAT|O_RDWR|O_WRONLY) \\u003e 0 \\u0026\\u0026\\n (open.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_open\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"prk-6q1-g0m\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_rename\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"jlt-y4v-dax\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_unlink\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"yjj-o5q-x00\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"File Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A service may have been modified without authorization\",\"enabled\":true,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n \\u0026\\u0026 process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"systemd_modification_utimes\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-18q\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Tar archive created\",\"enabled\":true,\"expression\":\"exec.file.path == \\\"/usr/bin/tar\\\" \\u0026\\u0026 exec.args_flags in [\\\"create\\\",\\\"c\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tar_execution\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-925\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A shell with a TTY was executed in a container\",\"enabled\":true,\"expression\":\"exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] \\u0026\\u0026 process.tty_name != \\\"\\\" \\u0026\\u0026 process.container.id != \\\"\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tty_shell_in_container\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-hlr\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Tunneling or port forwarding tool used\",\"enabled\":true,\"expression\":\"((exec.comm == \\\"pivotnacci\\\" || exec.comm == \\\"gost\\\") \\u0026\\u0026 process.args in [r\\\".*(-L|-C|-R).*\\\"]) || (exec.comm in [\\\"ssh\\\", \\\"sshd\\\"] \\u0026\\u0026 process.args in [r\\\".*(-R|-L|-D|w).*\\\"] \\u0026\\u0026 process.args in [r\\\"((25[0-5]|(2[0-4]|1\\\\d|[1-9])\\\\d)\\\\.?\\\\b){4}\\\"] ) || (exec.comm == \\\"sshuttle\\\" \\u0026\\u0026 process.args in [r\\\".*(-r|--remote|-l|--listen).*\\\"]) || (exec.comm == \\\"socat\\\" \\u0026\\u0026 process.args in [r\\\".*(TCP4-LISTEN:|SOCKS).*\\\"]) || (exec.comm in [\\\"iodine\\\", \\\"iodined\\\", \\\"dnscat\\\", \\\"hans\\\", \\\"hans-ubuntu\\\", \\\"ptunnel-ng\\\", \\\"ssf\\\", \\\"3proxy\\\", \\\"ngrok\\\"] \\u0026\\u0026 process.parent.comm in [\\\"bash\\\", \\\"dash\\\", \\\"ash\\\", \\\"sh\\\", \\\"tcsh\\\", \\\"csh\\\", \\\"zsh\\\", \\\"ksh\\\", \\\"fish\\\"])\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"tunnel_traffic\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"07y-k18-cih\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A user was created via an interactive session\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"useradd\\\", \\\"newusers\\\", \\\"adduser\\\"] \\u0026\\u0026 exec.tty_name !=\\\"\\\" \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] \\u0026\\u0026 exec.args_flags not in [\\\"D\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"user_created_tty\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-qem\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"A user was deleted via an interactive session\",\"enabled\":true,\"expression\":\"exec.file.name in [\\\"userdel\\\", \\\"deluser\\\"] \\u0026\\u0026 exec.tty_name !=\\\"\\\" \\u0026\\u0026 process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"user_deleted_tty\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}},{\"id\":\"def-000-vjv\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1707493323000,\"creator\":{\"name\":\"Detection Engineer\",\"handle\":\"\"},\"defaultRule\":true,\"description\":\"Command executed via WMI\",\"enabled\":true,\"expression\":\"exec.file.name in [~\\\"powershell*\\\",\\\"cmd.exe\\\"] \\u0026\\u0026 process.parent.file.name == \\\"WmiPrvSE.exe\\\"\",\"filters\":[\"os == \\\"windows\\\"\"],\"name\":\"wmi_spawning_shell\",\"updateDate\":1707493323000,\"updater\":{\"name\":\"Detection Engineer\",\"handle\":\"\"}}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 224, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:12.811Z", + "time": 640 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/frozen.json index 0e2ef0ce43d1..2e031d38fcae 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:24.499Z" +"2024-03-08T14:19:13.469Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/recording.har index f755e71c4e8b..a1938e73a71b 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-all-Cloud-Workload-Security-Agent-rules-returns-OK-response_2201921436/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "b39712826cc0475e6f87604dd4d3a52e", + "_id": "4b96a60a58234793038f60c501c63a3c", "_order": 0, "cache": {}, "request": { @@ -32,33 +32,33 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1652349084\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1709907553\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 453, + "bodySize": 670, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 453, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1652349084\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349084949,\"creationDate\":1652349084949,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"w3n-qy8-qud\"}}" + "mimeType": "application/json", + "size": 670, + "text": "{\"data\":{\"id\":\"gd2-ogg-fyk\",\"attributes\":{\"version\":1,\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1709907553\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907553752,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907553752,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"defaultRule\":false,\"enabled\":true,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:24.501Z", - "time": 477 + "startedDateTime": "2024-03-08T14:19:13.477Z", + "time": 347 }, { "_id": "cd6f56ab0bb26cf99ca43ceb6ee894b8", @@ -81,30 +81,30 @@ "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 104243, + "bodySize": 147019, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 104243, - "text": "{\"data\":[{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1652349084\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349084949,\"creationDate\":1652349084949,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"w3n-qy8-qud\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"new_binary_execution_in_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A container executed a new a binary not found in the container image\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1652129913862,\"creationDate\":1652129906455,\"expression\":\"container.id !=\\\"\\\" && !process.file.in_upper_layer && process.file.modification_time < 30s && exec.file.name !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"pwh-omk-qrr\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1652008845\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652008845797,\"creationDate\":1652008845797,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"ntj-rfs-mw3\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptupdateacloudworkloadsecurityagentrulereturnsokresponse1651997887\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"Test Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":2,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997888544,\"creationDate\":1651997888388,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"dyn-u7u-v86\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1651997886\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997887223,\"creationDate\":1651997887223,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"mlg-yxw-uig\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651997885\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997886363,\"creationDate\":1651997886363,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"lq3-t6t-xng\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetacloudworkloadsecurityagentrulereturnsokresponse1651997885\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997885869,\"creationDate\":1651997885869,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"1hp-hpr-4ez\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptdeleteacloudworkloadsecurityagentrulereturnsokresponse1651997884\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997884985,\"creationDate\":1651997884985,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"mt3-pks-n5s\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptcreateacloudworkloadsecurityagentrulereturnsokresponse1651997883\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"Test Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651997884150,\"creationDate\":1651997884150,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"r4a-yvz-rj7\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651943471\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651943472022,\"creationDate\":1651943472022,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"5k1-gwi-0aq\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651915814\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651915815493,\"creationDate\":1651915815493,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"lkj-jnq-r6s\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651912469\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651912470539,\"creationDate\":1651912470539,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"mbc-iwk-zpb\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651867149\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1651867150336,\"creationDate\":1651867150336,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"fzb-lli-m26\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"suspicious_container_client\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A container management utility was executed in a container\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1651671394200,\"creationDate\":1617722068555,\"expression\":\"exec.file.name in [\\\"docker\\\", \\\"kubectl\\\"] && container.id != \\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"9mk-xxe-lpw\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"kernel_module_load\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was loaded\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650371511244,\"creationDate\":1650293718458,\"expression\":\"load_module.name != \\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"f5y-pdn-pnj\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"new_kernel_module_audit\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was loaded\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650371511243,\"creationDate\":1650293718502,\"expression\":\"load_module.name != \\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"0dt-ev3-tgr\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"kernel_module_load_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A container loaded a new kernel module\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650371511241,\"creationDate\":1650293718705,\"expression\":\"load_module.name != \\\"\\\" && container.id !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"ieg-lmk-cgo\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"new_kernel_module_audit_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was loaded\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650371511240,\"creationDate\":1650293718457,\"expression\":\"load_module.name != \\\"\\\" && container.id !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"rbg-5fp-tm8\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"ptrace_injection\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A process attempted to inject code into another process\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650293789265,\"creationDate\":1650293718540,\"expression\":\"ptrace.request == PTRACE_POKETEXT || ptrace.request == PTRACE_POKEDATA || ptrace.request == PTRACE_POKEUSR\"},\"type\":\"agent_rule\",\"id\":\"lzx-kkv-at3\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"ptrace_antidebug\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A process uses an anti-debugging technique to block debuggers\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650293789216,\"creationDate\":1650293718435,\"expression\":\"ptrace.request == PTRACE_TRACEME\"},\"type\":\"agent_rule\",\"id\":\"hnh-eio-mow\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"kernel_module_load_from_memory\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was loaded from memory\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650293788996,\"creationDate\":1650293718630,\"expression\":\"load_module.loaded_from_memory == true\"},\"type\":\"agent_rule\",\"id\":\"j3f-cie-47b\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"kernel_module_load_from_memory_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was loaded from memory inside a container\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1650293788418,\"creationDate\":1650293718365,\"expression\":\"load_module.loaded_from_memory == true && container.id !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"foo-pve-qbq\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"database_shell_execution\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A database application spawned a shell, shell utility, or HTTP utility\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1649256369233,\"creationDate\":1617722069155,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\", \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) &&\\nprocess.ancestors.file.name in [\\\"mysqld\\\", \\\"mongod\\\", \\\"postgres\\\"] &&\\n!(process.ancestors.file.name == \\\"initdb\\\" &&\\nexec.args == ~\\\"*locale -a*\\\")\"},\"type\":\"agent_rule\",\"id\":\"phy-tco-k7w\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"potential_web_shell\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A webapp process (language engine or webserver) spawned a shell, shell utility, or HTTP utility\",\"enabled\":true,\"defaultRule\":true,\"version\":5,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1648752302471,\"creationDate\":1642158535124,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\", \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] || exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"] || exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) &&\\n(process.ancestors.file.name in [~\\\"python2*\\\", ~\\\"python3*\\\", \\\"node\\\", \\\"apache2\\\", \\\"nginx\\\", ~\\\"tomcat*\\\"] || process.ancestors.file.name =~ \\\"php*\\\") &&\\nprocess.ancestors.comm not in [\\\"pip3\\\", \\\"pip\\\", \\\"npm\\\"]\"},\"type\":\"agent_rule\",\"id\":\"wmi-qbh-yyj\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"dirty_pipe_attempt\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Potential Dirty pipe exploitation attempt\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1648564169932,\"creationDate\":1648564123603,\"expression\":\"(splice.pipe_entry_flag & PIPE_BUF_FLAG_CAN_MERGE) != 0 && (splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) == 0\"},\"type\":\"agent_rule\",\"id\":\"jx4-pkv-247\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"dirty_pipe_exploitation\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Potential Dirty pipe exploitation\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1648564169488,\"creationDate\":1648564123563,\"expression\":\"(splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) > 0\"},\"type\":\"agent_rule\",\"id\":\"aux-r7v-odv\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"example_agent_rule\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"An example agent rule generated in terraform\",\"enabled\":true,\"defaultRule\":false,\"version\":3,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1647036377676,\"creationDate\":1647036168203,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"irg-o45-pxz\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"net_util_in_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A network utility was executed from a suspicious location in a container\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1646838764572,\"creationDate\":1617722068439,\"expression\":\"(exec.file.path in [\\\"/usr/bin/socat\\\", \\\"/usr/bin/dig\\\", \\\"/usr/bin/nslookup\\\", \\\"/usr/bin/netcat\\\", \\\"/usr/bin/nc\\\"] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"]) &&\\ncontainer.id != \\\"\\\" && (exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] || process.ancestors.comm != \\\"50-motd-news\\\") && process.ancestors.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/home/**\\\", ~\\\"/run/user/**\\\" ]\"},\"type\":\"agent_rule\",\"id\":\"ifl-wfe-sch\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"net_util\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A network utility was executed from a suspicious location\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1645196276088,\"creationDate\":1642158534952,\"expression\":\"(exec.file.path in [\\\"/usr/bin/socat\\\", \\\"/usr/bin/dig\\\", \\\"/usr/bin/nslookup\\\", \\\"/usr/bin/netcat\\\", \\\"/usr/bin/nc\\\"] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"]) &&\\ncontainer.id == \\\"\\\" && (exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] || process.ancestors.comm != \\\"50-motd-news\\\") && process.ancestors.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/home/**\\\", ~\\\"/run/user/**\\\" ]\"},\"type\":\"agent_rule\",\"id\":\"3lt-gov-2yu\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"pwnkit_privilege_escalation\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A process was spawned with indicators of exploitation of CVE-2021-4034\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1643639115768,\"creationDate\":1643639113864,\"expression\":\"(exec.file.path == \\\"/usr/bin/pkexec\\\" && exec.envs in [~\\\"*SHELL*\\\", ~\\\"*PATH*\\\"] && exec.uid != 0)\"},\"type\":\"agent_rule\",\"id\":\"vri-cjo-ywh\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392923\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392938634,\"creationDate\":1643392938634,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"rsy-7jg-hqm\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392903\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392919175,\"creationDate\":1643392919175,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"m39-rre-anw\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392885\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392899126,\"creationDate\":1643392899126,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"4wd-unc-xof\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392458\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392475857,\"creationDate\":1643392475857,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"jhk-qpj-jlt\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392438\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392453588,\"creationDate\":1643392453588,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"ruf-aic-d4j\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392419\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392434263,\"creationDate\":1643392434263,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"jtf-zrn-0ph\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392026\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392042558,\"creationDate\":1643392042558,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"ijz-1cz-bms\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392003\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643392021741,\"creationDate\":1643392021741,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"21m-gs8-p43\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391983\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643391998597,\"creationDate\":1643391998597,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"in7-ydq-pbw\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391729\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643391745920,\"creationDate\":1643391745920,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"v8v-sem-rmg\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391707\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643391725233,\"creationDate\":1643391725233,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"kox-qtp-cbn\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391687\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643391702920,\"creationDate\":1643391702920,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"thp-evn-3gr\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390432\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390450706,\"creationDate\":1643390450706,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"hx6-v0z-9gk\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390410\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390427444,\"creationDate\":1643390427444,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"n8j-9n3-urm\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390389\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390405807,\"creationDate\":1643390405807,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"tkl-mjf-is5\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390151\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390171673,\"creationDate\":1643390171673,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"up2-fhh-bc8\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390130\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390147278,\"creationDate\":1643390147278,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"vdu-0rd-lnj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390108\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643390124588,\"creationDate\":1643390124588,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"dfb-wz2-0ka\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389977\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389998703,\"creationDate\":1643389998703,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"7vz-wdj-vwc\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389955\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389972825,\"creationDate\":1643389972825,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"qls-upn-1vc\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389931\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389950224,\"creationDate\":1643389950224,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"rxo-lya-bqu\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389911\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389929035,\"creationDate\":1643389929035,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"dm3-ip4-rza\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389756\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389773436,\"creationDate\":1643389773436,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"rzs-ccq-4qm\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389685\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389706550,\"creationDate\":1643389706550,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"wa9-zm8-8ds\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389627\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389645597,\"creationDate\":1643389645597,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"alm-sgy-vz3\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389553\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389575084,\"creationDate\":1643389575084,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"dls-vo9-rqx\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389530\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389549031,\"creationDate\":1643389549031,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"fyz-u20-nvn\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389507\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389523942,\"creationDate\":1643389523942,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"nqv-0et-fcj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389484\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389502800,\"creationDate\":1643389502800,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"u7v-36z-wue\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389460\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389479547,\"creationDate\":1643389479547,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"y2z-ffa-zys\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389411\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389428402,\"creationDate\":1643389428402,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"cym-1zi-nnd\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389389\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389406698,\"creationDate\":1643389406698,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"ip9-wgt-q3k\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389363\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389381751,\"creationDate\":1643389381751,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"t9d-zbo-2nw\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389339\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389356453,\"creationDate\":1643389356453,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"kaw-0h7-dji\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389317\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389335243,\"creationDate\":1643389335243,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"m4i-otg-jnj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389210\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389226802,\"creationDate\":1643389226802,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"heh-lnh-xwm\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389186\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389204108,\"creationDate\":1643389204108,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"cwa-5rh-qtd\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389165\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389181761,\"creationDate\":1643389181761,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"e5l-xtx-hmi\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389136\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389155207,\"creationDate\":1643389155207,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"ebx-lyj-r3a\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389111\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389130549,\"creationDate\":1643389130549,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"xac-4if-49b\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389088\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643389106392,\"creationDate\":1643389106392,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"dh6-bdu-8v0\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388939\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388960762,\"creationDate\":1643388960762,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"hkd-6dr-ify\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388912\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388931383,\"creationDate\":1643388931383,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"bsx-fod-0xj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388890\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388907818,\"creationDate\":1643388907818,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"8jt-x9p-yoy\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388866\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388883010,\"creationDate\":1643388883010,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"rhd-qao-dub\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388847\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388862340,\"creationDate\":1643388862340,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"j0f-fhi-ab7\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388825\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388843151,\"creationDate\":1643388843151,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"rvn-u2c-xm4\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388726\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388744863,\"creationDate\":1643388744863,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"ldn-agb-3fl\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388700\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388719895,\"creationDate\":1643388719895,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"cyr-g7t-to0\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388666\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388693095,\"creationDate\":1643388693095,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"wnm-xkk-mat\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388257\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388275282,\"creationDate\":1643388275282,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"moo-kuq-zbt\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388230\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388250051,\"creationDate\":1643388250051,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"wzs-moc-ji9\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388208\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388226579,\"creationDate\":1643388226579,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"uw2-d3y-5h6\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388182\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388201323,\"creationDate\":1643388201323,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"fez-txs-qf9\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388161\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388177724,\"creationDate\":1643388177724,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"fga-mna-xej\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388137\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388157048,\"creationDate\":1643388157048,\"expression\":\"exec.file.name == \\\"go\\\"\"},\"type\":\"agent_rule\",\"id\":\"iyn-7sl-swn\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387992\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643388010676,\"creationDate\":1643388010676,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"p3w-qyi-pbo\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387579\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387597089,\"creationDate\":1643387597089,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"yyt-sfa-fck\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387554\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387573023,\"creationDate\":1643387573023,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"5z7-fqq-siu\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387531\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387549793,\"creationDate\":1643387549793,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"ivz-amj-yl7\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387505\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387524178,\"creationDate\":1643387524178,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"lyv-3xn-qch\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387484\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387500298,\"creationDate\":1643387500298,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"fpt-c7o-ipx\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387461\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387480011,\"creationDate\":1643387480011,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"tap-fek-5kw\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387148\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387165931,\"creationDate\":1643387165931,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"u7b-x0z-cbe\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387120\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387141298,\"creationDate\":1643387141298,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"hhe-gcm-vjl\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387090\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387114912,\"creationDate\":1643387114912,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"nt9-5fe-de1\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387063\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387082695,\"creationDate\":1643387082695,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"pj0-bcy-euh\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387039\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387057879,\"creationDate\":1643387057879,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"rm5-px4-iua\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387014\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643387032689,\"creationDate\":1643387032689,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"cqz-7pc-ajz\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386909\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386926682,\"creationDate\":1643386926682,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"hot-prj-df5\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386882\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386901939,\"creationDate\":1643386901939,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"q7n-lvv-4au\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386858\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386877222,\"creationDate\":1643386877222,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"gly-5wu-uny\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386831\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386850558,\"creationDate\":1643386850558,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"umz-fjl-7qq\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386809\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386826170,\"creationDate\":1643386826170,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"spq-5f8-isw\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386786\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386804704,\"creationDate\":1643386804704,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"dul-hdz-xmo\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386742\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386762229,\"creationDate\":1643386762229,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"n94-q2a-co9\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386718\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386735946,\"creationDate\":1643386735946,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"x1n-wra-hdt\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386695\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386713348,\"creationDate\":1643386713348,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"kgt-kcc-tnu\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386657\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"an agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1643386674573,\"creationDate\":1643386674573,\"expression\":\"exec.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"znp-dul-gcj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"apparmor_modified_tty\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"AppArmor Profile Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678630,\"creationDate\":1627392836162,\"expression\":\"exec.file.name in [\\\"aa-disable\\\", \\\"aa-complain\\\", \\\"aa-audit\\\"] && exec.tty_name !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"ki7-koc-icf\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"kzh-5hn-edg\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"yly-big-wfq\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (link.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"rm1-b8h-cec\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"1vg-wvn-jeo\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"tmh-now-e61\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"mhl-gkn-bun\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pci_11_5_critical_binaries_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Critical System Binaries\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678212,\"creationDate\":1606142933669,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"6ef-efv-07c\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"kuu-k1s-gqz\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"qdc-oqx-zsx\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"bgs-kbk-xkh\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"rek-wb4-s7y\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"nlp-lzc-rcf\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"kxs-kt6-5gt\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"systemd_modification_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Systemd Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729678140,\"creationDate\":1606142929241,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"t8w-eul-chf\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"4fh-bb7-747\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"eoy-4fe-q7q\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (link.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || link.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"r5z-tke-sjm\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"ac4-asc-qi4\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n open.flags & ((O_CREAT|O_RDWR|O_WRONLY|O_TRUNC)) > 0 &&\\n (open.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"cne-1ft-bei\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"ay7-jkz-rda\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"credential_modified_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Either /etc/shadow/ or /etc/gshadow was modified by a non-standard tool\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662623,\"creationDate\":1598516746271,\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"psd-3el-h33\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"runc_modification\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Runc Binary Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662517,\"creationDate\":1627392837049,\"expression\":\"open.file.path in [\\\"/usr/bin/runc\\\", \\\"/usr/sbin/runc\\\", \\\"/usr/bin/docker-runc\\\"]\\n&& open.flags & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\\n&& process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n&& process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\"},\"type\":\"agent_rule\",\"id\":\"qng-psi-j15\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"user_created_tty\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"User Created Interactively\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662452,\"creationDate\":1627392836979,\"expression\":\"exec.file.name in [\\\"useradd\\\", \\\"newusers\\\"] && exec.tty_name !=\\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"asy-mod-zmt\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"ybu-yya-acz\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"ohe-vlf-t2h\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"7nq-ugi-gu1\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"qzs-yvl-f4t\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"2p0-3i2-b4y\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"jin-icc-lpi\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssl_certificate_tampering_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSL Certificate Tampering\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662415,\"creationDate\":1606142980369,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"},\"type\":\"agent_rule\",\"id\":\"w07-amm-bxr\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"avt-p2e-fyc\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"cd0-w8q-vl4\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"},\"type\":\"agent_rule\",\"id\":\"ec9-vff-7ni\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"},\"type\":\"agent_rule\",\"id\":\"mpb-1rj-dv6\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"},\"type\":\"agent_rule\",\"id\":\"xye-pfo-y0r\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"},\"type\":\"agent_rule\",\"id\":\"c4t-pxu-ixk\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"kernel_module_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"A kernel module was added to /lib/modules/\",\"enabled\":true,\"defaultRule\":true,\"version\":7,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662391,\"creationDate\":1598516746168,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"},\"type\":\"agent_rule\",\"id\":\"fpw-paa-smb\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"compiler_in_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Compiler Executed in Container\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662344,\"creationDate\":1627392836759,\"expression\":\"(exec.file.name in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"] || (exec.file.name == \\\"go\\\" && exec.args in [~\\\"*build*\\\", ~\\\"*run*\\\"])) && container.id !=\\\"\\\" && process.ancestors.file.path != \\\"/usr/bin/cilium-agent\\\"\"},\"type\":\"agent_rule\",\"id\":\"ily-tsr-dtj\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"package_management_in_container\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Package management in container\",\"enabled\":true,\"defaultRule\":true,\"version\":2,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1636729662123,\"creationDate\":1617722067648,\"expression\":\"exec.file.path in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && container.id != \\\"\\\"\"},\"type\":\"agent_rule\",\"id\":\"3tj-btx-kvo\"},{\"attributes\":{\"category\":\"Kernel Activity\",\"name\":\"selinux_disable_enforcement\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SELinux enforcement status was disabled\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1635332067172,\"creationDate\":1635332067172,\"expression\":\"selinux.enforce.status in [\\\"permissive\\\", \\\"disabled\\\"]\"},\"type\":\"agent_rule\",\"id\":\"je9-er4-njy\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"aws_metadata_service\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"EC2 Instance Metadata Service Accessed via Network Utility\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1629226276630,\"creationDate\":1627392836096,\"expression\":\"exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"] && exec.args in [~\\\"*169.254.169.254*\\\"]\"},\"type\":\"agent_rule\",\"id\":\"jl5-wjt-58e\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"ipa-v3l-kt6\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"3xl-qds-f0e\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (link.file.path in [ ~\\\"/var/spool/cron/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"},\"type\":\"agent_rule\",\"id\":\"0gu-pqy-o1a\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/var/spool/cron/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"},\"type\":\"agent_rule\",\"id\":\"cmu-g58-cau\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"},\"type\":\"agent_rule\",\"id\":\"onm-dqu-jly\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"},\"type\":\"agent_rule\",\"id\":\"atu-tci-bjn\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"cron_at_job_creation_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Cron AT Job Creation\",\"enabled\":true,\"defaultRule\":true,\"version\":4,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222418,\"creationDate\":1606142961130,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"},\"type\":\"agent_rule\",\"id\":\"ygn-d8o-ncr\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"ki2-nwj-sot\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"nyc-gfz-yr5\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (link.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || link.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"8ol-dkr-aml\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"pkn-azw-qia\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\\n (open.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"fdf-wvb-c3k\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"wpt-ba8-mpd\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"nsswitch_conf_mod_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nsswitch Configuration Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512222322,\"creationDate\":1606142958657,\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"7ud-d2o-qgo\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n chmod.file.name == \\\"authorized_keys\\\" && (chmod.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"vqc-lta-u8c\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n chown.file.name == \\\"authorized_keys\\\" && (chown.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"ien-7aw-blw\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n link.file.name == \\\"authorized_keys\\\" && (link.file.path in [ ~\\\"*/.ssh/*\\\" ]\\n || link.file.destination.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"za8-uxc-jxk\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n rename.file.name == \\\"authorized_keys\\\" && (rename.file.path in [ ~\\\"*/.ssh/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"tiz-yss-zhq\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.name == \\\"authorized_keys\\\" && (open.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"nej-iw4-adk\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n unlink.file.name == \\\"authorized_keys\\\" && (unlink.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"apr-zj4-ee1\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"ssh_authorized_keys_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"SSH Authorized Keys Modified\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221784,\"creationDate\":1606142954844,\"expression\":\"(\\n utimes.file.name == \\\"authorized_keys\\\" && (utimes.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"yhq-etl-wr6\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_chmod\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n) && chmod.mode != chmod.file.mode\"},\"type\":\"agent_rule\",\"id\":\"12k-ui3-z4h\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_chown\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"},\"type\":\"agent_rule\",\"id\":\"fak-u9s-pac\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_link\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"m8i-uhr-aoq\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_rename\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"2fy-aqt-8mz\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_open\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"adl-qjr-lyg\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_unlink\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"ei7-n5e-rvv\"},{\"attributes\":{\"category\":\"File Activity\",\"name\":\"pam_modification_utimes\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"PAM Configuration Files Modification\",\"enabled\":true,\"defaultRule\":true,\"version\":3,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1628512221276,\"creationDate\":1606142936138,\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"},\"type\":\"agent_rule\",\"id\":\"ohp-ags-xpk\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"passwd_execution\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Passwd utility executed\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1627913197013,\"creationDate\":1617722068383,\"expression\":\"exec.file.path == \\\"/usr/bin/passwd\\\"\"},\"type\":\"agent_rule\",\"id\":\"ejk-rbu-v9x\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"java_shell_execution\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Java process spawned shell/utility\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1627913196085,\"creationDate\":1617722069224,\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\", \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\", \\\"/usr/bin/curl\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"])\\n&& process.ancestors.file.name == \\\"java\\\"\"},\"type\":\"agent_rule\",\"id\":\"pej-frv-8lb\"},{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"common_net_intrusion_util\",\"creator\":{\"handle\":\"\",\"name\":\"\"},\"description\":\"Nmap Execution Detected\",\"enabled\":true,\"defaultRule\":true,\"version\":1,\"updater\":{\"handle\":\"\",\"name\":\"\"},\"updateDate\":1627913195813,\"creationDate\":1617722067554,\"expression\":\"exec.file.path == \\\"/usr/bin/nmap\\\"\"},\"type\":\"agent_rule\",\"id\":\"yiy-mba-pny\"}]}" + "mimeType": "application/json", + "size": 147019, + "text": "{\"data\":[{\"id\":\"gd2-ogg-fyk\",\"attributes\":{\"version\":1,\"name\":\"testgetallcloudworkloadsecurityagentrulesreturnsokresponse1709907553\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907553752,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907553752,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"g5j-9l5-phu\",\"attributes\":{\"version\":11,\"name\":\"cryptominer_args\",\"description\":\"A process launched with arguments associated with cryptominers\",\"expression\":\"exec.args_flags in [\\\"cpu-priority\\\", \\\"donate-level\\\", ~\\\"randomx-1gb-pages\\\"] || exec.args in [~\\\"*stratum+tcp*\\\", ~\\\"*stratum+ssl*\\\", ~\\\"*stratum1+tcp*\\\", ~\\\"*stratum1+ssl*\\\", ~\\\"*stratum2+tcp*\\\", ~\\\"*stratum2+ssl*\\\", ~\\\"*nicehash*\\\", ~\\\"*yespower*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateAuthorUuId\":\"3c3ddadd-9ceb-11ed-b5f9-b6e96f801924\",\"updateDate\":1709241156082,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Daniel Zhou\",\"handle\":\"daniel.zhou@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"ya1-tzs-p2g\",\"attributes\":{\"version\":2,\"name\":\"tde_malware_ransomware_notes_written\",\"description\":\"A possible ransomware note created under common user directories\",\"expression\":\"open.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/opt/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/**\\\", ~\\\"/var/www/**\\\"] && open.file.name in [r\\\".*(restore|recovery|readme|instruction|how_to|ransom).*\\\", r\\\".*(your_|crypt|lock|important).*\\\\.txt$\\\"]\",\"category\":\"File Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703167436145,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1708536266340,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"xn0-ede-cwo\",\"attributes\":{\"version\":1,\"name\":\"tde_nsenter_pid1_detection\",\"description\":\"nsenter used in container to execute code on the OS PID1\",\"expression\":\"exec.file.name == \\\"nsenter\\\" && exec.args_options in [\\\"target=1\\\", \\\"t=1\\\"] && container.id !=\\\"\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1707329054174,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1707329054174,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"wyh-nt8-y0o\",\"attributes\":{\"version\":1,\"name\":\"tde_red_team_domains_used\",\"description\":\"Connection to red team domain\",\"expression\":\"dns.question.name in [~\\\"*.interact.sh\\\" , ~\\\"*.oast.pro\\\" , ~\\\"*.oast.live\\\" , ~\\\"*.oast.site\\\" , ~\\\"*.oast.online\\\" , ~\\\"*.oast.fun\\\" , ~\\\"*.oast.me\\\" , ~\\\"*.burpcollaborator.net\\\" , ~\\\"*.oastify.com\\\" , ~\\\"*canarytokens.com\\\" , ~\\\"*.requestbin.net\\\" , ~\\\"*.dnslog.cn\\\"]\",\"category\":\"Network Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1705421116371,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1705421116371,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"mua-npg-7n2\",\"attributes\":{\"version\":1,\"name\":\"looney_tunables_exploit\",\"description\":\"Looney Tunables (CVE-2023-4911) exploit attempted\",\"expression\":\"exec.file.mode & S_ISUID > 0 && exec.file.uid == 0 && exec.uid != 0 && exec.envs in [~\\\"*GLIBC_TUNABLES*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404434303,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"afy-gnp-rfp\",\"attributes\":{\"version\":1,\"name\":\"kernel_msr_write\",\"description\":\"A process attempted to enable writing to model-specific registers\",\"expression\":\"exec.comm == \\\"modprobe\\\" && process.args =~ \\\"*msr*allow_writes*\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404434302,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"qew-m41-jfc\",\"attributes\":{\"version\":1,\"name\":\"ransomware_note\",\"description\":\"Possible ransomware note created under common user directories\",\"expression\":\"open.flags & O_CREAT > 0 && open.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/opt/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/**\\\", ~\\\"/var/www/**\\\"] && open.file.name in [r\\\"(?i).*(restore|recovery|readme|instruction|how_to|ransom).*|.*(your_|crypt|lock|important).*\\\\.txt$\\\"] && open.file.name != \\\"README.md\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404434302,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mwt-r43-san\",\"attributes\":{\"version\":1,\"name\":\"sensitive_tracing\",\"description\":\"A process is tracing privileged processes or sshd for possible credential dumping\",\"expression\":\"(ptrace.request == PTRACE_PEEKTEXT || ptrace.request == PTRACE_PEEKDATA || ptrace.request == PTRACE_PEEKUSR) && ptrace.tracee.euid == 0 && process.comm not in [\\\"dlv\\\", \\\"dlv-linux-amd64\\\", \\\"strace\\\", \\\"gdb\\\", \\\"lldb-server\\\"]\",\"category\":\"Kernel Activity\",\"creationDate\":0,\"updateDate\":1704404434302,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ul7-jol-1bw\",\"attributes\":{\"version\":1,\"name\":\"cryptominer_envs\",\"description\":\"Process environment variables match cryptocurrency miner\",\"expression\":\"exec.envs in [~\\\"*POOL_USER*\\\", ~\\\"*POOL_URL*\\\", ~\\\"*POOL_PASS*\\\", ~\\\"*DONATE_LEVEL*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404426851,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"dqg-wa2-0oi\",\"attributes\":{\"version\":1,\"name\":\"procdump_execution\",\"description\":\"A tool used to dump process memory has been executed\",\"expression\":\"exec.file.name in [\\\"procmon.exe\\\",\\\"procdump.exe\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404425515,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"csf-k3c-qka\",\"attributes\":{\"version\":1,\"name\":\"minidump_usage\",\"description\":\"Process memory was dumped using the minidump function from comsvcs.dll\",\"expression\":\"exec.cmdline =~ \\\"*MiniDump*\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404425504,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ghp-mfr-1qz\",\"attributes\":{\"version\":1,\"name\":\"tunnel_traffic\",\"description\":\"Tunneling or port forwarding tool used\",\"expression\":\"((exec.comm == \\\"pivotnacci\\\" || exec.comm == \\\"gost\\\") && process.args in [r\\\".*(-L|-C|-R).*\\\"]) || (exec.comm in [\\\"ssh\\\", \\\"sshd\\\"] && process.args in [r\\\".*(-R|-L|-D|w).*\\\"] && process.args in [r\\\"((25[0-5]|(2[0-4]|1\\\\d|[1-9])\\\\d)\\\\.?\\\\b){4}\\\"] ) || (exec.comm == \\\"sshuttle\\\" && process.args in [r\\\".*(-r|--remote|-l|--listen).*\\\"]) || (exec.comm == \\\"socat\\\" && process.args in [r\\\".*(TCP4-LISTEN:|SOCKS).*\\\"]) || (exec.comm in [\\\"iodine\\\", \\\"iodined\\\", \\\"dnscat\\\", \\\"hans\\\", \\\"hans-ubuntu\\\", \\\"ptunnel-ng\\\", \\\"ssf\\\", \\\"3proxy\\\", \\\"ngrok\\\"] && process.parent.comm in [\\\"bash\\\", \\\"dash\\\", \\\"ash\\\", \\\"sh\\\", \\\"tcsh\\\", \\\"csh\\\", \\\"zsh\\\", \\\"ksh\\\", \\\"fish\\\"])\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404425504,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"uhr-n6q-lvh\",\"attributes\":{\"version\":1,\"name\":\"iptables_egress_allowed\",\"description\":\"Egress traffic allowed using iptables\",\"expression\":\"exec.comm == \\\"iptables\\\" && process.args in [r\\\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}.*ACCEPT\\\"] && process.args not in [r\\\"(127\\\\.)|(10\\\\.)|(172\\\\.1[6-9]\\\\.)|(172\\\\.2[0-9]\\\\.)|(^172\\\\.3[0-1]\\\\.)|(192\\\\.168\\\\.)|(169\\\\.254\\\\.)\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424741,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"642-j0s-psf\",\"attributes\":{\"version\":1,\"name\":\"libpam_ebpf_hook\",\"description\":\"Library libpam.so hooked using eBPF\",\"expression\":\"bpf.cmd == BPF_MAP_CREATE && process.args in [r\\\".*libpam.so.*\\\"]\",\"category\":\"Kernel Activity\",\"creationDate\":0,\"updateDate\":1704404424739,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"u8d-fot-gin\",\"attributes\":{\"version\":1,\"name\":\"wmi_spawning_shell\",\"description\":\"Command executed via WMI\",\"expression\":\"exec.file.name in [~\\\"powershell*\\\",\\\"cmd.exe\\\"] && process.parent.file.name == \\\"WmiPrvSE.exe\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424705,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"17k-2xh-ie2\",\"attributes\":{\"version\":1,\"name\":\"crackmap_exec_executed\",\"description\":\"Known offensive tool crackmap exec executed\",\"expression\":\"exec.cmdline in [~\\\"*crackmapexec*\\\", ~\\\"*cme*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424475,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"45j-2y7-vyd\",\"attributes\":{\"version\":1,\"name\":\"chatroom_request\",\"description\":\"A newly created file contacted a chatroom domain\",\"expression\":\"dns.question.name in [\\\"discord.com\\\", \\\"api.telegram.org\\\", \\\"cdn.discordapp.com\\\"] && process.file.in_upper_layer && process.file.change_time < 60s\",\"category\":\"Network Activity\",\"creationDate\":0,\"updateDate\":1704404424472,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ecn-u6p-nqz\",\"attributes\":{\"version\":1,\"name\":\"suspicious_bitsadmin_usage\",\"description\":\"A suspicious bitsadmin command has been executed\",\"expression\":\"exec.file.name == \\\"bitsadmin.exe\\\" && exec.cmdline in [~\\\"*addfile*\\\", ~\\\"*create*\\\", ~\\\"*resume*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424472,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"xcs-z8z-hx3\",\"attributes\":{\"version\":1,\"name\":\"ntds_in_commandline\",\"description\":\"NTDS file referenced in commandline\",\"expression\":\"exec.cmdline =~ \\\"*ntds.dit*\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424468,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"l7e-zmy-5pd\",\"attributes\":{\"version\":1,\"name\":\"scheduled_task_creation\",\"description\":\"A scheduled task was created\",\"expression\":\"exec.file.name in [\\\"at.exe\\\",\\\"schtasks.exe\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424467,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"i8x-ujp-ueg\",\"attributes\":{\"version\":1,\"name\":\"delete_system_log\",\"description\":\"A process deleted common system log files\",\"expression\":\"unlink.file.path in [\\\"/var/run/utmp\\\", \\\"/var/log/wtmp\\\", \\\"/var/log/btmp\\\", \\\"/var/log/lastlog\\\", \\\"/var/log/faillog\\\", \\\"/var/log/syslog\\\", \\\"/var/log/messages\\\", \\\"/var/log/secure\\\", \\\"/var/log/auth.log\\\", \\\"/var/log/boot.log\\\", \\\"/var/log/kern.log\\\"] && process.comm not in [\\\"dockerd\\\", \\\"containerd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404424465,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"xns-u7l-cxs\",\"attributes\":{\"version\":1,\"name\":\"certutil_usage\",\"description\":\"Certutil was executed to transmit or decode a potentially malicious file\",\"expression\":\"exec.file.name == \\\"certutil.exe\\\" && ((exec.cmdline =~ \\\"*urlcache*\\\" && exec.cmdline =~ \\\"*split*\\\") || exec.cmdline =~ \\\"*decode*\\\")\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424457,\"filters\":[\"os == \\\"windows\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hxr-rjo-6am\",\"attributes\":{\"version\":1,\"name\":\"open_msr_writes\",\"description\":\"A process opened a model-specific register (MSR) configuration file\",\"expression\":\"open.file.path == \\\"/sys/module/msr/parameters/allow_writes\\\" && open.flags & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404424453,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"jzh-eac-blf\",\"attributes\":{\"version\":1,\"name\":\"exec_wrmsr\",\"description\":\"The wrmsr program executed\",\"expression\":\"exec.comm == \\\"wrmsr\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404424444,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mdd-iec-z0k\",\"attributes\":{\"version\":14,\"name\":\"database_shell_execution\",\"description\":\"A database application spawned a shell, shell utility, or HTTP utility\",\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) &&\\nprocess.parent.file.name in [\\\"mysqld\\\", \\\"mongod\\\", \\\"postgres\\\"] &&\\n!(process.parent.file.name == \\\"initdb\\\" &&\\nexec.args == \\\"-c locale -a\\\") &&\\n!(process.parent.file.name == \\\"postgres\\\" &&\\nexec.args == ~\\\"*pg_wal*\\\")\",\"category\":\"Process Activity\",\"creationDate\":1617722069155,\"updateDate\":1704404408433,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wic-due-xxn\",\"attributes\":{\"version\":2,\"name\":\"pci_11_5_critical_binaries_open_v2\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && container.created_at > 90s\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404408077,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ie9-9ii-vjx\",\"attributes\":{\"version\":18,\"name\":\"nsswitch_conf_mod_chmod\",\"description\":\"nsswitch may have been modified without authorization\",\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && chmod.file.destination.mode != chmod.file.mode && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1704404407750,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"1ez-rlj-tiq\",\"attributes\":{\"version\":2,\"name\":\"nsswitch_conf_mod_open_v2\",\"description\":\"nsswitch may have been modified without authorization\",\"expression\":\"(\\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\\n (open.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && container.created_at > 90s && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404407660,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"oi0-rk3-alq\",\"attributes\":{\"version\":2,\"name\":\"ssl_certificate_tampering_open_v2\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\\n&& container.created_at > 90s\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404407651,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vzp-pj6-nlx\",\"attributes\":{\"version\":19,\"name\":\"nsswitch_conf_mod_chown\",\"description\":\"nsswitch may have been modified without authorization\",\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid) && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1704404407506,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wbw-rqf-s3a\",\"attributes\":{\"version\":18,\"name\":\"nsswitch_conf_mod_open\",\"description\":\"nsswitch may have been modified without authorization\",\"expression\":\"(\\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\\n (open.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1704404407503,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vkp-n2c-4el\",\"attributes\":{\"version\":3,\"name\":\"credential_modified_open_v2\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n open.flags & ((O_CREAT|O_RDWR|O_WRONLY|O_TRUNC)) > 0 &&\\n (open.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && container.created_at > 90s\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404407503,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ir2-b4s-gfn\",\"attributes\":{\"version\":3,\"name\":\"ssh_authorized_keys_open_v2\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (open.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) && container.created_at > 90s\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1704404407501,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"c2x-vcd-5b4\",\"attributes\":{\"version\":3,\"name\":\"package_management_in_container_v2\",\"description\":\"Package management was detected in a conatiner outside of container start_up\",\"expression\":\"exec.file.path in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && container.id != \\\"\\\" && container.created_at > 90s\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404407500,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"nmo-zeb-pga\",\"attributes\":{\"version\":3,\"name\":\"suspicious_suid_execution\",\"description\":\"Recently written or modified suid file has been executed\",\"expression\":\"((process.file.mode & S_ISUID > 0) && process.file.modification_time < 30s) && exec.file.name != \\\"\\\" && process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1704404407500,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"crl-kkv-3cm\",\"attributes\":{\"version\":3,\"name\":\"tde_testing_tampering\",\"description\":\"testing only\",\"expression\":\"exec.comm == \\\"abcdefgh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703684038882,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1704280473848,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"s6d-kk2-xoh\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_tunneling_and_port_forwarding_technique_used\",\"description\":\"Tunneling and port forwarding tool used\",\"expression\":\"((exec.comm == \\\"pivotnacci\\\" || exec.comm == \\\"gost\\\") && process.args in [r\\\".*(-L|-C|-R).*\\\"])||(exec.comm in [\\\"ssh\\\", \\\"sshd\\\"] && process.args in [r\\\".*(-R|-L|-D|w).*\\\"] && process.args in [r\\\"((25[0-5]|(2[0-4]|1\\\\d|[1-9])\\\\d)\\\\.?\\\\b){4}\\\"] ) || (exec.comm == \\\"sshuttle\\\" && process.args in [r\\\".*(-r|--remote|-l|--listen).*\\\"]) || (exec.comm == \\\"socat\\\" && process.args in [r\\\".*(TCP4-LISTEN:|SOCKS).*\\\"]) || (exec.comm in [\\\"iodine\\\", \\\"iodined\\\", \\\"dnscat\\\", \\\"hans\\\", \\\"hans-ubuntu\\\", \\\"ptunnel-ng\\\", \\\"ssf\\\", \\\"3proxy\\\", \\\"ngrok\\\"] && process.parent.comm in [\\\"bash\\\", \\\"dash\\\", \\\"ash\\\", \\\"sh\\\", \\\"tcsh\\\", \\\"csh\\\", \\\"zsh\\\", \\\"ksh\\\", \\\"fish\\\"])\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703183027074,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703183027074,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"iqa-7wg-rxt\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_privileged_processes_or_sshd_traced\",\"description\":\"A process is tracing privileged processes or sshd for possible credential dumping\",\"expression\":\"((ptrace.tracee.euid==0 && ptrace.tracee.uid ==0)||ptrace.tracee.comm in [~\\\"*sshd*\\\"]) && process.comm not in [\\\"dlv\\\"]\",\"category\":\"Kernel Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703180056299,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703180056299,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"w8h-hbp-12m\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_system_logs_deleted\",\"description\":\"A process deleted common system log files\",\"expression\":\"unlink.file.path in [\\\"/var/run/utmp\\\", \\\"/var/log/wtmp\\\", \\\"/var/log/btmp\\\", \\\"/var/log/lastlog\\\", \\\"/var/log/faillog\\\", \\\"/var/log/syslog\\\", \\\"/var/log/messages\\\", \\\"/var/log/secure\\\", \\\"/var/log/auth.log\\\", \\\"/var/log/boot.log\\\", \\\"/var/log/kern.log\\\"] && process.comm !=\\\"dockerd\\\"\",\"category\":\"File Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703178864120,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703178864120,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"wxv-xlp-34y\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_files_with_extensions_created\",\"description\":\"Multiple files with extensions created under common user directories\",\"expression\":\"rename.file.path in [~\\\"/home/**\\\", ~\\\"/root/**\\\", ~\\\"/bin/**\\\", ~\\\"/usr/bin/**\\\", ~\\\"/var/log/**\\\", ~\\\"/var/lib/log/**\\\", ~\\\"/var/backup/*\\\", ~\\\"/var/www/**\\\"] && rename.file.destination.name in [r\\\"\\\\.[0-9a-z]+$\\\"] && rename.file.destination.name not in [r\\\".*\\\\.(lock|dbtmp|log|journal|ini|sh|json|yml|tmp|snap|txt|pyc|stat|hcl|[0-9])+$\\\"] && process.comm not in [\\\"python\\\",\\\"python3\\\",\\\"agent\\\",\\\"security-agent\\\",\\\"kubectl\\\",\\\"kubelet\\\",\\\"datadog-cluster\\\"]\",\"category\":\"File Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703174626572,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703174626572,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"3fl-m83-qqt\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_proxychains_executed\",\"description\":\"Proxychaining technique used\",\"expression\":\"exec.comm == \\\"proxychains\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703171141223,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703171141223,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"gha-zgq-l5p\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_egress_traffic_allowed_iptables\",\"description\":\"iptables used to allow egress traffic\",\"expression\":\"exec.comm == \\\"iptables\\\" && process.args in [r\\\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\\\d|[1-9]|)\\\\d)\\\\.?\\\\b){4}.*ACCEPT\\\"] && process.args not in [r\\\"(127\\\\.)|(10\\\\.)|(172\\\\.1[6-9]\\\\.)|(172\\\\.2[0-9]\\\\.)|(172\\\\.3[0-1]|\\\\.)|(192\\\\.168\\\\.)|(169\\\\.254\\\\.)\\\"]\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703167436195,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703167436195,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"n9z-ini-wrv\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_kernel_module_loaded_from_tmp\",\"description\":\"Kernel module loaded from common tmp directories\",\"expression\":\"load_module.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\" ]\",\"category\":\"Kernel Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703167436172,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703167436172,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"4jr-tig-mue\",\"attributes\":{\"version\":1,\"name\":\"tde_malware_libpam_hooked_using_ebpf\",\"description\":\"Libpam.so library hooked using ebpf\",\"expression\":\"bpf.cmd == BPF_MAP_CREATE && process.args in [r\\\".*libpam.so.*\\\"]\",\"category\":\"Kernel Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1703160289438,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1703160289438,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"f24-lwh-8pz\",\"attributes\":{\"version\":3,\"name\":\"ps_discovery\",\"description\":\"Processes were listed using the ps command\",\"expression\":\"exec.comm == \\\"ps\\\" && exec.argv not in [\\\"-p\\\", \\\"--pid\\\"] && process.ancestors.file.name not in [\\\"qualys-cloud-agent\\\", \\\"amazon-ssm-agent\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateAuthorUuId\":\"309c6bc6-6e68-11ec-b3fe-da7ad0900002\",\"updateDate\":1702489222385,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Matt Mills\",\"handle\":\"matt.mills@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"esa-kku-q4m\",\"attributes\":{\"version\":8,\"name\":\"common_net_intrusion_util\",\"description\":\"A network utility (nmap) commonly used in intrusion attacks was executed\",\"expression\":\"exec.file.name in [\\\"nmap\\\", \\\"masscan\\\", \\\"fping\\\", \\\"zgrab\\\", \\\"zgrab2\\\", \\\"rustscan\\\", \\\"pnscan\\\"] && exec.args_flags not in [\\\"V\\\", \\\"version\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateAuthorUuId\":\"de54768c-eb9f-11e9-a77a-cb84d47a0c16\",\"updateDate\":1700488339815,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"C\\u00e9cile Guyon\",\"handle\":\"cecile.guyon@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"ll4-n4d-zsq\",\"attributes\":{\"version\":8,\"name\":\"k8s_pod_service_account_token_accessed\",\"description\":\"The Kubernetes pod service account token was accessed\",\"expression\":\"open.file.path in [~\\\"/var/run/secrets/kubernetes.io/serviceaccount/**\\\", ~\\\"/run/secrets/kubernetes.io/serviceaccount/**\\\"] && open.file.name == \\\"token\\\" && process.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"] && process.file.path not in [\\\"/usr/bin/cilium-agent\\\", \\\"/coredns\\\", \\\"/usr/bin/cilium-operator\\\", \\\"/manager\\\", \\\"/fluent-bit/bin/fluent-bit\\\", \\\"/usr/local/bin/cloud-node-manager\\\", \\\"/secrets-store-csi\\\", \\\"/bin/secrets-store-csi-driver-provider-aws\\\", \\\"/usr/bin/calico-node\\\", \\\"/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent\\\", \\\"/nginx-ingress-controller\\\", \\\"/cluster-autoscaler\\\", \\\"/cluster-proportional-autoscaler\\\", \\\"/haproxy-ingress-controller\\\", \\\"/kube-state-metrics\\\", \\\"/fluent-bit-gke-exporter\\\", \\\"/bin/external-secrets\\\", \\\"/node-termination-handler\\\", \\\"/fluent-bit-gke-exporter\\\"] && process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614647574,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"o5b-3eb-em5\",\"attributes\":{\"version\":4,\"name\":\"interactive_shell_in_container\",\"description\":\"An interactive shell was started inside of a container\",\"expression\":\"exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] && exec.args_flags in [\\\"i\\\"] && container.id !=\\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":1627392835654,\"updateDate\":1699614634532,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"pm7-0bt-lbp\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_unlink\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n unlink.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (unlink.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535302,\"updateDate\":1699614632218,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"6ss-gx0-o0l\",\"attributes\":{\"version\":2,\"name\":\"exec_lsmod\",\"description\":\"Kernel modules were listed using the lsmod command\",\"expression\":\"exec.comm == \\\"lsmod\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614632049,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"bay-wrp-htk\",\"attributes\":{\"version\":2,\"name\":\"omigod\",\"description\":\"Omiagent spawns a privileged child process\",\"expression\":\"exec.uid >= 0 && process.ancestors.file.name == \\\"omiagent\\\"\",\"category\":\"Process Activity\",\"creationDate\":1636729662305,\"updateDate\":1699614629763,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"5vv-6pw-c3z\",\"attributes\":{\"version\":2,\"name\":\"exec_whoami\",\"description\":\"The whoami command was executed\",\"expression\":\"exec.comm == \\\"whoami\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614622203,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"lb9-6hv-6k2\",\"attributes\":{\"version\":22,\"name\":\"systemd_modification_utimes\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614620744,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"u8t-ums-bdn\",\"attributes\":{\"version\":9,\"name\":\"suspicious_container_client\",\"description\":\"A container management utility was executed in a container\",\"expression\":\"exec.file.name in [\\\"docker\\\", \\\"kubectl\\\"] && container.id != \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":1617722068555,\"updateDate\":1699614618370,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"3kb-bma-rya\",\"attributes\":{\"version\":4,\"name\":\"auditd_config_modified\",\"description\":\"The auditd configuration file was modified without using auditctl\",\"expression\":\"open.file.path == \\\"/etc/audit/auditd.conf\\\" && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && process.file.name != \\\"auditctl\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614615388,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"lag-ggh-k1o\",\"attributes\":{\"version\":2,\"name\":\"network_sniffing_tool\",\"description\":\"Local account groups were enumerated after container start up\",\"expression\":\"exec.file.name in [\\\"tcpdump\\\", \\\"tshark\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614614908,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"o4t-6hb-gsb\",\"attributes\":{\"version\":22,\"name\":\"systemd_modification_unlink\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614614159,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"cp9-wqy-ie5\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_rename\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n rename.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (rename.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535225,\"updateDate\":1699614610736,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mmd-hm9-nul\",\"attributes\":{\"version\":28,\"name\":\"pci_11_5_critical_binaries_unlink\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535384,\"updateDate\":1699614610678,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"sjc-t7h-y3g\",\"attributes\":{\"version\":2,\"name\":\"sudoers_policy_modified_open\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"\\n(open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n(open.file.path == \\\"/etc/sudoers\\\")) && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614610658,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wty-l8v-uum\",\"attributes\":{\"version\":22,\"name\":\"systemd_modification_open\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158534936,\"updateDate\":1699614610639,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"1fj-fmh-6kw\",\"attributes\":{\"version\":4,\"name\":\"compile_after_delivery\",\"description\":\"A compiler wrote a suspicious file in a container\",\"expression\":\"open.flags & O_CREAT > 0\\n&& (\\n (open.file.path =~ \\\"/tmp/**\\\" && open.file.name in [~\\\"*.ko\\\", ~\\\".*\\\"])\\n || open.file.path in [~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\", ~\\\"/root/**\\\", ~\\\"*/bin/*\\\", ~\\\"/usr/local/lib/**\\\"]\\n)\\n&& (process.comm in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"] || process.ancestors.comm in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"])\\n&& process.file.name not in [\\\"pip\\\", ~\\\"python*\\\"]\\n&& container.id != \\\"\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateAuthorUuId\":\"82ba1758-696c-11ea-828d-fb376ef71e70\",\"updateDate\":1699614610524,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"qox-gue-mq8\",\"attributes\":{\"version\":3,\"name\":\"pwnkit_privilege_escalation\",\"description\":\"A process was spawned with indicators of exploitation of CVE-2021-4034\",\"expression\":\"(exec.file.path == \\\"/usr/bin/pkexec\\\" && exec.envs in [~\\\"*SHELL*\\\", ~\\\"*PATH*\\\"] && exec.envs not in [~\\\"*DISPLAY*\\\", ~\\\"*DESKTOP_SESSION*\\\"] && exec.uid != 0)\",\"category\":\"Process Activity\",\"creationDate\":1643639113864,\"updateDate\":1699614610455,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"dlp-tcr-jju\",\"attributes\":{\"version\":2,\"name\":\"kmod_list\",\"description\":\"Kernel modules were listed using the kmod command\",\"expression\":\"exec.comm == \\\"kmod\\\" && exec.args in [~\\\"*list*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614610436,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"knr-3tx-cl8\",\"attributes\":{\"version\":2,\"name\":\"java_shell_execution_parent\",\"description\":\"A java process spawned a shell, shell utility, or HTTP utility\",\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"])\\n&& process.parent.file.name == \\\"java\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614610329,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"r8w-red-u4k\",\"attributes\":{\"version\":2,\"name\":\"kernel_module_load_from_memory\",\"description\":\"A kernel module was loaded from memory\",\"expression\":\"load_module.loaded_from_memory == true\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718630,\"updateDate\":1699614610258,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"jnv-fq4-f23\",\"attributes\":{\"version\":2,\"name\":\"sudoers_policy_modified_chmod\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (chmod.file.path == \\\"/etc/sudoers\\\") \\n) && chmod.file.destination.mode != chmod.file.mode && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614610235,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ji5-8o4-btp\",\"attributes\":{\"version\":2,\"name\":\"kubernetes_dns_enumeration\",\"description\":\"Kubernetes DNS enumeration\",\"expression\":\"dns.question.name == \\\"any.any.svc.cluster.local\\\" && dns.question.type == SRV && container.id != \\\"\\\"\",\"category\":\"Network Activity\",\"creationDate\":0,\"updateDate\":1699614610050,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"3j1-wdg-qsg\",\"attributes\":{\"version\":28,\"name\":\"pci_11_5_critical_binaries_open\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535263,\"updateDate\":1699614610036,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vaz-icd-nel\",\"attributes\":{\"version\":2,\"name\":\"net_file_download\",\"description\":\"A suspicious file was written by a network utility\",\"expression\":\"open.flags & O_CREAT > 0 && process.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]\\n&& (\\n (open.file.path =~ \\\"/tmp/**\\\" && open.file.name in [~\\\"*.sh\\\", ~\\\"*.c\\\", ~\\\"*.so\\\", ~\\\"*.ko\\\"])\\n || open.file.path in [~\\\"/usr/**\\\", ~\\\"/lib/**\\\", ~\\\"/etc/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609925,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hir-1j3-tsx\",\"attributes\":{\"version\":20,\"name\":\"ssh_authorized_keys_chown\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n chown.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (chown.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":1642158534934,\"updateDate\":1699614609845,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mag-ijd-ucx\",\"attributes\":{\"version\":2,\"name\":\"sudoers_policy_modified_utimes\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (utimes.file.path == \\\"/etc/sudoers\\\")\\n) && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609831,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"yq3-x9w-n3j\",\"attributes\":{\"version\":2,\"name\":\"tar_execution\",\"description\":\"Tar archive created\",\"expression\":\"exec.file.path == \\\"/usr/bin/tar\\\" && exec.args_flags in [\\\"create\\\",\\\"c\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699614609831,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"sfh-mqa-shl\",\"attributes\":{\"version\":24,\"name\":\"ssl_certificate_tampering_chown\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":1642158535153,\"updateDate\":1699614609662,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"f6g-gbx-9l6\",\"attributes\":{\"version\":4,\"name\":\"auditd_rule_file_modified\",\"description\":\"The auditd rules file was modified without using auditctl\",\"expression\":\"open.file.path in [\\\"/etc/audit/rules.d/audit.rules\\\", \\\"/etc/audit/audit.rules\\\"] && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && process.file.name != \\\"auditctl\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609625,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ysi-0bm-8tc\",\"attributes\":{\"version\":34,\"name\":\"kernel_module_chmod\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1642158535040,\"updateDate\":1699614609526,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"0sl-ako-4w6\",\"attributes\":{\"version\":24,\"name\":\"ssl_certificate_tampering_utimes\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/ssl/certs/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609522,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"4ec-mzv-u5g\",\"attributes\":{\"version\":5,\"name\":\"kernel_module_load\",\"description\":\"A kernel module was loaded\",\"expression\":\"load_module.name not in [\\\"nf_tables\\\", \\\"iptable_filter\\\", \\\"ip6table_filter\\\", \\\"bpfilter\\\", \\\"ip6_tables\\\", \\\"ip6table_nat\\\", \\\"nf_reject_ipv4\\\", \\\"ipt_REJECT\\\", \\\"iptable_raw\\\"] && process.ancestors.file.name not in [~\\\"falcon*\\\", \\\"unattended-upgrade\\\", \\\"apt.systemd.daily\\\", \\\"xtables-legacy-multi\\\", \\\"ssm-agent-worker\\\"]\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718458,\"updateDate\":1699614609521,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"kik-wm5-my4\",\"attributes\":{\"version\":5,\"name\":\"dynamic_linker_config_unlink\",\"description\":\"A process unlinked a dynamic linker config file\",\"expression\":\"unlink.file.path in [\\\"/etc/ld.so.preload\\\", \\\"/etc/ld.so.conf\\\", ~\\\"/etc/ld.so.conf.d/*.conf\\\"] && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609521,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"tji-eua-ery\",\"attributes\":{\"version\":2,\"name\":\"sudoers_policy_modified_rename\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (rename.file.path == \\\"/etc/sudoers\\\"\\n || rename.file.destination.path == \\\"/etc/sudoers\\\")\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699614609520,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"bpi-apd-1ad\",\"attributes\":{\"version\":1,\"name\":\"offensive_k8s_tool\",\"description\":\"A known kubernetes pentesting tool has been executed\",\"expression\":\"(exec.file.name in [ ~\\\"python*\\\" ] && (\\\"KubiScan.py\\\" in exec.argv || \\\"kubestriker\\\" in exec.argv ) ) || exec.file.name in [ \\\"kubiscan\\\",\\\"kdigger\\\",\\\"kube-hunter\\\",\\\"rakkess\\\",\\\"peirates\\\",\\\"kubescape\\\",\\\"kubeaudit\\\",\\\"kube-linter\\\",\\\"stratus\\\",~\\\"botb-*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699605542656,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rcz-xwn-5lq\",\"attributes\":{\"version\":1,\"name\":\"redis_save_module\",\"description\":\"Redis module has been created\",\"expression\":\"(open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && open.file.path =~ \\\"/tmp/**\\\" && open.file.name in [~\\\"*.rdb\\\", ~\\\"*.aof\\\", ~\\\"*.so\\\"]) && process.file.name in [\\\"redis-check-rdb\\\", \\\"redis-server\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699605540650,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"oit-dq6-jtz\",\"attributes\":{\"version\":4,\"name\":\"net_util_exfiltration\",\"description\":\"Exfiltration attempt via network utility\",\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && \\nexec.args_options in [ ~\\\"post-file=*\\\", ~\\\"post-data=*\\\", ~\\\"T=*\\\", ~\\\"d=@*\\\", ~\\\"upload-file=*\\\", ~\\\"F=file*\\\"] &&\\nexec.args not in [~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1699605533426,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wos-cqg-alj\",\"attributes\":{\"version\":27,\"name\":\"pci_11_5_critical_binaries_rename\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535169,\"updateDate\":1699605533116,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"1bt-oqb-nhw\",\"attributes\":{\"version\":27,\"name\":\"pci_11_5_critical_binaries_link\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535044,\"updateDate\":1699605533055,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"f1p-4uk-ji9\",\"attributes\":{\"version\":2,\"name\":\"selinux_disable_enforcement\",\"description\":\"SELinux enforcement status was disabled\",\"expression\":\"selinux.enforce.status in [\\\"permissive\\\", \\\"disabled\\\"] && process.ancestors.args != ~\\\"*BECOME-SUCCESS*\\\"\",\"category\":\"Kernel Activity\",\"creationDate\":1635332067172,\"updateDate\":1699605533031,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ewk-kr1-m8w\",\"attributes\":{\"version\":6,\"name\":\"runc_modification\",\"description\":\"The runc binary was modified in a non-standard way\",\"expression\":\"open.file.path in [\\\"/usr/bin/runc\\\", \\\"/usr/sbin/runc\\\", \\\"/usr/bin/docker-runc\\\"]\\n&& open.flags & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"File Activity\",\"creationDate\":1627392837049,\"updateDate\":1699605532961,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"4ym-hxb-nfc\",\"attributes\":{\"version\":27,\"name\":\"pci_11_5_critical_binaries_utimes\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535079,\"updateDate\":1699605532927,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"39x-fmc-9sw\",\"attributes\":{\"version\":27,\"name\":\"pci_11_5_critical_binaries_chown\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":1642158535097,\"updateDate\":1699605532862,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"3xp-uvx-hxk\",\"attributes\":{\"version\":13,\"name\":\"apparmor_modified_tty\",\"description\":\"An AppArmor profile was modified in an interactive session\",\"expression\":\"exec.file.name in [\\\"aa-disable\\\", \\\"aa-complain\\\", \\\"aa-audit\\\"] && exec.tty_name !=\\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":1627392836162,\"updateAuthorUuId\":\"f4183a42-8a64-11ea-93df-c318904b3ca4\",\"updateDate\":1699605532856,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"v4a-bat-ppk\",\"attributes\":{\"version\":27,\"name\":\"pci_11_5_critical_binaries_chmod\",\"description\":\"Critical system binaries may have been modified\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1642158535079,\"updateDate\":1699605532822,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ylg-dxo-yuk\",\"attributes\":{\"version\":2,\"name\":\"rc_scripts_modified\",\"description\":\"RC scripts modified\",\"expression\":\"(open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && (open.file.path in [\\\"/etc/rc.common\\\", \\\"/etc/rc.local\\\"])) && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1699605532814,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mal-nic-u3y\",\"attributes\":{\"version\":3,\"name\":\"Deno_unauthorized_subprocess_created\",\"description\":\"Unauthorized subprocess created by deno runtime\",\"expression\":\"exec.comm !=\\\"\\\" && process.ancestors.comm==\\\"deno\\\" && process.ancestors.args not in [r\\\".*(allow-run|-A|allow-all).*\\\"]\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1691743022082,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1692012153553,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"cwq-z6j-igp\",\"attributes\":{\"version\":2,\"name\":\"Deno_unauthorized_network_access_performed\",\"description\":\"Unauthorized network access by deno runtime\",\"expression\":\"bind.addr.family>=0 && process.comm==\\\"deno\\\" && process.args not in [r\\\".*(allow-net|allow-ffi|-A|allow-all).*\\\"]\",\"category\":\"Kernel Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1691743022106,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1692012153529,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"hfc-a0c-8yl\",\"attributes\":{\"version\":1,\"name\":\"executable_bit_added\",\"description\":\"The executable bit was added to a newly created file\",\"expression\":\"chmod.file.in_upper_layer &&\\nchmod.file.change_time < 30s &&\\ncontainer.id != \\\"\\\" &&\\nchmod.file.destination.mode != chmod.file.mode &&\\nchmod.file.destination.mode & S_IXUSR|S_IXGRP|S_IXOTH > 0 &&\\nprocess.argv in [\\\"+x\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1690311003102,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"osi-fya-a5p\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_link\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n link.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (link.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535286,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"o5j-dvu-sdy\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_utimes\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n utimes.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (utimes.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535278,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rut-8bg-ycb\",\"attributes\":{\"version\":31,\"name\":\"credential_modified_utimes\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535200,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"qka-g4s-khh\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_open\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (open.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158534864,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"g5n-jhl-zge\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_rename\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142936138,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"xrg-evq-ka5\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_unlink\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142936138,\"updateDate\":1690311003028,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"nnu-ch5-3gm\",\"attributes\":{\"version\":1,\"name\":\"deploy_priv_container\",\"description\":\"A privileged container was created\",\"expression\":\"exec.file.name != \\\"\\\" && container.created_at < 1s && process.cap_permitted & CAP_SYS_ADMIN > 0\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1688748464067,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"6ln-wqy-y8b\",\"attributes\":{\"version\":1,\"name\":\"net_util_in_container_v2\",\"description\":\"A network utility was executed in a container\",\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) &&\\ncontainer.id != \\\"\\\" && exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] && container.created_at > 180s\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1688748463994,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hmy-il6-bk5\",\"attributes\":{\"version\":1,\"name\":\"hidden_file_executed\",\"description\":\"A hidden file was executed in a suspicious folder\",\"expression\":\"exec.file.name =~ \\\".*\\\" && exec.file.path in [~\\\"/home/**\\\", ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/dev/shm/**\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1688748463951,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"iwa-79s-pb3\",\"attributes\":{\"version\":1,\"name\":\"shell_profile_modification\",\"description\":\"Shell profile was modified\",\"expression\":\"open.file.path in [~\\\"/home/*/*profile\\\", ~\\\"/home/*/*rc\\\"] && open.flags & ((O_CREAT|O_TRUNC|O_RDWR|O_WRONLY)) > 0\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1688748463951,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mr2-bwg-0jr\",\"attributes\":{\"version\":1,\"name\":\"suid_file_execution\",\"description\":\"a SUID file was executed\",\"expression\":\"(setuid.euid == 0 || setuid.uid == 0) && process.file.mode & S_ISUID > 0 && process.file.uid == 0 && process.uid != 0 && process.file.path != \\\"/usr/bin/sudo\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1688748463947,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"zdz-pje-kbg\",\"attributes\":{\"version\":4,\"name\":\"python_cli_code\",\"description\":\"Python code was provided on the command line\",\"expression\":\"exec.file.name == ~\\\"python*\\\" && exec.args_flags in [\\\"c\\\"] && exec.args in [~\\\"*-c*SOCK_STREAM*\\\", ~\\\"*-c*subprocess*\\\", \\\"*-c*/bash*\\\", \\\"*-c*/bin/sh*\\\", \\\"*-c*pty.spawn*\\\"] && exec.args !~ \\\"*setuptools*\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1688748460425,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"doi-13m-kzx\",\"attributes\":{\"version\":1,\"name\":\"kubernetes_offensive_tool_executed\",\"description\":\"Kubernetes offensive tool executed\",\"expression\":\"(exec.file.name in [ ~\\\"python*\\\" ] && (\\\"KubiScan.py\\\" in exec.argv || \\\"kubestriker\\\" in exec.argv )) || exec.file.name in [\\\"kubiscan\\\",\\\"kdigger\\\",\\\"kube-hunter\\\",\\\"rakkess\\\",\\\"peirates\\\",\\\"kubescape\\\",\\\"kubeaudit\\\",\\\"kube-linter\\\",\\\"stratus\\\",~\\\"botb-*\\\"]\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1688462439963,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1688462439963,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"nrd-9be-wnm\",\"attributes\":{\"version\":9,\"name\":\"compiler_in_container\",\"description\":\"Compiler Executed in Container\",\"expression\":\"(exec.file.name in [\\\"javac\\\", \\\"clang\\\", \\\"gcc\\\",\\\"bcc\\\"] || (exec.file.name == \\\"go\\\" && exec.args in [~\\\"*build*\\\", ~\\\"*run*\\\"])) && container.id !=\\\"\\\" && process.ancestors.file.path != \\\"/usr/bin/cilium-agent\\\"\",\"category\":\"Process Activity\",\"creationDate\":1627392836759,\"updateAuthorUuId\":\"9d3a4eb0-1e67-11ed-b20c-da7ad0900002\",\"updateDate\":1685978095211,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"John Murray\",\"handle\":\"john.murray@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"jea-2m4-kyy\",\"attributes\":{\"version\":1,\"name\":\"curl_docker_socket\",\"description\":\"The Docker socket was referenced in a cURL command\",\"expression\":\"exec.file.name == \\\"curl\\\" && exec.args_flags in [\\\"unix-socket\\\"] && exec.args in [\\\"*docker.sock*\\\"] && container.id != \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1684184973805,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"i1f-7yg-x6s\",\"attributes\":{\"version\":1,\"name\":\"sudoers_policy_modified_link\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (link.file.path == \\\"/etc/sudoers\\\"\\n || link.file.destination.path == \\\"/etc/sudoers\\\")\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1684184973412,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"r5j-bb3-dmf\",\"attributes\":{\"version\":1,\"name\":\"read_release_info\",\"description\":\"OS information was read from the /etc/lsb-release file\",\"expression\":\"open.file.path == \\\"/etc/lsb-release\\\" && open.flags & O_RDONLY > 0\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1684184973295,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"98m-cex-egg\",\"attributes\":{\"version\":1,\"name\":\"user_deleted_tty\",\"description\":\"A user was deleted via an interactive session\",\"expression\":\"exec.file.name in [\\\"userdel\\\", \\\"deluser\\\"] && exec.tty_name !=\\\"\\\" && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1684184973238,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"luc-at7-mvw\",\"attributes\":{\"version\":1,\"name\":\"sudoers_policy_modified_chown\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (chown.file.path == \\\"/etc/sudoers\\\")\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1684184973211,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"8qc-61h-epb\",\"attributes\":{\"version\":1,\"name\":\"sudoers_policy_modified_unlink\",\"description\":\"Sudoers policy file may have been modified without authorization\",\"expression\":\"(\\n (unlink.file.path == \\\"/etc/sudoers\\\")\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1684184973209,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"2np-cy4-jad\",\"attributes\":{\"version\":1,\"name\":\"service_stop\",\"description\":\"systemctl used to stop a service\",\"expression\":\"exec.file.name == \\\"systemctl\\\" && exec.args in [~\\\"*stop*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1684184973206,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"azw-asm-uwe\",\"attributes\":{\"version\":1,\"name\":\"read_kubeconfig\",\"description\":\"The kubeconfig file was accessed\",\"expression\":\"open.file.path in [~\\\"/home/*/.kube/config\\\", \\\"/root/.kube/config\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1684184973196,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"qp4-oog-vwu\",\"attributes\":{\"version\":1,\"name\":\"jupyterhub_shell\",\"description\":\"A shell command was executed from a JupyterHub code cell\",\"expression\":\"exec.file.path == \\\"/usr/bin/bash\\\" && process.ancestors.comm == \\\"jupyterhub-sing\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"creationDate\":1682687626099,\"updateAuthorUuId\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\",\"updateDate\":1682687626099,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"},\"updater\":{\"name\":\"Threat Detection Engineering CI/CD\",\"handle\":\"9b3398f3-af79-49aa-b643-8a607ee6f848\"}},\"type\":\"agent_rule\"},{\"id\":\"k2h-ntz-zno\",\"attributes\":{\"version\":3,\"name\":\"auditctl_usage\",\"description\":\"The auditctl command was used to modify auditd\",\"expression\":\"exec.file.name == \\\"auditctl\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1681806567456,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Cl\\u00e9ment Kuzniewycz\",\"handle\":\"clement.kuzniewycz@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"fft-hfp-fuu\",\"attributes\":{\"version\":7,\"name\":\"aws_eks_service_account_token_accessed\",\"description\":\"The AWS EKS service account token was accessed\",\"expression\":\"open.file.path =~ \\\"/var/run/secrets/eks.amazonaws.com/serviceaccount/**\\\" && open.file.name == \\\"token\\\" && process.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1681806564733,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Cl\\u00e9ment Kuzniewycz\",\"handle\":\"clement.kuzniewycz@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"ucr-akl-jgo\",\"attributes\":{\"version\":3,\"name\":\"aws_imds\",\"description\":\"An AWS IMDS was called via a network utility\",\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && exec.args in [~\\\"*169.254.169.254/latest/meta-data/iam/security-credentials/*\\\", \\\"*169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\\\", ~\\\"*169.254.170.2/*/credentials?id=*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1681806563896,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Cl\\u00e9ment Kuzniewycz\",\"handle\":\"clement.kuzniewycz@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"p6d-hln-r9c\",\"attributes\":{\"version\":23,\"name\":\"ssl_certificate_tampering_chmod\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && chmod.file.mode != chmod.file.destination.mode\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":1642158535314,\"updateDate\":1681490426484,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"9e8-rvn-6hv\",\"attributes\":{\"version\":23,\"name\":\"ssl_certificate_tampering_unlink\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/etc/ssl/certs/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":1642158535055,\"updateDate\":1681490425998,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rim-3ys-upw\",\"attributes\":{\"version\":3,\"name\":\"dynamic_linker_config_write\",\"description\":\"A process wrote to a dynamic linker config file\",\"expression\":\"open.file.path in [\\\"/etc/ld.so.preload\\\", \\\"/etc/ld.so.conf\\\", \\\"/etc/ld.so.conf.d/*.conf\\\"] && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"] && process.ancestors.file.path not in [\\\"/opt/datadog-agent/embedded/bin/agent\\\", \\\"/opt/datadog-agent/embedded/bin/system-probe\\\", \\\"/opt/datadog-agent/embedded/bin/security-agent\\\", \\\"/opt/datadog-agent/embedded/bin/process-agent\\\", \\\"/opt/datadog-agent/bin/agent/agent\\\", \\\"/opt/datadog/apm/inject/auto_inject_runc\\\", \\\"/usr/bin/dd-host-install\\\", \\\"/usr/bin/dd-host-container-install\\\", \\\"/usr/bin/dd-container-install\\\", \\\"/opt/datadog-agent/bin/datadog-cluster-agent\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1681490425873,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"twt-qsc-twv\",\"attributes\":{\"version\":23,\"name\":\"ssl_certificate_tampering_link\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n && process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.file.name !~ \\\"runc*\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535139,\"updateDate\":1681490425573,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"1n2-xpg-6nx\",\"attributes\":{\"version\":23,\"name\":\"ssl_certificate_tampering_open\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1681490425289,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"uot-9ro-hpp\",\"attributes\":{\"version\":2,\"name\":\"shell_history_deleted\",\"description\":\"Shell History was Deleted\",\"expression\":\"(unlink.file.name =~ r\\\".([dbazfi]*sh)(_history)$\\\") && process.comm not in [\\\"dockerd\\\", \\\"containerd\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1681490425280,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"jxj-xnb-lua\",\"attributes\":{\"version\":3,\"name\":\"shell_history_truncated\",\"description\":\"Shell History was Deleted\",\"expression\":\"open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && open.file.name =~ r\\\".([dbazfi]*sh)(_history)$\\\" && open.file.path in [~\\\"/root/*\\\", ~\\\"/home/**\\\"] && process.file.name == \\\"truncate\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1681490425220,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"gur-w5f-2kn\",\"attributes\":{\"version\":23,\"name\":\"ssl_certificate_tampering_rename\",\"description\":\"SSL certificates may have been tampered with\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/etc/ssl/certs/**\\\", ~\\\"/etc/pki/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\\n&& process.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path != \\\"/usr/sbin/update-ca-certificates\\\"\\n&& process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n&& process.file.name !~ \\\"runc*\\\"\",\"category\":\"File Activity\",\"creationDate\":1642158535082,\"updateDate\":1681490425217,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"jiu-wmv-ig0\",\"attributes\":{\"version\":35,\"name\":\"credential_modified_chmod\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (chmod.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1642158535177,\"updateDate\":1678909084442,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Nick Allen\",\"handle\":\"nick.allen@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"bg2-noz-ouf\",\"attributes\":{\"version\":6,\"name\":\"dirty_pipe_attempt\",\"description\":\"Potential Dirty pipe exploitation attempt\",\"expression\":\"(splice.pipe_entry_flag & PIPE_BUF_FLAG_CAN_MERGE) != 0 && (splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) == 0 && (process.uid != 0 && process.gid != 0)\",\"category\":\"File Activity\",\"creationDate\":1648564123603,\"updateDate\":1678308032425,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Alexander Daskalov\",\"handle\":\"alexander.daskalov@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"ydj-k3d-kh3\",\"attributes\":{\"version\":4,\"name\":\"ip_check_domain\",\"description\":\"A DNS lookup was done for a IP check service\",\"expression\":\"dns.question.name in [\\\"icanhazip.com\\\", \\\"ip-api.com\\\", \\\"myip.opendns.com\\\", \\\"checkip.amazonaws.com\\\", \\\"whatismyip.akamai.com\\\"] && process.file.name != \\\"\\\"\",\"category\":\"Network Activity\",\"creationDate\":1648643213312,\"updateDate\":1678307295173,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"Alexander Daskalov\",\"handle\":\"alexander.daskalov@datadoghq.com\"}},\"type\":\"agent_rule\"},{\"id\":\"i64-vlz-y6u\",\"attributes\":{\"version\":22,\"name\":\"systemd_modification_chmod\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1642158535224,\"updateDate\":1677793411681,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"69h-fh3-8gd\",\"attributes\":{\"version\":1,\"name\":\"tty_shell_in_container\",\"description\":\"A shell with a TTY was executed in a container\",\"expression\":\"exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] && process.tty_name != \\\"\\\" && process.container.id != \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1677793400846,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ygs-aya-gxb\",\"attributes\":{\"version\":1,\"name\":\"redis_sandbox_escape\",\"description\":\"Detects CVE-2022-0543\",\"expression\":\"(open.file.path =~ \\\"/usr/lib/x86_64-linux-gnu/*\\\" && open.file.name in [\\\"libc-2.29.so\\\", \\\"libc-2.30.so\\\", \\\"libc-2.31.so\\\", \\\"libc-2.32.so\\\", \\\"libc-2.33.so\\\", \\\"libc-2.34.so\\\", \\\"libc-2.35.so\\\", \\\"libc-2.36.so\\\", \\\"libc-2.37.so\\\"]) && process.ancestors.comm in [\\\"redis-check-rdb\\\", \\\"redis-server\\\"]\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1677793399338,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"h2l-v6b-akf\",\"attributes\":{\"version\":1,\"name\":\"base64_decode\",\"description\":\"The base64 command was used to decode information\",\"expression\":\"exec.file.name == \\\"base64\\\" && exec.args_flags in [\\\"d\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1677793399280,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"jvq-pxe-ygn\",\"attributes\":{\"version\":21,\"name\":\"systemd_modification_rename\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1677793384295,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"esw-xou-pwg\",\"attributes\":{\"version\":11,\"name\":\"package_management_in_container\",\"description\":\"Package management was detected in a container\",\"expression\":\"exec.file.path in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && container.id != \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":1617722067648,\"updateDate\":1677793383505,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"0yf-x4j-zbg\",\"attributes\":{\"version\":6,\"name\":\"user_created_tty\",\"description\":\"A user was created via an interactive session\",\"expression\":\"exec.file.name in [\\\"useradd\\\", \\\"newusers\\\", \\\"adduser\\\"] && exec.tty_name !=\\\"\\\" && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && exec.args_flags not in [\\\"D\\\"]\",\"category\":\"Process Activity\",\"creationDate\":1627392836979,\"updateDate\":1677793382984,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"7nm-5gf-ghj\",\"attributes\":{\"version\":3,\"name\":\"new_binary_execution_in_container\",\"description\":\"A container executed a new binary not found in the container image\",\"expression\":\"container.id != \\\"\\\" && process.file.in_upper_layer && process.file.modification_time < 30s && exec.file.name != \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":1652129906455,\"updateDate\":1677793380182,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wib-i2s-0eb\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_utimes\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142936138,\"updateDate\":1677793376369,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"d1p-2un-5ay\",\"attributes\":{\"version\":21,\"name\":\"systemd_modification_link\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1677793376080,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"aic-m2b-kbp\",\"attributes\":{\"version\":22,\"name\":\"systemd_modification_chown\",\"description\":\"A service may have been modified without authorization\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/systemd/system/**\\\", ~\\\"/usr/lib/systemd/system/**\\\", ~\\\"/etc/systemd/system/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1677793375206,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rxa-v6v-oyz\",\"attributes\":{\"version\":31,\"name\":\"credential_modified_rename\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535356,\"updateDate\":1677793375033,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"tys-u1m-rgt\",\"attributes\":{\"version\":33,\"name\":\"kernel_module_chown\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":1598516746168,\"updateDate\":1677793374885,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hzz-0oh-mji\",\"attributes\":{\"version\":32,\"name\":\"kernel_module_utimes\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1598516746168,\"updateDate\":1677793374395,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"om1-5ch-5sf\",\"attributes\":{\"version\":32,\"name\":\"kernel_module_unlink\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1598516746168,\"updateDate\":1677793372622,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wwu-ysx-rm7\",\"attributes\":{\"version\":32,\"name\":\"kernel_module_rename\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535229,\"updateDate\":1677793372373,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rza-8h3-4lj\",\"attributes\":{\"version\":32,\"name\":\"credential_modified_chown\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (chown.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":1642158534952,\"updateDate\":1677793372165,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"s17-cle-cuf\",\"attributes\":{\"version\":31,\"name\":\"credential_modified_link\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (link.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n || link.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535271,\"updateDate\":1677793372149,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ty2-qc4-drd\",\"attributes\":{\"version\":32,\"name\":\"kernel_module_link\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535200,\"updateDate\":1677793372103,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hsk-ug8-fu7\",\"attributes\":{\"version\":32,\"name\":\"kernel_module_open\",\"description\":\"A new kernel module was added\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/lib/modules/**\\\", ~\\\"/usr/lib/modules/**\\\" ])\\n && process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\",\"category\":\"File Activity\",\"creationDate\":1598516746168,\"updateDate\":1677793371891,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"rme-dmd-trz\",\"attributes\":{\"version\":31,\"name\":\"credential_modified_unlink\",\"description\":\"Sensitive credential files were modified using a non-standard tool\",\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/local/bin/dockerd\\\", \\\"/usr/sbin/groupadd\\\", \\\"/usr/sbin/useradd\\\", \\\"/usr/sbin/usermod\\\", \\\"/usr/sbin/userdel\\\", \\\"/usr/bin/gpasswd\\\", \\\"/usr/bin/chage\\\", \\\"/usr/sbin/chpasswd\\\", \\\"/usr/bin/passwd\\\" ]\\n && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"]\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535113,\"updateDate\":1677793371890,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"bya-q5x-vjt\",\"attributes\":{\"version\":24,\"name\":\"cron_at_job_creation_rename\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (rename.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ]\\n || rename.file.destination.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486419017,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"6p8-mws-jmo\",\"attributes\":{\"version\":1,\"name\":\"potential_web_shell_parent\",\"description\":\"A web application spawned a shell or shell utility\",\"expression\":\"(exec.file.path in [ \\\"/bin/dash\\\",\\n \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\",\\n \\\"/bin/static-sh\\\",\\n \\\"/usr/bin/sh\\\",\\n \\\"/bin/bash\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\",\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\",\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\",\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\",\\n \\\"/bin/rksh93\\\",\\n \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\",\\n \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\",\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\",\\n \\\"/bin/zsh5\\\",\\n \\\"/bin/zsh5-static\\\" ] || exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] || exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\",\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\",\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\",\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\",\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\",\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\",\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"/usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"/usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\",\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"/usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\",\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\",\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"/usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\",\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\",\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\",\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\",\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\",\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\",\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\",\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\",\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"]) &&\\n(process.parent.file.name in [\\\"apache2\\\", \\\"nginx\\\", ~\\\"tomcat*\\\", \\\"httpd\\\"] || process.parent.file.name =~ \\\"php*\\\")\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1674486410462,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"c3b-qwh-lwy\",\"attributes\":{\"version\":1,\"name\":\"mount_host_fs\",\"description\":\"The host file system was mounted in a container\",\"expression\":\"mount.source.path == \\\"/\\\" && mount.fs_type != \\\"overlay\\\" && container.id != \\\"\\\"\",\"category\":\"File Activity\",\"creationDate\":0,\"updateDate\":1674486409763,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"mfw-adh-mba\",\"attributes\":{\"version\":1,\"name\":\"memfd_create\",\"description\":\"memfd object created\",\"expression\":\"exec.file.name =~ \\\"memfd*\\\" && exec.file.path == \\\"\\\"\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1674486409582,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ylo-d9p-7e2\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_chmod\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && chmod.file.destination.mode != chmod.file.mode\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486392555,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"zwi-z69-wxv\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_chown\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486392076,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"abd-4hy-aep\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_utimes\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (utimes.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486391087,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"kft-h30-mqm\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_unlink\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (unlink.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486390957,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"xda-xrq-k9e\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_open\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486390712,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vxt-pdr-0cl\",\"attributes\":{\"version\":25,\"name\":\"cron_at_job_creation_link\",\"description\":\"An unauthorized job was added to cron scheduling\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ]\\n || link.file.destination.path in [ ~\\\"/var/spool/cron/**\\\", ~\\\"/etc/cron.*/**\\\", ~\\\"/etc/crontab\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\\n&& process.file.path not in [~\\\"/usr/bin/apt*\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/containerd\\\", \\\"/usr/local/bin/containerd\\\", \\\"/usr/bin/dockerd\\\", \\\"/usr/bin/npm\\\", ~\\\"/usr/bin/pip*\\\"]\",\"category\":\"File Activity\",\"creationDate\":1606142961130,\"updateDate\":1674486390691,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":false,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"z01-5m6-bbi\",\"attributes\":{\"version\":1,\"name\":\"gcp_imds\",\"description\":\"An GCP IMDS was called via a network utility\",\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && exec.args in [~\\\"*metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token\\\", ~\\\"*169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1670604148337,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"tez-7by-uke\",\"attributes\":{\"version\":1,\"name\":\"azure_imds\",\"description\":\"An Azure IMDS was called via a network utility\",\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && exec.args in [~\\\"*169.254.169.254/metadata/identity/oauth2/token?api-version=*\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1670604148316,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"fcs-rzj-p0a\",\"attributes\":{\"version\":1,\"name\":\"net_unusual_request\",\"description\":\"Network utility executed with suspicious URI\",\"expression\":\"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && exec.args in [~\\\"*.php*\\\", ~\\\"*.jpg*\\\"] \",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1670604148316,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"u4x-0kv-jq1\",\"attributes\":{\"version\":2,\"name\":\"ptrace_antidebug\",\"description\":\"A process uses an anti-debugging technique to block debuggers\",\"expression\":\"ptrace.request == PTRACE_TRACEME && process.file.name != \\\"\\\"\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718435,\"updateDate\":1670604142703,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hyc-d0a-iat\",\"attributes\":{\"version\":9,\"name\":\"passwd_execution\",\"description\":\"The passwd or chpasswd utility was used to modify an account password\",\"expression\":\"exec.file.path in [\\\"/usr/bin/passwd\\\", \\\"/usr/sbin/chpasswd\\\"] && exec.args_flags not in [\\\"S\\\", \\\"status\\\"]\",\"category\":\"Process Activity\",\"creationDate\":1617722068383,\"updateDate\":1666888149907,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vls-ztk-8p0\",\"attributes\":{\"version\":2,\"name\":\"dirty_pipe_exploitation\",\"description\":\"Potential Dirty pipe exploitation\",\"expression\":\"(splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) > 0 && (process.uid != 0 && process.gid != 0)\",\"category\":\"File Activity\",\"creationDate\":1648564123563,\"updateDate\":1666888149012,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"3ga-ibr-dlw\",\"attributes\":{\"version\":19,\"name\":\"net_util_in_container\",\"description\":\"A network utility was executed in a container\",\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) &&\\ncontainer.id != \\\"\\\" && exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ]\",\"category\":\"Process Activity\",\"creationDate\":1617722068439,\"updateDate\":1666888148873,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"kel-je5-jhu\",\"attributes\":{\"version\":14,\"name\":\"net_util\",\"description\":\"A network utility was executed\",\"expression\":\"(exec.comm in [\\\"socat\\\", \\\"dig\\\", \\\"nslookup\\\", \\\"host\\\", ~\\\"netcat*\\\", ~\\\"nc*\\\", \\\"ncat\\\"] ||\\n exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"]) &&\\ncontainer.id == \\\"\\\" && exec.args not in [ ~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ]\",\"category\":\"Process Activity\",\"creationDate\":1617722067377,\"updateDate\":1666888148817,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"zp1-2vr-dji\",\"attributes\":{\"version\":1,\"name\":\"ld_preload_unusual_library_path\",\"description\":\"The LD_PRELOAD variable is populated by a link to a suspicious file directory\",\"expression\":\"exec.envs in [~\\\"LD_PRELOAD=*/tmp/*\\\" ,~\\\"LD_PRELOAD=/dev/shm/*\\\" ]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1665475122104,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"iha-seu-ukg\",\"attributes\":{\"version\":18,\"name\":\"pam_modification_chown\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (chown.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\",\"category\":\"File Activity\",\"creationDate\":1642158535185,\"updateDate\":1665475117830,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"5jz-f4m-ujl\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_chmod\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (chmod.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1606142936138,\"updateDate\":1665475098297,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hyg-xco-0yu\",\"attributes\":{\"version\":19,\"name\":\"ssh_authorized_keys_chmod\",\"description\":\"SSH modified keys may have been modified\",\"expression\":\"(\\n chmod.file.name in [ \\\"authorized_keys\\\", \\\"authorized_keys2\\\" ] && (chmod.file.path in [ ~\\\"/root/.ssh/*\\\", ~\\\"/home/*/.ssh/*\\\", ~\\\"/var/lib/*/.ssh/*\\\" ])\\n) && chmod.file.destination.mode != chmod.file.mode\",\"category\":\"File Activity\",\"creationDate\":1642158535014,\"updateDate\":1665475096405,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"m6c-qaa-oq5\",\"attributes\":{\"version\":1,\"name\":\"shell_history_symlink\",\"description\":\"A symbolic link for shell history was created targeting /dev/null\",\"expression\":\"exec.comm == \\\"ln\\\" && exec.args in [~\\\"*.*history*\\\", \\\"/dev/null\\\"]\",\"category\":\"Process Activity\",\"creationDate\":0,\"updateDate\":1661193978111,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"e8x-hfv-opq\",\"attributes\":{\"version\":3,\"name\":\"potential_cryptominer\",\"description\":\"A process resolved a DNS name associated with cryptomining activity\",\"expression\":\"dns.question.name in [~\\\"*minexmr.com\\\", ~\\\"*nanopool.org\\\", ~\\\"*supportxmr.com\\\", ~\\\"*c3pool.com\\\", ~\\\"*p2pool.io\\\", ~\\\"*ethermine.org\\\", ~\\\"*f2pool.com\\\", ~\\\"*poolin.me\\\", ~\\\"*rplant.xyz\\\"] && process.file.name != \\\"\\\"\",\"category\":\"Network Activity\",\"creationDate\":1648643213236,\"updateDate\":1658502066736,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"o9o-bqw-xda\",\"attributes\":{\"version\":2,\"name\":\"paste_site\",\"description\":\"A DNS lookup was done for a pastebin-like site\",\"expression\":\"dns.question.name in [\\\"pastebin.com\\\", \\\"ghostbin.com\\\", \\\"termbin.com\\\", \\\"klgrth.io\\\"] && process.file.name != \\\"\\\"\",\"category\":\"Network Activity\",\"creationDate\":1648643213212,\"updateDate\":1654020328112,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"ozc-4r6-5v6\",\"attributes\":{\"version\":2,\"name\":\"kernel_module_load_container\",\"description\":\"A container loaded a new kernel module\",\"expression\":\"load_module.name != \\\"\\\" && container.id !=\\\"\\\"\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718705,\"updateDate\":1650371510304,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"qxl-uky-d3i\",\"attributes\":{\"version\":1,\"name\":\"ptrace_injection\",\"description\":\"A process attempted to inject code into another process\",\"expression\":\"ptrace.request == PTRACE_POKETEXT || ptrace.request == PTRACE_POKEDATA || ptrace.request == PTRACE_POKEUSR\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718540,\"updateDate\":1650293782685,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"hkb-qnu-nin\",\"attributes\":{\"version\":1,\"name\":\"kernel_module_load_from_memory_container\",\"description\":\"A kernel module was loaded from memory inside a container\",\"expression\":\"load_module.loaded_from_memory == true && container.id !=\\\"\\\"\",\"category\":\"Kernel Activity\",\"creationDate\":1650293718365,\"updateDate\":1650293782651,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vgp-c7n-4ww\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_open\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535331,\"updateDate\":1643993958380,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"dk5-qem-ukk\",\"attributes\":{\"version\":17,\"name\":\"pam_modification_link\",\"description\":\"PAM may have been modified without authorization\",\"expression\":\"(\\n (link.file.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ]\\n || link.file.destination.path in [ ~\\\"/etc/pam.d/**\\\", \\\"/etc/pam.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1642158535089,\"updateDate\":1643993957839,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"g0j-tcx-9yi\",\"attributes\":{\"version\":16,\"name\":\"nsswitch_conf_mod_link\",\"description\":\"Nsswitch Configuration Modified\",\"expression\":\"(\\n (link.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || link.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1628512222322,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"wu3-ect-q5y\",\"attributes\":{\"version\":16,\"name\":\"nsswitch_conf_mod_rename\",\"description\":\"Nsswitch Configuration Modified\",\"expression\":\"(\\n (rename.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || rename.file.destination.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1628512222322,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"nfl-b7w-jla\",\"attributes\":{\"version\":16,\"name\":\"nsswitch_conf_mod_unlink\",\"description\":\"Nsswitch Configuration Modified\",\"expression\":\"(\\n (unlink.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1628512222322,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"},{\"id\":\"vti-qnm-wg7\",\"attributes\":{\"version\":16,\"name\":\"nsswitch_conf_mod_utimes\",\"description\":\"Nsswitch Configuration Modified\",\"expression\":\"(\\n (utimes.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\",\"category\":\"File Activity\",\"creationDate\":1606142958657,\"updateDate\":1628512222322,\"filters\":[],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":true,\"creator\":{\"name\":\"\",\"handle\":\"\"},\"updater\":{\"name\":\"\",\"handle\":\"\"}},\"type\":\"agent_rule\"}]}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 716, + "headersSize": 657, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:24.982Z", - "time": 782 + "startedDateTime": "2024-03-08T14:19:13.831Z", + "time": 617 }, { - "_id": "9e8de3b5ecda8321de70142e90ae6266", + "_id": "d4bcbd31948f1fc341a01de6a6fb0e9e", "_order": 0, "cache": {}, "request": { @@ -121,29 +121,24 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/w3n-qy8-qud" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/gd2-ogg-fyk" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:25.771Z", - "time": 461 + "startedDateTime": "2024-03-08T14:19:14.456Z", + "time": 354 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/frozen.json new file mode 100644 index 000000000000..9b80a319d201 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:14.825Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/recording.har new file mode 100644 index 000000000000..3b365e47a15e --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-CSM-Threats-policy-returns-OK-response_3463845221/recording.har @@ -0,0 +1,58 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Get the latest CSM Threats policy returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "55f150be464c275e744dc8db63b1ef2a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/zip, application/json" + } + ], + "headersSize": 564, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/policy/download" + }, + "response": { + "bodySize": 18980, + "content": { + "encoding": "base64", + "mimeType": "application/zip", + "size": 18980, + "text": "UEsDBBQACAAIAAAAAAAAAAAAAAAAAAAAAAAOAAAAZGVmYXVsdC5wb2xpY3nsfftz4zaS8O/7VyD8rnK2biiNPY/dpG52P2fs3czNy2V5NrcV+2NBJCQiIgEGACVrzjd/+1d48AEKlGjJr5koVRkLYOPV6G4AjUb3/wFv3p9+PDs/+nD+IziJsOBAUCBizMEYJwjMcZIAQgUYIcDQOEGhQBHABIgYgWMoYEQn4CjLACSRBh4hQGeIzRkWAhEwxyIGBM1BRhMcLnStEZ2ThMKI98FpgiBHIKURHi8AyxPEXdWPKQPjPEnAOCehwJTABItF/08zxDim5Edw0D886D/1Wfji2Z9ULT/+CQAAfICjHwHMMshSygLVDEZRIMRCfQcgQjxkOBOqliMiWzuSsCBjVKMAclCUk12DBGAiEIOhwDMEOOKyB6a2MU4EYqZx3QHKwatXwEswya88k4+uMqbL/QjQFQr7sqU+gSmSLfzqQehHmMNRgrwnQKZCmmYJxMQkYR5h4V2C77/XxYVYBKr0d6+8og1TQfQjGMOEozo6ZOlQJEHO4QS58HAeoxIKhDRN1fRCDnKOIkkhZr4UTHRrY5ewRbNeOTjIJjwYJ3DCFSUqBHGJiMS77DbWKAgpGeNJOf8rxxwBDZ0zKL+AZSqQRE1zAXKOyaRE1OZooBkiGg0ZFLGCHSARDlTN+t+oLzulkKKhFT6+B3sfg9dnJ0fn1x+D87NPH15ffwzOjn85u/4Y/HL28cO7f+2Dv4KnslTGaIg4r2H7uzq2uyJS8lYg6+iKS83S945DRSU1JKpu9COd6quUJKEmms2XywfE85wHaMoDjtgMhyiAYUhzIgJBp4jIFOK8HelHvwzBydshMKWBKQ1UaTUBjRq2x/SrL8AbzCAbsJwMOAoZEnyAprwPU/iZEjjn/ZCmA9Mj06FBr1ejZUsAqK56S6hUbZX8P6CZGER6gfDhBBExQOkIRRGKBiNMBipLTfAaQL7gAqV+xugIdYJHYc6wWPidWzCjWFmg7LK74wOYpQNMfkOhJFNBA/07YDkJFWzOmaojivyYcuFjwgVMEue3kBIBMUGsDcoN4O50kRMmOReImUF2EMtzHuA04m2L8C9D8Ob98VBRbAiTBEVghiGAgCAxp2wKcoHlDmBzKlZLi1zaNEHNJ0ihPcyZGm8yz/xim1JbaOVapAp88XoHL3/oH7543jd/BwkUiItBigT0JV4GGKYVvYQMRYgIDBM+6MkWqvJ/fto//LejX4bB648fzo/efDg5k7Lm+OTD+Zujd8Pg7OTd0fmbf54En87eeE/Al0bJQW9Qq/tvOHrV6zIBn3OGVk6BBPj6JkFiXyNfYUQsBhTmIj4cKLHyN5hh3+wZO6FpBDl6+TyIUEij1p2SBnLuk3RBgMmYslRtJ7ZEli0rdcvOrZJCaNRhiCFiQk5k+27wtYFQI5Pt5EKPTjBIeIoFoKwYKQQZFZoWkwVIYYJDTHO9AVg79DkmEZ3zjoMvOt5HV0ihYG9P01MaJZggtTD1cpaEMIxRr0KS9Z1nCRY9bx9cXzu+6kH1vP31WIyhYJSmAUO/54gLJ1fJg1CyACFDUGJQbYqUtFWnKlhWAiKaQrwFqUSE91U3MCW1Y0WEeUiZ3Eqm6iCR4b5ACZowmPYpmyjWi0jfgMEsU5CXS2sxJkGeZYgFCVwgtvQ5jCGZoEDgFIH/BC+f8vXYo2lKSUCQCDARLJejCOTctqHRkj9gj6Qw2ze1JAvNfVid03RdAAoBwym3KHhz9LqObLILEoEp5DyE6qA2zjBRSP08YXBU/jiUv1jORQGXEfXrcuWJ558S0oiuLlxN00zu0uFYIBZEKMEzxNxn3gKWgTmjQrIwz3lW41t16gXltmBzvF37JbC1uTZ7a7mFLgEkP5cJAPZcu06RZi0bSbM69KdUrZj9nne5X6vt+tp1Xvii97GmVlluEKHZgMdpmWaUiiLRUzsg80HunxIawmSQ4JGEuCyb27fGVHBKter9BmdQbePCBGp6mYSh98QbhaF3KbtaFIEkRFxQ1rmw1fLywaSkrQxnahTZQsSU1Pv+/ffVvPdxpM4y688wBUEFmARNsmmlvfraggnHEQJ0fDt0t+di2LVob5aSTUyo59yGjHKcRIYsWC5RuL/vQJ5nnWuq+azoUCK43IyHOMF5ajbV67HOYDhNYRbI3gUNKWeh/S2hcwLoeIwIxzMEBKVJWVwNrruQXLdmF+upQVTRivxm8BWmqMtWrNrkVmq8ME6pc4RDOTKln6uKKVnGwRwxVKkhjPoBEEp8LiCJIIsUPtYOvIuUq0swAPZUdxtCx+ggeAwjOi9VEhOTBpbYWuZj61QMvAGXZDPD2bw81Nk5JjVhze+1HEV5Bd1GZbaWbi0f1VmQhlN3geYX1eaE0TyDUSM354g5M1PqyIyQfXqdZJDzud2tMIYTZBcNYwecyQKXbQh3sWuB+i9VPTATPRsv2XRiZbAstdI5gUIgEqHIz7MJgxGyPhMFXmshw5ndwiJPq9mF2bSaAjwacAKzSP9bX5SUdKroMZKbRaJOKP1UbuS/e1X/nNaOPzfkUDonXxOH0nlzW7Dj0B2HPhSH1gmyzqK53ovVvsqc62vQAj9Zgp/gqMOp1sHRCSbTr4ehZW9vyM9WBdfXoKqijtHO1e3Ew0483IV42Ih55ak3mB1+Nfxr38HVLuGsy7fiUm6/uIWzZYDjqL9j2h3TPgTT2joBowgOoAB/BT900ZM6WJohAlOn3v5RcvSe7u8N+bG5Jtcr2a3KOwZ/NAy+EQvn5OvaVOv+3pCFdxy347jHw3ECp8hp+vBIOU71d8dxO477OjiOkgCK4Dc6CtQeF1PSfldzREBOYC5iyvBnFIHf6EhbKkaRNjOR1QEexijKE0wmd8FfzpsZcx/MM0qTgexEeQ0s+Uxm9HtLWQKObsx65fwLm/zK6ircb6y2X9OLu6TC25AI7dTc5ebQSY4tFxOPgxwd1xCPlRzvRUe9I1+bfNsODI+Bel2Hgy2I16q8gz5+i6bujE92VOykYpqhxyqD215/OF992PTv0jfviPKrIcp2heojIMsW9ekW5NUUr+tVq1s0tqPl+6Xlds3iY6Bltx5xR15fD3m1qtEeBXk5lWY78nqc5LXIBE1lIwFkEzdNFbgBCcyJJB3tXgCySZ4iIjiAnNMQq8c16kutVr45hTmfVoVZ7mcMU4bFQmIgogQK5CdophSLXzwGSUTTK/9gMvIzOFGviotHRnXTcS4YFHn6HyLMNNGVOZwnds7BMtDBMtThMtRhDYrgEMWQxya5QDyjc8RuOkmIzJyTdGqmCJEZZpTIeQEzyLCskoMUirCYljBnDJFwAVSFW06P7I6emNOPH98Fn4YnZ3JWdOLsXfn79Gg4lInjjx+Ozk+Cdyf/PHnXZeQ5SwJN7wGXf5wPvM5jBI4VENBASuQxNEZyoMZ9BAg/nb0rHgtuOWolI6oHcTlzu01QeMkJvvJ1t1xvKb2eHl5fgvQ0ROP1QpenHxEUcAQ5CniMksS8QqiePTb4uYAGMMsSHGp/CzyDc6Lew6k6nug/xWOvJ4Ay8PP5+en2r0/rK0eFzvr1ipJykMfek5rkrwnA5U8y250poMCh31qXs9CovW3HpyLb1221FPzcWmV7Y2Hrl2nrF+EulODRABMsGEzH3BeUJlx3POeLEb1yDcn5pWhmjJ14mPL4h2eOfLbc4SLbCZ+44dP27NXYD3kMWeYomtFWTLJmZYpe2mdr4SaNzzx+0ZJd9BnIJaqCuNnz7KWSNjvp1kK5GzI/44nERJFQt3RFgs5JmShhIihQ+bsEjsblL8yKnyiMafE7KatKePErndaA0ymp2k6nAqVlk+ms+JXNSxCGYCQPLmU6rX7VquUJQmVFXMhtgvm9IGHxW9A8jItELkV5kZiZqkruZBqwFACHPE+tDMjRs8NmzsvnzZyikZIk45ASK2PaqFmSgJVWr6atnNxKRpiFNKGMNzKbTUd5PYXIzEpeZZBEjRwLJWMYCmrnpFY/xjSxKlAXx1anYgQtiJhyga2cRqpwiVFl/Uaxhb6CNMo0nTTHnUYvGijWOX2BrtSbdquP6XSMx7SeI/dwVtrqEKFxnlkZct9sZeRpA1PUGmUGuUB2hojD2BpWhsl0YWUwO4WJaMyoyhtbOeKqnmQIJrIpKy8nDfrk6HcrGcODBjZ5DA8PnzsyX7xcznz2Fwfki4Mme/GYocjOyK2xcMoslC4xiRSydjoaNaqwmxQwtJPYmmeBkJ3kVvXy9EttvhTMTuUkhPZEi+YojNwqkjlZZsuc4N/tdJMFco5sWTC3BjaPaSMJU1zkGLMLRqnwLvfryvbipJxBhoiobYbVcpMu+O+JOpymlEy0CUhGuZgw4+CprOe7vdaa5P5R7laikVcvUW2dJYAfAnVWRsCH3v4Nai6701r3F6+XTYI5TLr4oIhQggQKtEujIKGFUqXlEK3BI+M2AehiIKETbe5kCm+wr3aq9SofUblIlacElZHQyWDezBg1MxLIRUInVt4Y4qSZxxe8mZUiztXp24JDYc6QlQVzEfebhUeUiqXMKWJEZVqOMdQ2qXxRX1ON1JQn68+ZEcoSuggyhmfrXs5LGJygiZpBA6ld9Wir8s3nr3G0VAe/VsP1/wQH3MIDzIIMsRQLSVvfg9dHp8HwX8Pg6Pj9mw81Dw8rcICZWAQZzlAAhdyMOc/ap4WbGXAs4YGEl6NIKBb6HGkX3gAPe1KCh6ivuoKIYAt1ngbfg9M3pyfBT5/+Hvz93dE/gtdHH4L3J2f/ONmXuFJe4OyiV1isLfmqKFkg0phPWE7ljInE0w6yoEJiHSkbYfK2MNgFDX8FT8FtomFBYIpDZS6BWOEGcsWtSCkdNYxSQ5hKgK7EeIdUQnJzzLTISCTCQRL1Oe1nDKlz1RNQz1VOIEvNdJXXjwY9/XHZW8+96ZDvwNrwpjM7Z1i4r27LidVObgS9o4lt9UPZYVrXzOotOKS8N1q44/uErsa1a70zdnbjuHMU+SCOIpUvm4S3mA6/RYygBKQ0yksD/QRzUZrnixgBVfqWFO5ql6fAZKXr1eGq+/o84+r/eYyA/mp5D+zsfKdjZ82BqmNvWcqdW07VWflRct6EwfT2+ylr79bNXMiPwQiLQF0pt3W4ggUjLOwraOjwx7f5UGq3CTUL7CVXeS4g22Hes6fcglu6hGmppYMteNeS34Nh8Oa/Pw3PruXff5ydqr8fz39u2ruVMphNZlrg/sdVB66ehNkq36P/eH36+D2PFp5G+xNKJ2qmBWIEJoOQplku0PvCE+nsQGsNSYgKL8i+cYPMBxEawzwR2j2pvpFtujTdor71MxHjKEJEe/Re5TLsyEAqJmk6a2u4DKRJtPV9bk1R8gV4/Zr7Tntv9cUbxDRFpcFG3XnfCmd+6xFT8/Fv7jLXOrNrBAZQt5YSU1xAdgde7WoCZ3d7ubu93N1eAqcHVSXfsdOgoYM9A86CMEbhNLBc8jZE4/GHIUgoneaZ4veIEqQilkDw5hSo4oVDflN+A25vcemLQ0hi+BlnhVNfnPkww0UqXeCsL8+NsrjJUx3Cme2fX36Yx1BgrorAKUwhbnH/W2kFO6BP7b14gCZyJAFMEjp3rzAnCgIIBsdjHAIDafbxRT2b48/eaRb12f44i9Wdef3ex0/np5/O+729vcMXvz71X1xe7x3++tR/fnl9cBFd/3rg/3B5vX8R7V/0/3Yx2v+f5//b7x29fn1yet44nLKaE1/m7R0c/vmiv3+9d/BU//nz4UX/4NeX/g+XVVq2Y9L/T2U8+/Wpf2AAfpAFXv5FJ17+cCG3CBf9/Q4r2m9wBptmOYG+l3CTtSxQqk12Vjm7da0osVvX7ntd21nl7KxydlY5tZydVc7OKme0s8oxyYe2yimXmNrO12nxIreU608Nv+XZQiDWzYb8vzSw3GSjEaXTSjFltqqm2AZbUWfcAL1WFstksUIWi6NaF82SqFZDtRDqRcMsf2rlU7KkWO+Kpa5c5dQCp9e22rKmVrRiMSvWMbOEmdWrWLiKNcssV2aVKhanck0ql6LaClQsPMV6Y5aZcnXRi0p9LamWELVyaPFSEqRZHspVQYs4swaUot9I/FLQ639KsW6kuUFEJbtLkV0X0aVkNgJZyeFC/BZStxS2CvOFaK0kaiFIVedrYrOUllpI1mRjKRK1JKwEYF3u1cVdXcrVhVsh04woM7xf4N/Iq1JMmfEroWRkkRZBRvJUAkfJmZp4KaSKpqCaDDGio5QYhaBQ8kGLhVIaFDKgfNvUYJe121NnKX2G8/Q/1RlNZ+hDVv1Pubv31DnK01/UUcdTZwJPn3u88tRS+6XPKp45a3j6LOIVZw9PnzW8tPpTtVacGzx9TvDkmcDTZwBP7/c9vb/36vt5ZcXouL6uRXXRMs03Mk3irchK4KjDWX/6Fx5kNNowiuTbfIQYQQJxkNHoPoNJ4ioMTz2c5LTsUB9TRyhJpd6/SYGaPQXeBZ/8tmwKVs6enL6iOSu8jmwmpAxFhFt9MkA0QwyqBQx4gxQSOEH69zjJERH+COs+VUnPYfeS0DzyCY2QX6/CEK0vpQDyQ45Vrplw+4sfMTxDTJLMDEdyzPNGd2GCQ6raKDEH53yglb2+6sEcijCuT777mypPJphc+Zgo5ayaHUaTxHS8RHwuKA9hMztjNKNMqGjdTZgYZoxeLdpqlvyrxCXyUyQYDnkD2f5kinx0Jes3RUbqKKrvYH2DOD0EiW+BWGquuP0YkihZmj53jTOYJ66plB0MhaZOlaunRAo1ZPtDnGCRwJHPclL/UtWkWnBZSQkGQ6QnPMEE+cq2zVUDQxOsHvrKwTUQ2STApQnbmVJ9I2Jv/Z5AGUsF2lhqhTtGFa5/WresqsxmNl/ob+57McGjgbHsKtf43Oiqa/k3cstwlyaPd2D+ujSib8GR6LrxWCHwpjUzu23cX3Zniza3kPfPFm4fkDu2WB7Rji3uyQ1nVzZqf19xz1zU4mCqMxNZtXVzPtm57h2DflVjWzeeVQx6U/ahsGVvtsw6EnYb3pHlTbuNsMBkHBgrmSelxUygW9A5L5tZo8z6bBU3wES7wyLjgCG1ocbZ7LlpIDg7+a+T1+f15hicr8S81eMv3hgmISVqht2UATPR1+ePqB9BnCjfTVe6n36CJjBc+GmeCHUG59xoB/w5ZVN5WNpgHte946web+qZ1Gbp9kTf4uw6XnN2tYVzjG3MaBqkKKVtscXb6BXIksAqueXodL31HsmyguU33QI2B7ZuArsMsbD9vRXD326jvo05bvXPe8/L+EYv36wa2pzy7hbr5RHtFmv1X1cmWeEv+J7ZpN05cGcyt+rr6g24c+07JvqqxrZuPLfIRKue5N8zE7V6Jd6R+fKIdmSu/utM5u0Ok++dzNu8I+/IfHlEOzJX/60nc866+OAwrnn0M2xE1PNsWUw92aeS/FHi8wyFeIxDoO83t3fhXL7+SWmkLx9B86XOqy/A66Wc9dTzIz0U3utwbEppFCSYO1/SdPJSML0DJwVqEoHr8bJsvssr2MqOJogIDxDJU8RaPQnV7IaOPwzBMvQGI1p+9ybBIVn05f98FvbNPWhfXXOr4VplxCJTZYZn/3Qcibs8YkuiwLhtCXKS8xwmQYJHDLJFIBnHhYnzGIF3x8Hp2cm7j0fHpQNsgDnIaJYnyt/AaAGgUihrZwT1J9Q4QSDCDIViK/0Islxjf/GqLr3q6afRHnhiZVePpKvDwArM4FEG0wCNsnEQU+rcv73TqDKwfU6BhCxpH/10+vfNBzjKxv0wjSTQT6d/D94fnWrdwMkSZ2Pzrq/sRr8L/SeUErQIRE7MM0btFss5TgUKzg0o2Hv9zxP/8OnhM//5DwcH+4VHrUr2bT7qymKy8tYw/PTmuHD5U33PscJNlVt3p9Wkjt4/3r356XVw/unD0U/vToZd8JOidBzpeBBOka++Azr6DYXi1h3TSWGtGnB6B3jVibdTTHCUp1mQczhxDqFwaG+0a+qBb55mlvAuagHjnISymNb9hTTls5D3ow5G6HNMIjrn7UI9jRJM9KB77zHBx3madViZZNfIJMgoTQL9Rtk1yGppZojTZKbU0FKGK0S3hlVQEXBDgWdbvfh0P23+4vVSTNBVysz75C9ej0BC5Uj6lE10Ds+zjDJhQYXPFEyZzg5VGlOdRCJWxmCoqmV82ChBaYJJP0U6ybIEEtG/Wnze7jV0qmxwY8pFMHYeAuSyIT/rBcB45JQUp0qWAQS2VyGr+vqc5iyssctA8ZH+NuaBWjnlyOgMsQQuXNcG3YctkRbEOFrJZMbJiOYsVW7bMap/M4qJMOP8AjxlHzboLdv56rn8ApQtfwfmIkho1ymFRbubt5oru5xRubUUiOhNwK25takd9yyduVGZN33CdX1FWlb6/ffWMbKpVVfINS5XwLKFtWHrPo81X/VD85cb1uxPqWcdK6+vWyzE5TmlOJzKk049YM8N/L90OdrISS72fQwpQeWa5g/2HFbPkJTIrJHAp7M3m0/wv9/s9a9r79/P4iI8TP+3bNLzLsG/d0OCwImbwBv0e0tOzJY8AVTD5jTU98gRVudrwvXaJn9LAaqGR5AIodBDlews4WSxLZ5T77d65npV3KtW+C5jQckDlzycyJ4ZzB8c/rn/tP+0f2DSKRVRPx/lROSyM51238WcBOhKYrf9XHZS+17sP5VDrVuTO56NxQuFxgvvCbhQiNS/6qi80MR5QSp3LVT1lhuUXSjv2L5k/Fc9Wb7IiaCAZc55+St69X+Ln3kmW7CL/v2VTPZ0s7VWKy3ORX2STKnaNF14l93WAzUja31FrWSZW1vmvyoO+u4BOag+X8HscDdlDzVloM3P+F/BD095lwmVUxRwgsdjee4RlDrXrHeya+WLNv0MVWvmCq2VPAKNhXYLbAx0lCM3UJ6gNphd11tHEWby7CjxLngM2bTDuZugeTDCBLJFzZfPeqFTDQVVj6QJmgNdl5q8Mc2JImd5sK0K4LQ6H28wcDfZWJvvJVeZ9ueURnhsYoTZrjKbWO12KiGcz7EIY+U6Okhp1P4kogAFKVyAGM4QGCFEgO6R2eHRXIAi3uWWKs8bPpXQm96ij9pfdP1yZgOj+Ye7zCnp5G78Rm9EFS0vAh4RVTheCnSiiru1Gd9RUUVFbdYNj4aIXDYPbhqyynUwiV9LiRugs80w8bGg0zZY3GtYKF4bdcx+d1PFtUjcMZtNHS27+D82gbTvrHfkU5FPu0HnY6GeFkPPbvJ6vUnnWlraAKntBn6PBqluw787QUarGdjjQYbTPOwWkCEirk+qytQlwcTJaR/Oj4f6ssQOn71c7JauVGW/+hEWHW596HiMCMczFEz/wls1DEdgSuic1ExoQIaIUAw3AbIUiCHX07u9rtzlqgx88bKFiCkpFCt73tt8hIchJP1s4UmYQm8zk4LBk13lguEpYo2v+2C/xVWTKoV5CIn3xJtGeKK8mqiq/Dgn6jGYx+B0ijj3nngZwgwKxA0ID2GGzG+YR8rBlSqaYFNUR7Dn3pMv3oiKkd9FpNMUT9wn+Y8pVg+6tDtjDqAVRi/GSVSsgptPBSrsLP7aCFvmeroma6KmUx0oT25sShu7FjvS4iZfAisFT4s5Hdh7PzzbN1GvcnM7MN4qBkrzOvAV8AZ8wY3Z6CDlbJBBBlMkKx7Ubexq14X2lWXbK59OoQQzGE7hBAXa206KiFirJDvVRUBVRJt8IIHC29TzNqxV7nqXdduGpBuYAayZjJYNe9f5gEKpKWkuiiAbDb1tcDt6229ktrbUs2cwDSyFbKvu9PTo/YPvZdo8zMi9TAbTfqRNBKqM29ChboLDFk3j48Ch2x3JDXF4txrHm+O87VDyGFDe8gxpHcatSjro5zpUeZMN/hKK23R1jwDFd/eu+E4x2q6geAQ4bX+Eug4nTcJdr6joUOlWiG5XWjwGRLc+VLxbnLTqLh4FTtpetd0AJ39cXWgGOZ9Hqz2un8fIwAHKQBib33WjmJzrl11q+hcAktLQQgFTtoWiw7ETrw1T9aVEhXFSb3Kd0cFKZzdDWYoLpWvohCiBAt760K09IpgqOcLET/AUgVoNG+CiJSZY0UQR12sSUy5qaYFYWktOkwkTcR/T7YzbsxAHBwfBiyBkWOAQJtpABSPefjh4bUALU/eiRIsY2RxTNz8bSNIxdsO89rugtFqy+bni2KXMOuiIUvGo3tHej/BZGuS38LTWXjtu+5y4irFaToyPgrHcB8YdY+0Ya0PGemjlQTsjth0THgEftpwR7pENrf50U0jcY+92QuLbERLbsHCbmurhWXh7LVWLkuoeuWzHZDsmM0zWctG347Mdn+34rHmU3OKKtp0L2+8PHp4J268PHoqLut5E3GP/dnvWb4fNt2Hk9vupR8DIrddTO0bZMcp9M0rrpeVjYJS2O8sdo+wY5U4YhQpEBIZJMEcjE2Vbh+t2ccgRmKMRgFmWGBMAbTxdBdgGlJkfW/sRWfJ+0GAKzRM6OnBtMmszsvxppKLCuzKrwMLOupyFRu1tOz4V2WXIYGfBz61VtjcWtn6Ztn4R7kKSlDDBgsF0zH1BacJ1x4sQyctDcn4pmtEBlZcKmYDKS/lsucNFthM+ccOn7dmrsV8EcV4qqoM6O8uwZmWKXtpna+EmDR0c2pld9BlUMbK7+uuwX2rUzCTUaFX0cP3TxLA3CR3I3iR0NHudKGFMXHv9uwRWEe71LxVsXv00se71hJVVqfDsZlpqwEX8e5MwQfB1alb80uHwNfarmPg6nVa/atUWIfJ1Qkc51791sHz1u4iYrxJF2HyVMLHzK17UQfQrdjfh2uv8r8PqWzkqvr6VUzRSEqCJuF9lTBs1mxj8NZI1weCrnNxK1sPz1zObTauA/WVKR7ivkkU8+HqOhZIyqH+Vk1r9MGH+y3QZ77/MMYH/qzTlAls5jVQRH7XK+o1iC30FaZRpOmmOO41eNFCsc/oCXQm5ill9TKdjPKb1HIJDqz5idYjQOM+sDLnRsDLytIEpao1SmfDYGSIOY2tYGSbThZXB7BQmojGjKm9s5YirepIhmMimrLycNOiTo9+tZAwPGtjkMTw8fO7IfPFyOfPZXxyQLw6a7MVjhiI7I7fGwimzULrEJFKk2ulo1KjCblLA0E5ia54FQnaSW9XLbT21+VIwO5WTENoTLZqjMHKrSOZkmS1zgn+3000WyDmyZcHcGtg8po0kTHGRo7aeYcwoFQ1fUHvF/llvHvV6U9mhwQyGMTqUC5QKI662uoKmxj+VFwuRmeWqtaJXX4Cn/BV22NUyGipXvivNF4/008vCRFF57S1ezBkXvzd/lrnupWkDMbK9lJI+upJTX/RbJTuYHvIgwjykM+SOuWZcqbY6ms/4bbuZz7jlA2xWGVX6yquV72d4dfwBYsUd/D2HyYLrePRVCG8Tpb6MyWdXuEQ4ZW1sWjxDBd5v6uQSoyRT6S/ezFSm6PEUco7IBLGjos0ijP48grMIolSKQeCF8VQyw1TH+Bdc1aDOn3P4OY994+g/Wi4pYIJI5DOUUoF8JLkC+RyxmVpOZM0onCpPuSpoIkFzhhIc+qaGDsShgsYHkAgcoVE+cXNAQe+5pBJIgAT3FfxEUQkKY4J/z5FkkFFCwynQH7cKwaC71jceVCXs6fnZ0euTQP37/mQr21M9bB2ivZXxi2Fb0Sd0GRDSSDKnoAASKmLEtn8H3Drg049vT85P/vtcCb5VQMdH50drgT4Nz9bjZ06mWATlW+cA8RAmcD2q5pCXp33lxxaTCIdQci6gY2B82mutAB0D4/L+wH/+9NnzzTHXPPq/qkcmyabyayVx6g7shz+fvHundVu906Pzn3s1o28FVyl1esdvhqfvjv5loI9Phm/PP54Gw5Ph8M3HD/WChcv8DiuQem0fhAkOQtri6FqBaHKTyM0YneEIRYAWDveUaAadHBx0MJIvHpnXXAE4rOCVoAxb/AX7YW/48fXbYHh+dnL03uDLD3s8HxkyUdJTZildRy2lNmllOhOLviKmXrOl774Ar8eRyDOlfejgg4FBwmk6hwwFhLqt8E8p53iUoBqsnH9UxCEAOYmUe8c0pUTKQlaG3MBoC77v4IO7BLB8ZJcn9S/eIKYpKh1XM6OmfVIqhZuaYJOmmWj1hJ3QiZ3Go6W8EQyneWZlzedz22G226038/b+hvf7vT2m1nV0zZDaolzLs/q1PLSxXInm65jOA0Gv9aRcy9VFFlvQnAXXKrCAyruW1Rug/b4hmEa7BTMzr9+76MtS/9ZhiWRhoImEBw2lvkU9Z6+BAbsF3f/eRqYlzseFemKZ3n7pXUWRozTl3uX+/jeq2l4xpwhGwTQfIe3MwjWf5zECFYTyc6Hjq4Vqt7zF5K5i4EFftjnQjaoBKl62cjsOj6EEQS43OWPqGuDHIZCfWKpXYzk2WU5HIpFLiyKThI98U9Md+PpotOBy6nF23Nl7B0MR5gGHJBrRq0D7inGN/Fj5guDF7uPQf/ri+bPNB+YMalDQ5dVfXgYvn/uqsD8h+aA10IGX4FHoH/YPf9DhDYr0s6eN9EEjfdhIP2uknzfSLxrpl430n2X6skUoVDplhW1fnUB8Fo1kDTpLnk86xT4v5muGAitsuS1XJVAR4LA8aW8dGmhDCeua6vXxKzR65C9Ix+bXEo4b1HAL6M1JaD3FbRNzErDw6KyDx5hXuMpXCpGHaAFJBFkE5vB2LuucC1W5cuQkLIU7X8oZlXe4vsp3bDVu7BLoD3CF/Udb43kYIyk0okBAPtUxx1rPryUwkMCKC7qKmBvq8qAwajwexrIt3lGNx5Hiq8BABEiu3aFycOQa0vDknQQHNTCgXyvrB8amnbWja2Vm05++aaBvKtf6SsRSzDmeqekv2mrT6OkTnTxy9n46ef3x/Yk//PT69clw2OFYxxHhWOAZCgSDISZrFFiYAwNX9+OWlRpQygDncaSeXmfFcTBkKNLmD0r7WzWyAdb22lUzJydv1yt5Tk7erlfynJy8/TQ804uLBlL/oj6qh/crJkKt6KX2M0pmas6SmdmzwDR6+dxTb91lJfLXRC9HSRKNuq9GRmsZcEGdEeW0OVUoKlW7hASwKLg5zpeVG17ZmDvaqWy5i/sDbQkTY0nHiyBCCRLuw+FQWbv8rAEVAx5bwBuMyjKXVAOTuxHm9fd+jUbw8xhf9ni8v1f0bv/fvP22WZfTXi0otSXnphjgi7Q9KjtfpCOa4FBHMB2XNkBxDSuFpkVANkHK76UKwkXyDgERO14+JMQ95/2e6YhekIpmb4yD4o7uvuhg231scWu2inLa1U5a06QX9UIF1eIVQo6ivMDsiNSMUVnB2l2sxquBtvaw2yK25ZjeM23VRz7osbCud6o56149KfudTrecx0HhDgdFwRQtVjjKGA5/rrbxEvT+zFNr7gpqTl8bPZc81sg6LJzOtnnY0JoQzmOb4KysQlFZ5t61Uz73rLR4WXjQWSnfrm86K273DLczKw/8Ut81i20r2QNOYmPBv/Ectryv2HAKra51e6a/YUs38T/mmsq2p9oPOJUbLduOGjYnhpa3pw84RS0PfXezdBezBLZ7Leqaw/Znog84hfWnmJtNQesD0w0noSk3Oz0W3bCtbdmy/cHgA07p0sn3xlPa+tTwodDc+tzsIdFce2a2IZrbHqrdE5qxUNE2An1xqiMHuJB8rgxp6mENCsOOhfbCSGR1YE5ZujmenVceGhEZI5MmJup5Gkr3cOACtj85zqBdlq4OKE2CEDGhj+IoEDDNEMNksuoc+g7UijSpV9dgbMU2R+3NvTUiEQ44Twayb9wygcmm+FG9cLyDO5Plk7Dj9Ns8HP9pJSa+e1W/rsuzCArkh9Cvz73nqsJ1FXWrlX21c+Q2b/0CPJaTsMvVyApubdVPPDS3tscM+KNz671oSHbcfV9zenfc3b5hf1jmXuF7fg1vW/V0UzR1qPVblhitI7oZ84H1DHjrFX5TOHdzdbfjSxt/tyszH5S/284b61Vkq0KidObh3Qp23/TejdY3pfBWXfCOyMGOyB8ZkYOtleltrLBKpf6gnLA6atMNN3SdNOAd6v2Wt3Q73r9vjHfj/U24etWtysNy9coQYRb37bjtthjkViv7ajF+h9y24nLtgbltVfC5HbfdCYPcamVfLca35rY8oojxIKMJDhflw+gVF4G6ANAF9HPa+4n96O1dEOC6C3z1ClwYVtOdu/D2wQXZwEq0M5lc2HRy4T0BFzalNLJYljZylqmlAUB0kXpbkmIaUIu8qLigmhpAg24uvMttKKLtsunBKKL7BdSr4pGyGZ33yMxWW3Deurt8hChv7DeXMG5Br1b+r5qtjXHZqm59OFw+ryHz5mYelkO2tkf5JQYfMLjtHSx8N5/+FQqYhyOA7kqZtey0UvVyJwy14vD7CDG6dCC+G5y0H1EeI06ax5Z1y+TDyI/7eVi/arJxFMghr3YwCcHw05tjPbNzyLs7kWx/GsqRyHFUe+57fQ1MnsxSefvLhwC9lQXD4I3qkVwrlmDKKutfCo9n685vI+UxNaJddpM8wyGmOQ9GWHAYpZgEOYcTpyg+qsGDEr70jXaX/jkldNmiesoPitelYRolmJReQGAUyWJab93TdwQmwRDPU9SNpkq8lBQchAludcVfQoEUEjjRjgDqsdcLnADl7KMEX4uirs+tlZ2rZivJVcqlkki0jWp1ZaIJqIPnxhoCiIi4HEk7XQwrqlAwgI5BUWrtAG9GA0W1K0lAAjXm/0ZTriTKSmFyhkJERLIAc4albASUVQuELK7lzM05ol3Y7K2RIcsrgO6Qfs0byLUE/Cd49pTvl2irUKuIouvxWvuzi6CAEZ1oP60DlI5QFKFILzGFn9Z1gNo/gJ8xOkKd4FGYMywWfucWzHhWFii77O74AGbpQLsjHcBcUOPONFh2lhP5MeXCL12hO76VrNgG5QZwd7rICZOcC8QK/7vrSV2hPbKee7erlI4K1xAPviFqszJXxxA9JvPX8sS44rPaTC19+sa1wDdXvG1KUS0qqcdEUW5L6B1F3ZiiHlpH56LAFV5SHgkBtlwD3z79Wc12M+69/U5800ywGYm26T0fDYnevi3ejq7uga7aFaqPhrLabdtun0Ka4q+TKdztd2NHqEuE2q6nfjyE2mqutaOQ+6CQVq39I6KQNhOjHYXcLoUIyFar5s4hA5CFMZ6hzr5lOyhZqwuYYngCshVBO1TL3hMv7KCPEWJhor1iEjRVw02CVy74VMwXCM7P/3U3yuUaoaNduNdduNdduFfL26ZkWLfefIOrFpETgpJAMDge47AAt0SagsBkApS/ZCbAmLI5ZJGKClaEzTMlN+D2vT3bd2uGZ1QQGIbYs4Pcyo8TyoXt47Z078q8fm/Pf3ftv772z1R0mH1Zvla7ko1cTgKQf5q+qu2Kzq5lXcfX8zLQjANwb+/wxa9P/ReX13uHvz71n19eH1xE178e+D9c7l9E+xf9v12M9v/n+f96l6DZGTkazuNciAR5K/rBrn0TGu7aT659X4XuI87xqSppCMWK+s5fnz73370Znp98+PF6+PH122E7qjCNMFHrrv6lbswjwlW0YODFkPDir5+PciJymcw0SflkovE8ln+eZYxeLTwV9JHRqTNMX9WwFqLAi8xf80f/qwUY8Myfz/rPVP9RYudy/UKec8SC4gmXEM6YiUc6/FPdZfEMQwAJwEQgBkMhV3mu6Xhz+nddpcqGYaTwTdDcxOkEHowi+bsWKKsmC7pfoX0tGzPX/qa8BjzusLVRs2w8dneYZQN5r7McIXXHFqHkjzSza2dunuJARYXDZKJ3p665e21sP8odqJy5X96/WTtN3a/9NVYzOkdMdaMnd9VppOM5OIRYVVK280uKT9lseKLAWwb9/wMAAP//UEsHCF4/Fq5+LgAAbm8BAFBLAwQUAAgACAAAAAAAAAAAAAAAAAAAAAAADQAAAGN1c3RvbS5wb2xpY3m0WG1z27jxf3+fYo//mxvJf5O2HCeXeEbtuE46TZNcPInzynY5ILEUEYEAD1hYVsrms3cAUo+RHFmXvhGB1f7w8NvFLhb/B6/fXb7/cHX++9UZvOKCLJAGKoWFQkiEiZASlCbIEAwWEnNCDkIBlQgvGTGuR3Be18AUb5UzBH2HZmIEESqYCCpB4QRqLUU+bUfleqKkZtwmcCmRWYRKc1FMwTiJdtPwhTZQOCmhcConoRWTgqbJT3dorNDqDKLTJ8+jnwL+7CcAgBgEP4OXqHTqFHNUaiO+IE8V0kSbccryHK1NazSFNhXyAALgaHMjagqDfloCQgeEFgjZFDgqDcYpEhV28EJIQtMtoV2GtjAcQiSFcvdRJ8f72qBtV54JxRPGuUkKVgk5/cvwGH79FWqj/TxJrqtqOIz8XNGynJmRDZYRCq5NlBz0mJR6Eiukpm0VhWji867DpOwnB9HtbJvCskwiP4OCSYsPMmaQ8RTvMXe0A03ewHZqCSvwwB/H0zZCdI0qKSQb2eHw6cnpyfPnC6mQmChW4YyoJfLudiHT72AHDsm4hym0LuumSnODbBceFxDoID+OSm/MwCP8PIxWvUrlaEmbB/xurrGVNKd24Oz7fudDCO7leAH54+j6vufBr4PhcLCLR4Wl7UDPmkt9dvWU0JQuS22JUm5i4xzCX+CXGcIxszBjDwqjK2Dwz3acf7gMcs0R8sVYexAT/CgcsppRGXSPnDVHmVBHGbPlA64VlBe7iq1Qo+i7TjJ2GRqFhDbVRYHKijtMSWv5oJu8maNgjgKPgjXUHhT0FhyEQOPNDV+jekqlVgcR3HoKetEbl4mPOVNJPY28TkCFKNQ0EPltWTJijGbt337fK2yYw2OEzZmKDqMxF6MRGt9yGcalUxR6ho3HaG10GNUoDCO0nYrNWY1dmzkuaAaVooNaMoycjQ6/RpmmLN7lBBPHtGJywgymOPIMpWRYUYg8Dc6OPBU1ebDdZKXZf+Ascn8LCSBoR4JupP0NtYh5Xm022bcpdXZe33+6uvx0lRz0eidPr4/jp7dN7+T6OD69bQY3vLkexC9um/4N798kf73J+v8+/U9ycH5x8eryKrp9IA70Bie/3ST9pjc4bj+/ndwkg+tn8YvbRd/P0/X/FQRPro/jQafwwgOePW87z17cJCdPT2+S/iPtE4Jl6i9nKd6TPxJaPZib3jlJopbYhtn2WrdAzlOUUxxNiEBaeUMa4MJgTtqIudX3MJ5B7/hLocaz+TU6KnWFRwcH0SF8jY6M1jTv+BA0a89C0qx/x8yR1KPVvsi+kWUsH7v6aEkymUy8RrDw8po4WhKKeaoWR9REN4m3JIu/3P7/LzuAltPFTdKTOh83PKOqbqQeNZ+1M4rJRijR2LL5bLVqppVs/P9Wsbqhe2rqad5YYtSUuWyCG/VnUy9nsflUXaDyISI0nkSHERuh8hHBYu6MoGk8E/gQkZPsWhK9jLeX9DiXzraho9aW/Jl9pEeOfYiWaaW5k5j66gB56rNWSlW9MaoHALQAaAFtmuvcj6r6x3ifH7tb2JoLer+gql7xmq4Pj9u+FFnNqrTUeow8dT4dppjVxaadvw26idUgRWaYmUILgwCDJdgem83qIskr7pX+dvn39N35ZXrx4dX51autkVLOlrPTPW9507URd0LiCHnajewTu0mtLbnPHfnmWHQ+WweIkBhyv+vFWDAfC7QBP1YoH2ttrcgk+ljFUZFgEriraqFG+7PV69VhnUn4xQSd4MOugFv5wwlP6XG/aVbl4TS20ezAL/Uguu1vP61c3j2aYn0/zUsmlH3wjnQ51/NkEualEn84DMl4f3pWk+7SWr5/1VvehGHK6io0lfaXv+51YYtzzAy9gHkG8X+dpBYl559PUbpe6CHle6euLblrrTqe1ygm3NCxMZjrOzTTxhfAFTZCWTIuPLw0pZ6kpJuWXF+8HELATrUzaZObaU1NSF2iqrUhpqjv0xnd0y+P9N22mkulHtmU+3zzvXDQKc1M21WDUo/aW8v+pnVKCjVeM25Lq3HqyFFVR4ewMM9kXZCtCySzJPVoRVYwIddldmrXRRVay0b+Mr+s55M1roh8bZysgzOt6Ruhz71B+O1F4edhxHU+RsMfd2TJKYXSZzGmeOodIS20mTDDvWweX9Kl+LJi1KsZPrwsejws8G3x9udCU6+3FpzEnSbF8lxE85Jr/udIW4r6WzNgL37bxBdN/CHU8v2mWRo7eIq1pSfcB/gN5cFimA+NH+llMwkDbVF8oCJZKUiiWwjV49pGrS0dkcTtpU8vNk0cG6w0YRPLJo6lsISq3d2mIXXO6IHxri4uT+O3rz9evfr9rPn4/uLNx41DBaqE5kIFR25b3De5sn6GQ4hKpuzsG7vMKXK+W7f+FqtRy3PhP09CwvEtNTJ6vEpozQwqWpo4PFj4ubpv92l/KW+/3edL+xm3n0LYMrrt73Q+lEVfYqe14IOUI2EIqptOQKfZlsNCQa4VMaHQ+Nq4S+XtI45u38vff4TL1y8H+x+JtWcGr9stIth29iphUx2W2Bo4ImZGSMNBoGk4aFmeLzYRPDwy7kSOQZ4Ssirlugo3lm3R4UIr1TLnyTDIwcOghe1PAFc2+cP5smy5jvsaHSThXYTllNgyAp9SDxLNLCW10St9Ke5wRWAFrQq0TyWrosKplX41/ztzps61lCzThpE2iUJaVhXF1HtwJ8qZYmZKeozKLokTg2FTmVDLeK58ZklytTUr/zcAAP//UEsHCEx0fdwXCAAAHRoAAFBLAQIUABQACAAIAAAAAABePxaufi4AAG5vAQAOAAAAAAAAAAAAAAAAAAAAAABkZWZhdWx0LnBvbGljeVBLAQIUABQACAAIAAAAAABMdH3cFwgAAB0aAAANAAAAAAAAAAAAAAAAALouAABjdXN0b20ucG9saWN5UEsFBgAAAAACAAIAdwAAAAw3AAAAAA==" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/zip" + } + ], + "headersSize": 277, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:14.829Z", + "time": 476 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/frozen.json index 3514762e35cd..aa9cfab8f721 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:26.237Z" +"2024-03-08T14:19:15.311Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/recording.har index 670bd5f189c2..7175f942117a 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Get-the-latest-Cloud-Workload-Security-policy-returns-OK-response_2915330901/recording.har @@ -28,11 +28,11 @@ "url": "https://api.datadoghq.com/api/v2/security/cloud_workload/policy/download" }, "response": { - "bodySize": 58769, + "bodySize": 87108, "content": { "mimeType": "application/yaml", - "size": 58769, - "text": "# IMPORTANT: Edits to this file will not be reflected in the Datadog App and will be overwritten with new policy file downloads. Please modify rules in the Datadog App for full functionality.\nversion: '1652349086649'\nrules:\n- id: apparmor_modified_tty\n version: a7f3b5c2\n description: AppArmor Profile Modified\n expression: exec.file.name in [\"aa-disable\", \"aa-complain\", \"aa-audit\"] && exec.tty_name\n !=\"\"\n- id: aws_metadata_service\n version: 4601e52e\n description: EC2 Instance Metadata Service Accessed via Network Utility\n expression: exec.file.path in [\"/usr/bin/wget\", \"/usr/bin/curl\"] && exec.args in\n [~\"*169.254.169.254*\"]\n- id: common_net_intrusion_util\n version: c7198131\n description: Nmap Execution Detected\n expression: exec.file.path == \"/usr/bin/nmap\"\n- id: compiler_in_container\n version: 441a7e85\n description: Compiler Executed in Container\n expression: (exec.file.name in [\"javac\", \"clang\", \"gcc\",\"bcc\"] || (exec.file.name\n == \"go\" && exec.args in [~\"*build*\", ~\"*run*\"])) && container.id !=\"\" && process.ancestors.file.path\n != \"/usr/bin/cilium-agent\"\n- id: credential_modified_chmod\n version: 7e14d921\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (chmod.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"\n- id: credential_modified_chown\n version: 3731e0d5\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (chown.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid\\\n \\ || chown.gid != chown.file.gid)\"\n- id: credential_modified_link\n version: 7594ec54\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (link.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n \\\n \\ || link.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: credential_modified_open\n version: 2d65e37f\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n open.flags & ((O_CREAT|O_RDWR|O_WRONLY|O_TRUNC)) > 0 &&\\n \\\n \\ (open.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n && process.file.path\\\n \\ not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\", \\\"/usr/sbin/vigr\\\"\\\n \\ ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: credential_modified_rename\n version: 8bb8242b\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (rename.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ]\\n\\\n \\ || rename.file.destination.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: credential_modified_unlink\n version: 5af577d\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (unlink.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: credential_modified_utimes\n version: 1c101338\n description: Either /etc/shadow/ or /etc/gshadow was modified by a non-standard\n tool\n expression: \"(\\n (utimes.file.path in [ \\\"/etc/shadow\\\", \\\"/etc/gshadow\\\" ])\\n\\\n \\ && process.file.path not in [ \\\"/sbin/vipw\\\", \\\"/usr/sbin/vipw\\\", \\\"/sbin/vigr\\\"\\\n , \\\"/usr/sbin/vigr\\\" ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: cron_at_job_creation_chmod\n version: 13512ebc\n description: Cron AT Job Creation\n expression: \"(\\n (chmod.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path\\\n \\ not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && chmod.mode != chmod.file.mode\"\n- id: cron_at_job_creation_chown\n version: ee7b306c\n description: Cron AT Job Creation\n expression: \"(\\n (chown.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path\\\n \\ not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n) && (chown.uid != chown.file.uid\\\n \\ || chown.gid != chown.file.gid)\"\n- id: cron_at_job_creation_link\n version: b83e03f6\n description: Cron AT Job Creation\n expression: \"(\\n (link.file.path in [ ~\\\"/var/spool/cron/*\\\" ]\\n || link.file.destination.path\\\n \\ in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\"\\\n , \\\"/usr/bin/crontab\\\" ]\\n)\"\n- id: cron_at_job_creation_open\n version: 561ad06\n description: Cron AT Job Creation\n expression: \"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\"\\\n , \\\"/usr/bin/crontab\\\" ]\\n)\"\n- id: cron_at_job_creation_rename\n version: 59b739d8\n description: Cron AT Job Creation\n expression: \"(\\n (rename.file.path in [ ~\\\"/var/spool/cron/*\\\" ]\\n || rename.file.destination.path\\\n \\ in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path not in [ \\\"/usr/bin/at\\\"\\\n , \\\"/usr/bin/crontab\\\" ]\\n)\"\n- id: cron_at_job_creation_unlink\n version: 82b6d187\n description: Cron AT Job Creation\n expression: \"(\\n (unlink.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path\\\n \\ not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"\n- id: cron_at_job_creation_utimes\n version: d460ba68\n description: Cron AT Job Creation\n expression: \"(\\n (utimes.file.path in [ ~\\\"/var/spool/cron/*\\\" ])\\n && process.file.path\\\n \\ not in [ \\\"/usr/bin/at\\\", \\\"/usr/bin/crontab\\\" ]\\n)\"\n- id: database_shell_execution\n version: 3508c713\n description: A database application spawned a shell, shell utility, or HTTP utility\n expression: \"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\"\\\n , \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\"\\\n ,\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\"\\\n ,\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\"\\\n ,\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n\\\n \\ \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\"\\\n ,\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\"\\\n ,\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\"\\\n , \\\"/usr/bin/curl\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\"\\\n ,\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\"\\\n ,\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\"\\\n ,\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\"\\\n ,\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\"\\\n ,\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\"\\\n ,\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"\\\n /usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"\\\n /usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\"\\\n ,\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"\\\n /usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\"\\\n ,\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\"\\\n ,\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"\\\n /usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\"\\\n ,\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\"\\\n ,\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\"\\\n ,\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\"\\\n ,\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\"\\\n ,\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\"\\\n ,\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\"\\\n ,\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\"\\\n ,\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"\\\n ]) &&\\nprocess.ancestors.file.name in [\\\"mysqld\\\", \\\"mongod\\\", \\\"postgres\\\"] &&\\n\\\n !(process.ancestors.file.name == \\\"initdb\\\" &&\\nexec.args == ~\\\"*locale -a*\\\")\"\n- id: dirty_pipe_attempt\n version: 8814807c\n description: Potential Dirty pipe exploitation attempt\n expression: (splice.pipe_entry_flag & PIPE_BUF_FLAG_CAN_MERGE) != 0 && (splice.pipe_exit_flag\n & PIPE_BUF_FLAG_CAN_MERGE) == 0\n- id: dirty_pipe_exploitation\n version: 9bcacfe3\n description: Potential Dirty pipe exploitation\n expression: (splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) > 0\n- id: example_agent_rule\n version: 28ba1078\n description: An example agent rule generated in terraform\n expression: exec.file.name == \"java\"\n- id: java_shell_execution\n version: 24c2eb7c\n description: Java process spawned shell/utility\n expression: \"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\"\\\n , \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\"\\\n ,\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\"\\\n ,\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\"\\\n ,\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n\\\n \\ \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\"\\\n ,\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\"\\\n ,\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\"\\\n , \\\"/usr/bin/curl\\\"] ||\\n exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\"\\\n ,\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\"\\\n ,\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\"\\\n ,\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\"\\\n ,\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\"\\\n ,\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\"\\\n ,\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"\\\n /usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"\\\n /usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\"\\\n ,\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"\\\n /usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\"\\\n ,\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\"\\\n ,\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"\\\n /usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\"\\\n ,\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\"\\\n ,\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\"\\\n ,\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\"\\\n ,\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\"\\\n ,\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\"\\\n ,\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\"\\\n ,\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\"\\\n ,\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"\\\n ])\\n&& process.ancestors.file.name == \\\"java\\\"\"\n- id: kernel_module_chmod\n version: 82c61c82\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (chmod.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && chmod.mode != chmod.file.mode\"\n- id: kernel_module_chown\n version: ca2cf124\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (chown.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n) && (chown.uid != chown.file.uid\\\n \\ || chown.gid != chown.file.gid)\"\n- id: kernel_module_link\n version: a18ca197\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (link.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ]\\n || link.file.destination.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"\n- id: kernel_module_load\n version: 904592b4\n description: A kernel module was loaded\n expression: load_module.name != \"\"\n- id: kernel_module_load_container\n version: 139b666a\n description: A container loaded a new kernel module\n expression: load_module.name != \"\" && container.id !=\"\"\n- id: kernel_module_load_from_memory\n version: 78122acd\n description: A kernel module was loaded from memory\n expression: load_module.loaded_from_memory == true\n- id: kernel_module_load_from_memory_container\n version: a277c753\n description: A kernel module was loaded from memory inside a container\n expression: load_module.loaded_from_memory == true && container.id !=\"\"\n- id: kernel_module_open\n version: 55f9569\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"] && process.ancestors.file.path\\\n \\ != \\\"/usr/bin/kmod\\\"\\n)\"\n- id: kernel_module_rename\n version: 9d8cb7d8\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (rename.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ]\\n || rename.file.destination.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"\n- id: kernel_module_unlink\n version: 652391be\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (unlink.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"\n- id: kernel_module_utimes\n version: 405d45e7\n description: A kernel module was added to /lib/modules/\n expression: \"(\\n (utimes.file.path in [ ~\\\"/lib/modules/*\\\", ~\\\"/usr/lib/modules/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ] && process.ancestors.file.path != \\\"/usr/bin/kmod\\\"\\n)\"\n- id: net_util\n version: fc362090\n description: A network utility was executed from a suspicious location\n expression: \"(exec.file.path in [\\\"/usr/bin/socat\\\", \\\"/usr/bin/dig\\\", \\\"/usr/bin/nslookup\\\"\\\n , \\\"/usr/bin/netcat\\\", \\\"/usr/bin/nc\\\"] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\"\\\n , \\\"/usr/bin/curl\\\"]) &&\\ncontainer.id == \\\"\\\" && (exec.args not in [ ~\\\"*localhost*\\\"\\\n , ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] || process.ancestors.comm != \\\"50-motd-news\\\"\\\n ) && process.ancestors.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/home/**\\\"\\\n , ~\\\"/run/user/**\\\" ]\"\n- id: net_util_in_container\n version: 69e03ac1\n description: A network utility was executed from a suspicious location in a container\n expression: \"(exec.file.path in [\\\"/usr/bin/socat\\\", \\\"/usr/bin/dig\\\", \\\"/usr/bin/nslookup\\\"\\\n , \\\"/usr/bin/netcat\\\", \\\"/usr/bin/nc\\\"] ||\\n exec.file.path in [\\\"/usr/bin/wget\\\"\\\n , \\\"/usr/bin/curl\\\"]) &&\\ncontainer.id != \\\"\\\" && (exec.args not in [ ~\\\"*localhost*\\\"\\\n , ~\\\"*127.0.0.1*\\\", ~\\\"*motd.ubuntu.com*\\\" ] || process.ancestors.comm != \\\"50-motd-news\\\"\\\n ) && process.ancestors.file.path in [ ~\\\"/tmp/**\\\", ~\\\"/var/tmp/**\\\", ~\\\"/home/**\\\"\\\n , ~\\\"/run/user/**\\\" ]\"\n- id: new_binary_execution_in_container\n version: 9dc42e1d\n description: A container executed a new a binary not found in the container image\n expression: container.id !=\"\" && !process.file.in_upper_layer && process.file.modification_time\n < 30s && exec.file.name !=\"\"\n- id: new_kernel_module_audit\n version: 904592b4\n description: A kernel module was loaded\n expression: load_module.name != \"\"\n- id: new_kernel_module_audit_container\n version: 139b666a\n description: A kernel module was loaded\n expression: load_module.name != \"\" && container.id !=\"\"\n- id: nsswitch_conf_mod_chmod\n version: d301aedf\n description: Nsswitch Configuration Modified\n expression: \"(\\n (chmod.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && chmod.mode\\\n \\ != chmod.file.mode\"\n- id: nsswitch_conf_mod_chown\n version: '69383592'\n description: Nsswitch Configuration Modified\n expression: \"(\\n (chown.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n) && (chown.uid\\\n \\ != chown.file.uid || chown.gid != chown.file.gid)\"\n- id: nsswitch_conf_mod_link\n version: e0565b29\n description: Nsswitch Configuration Modified\n expression: \"(\\n (link.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || link.file.destination.path\\\n \\ in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"\n- id: nsswitch_conf_mod_open\n version: b5602c6f\n description: Nsswitch Configuration Modified\n expression: \"(\\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\\n (open.file.path\\\n \\ in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"\n- id: nsswitch_conf_mod_rename\n version: aad34176\n description: Nsswitch Configuration Modified\n expression: \"(\\n (rename.file.path in [ \\\"/etc/nsswitch.conf\\\" ]\\n || rename.file.destination.path\\\n \\ in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"\n- id: nsswitch_conf_mod_unlink\n version: 8a3e2fbb\n description: Nsswitch Configuration Modified\n expression: \"(\\n (unlink.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"\n- id: nsswitch_conf_mod_utimes\n version: 902597c0\n description: Nsswitch Configuration Modified\n expression: \"(\\n (utimes.file.path in [ \\\"/etc/nsswitch.conf\\\" ])\\n)\"\n- id: package_management_in_container\n version: c152fcaf\n description: Package management in container\n expression: exec.file.path in [\"/usr/bin/apt\", \"/usr/bin/apt-get\", \"/usr/bin/apt-config\",\n \"/usr/bin/dpkg\", \"/usr/bin/aptitude-curses\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\"]\n && container.id != \"\"\n- id: pam_modification_chmod\n version: 974a676e\n description: PAM Configuration Files Modification\n expression: \"(\\n (chmod.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n\\\n ) && chmod.mode != chmod.file.mode\"\n- id: pam_modification_chown\n version: ca22d0ab\n description: PAM Configuration Files Modification\n expression: \"(\\n (chown.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n\\\n ) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"\n- id: pam_modification_link\n version: 3d5d6b31\n description: PAM Configuration Files Modification\n expression: \"(\\n (link.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ]\\n\\\n \\ || link.file.destination.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n\\\n )\"\n- id: pam_modification_open\n version: 9440f452\n description: PAM Configuration Files Modification\n expression: \"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\" ])\\n)\"\n- id: pam_modification_rename\n version: bd1d257a\n description: PAM Configuration Files Modification\n expression: \"(\\n (rename.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\"\\\n \\ ]\\n || rename.file.destination.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\"\\\n \\ ])\\n)\"\n- id: pam_modification_unlink\n version: c3dc53e1\n description: PAM Configuration Files Modification\n expression: \"(\\n (unlink.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\"\\\n \\ ])\\n)\"\n- id: pam_modification_utimes\n version: d377b599\n description: PAM Configuration Files Modification\n expression: \"(\\n (utimes.file.path in [ ~\\\"/etc/pam.d/*\\\", \\\"/etc/pam.conf\\\"\\\n \\ ])\\n)\"\n- id: passwd_execution\n version: e1d41f5e\n description: Passwd utility executed\n expression: exec.file.path == \"/usr/bin/passwd\"\n- id: pci_11_5_critical_binaries_chmod\n version: 1945831d\n description: Critical System Binaries\n expression: \"(\\n (chmod.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n) && chmod.mode != chmod.file.mode\"\n- id: pci_11_5_critical_binaries_chown\n version: 21da2189\n description: Critical System Binaries\n expression: \"(\\n (chown.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"\n- id: pci_11_5_critical_binaries_link\n version: a7ac587c\n description: Critical System Binaries\n expression: \"(\\n (link.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ]\\n || link.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: pci_11_5_critical_binaries_open\n version: f583ba7c\n description: Critical System Binaries\n expression: \"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\", ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\"\\\n , ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\" ])\\n && process.file.path not in [\\\"\\\n /usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\"\\\n , \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n && process.ancestors.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: pci_11_5_critical_binaries_rename\n version: e0bc0857\n description: Critical System Binaries\n expression: \"(\\n (rename.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ]\\n || rename.file.destination.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: pci_11_5_critical_binaries_unlink\n version: 3bb086ca\n description: Critical System Binaries\n expression: \"(\\n (unlink.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: pci_11_5_critical_binaries_utimes\n version: 6d979630\n description: Critical System Binaries\n expression: \"(\\n (utimes.file.path in [ ~\\\"/bin/*\\\", ~\\\"/sbin/*\\\", ~\\\"/usr/bin/*\\\"\\\n , ~\\\"/usr/sbin/*\\\", ~\\\"/usr/local/bin/*\\\", ~\\\"/usr/local/sbin/*\\\", ~\\\"/boot/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n && process.ancestors.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: potential_web_shell\n version: dcaa6f4d\n description: A webapp process (language engine or webserver) spawned a shell, shell\n utility, or HTTP utility\n expression: \"(exec.file.path in [ \\\"/bin/dash\\\", \\\"/usr/bin/dash\\\",\\n \\\"/bin/sh\\\"\\\n , \\\"/bin/static-sh\\\", \\\"/usr/bin/sh\\\",\\n \\\"/usr/bin/bash\\\",\\n \\\"/bin/bash-static\\\"\\\n ,\\n \\\"/usr/bin/zsh\\\",\\n \\\"/usr/bin/ash\\\",\\n \\\"/usr/bin/csh\\\",\\n \\\"/usr/bin/ksh\\\"\\\n ,\\n \\\"/usr/bin/tcsh\\\",\\n \\\"/usr/lib/initramfs-tools/bin/busybox\\\",\\n \\\"/bin/busybox\\\"\\\n ,\\n \\\"/usr/bin/fish\\\",\\n \\\"/bin/ksh93\\\",\\n \\\"/bin/rksh\\\", \\\"/bin/rksh93\\\",\\n\\\n \\ \\\"/bin/lksh\\\",\\n \\\"/bin/mksh\\\", \\\"/bin/mksh-static\\\",\\n \\\"/usr/bin/csharp\\\"\\\n ,\\n \\\"/bin/posh\\\",\\n \\\"/usr/bin/rc\\\",\\n \\\"/bin/sash\\\",\\n \\\"/usr/bin/yash\\\"\\\n ,\\n \\\"/bin/zsh5\\\", \\\"/bin/zsh5-static\\\" ] || exec.file.path in [\\\"/usr/bin/wget\\\"\\\n , \\\"/usr/bin/curl\\\"] || exec.file.path in [\\\"/bin/cat\\\",\\\"/bin/chgrp\\\",\\\"/bin/chmod\\\"\\\n ,\\\"/bin/chown\\\",\\\"/bin/cp\\\",\\\"/bin/date\\\",\\\"/bin/dd\\\",\\\"/bin/df\\\",\\\"/bin/dir\\\"\\\n ,\\\"/bin/echo\\\",\\\"/bin/ln\\\",\\\"/bin/ls\\\",\\\"/bin/mkdir\\\",\\\"/bin/mknod\\\",\\\"/bin/mktemp\\\"\\\n ,\\\"/bin/mv\\\",\\\"/bin/pwd\\\",\\\"/bin/readlink\\\",\\\"/bin/rm\\\",\\\"/bin/rmdir\\\",\\\"/bin/sleep\\\"\\\n ,\\\"/bin/stty\\\",\\\"/bin/sync\\\",\\\"/bin/touch\\\",\\\"/bin/uname\\\",\\\"/bin/vdir\\\",\\\"/usr/bin/arch\\\"\\\n ,\\\"/usr/bin/b2sum\\\",\\\"/usr/bin/base32\\\",\\\"/usr/bin/base64\\\",\\\"/usr/bin/basename\\\"\\\n ,\\\"/usr/bin/chcon\\\",\\\"/usr/bin/cksum\\\",\\\"/usr/bin/comm\\\",\\\"/usr/bin/csplit\\\",\\\"\\\n /usr/bin/cut\\\",\\\"/usr/bin/dircolors\\\",\\\"/usr/bin/dirname\\\",\\\"/usr/bin/du\\\",\\\"\\\n /usr/bin/env\\\",\\\"/usr/bin/expand\\\",\\\"/usr/bin/expr\\\",\\\"/usr/bin/factor\\\",\\\"/usr/bin/fmt\\\"\\\n ,\\\"/usr/bin/fold\\\",\\\"/usr/bin/groups\\\",\\\"/usr/bin/head\\\",\\\"/usr/bin/hostid\\\",\\\"\\\n /usr/bin/id\\\",\\\"/usr/bin/install\\\",\\\"/usr/bin/join\\\",\\\"/usr/bin/link\\\",\\\"/usr/bin/logname\\\"\\\n ,\\\"/usr/bin/md5sum\\\",\\\"/usr/bin/md5sum.textutils\\\",\\\"/usr/bin/mkfifo\\\",\\\"/usr/bin/nice\\\"\\\n ,\\\"/usr/bin/nl\\\",\\\"/usr/bin/nohup\\\",\\\"/usr/bin/nproc\\\",\\\"/usr/bin/numfmt\\\",\\\"\\\n /usr/bin/od\\\",\\\"/usr/bin/paste\\\",\\\"/usr/bin/pathchk\\\",\\\"/usr/bin/pinky\\\",\\\"/usr/bin/pr\\\"\\\n ,\\\"/usr/bin/printenv\\\",\\\"/usr/bin/printf\\\",\\\"/usr/bin/ptx\\\",\\\"/usr/bin/realpath\\\"\\\n ,\\\"/usr/bin/runcon\\\",\\\"/usr/bin/seq\\\",\\\"/usr/bin/sha1sum\\\",\\\"/usr/bin/sha224sum\\\"\\\n ,\\\"/usr/bin/sha256sum\\\",\\\"/usr/bin/sha384sum\\\",\\\"/usr/bin/sha512sum\\\",\\\"/usr/bin/shred\\\"\\\n ,\\\"/usr/bin/shuf\\\",\\\"/usr/bin/sort\\\",\\\"/usr/bin/split\\\",\\\"/usr/bin/stat\\\",\\\"/usr/bin/stdbuf\\\"\\\n ,\\\"/usr/bin/sum\\\",\\\"/usr/bin/tac\\\",\\\"/usr/bin/tail\\\",\\\"/usr/bin/tee\\\",\\\"/usr/bin/test\\\"\\\n ,\\\"/usr/bin/timeout\\\",\\\"/usr/bin/tr\\\",\\\"/usr/bin/truncate\\\",\\\"/usr/bin/tsort\\\"\\\n ,\\\"/usr/bin/tty\\\",\\\"/usr/bin/unexpand\\\",\\\"/usr/bin/uniq\\\",\\\"/usr/bin/unlink\\\"\\\n ,\\\"/usr/bin/users\\\",\\\"/usr/bin/wc\\\",\\\"/usr/bin/who\\\",\\\"/usr/bin/whoami\\\",\\\"/usr/sbin/chroot\\\"\\\n ]) &&\\n(process.ancestors.file.name in [~\\\"python2*\\\", ~\\\"python3*\\\", \\\"node\\\"\\\n , \\\"apache2\\\", \\\"nginx\\\", ~\\\"tomcat*\\\"] || process.ancestors.file.name =~ \\\"php*\\\"\\\n ) &&\\nprocess.ancestors.comm not in [\\\"pip3\\\", \\\"pip\\\", \\\"npm\\\"]\"\n- id: ptrace_antidebug\n version: a6289ff7\n description: A process uses an anti-debugging technique to block debuggers\n expression: ptrace.request == PTRACE_TRACEME\n- id: ptrace_injection\n version: 6d290a43\n description: A process attempted to inject code into another process\n expression: ptrace.request == PTRACE_POKETEXT || ptrace.request == PTRACE_POKEDATA\n || ptrace.request == PTRACE_POKEUSR\n- id: pwnkit_privilege_escalation\n version: c83bbabc\n description: A process was spawned with indicators of exploitation of CVE-2021-4034\n expression: (exec.file.path == \"/usr/bin/pkexec\" && exec.envs in [~\"*SHELL*\", ~\"*PATH*\"]\n && exec.uid != 0)\n- id: runc_modification\n version: c7144439\n description: Runc Binary Modified\n expression: 'open.file.path in [\"/usr/bin/runc\", \"/usr/sbin/runc\", \"/usr/bin/docker-runc\"]\n\n && open.flags & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\n\n && process.file.path not in [\"/usr/bin/apt\", \"/usr/bin/apt-get\", \"/usr/bin/apt-config\",\n \"/usr/bin/dpkg\", \"/usr/bin/aptitude-curses\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\"]\n\n && process.ancestors.file.path not in [\"/usr/bin/apt\", \"/usr/bin/apt-get\", \"/usr/bin/apt-config\",\n \"/usr/bin/dpkg\", \"/usr/bin/aptitude-curses\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\"]'\n- id: selinux_disable_enforcement\n version: afa9a8ba\n description: SELinux enforcement status was disabled\n expression: selinux.enforce.status in [\"permissive\", \"disabled\"]\n- id: ssh_authorized_keys_chmod\n version: e4096f79\n description: SSH Authorized Keys Modified\n expression: \"(\\n chmod.file.name == \\\"authorized_keys\\\" && (chmod.file.path in\\\n \\ [ ~\\\"*/.ssh/*\\\" ])\\n) && chmod.mode != chmod.file.mode\"\n- id: ssh_authorized_keys_chown\n version: 9639bf6\n description: SSH Authorized Keys Modified\n expression: \"(\\n chown.file.name == \\\"authorized_keys\\\" && (chown.file.path in\\\n \\ [ ~\\\"*/.ssh/*\\\" ])\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"\n- id: ssh_authorized_keys_link\n version: 81382bdd\n description: SSH Authorized Keys Modified\n expression: \"(\\n link.file.name == \\\"authorized_keys\\\" && (link.file.path in\\\n \\ [ ~\\\"*/.ssh/*\\\" ]\\n || link.file.destination.path in [ ~\\\"*/.ssh/*\\\" ])\\n\\\n )\"\n- id: ssh_authorized_keys_open\n version: 1ae8f7d6\n description: SSH Authorized Keys Modified\n expression: \"(\\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\\n open.file.name\\\n \\ == \\\"authorized_keys\\\" && (open.file.path in [ ~\\\"*/.ssh/*\\\" ])\\n)\"\n- id: ssh_authorized_keys_rename\n version: fd3bdabf\n description: SSH Authorized Keys Modified\n expression: \"(\\n rename.file.name == \\\"authorized_keys\\\" && (rename.file.path\\\n \\ in [ ~\\\"*/.ssh/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"*/.ssh/*\\\"\\\n \\ ])\\n)\"\n- id: ssh_authorized_keys_unlink\n version: 54cf4a88\n description: SSH Authorized Keys Modified\n expression: \"(\\n unlink.file.name == \\\"authorized_keys\\\" && (unlink.file.path\\\n \\ in [ ~\\\"*/.ssh/*\\\" ])\\n)\"\n- id: ssh_authorized_keys_utimes\n version: 59377e61\n description: SSH Authorized Keys Modified\n expression: \"(\\n utimes.file.name == \\\"authorized_keys\\\" && (utimes.file.path\\\n \\ in [ ~\\\"*/.ssh/*\\\" ])\\n)\"\n- id: ssl_certificate_tampering_chmod\n version: d8ac6517\n description: SSL Certificate Tampering\n expression: \"(\\n (chmod.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n) && chmod.mode != chmod.file.mode\"\n- id: ssl_certificate_tampering_chown\n version: 3d04895f\n description: SSL Certificate Tampering\n expression: \"(\\n (chown.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n) && (chown.uid != chown.file.uid || chown.gid != chown.file.gid)\"\n- id: ssl_certificate_tampering_link\n version: eb594616\n description: SSL Certificate Tampering\n expression: \"(\\n (link.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ]\\n || link.file.destination.path\\\n \\ in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: ssl_certificate_tampering_open\n version: 59d94d53\n description: SSL Certificate Tampering\n expression: \"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: ssl_certificate_tampering_rename\n version: e42eefb4\n description: SSL Certificate Tampering\n expression: \"(\\n (rename.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ]\\n || rename.file.destination.path\\\n \\ in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: ssl_certificate_tampering_unlink\n version: 37c40311\n description: SSL Certificate Tampering\n expression: \"(\\n (unlink.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: ssl_certificate_tampering_utimes\n version: de3d3032\n description: SSL Certificate Tampering\n expression: \"(\\n (utimes.file.path in [ ~\\\"/etc/ssl/certs/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: suspicious_container_client\n version: 8b9461f4\n description: A container management utility was executed in a container\n expression: exec.file.name in [\"docker\", \"kubectl\"] && container.id != \"\"\n- id: systemd_modification_chmod\n version: b0643139\n description: Systemd Modification\n expression: \"(\\n (chmod.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && chmod.mode != chmod.file.mode\"\n- id: systemd_modification_chown\n version: 380d501\n description: Systemd Modification\n expression: \"(\\n (chown.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n) && (chown.uid != chown.file.uid\\\n \\ || chown.gid != chown.file.gid)\"\n- id: systemd_modification_link\n version: cbd89cec\n description: Systemd Modification\n expression: \"(\\n (link.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ]\\n || link.file.destination.path in [ ~\\\"/lib/systemd/system/*\\\"\\\n , ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: systemd_modification_open\n version: b6dce303\n description: Systemd Modification\n expression: \"(\\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\\n (open.file.path\\\n \\ in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\"\\\n \\ ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\"\\\n , \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"\\\n /usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: systemd_modification_rename\n version: 1e723c46\n description: Systemd Modification\n expression: \"(\\n (rename.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ]\\n || rename.file.destination.path in [ ~\\\"/lib/systemd/system/*\\\"\\\n , ~\\\"/usr/lib/systemd/system/*\\\", ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path\\\n \\ not in [\\\"/usr/bin/apt\\\", \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"\\\n /usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"\\\n ]\\n)\"\n- id: systemd_modification_unlink\n version: dcb17382\n description: Systemd Modification\n expression: \"(\\n (unlink.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: systemd_modification_utimes\n version: 6b596fc5\n description: Systemd Modification\n expression: \"(\\n (utimes.file.path in [ ~\\\"/lib/systemd/system/*\\\", ~\\\"/usr/lib/systemd/system/*\\\"\\\n , ~\\\"/etc/systemd/system/*\\\" ])\\n && process.file.path not in [\\\"/usr/bin/apt\\\"\\\n , \\\"/usr/bin/apt-get\\\", \\\"/usr/bin/apt-config\\\", \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/aptitude-curses\\\"\\\n , \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\"]\\n)\"\n- id: testtypescriptcreateacloudworkloadsecurityagentrulereturnsokresponse1651997883\n version: f43786f8\n description: Test Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptdeleteacloudworkloadsecurityagentrulereturnsokresponse1651997884\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetacloudworkloadsecurityagentrulereturnsokresponse1651997885\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651867149\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651912469\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651915814\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651943471\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1651997885\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptgetallcloudworkloadsecurityagentrulesreturnsokresponse1652008845\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1651997886\n version: f43786f8\n description: My Agent rule\n expression: exec.file.name == \"sh\"\n- id: testtypescriptupdateacloudworkloadsecurityagentrulereturnsokresponse1651997887\n version: f43786f8\n description: Test Agent rule\n expression: exec.file.name == \"sh\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386657\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386695\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386742\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386809\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386858\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643386909\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387039\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387090\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387148\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387484\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387531\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643387579\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388161\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388208\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388257\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388666\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388726\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388847\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388890\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643388939\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389111\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389165\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389210\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389339\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389389\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389484\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389530\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389627\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389685\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389756\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389931\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643389977\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390108\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390130\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643390151\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391687\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391707\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391729\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643391983\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392003\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392026\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392419\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392438\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392458\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392885\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392903\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRule_local_1643392923\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386718\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386786\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386831\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643386882\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387014\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387063\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387120\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387461\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387505\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387554\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643387992\n version: 28ba1078\n description: an agent rule\n expression: exec.file.name == \"java\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388137\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388182\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388230\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388700\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388825\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388866\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643388912\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389088\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389136\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389186\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389317\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389363\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389411\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389460\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389507\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389553\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389911\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643389955\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390389\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390410\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: tf_TestAccDatadogCloudWorkloadSecurityAgentRulesDatasource_local_1643390432\n version: 2dd188de\n description: an agent rule\n expression: exec.file.name == \"go\"\n- id: user_created_tty\n version: 5b5f4a52\n description: User Created Interactively\n expression: exec.file.name in [\"useradd\", \"newusers\"] && exec.tty_name !=\"\"\n" + "size": 87108, + "text": "# IMPORTANT: Edits to this file will not be reflected in the Datadog App and will be overwritten with new policy file downloads. Please modify rules in the Datadog App for full functionality.\nversion: '1709907555575'\nrules:\n- id: Deno_unauthorized_network_access_performed\n version: 482a395e\n description: Unauthorized network access by deno runtime\n expression: bind.addr.family>=0 && process.comm==\"deno\" && process.args not in [r\".*(allow-net|allow-ffi|-A|allow-all).*\"]\n agent_version: ''\n filters: []\n- id: Deno_unauthorized_subprocess_created\n version: d2d82b09\n description: Unauthorized subprocess created by deno runtime\n expression: exec.comm !=\"\" && process.ancestors.comm==\"deno\" && process.ancestors.args\n not in [r\".*(allow-run|-A|allow-all).*\"]\n agent_version: ''\n filters: []\n- id: apparmor_modified_tty\n version: a7f3b5c2\n description: An AppArmor profile was modified in an interactive session\n expression: exec.file.name in [\"aa-disable\", \"aa-complain\", \"aa-audit\"] && exec.tty_name\n !=\"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: auditctl_usage\n version: fdc2412d\n description: The auditctl command was used to modify auditd\n expression: exec.file.name == \"auditctl\"\n agent_version: ''\n filters: []\n- id: auditd_config_modified\n version: c7f52a7a\n description: The auditd configuration file was modified without using auditctl\n expression: open.file.path == \"/etc/audit/auditd.conf\" && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY)\n > 0 && process.file.name != \"auditctl\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: auditd_rule_file_modified\n version: c533115d\n description: The auditd rules file was modified without using auditctl\n expression: open.file.path in [\"/etc/audit/rules.d/audit.rules\", \"/etc/audit/audit.rules\"]\n && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && process.file.name !=\n \"auditctl\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: aws_eks_service_account_token_accessed\n version: d6a7a4a0\n description: The AWS EKS service account token was accessed\n expression: open.file.path =~ \"/var/run/secrets/eks.amazonaws.com/serviceaccount/**\"\n && open.file.name == \"token\" && process.file.path not in [\"/opt/datadog-agent/embedded/bin/agent\",\n \"/opt/datadog-agent/embedded/bin/system-probe\", \"/opt/datadog-agent/embedded/bin/security-agent\",\n \"/opt/datadog-agent/embedded/bin/process-agent\", \"/opt/datadog-agent/bin/agent/agent\",\n \"/opt/datadog/apm/inject/auto_inject_runc\", \"/usr/bin/dd-host-install\", \"/usr/bin/dd-host-container-install\",\n \"/usr/bin/dd-container-install\", \"/opt/datadog-agent/bin/datadog-cluster-agent\"]\n agent_version: ''\n filters: []\n- id: aws_imds\n version: 6d47fcfe\n description: An AWS IMDS was called via a network utility\n expression: exec.comm in [\"wget\", \"curl\", \"lwp-download\"] && exec.args in [~\"*169.254.169.254/latest/meta-data/iam/security-credentials/*\",\n \"*169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI\", ~\"*169.254.170.2/*/credentials?id=*\"]\n agent_version: ''\n filters: []\n- id: azure_imds\n version: 784f9a83\n description: An Azure IMDS was called via a network utility\n expression: exec.comm in [\"wget\", \"curl\", \"lwp-download\"] && exec.args in [~\"*169.254.169.254/metadata/identity/oauth2/token?api-version=*\"]\n agent_version: ''\n filters: []\n- id: base64_decode\n version: dd942ef2\n description: The base64 command was used to decode information\n expression: exec.file.name == \"base64\" && exec.args_flags in [\"d\"]\n agent_version: ''\n filters: []\n- id: certutil_usage\n version: 4b9c58b5\n description: Certutil was executed to transmit or decode a potentially malicious\n file\n expression: exec.file.name == \"certutil.exe\" && ((exec.cmdline =~ \"*urlcache*\" &&\n exec.cmdline =~ \"*split*\") || exec.cmdline =~ \"*decode*\")\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: chatroom_request\n version: 91aa2a0f\n description: A newly created file contacted a chatroom domain\n expression: dns.question.name in [\"discord.com\", \"api.telegram.org\", \"cdn.discordapp.com\"]\n && process.file.in_upper_layer && process.file.change_time < 60s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: compile_after_delivery\n version: f41c1e36\n description: A compiler wrote a suspicious file in a container\n expression: |-\n open.flags & O_CREAT > 0\n && (\n (open.file.path =~ \"/tmp/**\" && open.file.name in [~\"*.ko\", ~\".*\"])\n || open.file.path in [~\"/var/tmp/**\", ~\"/dev/shm/**\", ~\"/root/**\", ~\"*/bin/*\", ~\"/usr/local/lib/**\"]\n )\n && (process.comm in [\"javac\", \"clang\", \"gcc\",\"bcc\"] || process.ancestors.comm in [\"javac\", \"clang\", \"gcc\",\"bcc\"])\n && process.file.name not in [\"pip\", ~\"python*\"]\n && container.id != \"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: compiler_in_container\n version: 441a7e85\n description: Compiler Executed in Container\n expression: (exec.file.name in [\"javac\", \"clang\", \"gcc\",\"bcc\"] || (exec.file.name\n == \"go\" && exec.args in [~\"*build*\", ~\"*run*\"])) && container.id !=\"\" && process.ancestors.file.path\n != \"/usr/bin/cilium-agent\"\n agent_version: ''\n filters: []\n- id: crackmap_exec_executed\n version: 62b05d89\n description: Known offensive tool crackmap exec executed\n expression: exec.cmdline in [~\"*crackmapexec*\", ~\"*cme*\"]\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: credential_modified_chown\n version: b5e2cf51\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n (chown.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: credential_modified_link\n version: 5fe23f72\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n (link.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ]\n || link.file.destination.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: credential_modified_open_v2\n version: 5aec9afe\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n open.flags & ((O_CREAT|O_RDWR|O_WRONLY|O_TRUNC)) > 0 &&\n (open.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && container.created_at > 90s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: credential_modified_rename\n version: b7458786\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n (rename.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ]\n || rename.file.destination.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: credential_modified_unlink\n version: 557758b6\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n (unlink.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: credential_modified_utimes\n version: de8d14c5\n description: Sensitive credential files were modified using a non-standard tool\n expression: |-\n (\n (utimes.file.path in [ \"/etc/shadow\", \"/etc/gshadow\" ])\n && process.file.path not in [ \"/sbin/vipw\", \"/usr/sbin/vipw\", \"/sbin/vigr\", \"/usr/sbin/vigr\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/local/bin/dockerd\", \"/usr/sbin/groupadd\", \"/usr/sbin/useradd\", \"/usr/sbin/usermod\", \"/usr/sbin/userdel\", \"/usr/bin/gpasswd\", \"/usr/bin/chage\", \"/usr/sbin/chpasswd\", \"/usr/bin/passwd\" ]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: cryptominer_envs\n version: 735b7690\n description: Process environment variables match cryptocurrency miner\n expression: exec.envs in [~\"*POOL_USER*\", ~\"*POOL_URL*\", ~\"*POOL_PASS*\", ~\"*DONATE_LEVEL*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: curl_docker_socket\n version: f736b6e6\n description: The Docker socket was referenced in a cURL command\n expression: exec.file.name == \"curl\" && exec.args_flags in [\"unix-socket\"] && exec.args\n in [\"*docker.sock*\"] && container.id != \"\"\n agent_version: ''\n filters: []\n- id: database_shell_execution\n version: 3508c713\n description: A database application spawned a shell, shell utility, or HTTP utility\n expression: |-\n (exec.file.path in [ \"/bin/dash\",\n \"/usr/bin/dash\",\n \"/bin/sh\",\n \"/bin/static-sh\",\n \"/usr/bin/sh\",\n \"/bin/bash\",\n \"/usr/bin/bash\",\n \"/bin/bash-static\",\n \"/usr/bin/zsh\",\n \"/usr/bin/ash\",\n \"/usr/bin/csh\",\n \"/usr/bin/ksh\",\n \"/usr/bin/tcsh\",\n \"/usr/lib/initramfs-tools/bin/busybox\",\n \"/bin/busybox\",\n \"/usr/bin/fish\",\n \"/bin/ksh93\",\n \"/bin/rksh\",\n \"/bin/rksh93\",\n \"/bin/lksh\",\n \"/bin/mksh\",\n \"/bin/mksh-static\",\n \"/usr/bin/csharp\",\n \"/bin/posh\",\n \"/usr/bin/rc\",\n \"/bin/sash\",\n \"/usr/bin/yash\",\n \"/bin/zsh5\",\n \"/bin/zsh5-static\" ] ||\n exec.comm in [\"wget\", \"curl\", \"lwp-download\"] ||\n exec.file.path in [\"/bin/cat\",\"/bin/chgrp\",\"/bin/chmod\",\"/bin/chown\",\"/bin/cp\",\"/bin/date\",\"/bin/dd\",\"/bin/df\",\"/bin/dir\",\"/bin/echo\",\"/bin/ln\",\"/bin/ls\",\"/bin/mkdir\",\"/bin/mknod\",\"/bin/mktemp\",\"/bin/mv\",\"/bin/pwd\",\"/bin/readlink\",\"/bin/rm\",\"/bin/rmdir\",\"/bin/sleep\",\"/bin/stty\",\"/bin/sync\",\"/bin/touch\",\"/bin/uname\",\"/bin/vdir\",\"/usr/bin/arch\",\"/usr/bin/b2sum\",\"/usr/bin/base32\",\"/usr/bin/base64\",\"/usr/bin/basename\",\"/usr/bin/chcon\",\"/usr/bin/cksum\",\"/usr/bin/comm\",\"/usr/bin/csplit\",\"/usr/bin/cut\",\"/usr/bin/dircolors\",\"/usr/bin/dirname\",\"/usr/bin/du\",\"/usr/bin/env\",\"/usr/bin/expand\",\"/usr/bin/expr\",\"/usr/bin/factor\",\"/usr/bin/fmt\",\"/usr/bin/fold\",\"/usr/bin/groups\",\"/usr/bin/head\",\"/usr/bin/hostid\",\"/usr/bin/id\",\"/usr/bin/install\",\"/usr/bin/join\",\"/usr/bin/link\",\"/usr/bin/logname\",\"/usr/bin/md5sum\",\"/usr/bin/md5sum.textutils\",\"/usr/bin/mkfifo\",\"/usr/bin/nice\",\"/usr/bin/nl\",\"/usr/bin/nohup\",\"/usr/bin/nproc\",\"/usr/bin/numfmt\",\"/usr/bin/od\",\"/usr/bin/paste\",\"/usr/bin/pathchk\",\"/usr/bin/pinky\",\"/usr/bin/pr\",\"/usr/bin/printenv\",\"/usr/bin/printf\",\"/usr/bin/ptx\",\"/usr/bin/realpath\",\"/usr/bin/runcon\",\"/usr/bin/seq\",\"/usr/bin/sha1sum\",\"/usr/bin/sha224sum\",\"/usr/bin/sha256sum\",\"/usr/bin/sha384sum\",\"/usr/bin/sha512sum\",\"/usr/bin/shred\",\"/usr/bin/shuf\",\"/usr/bin/sort\",\"/usr/bin/split\",\"/usr/bin/stat\",\"/usr/bin/stdbuf\",\"/usr/bin/sum\",\"/usr/bin/tac\",\"/usr/bin/tail\",\"/usr/bin/tee\",\"/usr/bin/test\",\"/usr/bin/timeout\",\"/usr/bin/tr\",\"/usr/bin/truncate\",\"/usr/bin/tsort\",\"/usr/bin/tty\",\"/usr/bin/unexpand\",\"/usr/bin/uniq\",\"/usr/bin/unlink\",\"/usr/bin/users\",\"/usr/bin/wc\",\"/usr/bin/who\",\"/usr/bin/whoami\",\"/usr/sbin/chroot\"]) &&\n process.parent.file.name in [\"mysqld\", \"mongod\", \"postgres\"] &&\n !(process.parent.file.name == \"initdb\" &&\n exec.args == \"-c locale -a\") &&\n !(process.parent.file.name == \"postgres\" &&\n exec.args == ~\"*pg_wal*\")\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: delete_system_log\n version: 5436807c\n description: A process deleted common system log files\n expression: unlink.file.path in [\"/var/run/utmp\", \"/var/log/wtmp\", \"/var/log/btmp\",\n \"/var/log/lastlog\", \"/var/log/faillog\", \"/var/log/syslog\", \"/var/log/messages\",\n \"/var/log/secure\", \"/var/log/auth.log\", \"/var/log/boot.log\", \"/var/log/kern.log\"]\n && process.comm not in [\"dockerd\", \"containerd\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: deploy_priv_container\n version: 356d5ee7\n description: A privileged container was created\n expression: exec.file.name != \"\" && container.created_at < 1s && process.cap_permitted\n & CAP_SYS_ADMIN > 0\n agent_version: ''\n filters: []\n- id: dirty_pipe_attempt\n version: 8814807c\n description: Potential Dirty pipe exploitation attempt\n expression: (splice.pipe_entry_flag & PIPE_BUF_FLAG_CAN_MERGE) != 0 && (splice.pipe_exit_flag\n & PIPE_BUF_FLAG_CAN_MERGE) == 0 && (process.uid != 0 && process.gid != 0)\n agent_version: ''\n filters: []\n- id: dirty_pipe_exploitation\n version: 9bcacfe3\n description: Potential Dirty pipe exploitation\n expression: (splice.pipe_exit_flag & PIPE_BUF_FLAG_CAN_MERGE) > 0 && (process.uid\n != 0 && process.gid != 0)\n agent_version: ''\n filters: []\n- id: dynamic_linker_config_unlink\n version: 1924611e\n description: A process unlinked a dynamic linker config file\n expression: unlink.file.path in [\"/etc/ld.so.preload\", \"/etc/ld.so.conf\", ~\"/etc/ld.so.conf.d/*.conf\"]\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\",\n \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\",\n \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: dynamic_linker_config_write\n version: 764fc516\n description: A process wrote to a dynamic linker config file\n expression: open.file.path in [\"/etc/ld.so.preload\", \"/etc/ld.so.conf\", \"/etc/ld.so.conf.d/*.conf\"]\n && open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && process.file.path not\n in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\",\n \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\",\n ~\"/usr/bin/pip*\"] && process.ancestors.file.path not in [\"/opt/datadog-agent/embedded/bin/agent\",\n \"/opt/datadog-agent/embedded/bin/system-probe\", \"/opt/datadog-agent/embedded/bin/security-agent\",\n \"/opt/datadog-agent/embedded/bin/process-agent\", \"/opt/datadog-agent/bin/agent/agent\",\n \"/opt/datadog/apm/inject/auto_inject_runc\", \"/usr/bin/dd-host-install\", \"/usr/bin/dd-host-container-install\",\n \"/usr/bin/dd-container-install\", \"/opt/datadog-agent/bin/datadog-cluster-agent\"]\n agent_version: ''\n filters: []\n- id: exec_lsmod\n version: 1a14c811\n description: Kernel modules were listed using the lsmod command\n expression: exec.comm == \"lsmod\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: exec_whoami\n version: 90ea91b6\n description: The whoami command was executed\n expression: exec.comm == \"whoami\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: exec_wrmsr\n version: 13ea7d84\n description: The wrmsr program executed\n expression: exec.comm == \"wrmsr\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: executable_bit_added\n version: 6f8761f\n description: The executable bit was added to a newly created file\n expression: |-\n chmod.file.in_upper_layer &&\n chmod.file.change_time < 30s &&\n container.id != \"\" &&\n chmod.file.destination.mode != chmod.file.mode &&\n chmod.file.destination.mode & S_IXUSR|S_IXGRP|S_IXOTH > 0 &&\n process.argv in [\"+x\"]\n agent_version: ''\n filters: []\n- id: gcp_imds\n version: 3035dbbf\n description: An GCP IMDS was called via a network utility\n expression: exec.comm in [\"wget\", \"curl\", \"lwp-download\"] && exec.args in [~\"*metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token\",\n ~\"*169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token\"]\n agent_version: ''\n filters: []\n- id: hidden_file_executed\n version: 60fd84a9\n description: A hidden file was executed in a suspicious folder\n expression: exec.file.name =~ \".*\" && exec.file.path in [~\"/home/**\", ~\"/tmp/**\",\n ~\"/var/tmp/**\", ~\"/dev/shm/**\"]\n agent_version: ''\n filters: []\n- id: interactive_shell_in_container\n version: f8bc8845\n description: An interactive shell was started inside of a container\n expression: |-\n exec.file.path in [ \"/bin/dash\",\n \"/usr/bin/dash\",\n \"/bin/sh\",\n \"/bin/static-sh\",\n \"/usr/bin/sh\",\n \"/bin/bash\",\n \"/usr/bin/bash\",\n \"/bin/bash-static\",\n \"/usr/bin/zsh\",\n \"/usr/bin/ash\",\n \"/usr/bin/csh\",\n \"/usr/bin/ksh\",\n \"/usr/bin/tcsh\",\n \"/usr/lib/initramfs-tools/bin/busybox\",\n \"/bin/busybox\",\n \"/usr/bin/fish\",\n \"/bin/ksh93\",\n \"/bin/rksh\",\n \"/bin/rksh93\",\n \"/bin/lksh\",\n \"/bin/mksh\",\n \"/bin/mksh-static\",\n \"/usr/bin/csharp\",\n \"/bin/posh\",\n \"/usr/bin/rc\",\n \"/bin/sash\",\n \"/usr/bin/yash\",\n \"/bin/zsh5\",\n \"/bin/zsh5-static\" ] && exec.args_flags in [\"i\"] && container.id !=\"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ip_check_domain\n version: d8a9934\n description: A DNS lookup was done for a IP check service\n expression: dns.question.name in [\"icanhazip.com\", \"ip-api.com\", \"myip.opendns.com\",\n \"checkip.amazonaws.com\", \"whatismyip.akamai.com\"] && process.file.name != \"\"\n agent_version: ''\n filters: []\n- id: iptables_egress_allowed\n version: a5be0ef9\n description: Egress traffic allowed using iptables\n expression: exec.comm == \"iptables\" && process.args in [r\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}.*ACCEPT\"]\n && process.args not in [r\"(127\\.)|(10\\.)|(172\\.1[6-9]\\.)|(172\\.2[0-9]\\.)|(^172\\.3[0-1]\\.)|(192\\.168\\.)|(169\\.254\\.)\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: java_shell_execution_parent\n version: 1bcff0aa\n description: A java process spawned a shell, shell utility, or HTTP utility\n expression: |-\n (exec.file.path in [ \"/bin/dash\",\n \"/usr/bin/dash\",\n \"/bin/sh\",\n \"/bin/static-sh\",\n \"/usr/bin/sh\",\n \"/bin/bash\",\n \"/usr/bin/bash\",\n \"/bin/bash-static\",\n \"/usr/bin/zsh\",\n \"/usr/bin/ash\",\n \"/usr/bin/csh\",\n \"/usr/bin/ksh\",\n \"/usr/bin/tcsh\",\n \"/usr/lib/initramfs-tools/bin/busybox\",\n \"/bin/busybox\",\n \"/usr/bin/fish\",\n \"/bin/ksh93\",\n \"/bin/rksh\",\n \"/bin/rksh93\",\n \"/bin/lksh\",\n \"/bin/mksh\",\n \"/bin/mksh-static\",\n \"/usr/bin/csharp\",\n \"/bin/posh\",\n \"/usr/bin/rc\",\n \"/bin/sash\",\n \"/usr/bin/yash\",\n \"/bin/zsh5\",\n \"/bin/zsh5-static\" ] ||\n exec.comm in [\"wget\", \"curl\", \"lwp-download\"] ||\n exec.file.path in [\"/bin/cat\",\"/bin/chgrp\",\"/bin/chmod\",\"/bin/chown\",\"/bin/cp\",\"/bin/date\",\"/bin/dd\",\"/bin/df\",\"/bin/dir\",\"/bin/echo\",\"/bin/ln\",\"/bin/ls\",\"/bin/mkdir\",\"/bin/mknod\",\"/bin/mktemp\",\"/bin/mv\",\"/bin/pwd\",\"/bin/readlink\",\"/bin/rm\",\"/bin/rmdir\",\"/bin/sleep\",\"/bin/stty\",\"/bin/sync\",\"/bin/touch\",\"/bin/uname\",\"/bin/vdir\",\"/usr/bin/arch\",\"/usr/bin/b2sum\",\"/usr/bin/base32\",\"/usr/bin/base64\",\"/usr/bin/basename\",\"/usr/bin/chcon\",\"/usr/bin/cksum\",\"/usr/bin/comm\",\"/usr/bin/csplit\",\"/usr/bin/cut\",\"/usr/bin/dircolors\",\"/usr/bin/dirname\",\"/usr/bin/du\",\"/usr/bin/env\",\"/usr/bin/expand\",\"/usr/bin/expr\",\"/usr/bin/factor\",\"/usr/bin/fmt\",\"/usr/bin/fold\",\"/usr/bin/groups\",\"/usr/bin/head\",\"/usr/bin/hostid\",\"/usr/bin/id\",\"/usr/bin/install\",\"/usr/bin/join\",\"/usr/bin/link\",\"/usr/bin/logname\",\"/usr/bin/md5sum\",\"/usr/bin/md5sum.textutils\",\"/usr/bin/mkfifo\",\"/usr/bin/nice\",\"/usr/bin/nl\",\"/usr/bin/nohup\",\"/usr/bin/nproc\",\"/usr/bin/numfmt\",\"/usr/bin/od\",\"/usr/bin/paste\",\"/usr/bin/pathchk\",\"/usr/bin/pinky\",\"/usr/bin/pr\",\"/usr/bin/printenv\",\"/usr/bin/printf\",\"/usr/bin/ptx\",\"/usr/bin/realpath\",\"/usr/bin/runcon\",\"/usr/bin/seq\",\"/usr/bin/sha1sum\",\"/usr/bin/sha224sum\",\"/usr/bin/sha256sum\",\"/usr/bin/sha384sum\",\"/usr/bin/sha512sum\",\"/usr/bin/shred\",\"/usr/bin/shuf\",\"/usr/bin/sort\",\"/usr/bin/split\",\"/usr/bin/stat\",\"/usr/bin/stdbuf\",\"/usr/bin/sum\",\"/usr/bin/tac\",\"/usr/bin/tail\",\"/usr/bin/tee\",\"/usr/bin/test\",\"/usr/bin/timeout\",\"/usr/bin/tr\",\"/usr/bin/truncate\",\"/usr/bin/tsort\",\"/usr/bin/tty\",\"/usr/bin/unexpand\",\"/usr/bin/uniq\",\"/usr/bin/unlink\",\"/usr/bin/users\",\"/usr/bin/wc\",\"/usr/bin/who\",\"/usr/bin/whoami\",\"/usr/sbin/chroot\"])\n && process.parent.file.name == \"java\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: jupyterhub_shell\n version: ee1b8429\n description: A shell command was executed from a JupyterHub code cell\n expression: exec.file.path == \"/usr/bin/bash\" && process.ancestors.comm == \"jupyterhub-sing\"\n agent_version: ''\n filters: []\n- id: k8s_pod_service_account_token_accessed\n version: 88c0ee3a\n description: The Kubernetes pod service account token was accessed\n expression: open.file.path in [~\"/var/run/secrets/kubernetes.io/serviceaccount/**\",\n ~\"/run/secrets/kubernetes.io/serviceaccount/**\"] && open.file.name == \"token\"\n && process.file.path not in [\"/opt/datadog-agent/embedded/bin/agent\", \"/opt/datadog-agent/embedded/bin/system-probe\",\n \"/opt/datadog-agent/embedded/bin/security-agent\", \"/opt/datadog-agent/embedded/bin/process-agent\",\n \"/opt/datadog-agent/bin/agent/agent\", \"/opt/datadog/apm/inject/auto_inject_runc\",\n \"/usr/bin/dd-host-install\", \"/usr/bin/dd-host-container-install\", \"/usr/bin/dd-container-install\",\n \"/opt/datadog-agent/bin/datadog-cluster-agent\"] && process.file.path not in [\"/usr/bin/cilium-agent\",\n \"/coredns\", \"/usr/bin/cilium-operator\", \"/manager\", \"/fluent-bit/bin/fluent-bit\",\n \"/usr/local/bin/cloud-node-manager\", \"/secrets-store-csi\", \"/bin/secrets-store-csi-driver-provider-aws\",\n \"/usr/bin/calico-node\", \"/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent\",\n \"/nginx-ingress-controller\", \"/cluster-autoscaler\", \"/cluster-proportional-autoscaler\",\n \"/haproxy-ingress-controller\", \"/kube-state-metrics\", \"/fluent-bit-gke-exporter\",\n \"/bin/external-secrets\", \"/node-termination-handler\", \"/fluent-bit-gke-exporter\"]\n && process.ancestors.file.path not in [\"/opt/datadog-agent/embedded/bin/agent\",\n \"/opt/datadog-agent/embedded/bin/system-probe\", \"/opt/datadog-agent/embedded/bin/security-agent\",\n \"/opt/datadog-agent/embedded/bin/process-agent\", \"/opt/datadog-agent/bin/agent/agent\",\n \"/opt/datadog/apm/inject/auto_inject_runc\", \"/usr/bin/dd-host-install\", \"/usr/bin/dd-host-container-install\",\n \"/usr/bin/dd-container-install\", \"/opt/datadog-agent/bin/datadog-cluster-agent\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kernel_module_chmod\n version: 93da2ba6\n description: A new kernel module was added\n expression: |-\n (\n (chmod.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n ) && chmod.file.destination.mode != chmod.file.mode\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kernel_module_chown\n version: ca2cf124\n description: A new kernel module was added\n expression: |-\n (\n (chown.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: kernel_module_link\n version: ae6469e5\n description: A new kernel module was added\n expression: |-\n (\n (link.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ]\n || link.file.destination.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n )\n agent_version: ''\n filters: []\n- id: kernel_module_load\n version: 904592b4\n description: A kernel module was loaded\n expression: load_module.name not in [\"nf_tables\", \"iptable_filter\", \"ip6table_filter\",\n \"bpfilter\", \"ip6_tables\", \"ip6table_nat\", \"nf_reject_ipv4\", \"ipt_REJECT\", \"iptable_raw\"]\n && process.ancestors.file.name not in [~\"falcon*\", \"unattended-upgrade\", \"apt.systemd.daily\",\n \"xtables-legacy-multi\", \"ssm-agent-worker\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kernel_module_load_container\n version: 139b666a\n description: A container loaded a new kernel module\n expression: load_module.name != \"\" && container.id !=\"\"\n agent_version: ''\n filters: []\n- id: kernel_module_load_from_memory\n version: 78122acd\n description: A kernel module was loaded from memory\n expression: load_module.loaded_from_memory == true\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kernel_module_load_from_memory_container\n version: a277c753\n description: A kernel module was loaded from memory inside a container\n expression: load_module.loaded_from_memory == true && container.id !=\"\"\n agent_version: ''\n filters: []\n- id: kernel_module_open\n version: 55f9569\n description: A new kernel module was added\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n )\n agent_version: ''\n filters: []\n- id: kernel_module_rename\n version: 8dd78e74\n description: A new kernel module was added\n expression: |-\n (\n (rename.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ]\n || rename.file.destination.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n )\n agent_version: ''\n filters: []\n- id: kernel_module_unlink\n version: 652391be\n description: A new kernel module was added\n expression: |-\n (\n (unlink.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n )\n agent_version: ''\n filters: []\n- id: kernel_module_utimes\n version: 405d45e7\n description: A new kernel module was added\n expression: |-\n (\n (utimes.file.path in [ ~\"/lib/modules/**\", ~\"/usr/lib/modules/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && process.ancestors.file.path != \"/usr/bin/kmod\"\n )\n agent_version: ''\n filters: []\n- id: kernel_msr_write\n version: 2c433a21\n description: A process attempted to enable writing to model-specific registers\n expression: exec.comm == \"modprobe\" && process.args =~ \"*msr*allow_writes*\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kmod_list\n version: c353a548\n description: Kernel modules were listed using the kmod command\n expression: exec.comm == \"kmod\" && exec.args in [~\"*list*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kubernetes_dns_enumeration\n version: 70a1304\n description: Kubernetes DNS enumeration\n expression: dns.question.name == \"any.any.svc.cluster.local\" && dns.question.type\n == SRV && container.id != \"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: kubernetes_offensive_tool_executed\n version: 18130cbb\n description: Kubernetes offensive tool executed\n expression: (exec.file.name in [ ~\"python*\" ] && (\"KubiScan.py\" in exec.argv ||\n \"kubestriker\" in exec.argv )) || exec.file.name in [\"kubiscan\",\"kdigger\",\"kube-hunter\",\"rakkess\",\"peirates\",\"kubescape\",\"kubeaudit\",\"kube-linter\",\"stratus\",~\"botb-*\"]\n agent_version: ''\n filters: []\n- id: ld_preload_unusual_library_path\n version: cc6fd0c4\n description: The LD_PRELOAD variable is populated by a link to a suspicious file\n directory\n expression: exec.envs in [~\"LD_PRELOAD=*/tmp/*\" ,~\"LD_PRELOAD=/dev/shm/*\" ]\n agent_version: ''\n filters: []\n- id: libpam_ebpf_hook\n version: adbe1bb1\n description: Library libpam.so hooked using eBPF\n expression: bpf.cmd == BPF_MAP_CREATE && process.args in [r\".*libpam.so.*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: looney_tunables_exploit\n version: 7e9f4346\n description: Looney Tunables (CVE-2023-4911) exploit attempted\n expression: exec.file.mode & S_ISUID > 0 && exec.file.uid == 0 && exec.uid != 0\n && exec.envs in [~\"*GLIBC_TUNABLES*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: memfd_create\n version: 5908512a\n description: memfd object created\n expression: exec.file.name =~ \"memfd*\" && exec.file.path == \"\"\n agent_version: ''\n filters: []\n- id: minidump_usage\n version: 3de40e55\n description: Process memory was dumped using the minidump function from comsvcs.dll\n expression: exec.cmdline =~ \"*MiniDump*\"\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: mount_host_fs\n version: accb4f\n description: The host file system was mounted in a container\n expression: mount.source.path == \"/\" && mount.fs_type != \"overlay\" && container.id\n != \"\"\n agent_version: ''\n filters: []\n- id: net_file_download\n version: 75b930ad\n description: A suspicious file was written by a network utility\n expression: |-\n open.flags & O_CREAT > 0 && process.comm in [\"wget\", \"curl\", \"lwp-download\"]\n && (\n (open.file.path =~ \"/tmp/**\" && open.file.name in [~\"*.sh\", ~\"*.c\", ~\"*.so\", ~\"*.ko\"])\n || open.file.path in [~\"/usr/**\", ~\"/lib/**\", ~\"/etc/**\", ~\"/var/tmp/**\", ~\"/dev/shm/**\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: net_unusual_request\n version: 3df2d9ef\n description: Network utility executed with suspicious URI\n expression: 'exec.comm in [\"wget\", \"curl\", \"lwp-download\"] && exec.args in [~\"*.php*\",\n ~\"*.jpg*\"] '\n agent_version: ''\n filters: []\n- id: net_util\n version: c3f2117b\n description: A network utility was executed\n expression: |-\n (exec.comm in [\"socat\", \"dig\", \"nslookup\", \"host\", ~\"netcat*\", ~\"nc*\", \"ncat\"] ||\n exec.comm in [\"wget\", \"curl\", \"lwp-download\"]) &&\n container.id == \"\" && exec.args not in [ ~\"*localhost*\", ~\"*127.0.0.1*\", ~\"*motd.ubuntu.com*\" ]\n agent_version: ''\n filters: []\n- id: net_util_exfiltration\n version: 5f7c8871\n description: Exfiltration attempt via network utility\n expression: \"exec.comm in [\\\"wget\\\", \\\"curl\\\", \\\"lwp-download\\\"] && \\nexec.args_options\\\n \\ in [ ~\\\"post-file=*\\\", ~\\\"post-data=*\\\", ~\\\"T=*\\\", ~\\\"d=@*\\\", ~\\\"upload-file=*\\\"\\\n , ~\\\"F=file*\\\"] &&\\nexec.args not in [~\\\"*localhost*\\\", ~\\\"*127.0.0.1*\\\"]\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: net_util_in_container\n version: 69e03ac1\n description: A network utility was executed in a container\n expression: |-\n (exec.comm in [\"socat\", \"dig\", \"nslookup\", \"host\", ~\"netcat*\", ~\"nc*\", \"ncat\"] ||\n exec.comm in [\"wget\", \"curl\", \"lwp-download\"]) &&\n container.id != \"\" && exec.args not in [ ~\"*localhost*\", ~\"*127.0.0.1*\", ~\"*motd.ubuntu.com*\" ]\n agent_version: ''\n filters: []\n- id: net_util_in_container_v2\n version: 26d8eba1\n description: A network utility was executed in a container\n expression: |-\n (exec.comm in [\"socat\", \"dig\", \"nslookup\", \"host\", ~\"netcat*\", ~\"nc*\", \"ncat\"] ||\n exec.comm in [\"wget\", \"curl\", \"lwp-download\"]) &&\n container.id != \"\" && exec.args not in [ ~\"*localhost*\", ~\"*127.0.0.1*\", ~\"*motd.ubuntu.com*\" ] && container.created_at > 180s\n agent_version: ''\n filters: []\n- id: network_sniffing_tool\n version: 4ae409bf\n description: Local account groups were enumerated after container start up\n expression: exec.file.name in [\"tcpdump\", \"tshark\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: new_binary_execution_in_container\n version: 9dc42e1d\n description: A container executed a new binary not found in the container image\n expression: container.id != \"\" && process.file.in_upper_layer && process.file.modification_time\n < 30s && exec.file.name != \"\"\n agent_version: ''\n filters: []\n- id: nsswitch_conf_mod_chmod\n version: d301aedf\n description: nsswitch may have been modified without authorization\n expression: |-\n (\n (chmod.file.path in [ \"/etc/nsswitch.conf\" ])\n ) && chmod.file.destination.mode != chmod.file.mode && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: nsswitch_conf_mod_chown\n version: '69383592'\n description: nsswitch may have been modified without authorization\n expression: |-\n (\n (chown.file.path in [ \"/etc/nsswitch.conf\" ])\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid) && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: nsswitch_conf_mod_link\n version: e0565b29\n description: Nsswitch Configuration Modified\n expression: |-\n (\n (link.file.path in [ \"/etc/nsswitch.conf\" ]\n || link.file.destination.path in [ \"/etc/nsswitch.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: nsswitch_conf_mod_open\n version: b5602c6f\n description: nsswitch may have been modified without authorization\n expression: |-\n (\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\n (open.file.path in [ \"/etc/nsswitch.conf\" ])\n ) && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: nsswitch_conf_mod_open_v2\n version: abef53c9\n description: nsswitch may have been modified without authorization\n expression: |-\n (\n open.flags & ((O_RDWR|O_WRONLY|O_CREAT)) > 0 &&\n (open.file.path in [ \"/etc/nsswitch.conf\" ])\n ) && container.created_at > 90s && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: nsswitch_conf_mod_rename\n version: aad34176\n description: Nsswitch Configuration Modified\n expression: |-\n (\n (rename.file.path in [ \"/etc/nsswitch.conf\" ]\n || rename.file.destination.path in [ \"/etc/nsswitch.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: nsswitch_conf_mod_unlink\n version: 8a3e2fbb\n description: Nsswitch Configuration Modified\n expression: |-\n (\n (unlink.file.path in [ \"/etc/nsswitch.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: nsswitch_conf_mod_utimes\n version: 902597c0\n description: Nsswitch Configuration Modified\n expression: |-\n (\n (utimes.file.path in [ \"/etc/nsswitch.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: ntds_in_commandline\n version: 5cdd4bba\n description: NTDS file referenced in commandline\n expression: exec.cmdline =~ \"*ntds.dit*\"\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: offensive_k8s_tool\n version: b83fba22\n description: A known kubernetes pentesting tool has been executed\n expression: (exec.file.name in [ ~\"python*\" ] && (\"KubiScan.py\" in exec.argv ||\n \"kubestriker\" in exec.argv ) ) || exec.file.name in [ \"kubiscan\",\"kdigger\",\"kube-hunter\",\"rakkess\",\"peirates\",\"kubescape\",\"kubeaudit\",\"kube-linter\",\"stratus\",~\"botb-*\"]\n agent_version: ''\n filters: []\n- id: omigod\n version: 2064b3b4\n description: Omiagent spawns a privileged child process\n expression: exec.uid >= 0 && process.ancestors.file.name == \"omiagent\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: open_msr_writes\n version: 261f8f98\n description: A process opened a model-specific register (MSR) configuration file\n expression: open.file.path == \"/sys/module/msr/parameters/allow_writes\" && open.flags\n & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: package_management_in_container\n version: c152fcaf\n description: Package management was detected in a container\n expression: exec.file.path in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\",\n \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\",\n \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && container.id != \"\"\n agent_version: ''\n filters: []\n- id: package_management_in_container_v2\n version: 7eb85510\n description: Package management was detected in a conatiner outside of container\n start_up\n expression: exec.file.path in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\",\n \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\",\n \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && container.id != \"\" && container.created_at\n > 90s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: pam_modification_chmod\n version: 974a676e\n description: PAM may have been modified without authorization\n expression: |-\n (\n (chmod.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n ) && chmod.file.destination.mode != chmod.file.mode\n agent_version: ''\n filters: []\n- id: pam_modification_chown\n version: d89aa0a7\n description: PAM may have been modified without authorization\n expression: |-\n (\n (chown.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: pam_modification_link\n version: aa68153f\n description: PAM may have been modified without authorization\n expression: |-\n (\n (link.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ]\n || link.file.destination.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: pam_modification_open\n version: e22e05b7\n description: PAM may have been modified without authorization\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: pam_modification_rename\n version: bd1d257a\n description: PAM may have been modified without authorization\n expression: |-\n (\n (rename.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ]\n || rename.file.destination.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: pam_modification_unlink\n version: c3dc53e1\n description: PAM may have been modified without authorization\n expression: |-\n (\n (unlink.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n )\n agent_version: ''\n filters: []\n- id: pam_modification_utimes\n version: d377b599\n description: PAM may have been modified without authorization\n expression: |-\n (\n (utimes.file.path in [ ~\"/etc/pam.d/**\", \"/etc/pam.conf\" ])\n ) && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters: []\n- id: passwd_execution\n version: e1d41f5e\n description: The passwd or chpasswd utility was used to modify an account password\n expression: exec.file.path in [\"/usr/bin/passwd\", \"/usr/sbin/chpasswd\"] && exec.args_flags\n not in [\"S\", \"status\"]\n agent_version: ''\n filters: []\n- id: paste_site\n version: 3dcef11\n description: A DNS lookup was done for a pastebin-like site\n expression: dns.question.name in [\"pastebin.com\", \"ghostbin.com\", \"termbin.com\",\n \"klgrth.io\"] && process.file.name != \"\"\n agent_version: ''\n filters: []\n- id: pci_11_5_critical_binaries_chmod\n version: b858137e\n description: Critical system binaries may have been modified\n expression: |-\n (\n (chmod.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && chmod.file.destination.mode != chmod.file.mode\n agent_version: ''\n filters: []\n- id: pci_11_5_critical_binaries_chown\n version: d6630ebc\n description: Critical system binaries may have been modified\n expression: |-\n (\n (chown.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: pci_11_5_critical_binaries_link\n version: 9b8182c6\n description: Critical system binaries may have been modified\n expression: |-\n (\n (link.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ]\n || link.file.destination.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: pci_11_5_critical_binaries_open\n version: ce1c6918\n description: Critical system binaries may have been modified\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n open.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ]\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: pci_11_5_critical_binaries_open_v2\n version: 45abd074\n description: Critical system binaries may have been modified\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n open.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ]\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && container.created_at > 90s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: pci_11_5_critical_binaries_rename\n version: 2a133ffc\n description: Critical system binaries may have been modified\n expression: |-\n (\n (rename.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ]\n || rename.file.destination.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: pci_11_5_critical_binaries_unlink\n version: a750ab26\n description: Critical system binaries may have been modified\n expression: |-\n (\n (unlink.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: pci_11_5_critical_binaries_utimes\n version: 5e2a9d6f\n description: Critical system binaries may have been modified\n expression: |-\n (\n (utimes.file.path in [ ~\"/bin/*\", ~\"/sbin/*\", ~\"/usr/bin/*\", ~\"/usr/sbin/*\", ~\"/usr/local/bin/*\", ~\"/usr/local/sbin/*\", ~\"/boot/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: potential_cryptominer\n version: 47048a42\n description: A process resolved a DNS name associated with cryptomining activity\n expression: dns.question.name in [~\"*minexmr.com\", ~\"*nanopool.org\", ~\"*supportxmr.com\",\n ~\"*c3pool.com\", ~\"*p2pool.io\", ~\"*ethermine.org\", ~\"*f2pool.com\", ~\"*poolin.me\",\n ~\"*rplant.xyz\"] && process.file.name != \"\"\n agent_version: ''\n filters: []\n- id: potential_web_shell_parent\n version: b67ffbcd\n description: A web application spawned a shell or shell utility\n expression: |-\n (exec.file.path in [ \"/bin/dash\",\n \"/usr/bin/dash\",\n \"/bin/sh\",\n \"/bin/static-sh\",\n \"/usr/bin/sh\",\n \"/bin/bash\",\n \"/usr/bin/bash\",\n \"/bin/bash-static\",\n \"/usr/bin/zsh\",\n \"/usr/bin/ash\",\n \"/usr/bin/csh\",\n \"/usr/bin/ksh\",\n \"/usr/bin/tcsh\",\n \"/usr/lib/initramfs-tools/bin/busybox\",\n \"/bin/busybox\",\n \"/usr/bin/fish\",\n \"/bin/ksh93\",\n \"/bin/rksh\",\n \"/bin/rksh93\",\n \"/bin/lksh\",\n \"/bin/mksh\",\n \"/bin/mksh-static\",\n \"/usr/bin/csharp\",\n \"/bin/posh\",\n \"/usr/bin/rc\",\n \"/bin/sash\",\n \"/usr/bin/yash\",\n \"/bin/zsh5\",\n \"/bin/zsh5-static\" ] || exec.comm in [\"wget\", \"curl\", \"lwp-download\"] || exec.file.path in [\"/bin/cat\",\"/bin/chgrp\",\"/bin/chmod\",\"/bin/chown\",\"/bin/cp\",\"/bin/date\",\"/bin/dd\",\"/bin/df\",\"/bin/dir\",\"/bin/echo\",\"/bin/ln\",\"/bin/ls\",\"/bin/mkdir\",\"/bin/mknod\",\"/bin/mktemp\",\"/bin/mv\",\"/bin/pwd\",\"/bin/readlink\",\"/bin/rm\",\"/bin/rmdir\",\"/bin/sleep\",\"/bin/stty\",\"/bin/sync\",\"/bin/touch\",\"/bin/uname\",\"/bin/vdir\",\"/usr/bin/arch\",\"/usr/bin/b2sum\",\"/usr/bin/base32\",\"/usr/bin/base64\",\"/usr/bin/basename\",\"/usr/bin/chcon\",\"/usr/bin/cksum\",\"/usr/bin/comm\",\"/usr/bin/csplit\",\"/usr/bin/cut\",\"/usr/bin/dircolors\",\"/usr/bin/dirname\",\"/usr/bin/du\",\"/usr/bin/env\",\"/usr/bin/expand\",\"/usr/bin/expr\",\"/usr/bin/factor\",\"/usr/bin/fmt\",\"/usr/bin/fold\",\"/usr/bin/groups\",\"/usr/bin/head\",\"/usr/bin/hostid\",\"/usr/bin/id\",\"/usr/bin/install\",\"/usr/bin/join\",\"/usr/bin/link\",\"/usr/bin/logname\",\"/usr/bin/md5sum\",\"/usr/bin/md5sum.textutils\",\"/usr/bin/mkfifo\",\"/usr/bin/nice\",\"/usr/bin/nl\",\"/usr/bin/nohup\",\"/usr/bin/nproc\",\"/usr/bin/numfmt\",\"/usr/bin/od\",\"/usr/bin/paste\",\"/usr/bin/pathchk\",\"/usr/bin/pinky\",\"/usr/bin/pr\",\"/usr/bin/printenv\",\"/usr/bin/printf\",\"/usr/bin/ptx\",\"/usr/bin/realpath\",\"/usr/bin/runcon\",\"/usr/bin/seq\",\"/usr/bin/sha1sum\",\"/usr/bin/sha224sum\",\"/usr/bin/sha256sum\",\"/usr/bin/sha384sum\",\"/usr/bin/sha512sum\",\"/usr/bin/shred\",\"/usr/bin/shuf\",\"/usr/bin/sort\",\"/usr/bin/split\",\"/usr/bin/stat\",\"/usr/bin/stdbuf\",\"/usr/bin/sum\",\"/usr/bin/tac\",\"/usr/bin/tail\",\"/usr/bin/tee\",\"/usr/bin/test\",\"/usr/bin/timeout\",\"/usr/bin/tr\",\"/usr/bin/truncate\",\"/usr/bin/tsort\",\"/usr/bin/tty\",\"/usr/bin/unexpand\",\"/usr/bin/uniq\",\"/usr/bin/unlink\",\"/usr/bin/users\",\"/usr/bin/wc\",\"/usr/bin/who\",\"/usr/bin/whoami\",\"/usr/sbin/chroot\"]) &&\n (process.parent.file.name in [\"apache2\", \"nginx\", ~\"tomcat*\", \"httpd\"] || process.parent.file.name =~ \"php*\")\n agent_version: ''\n filters: []\n- id: procdump_execution\n version: bfcebb5c\n description: A tool used to dump process memory has been executed\n expression: exec.file.name in [\"procmon.exe\",\"procdump.exe\"]\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: ptrace_antidebug\n version: a6289ff7\n description: A process uses an anti-debugging technique to block debuggers\n expression: ptrace.request == PTRACE_TRACEME && process.file.name != \"\"\n agent_version: ''\n filters: []\n- id: ptrace_injection\n version: 6d290a43\n description: A process attempted to inject code into another process\n expression: ptrace.request == PTRACE_POKETEXT || ptrace.request == PTRACE_POKEDATA\n || ptrace.request == PTRACE_POKEUSR\n agent_version: ''\n filters: []\n- id: pwnkit_privilege_escalation\n version: c83bbabc\n description: A process was spawned with indicators of exploitation of CVE-2021-4034\n expression: (exec.file.path == \"/usr/bin/pkexec\" && exec.envs in [~\"*SHELL*\", ~\"*PATH*\"]\n && exec.envs not in [~\"*DISPLAY*\", ~\"*DESKTOP_SESSION*\"] && exec.uid != 0)\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: python_cli_code\n version: '989474'\n description: Python code was provided on the command line\n expression: exec.file.name == ~\"python*\" && exec.args_flags in [\"c\"] && exec.args\n in [~\"*-c*SOCK_STREAM*\", ~\"*-c*subprocess*\", \"*-c*/bash*\", \"*-c*/bin/sh*\", \"*-c*pty.spawn*\"]\n && exec.args !~ \"*setuptools*\"\n agent_version: ''\n filters: []\n- id: ransomware_note\n version: ffd9b885\n description: Possible ransomware note created under common user directories\n expression: open.flags & O_CREAT > 0 && open.file.path in [~\"/home/**\", ~\"/root/**\",\n ~\"/bin/**\", ~\"/usr/bin/**\", ~\"/opt/**\", ~\"/etc/**\", ~\"/var/log/**\", ~\"/var/lib/log/**\",\n ~\"/var/backup/**\", ~\"/var/www/**\"] && open.file.name in [r\"(?i).*(restore|recovery|readme|instruction|how_to|ransom).*|.*(your_|crypt|lock|important).*\\.txt$\"]\n && open.file.name != \"README.md\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: rc_scripts_modified\n version: af295b08\n description: RC scripts modified\n expression: (open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && (open.file.path\n in [\"/etc/rc.common\", \"/etc/rc.local\"])) && process.ancestors.file.path not in\n [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\",\n \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n agent_version: ''\n filters: []\n- id: read_kubeconfig\n version: '80926379'\n description: The kubeconfig file was accessed\n expression: open.file.path in [~\"/home/*/.kube/config\", \"/root/.kube/config\"]\n agent_version: ''\n filters: []\n- id: read_release_info\n version: d0cc9710\n description: OS information was read from the /etc/lsb-release file\n expression: open.file.path == \"/etc/lsb-release\" && open.flags & O_RDONLY > 0\n agent_version: ''\n filters: []\n- id: redis_sandbox_escape\n version: d7eb615a\n description: Detects CVE-2022-0543\n expression: (open.file.path =~ \"/usr/lib/x86_64-linux-gnu/*\" && open.file.name in\n [\"libc-2.29.so\", \"libc-2.30.so\", \"libc-2.31.so\", \"libc-2.32.so\", \"libc-2.33.so\",\n \"libc-2.34.so\", \"libc-2.35.so\", \"libc-2.36.so\", \"libc-2.37.so\"]) && process.ancestors.comm\n in [\"redis-check-rdb\", \"redis-server\"]\n agent_version: ''\n filters: []\n- id: redis_save_module\n version: b1cb9110\n description: Redis module has been created\n expression: (open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && open.file.path\n =~ \"/tmp/**\" && open.file.name in [~\"*.rdb\", ~\"*.aof\", ~\"*.so\"]) && process.file.name\n in [\"redis-check-rdb\", \"redis-server\"]\n agent_version: ''\n filters: []\n- id: runc_modification\n version: c7144439\n description: The runc binary was modified in a non-standard way\n expression: |-\n open.file.path in [\"/usr/bin/runc\", \"/usr/sbin/runc\", \"/usr/bin/docker-runc\"]\n && open.flags & O_CREAT|O_TRUNC|O_RDWR|O_WRONLY > 0\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n agent_version: ''\n filters: []\n- id: scheduled_task_creation\n version: 9c3f2289\n description: A scheduled task was created\n expression: exec.file.name in [\"at.exe\",\"schtasks.exe\"]\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: selinux_disable_enforcement\n version: afa9a8ba\n description: SELinux enforcement status was disabled\n expression: selinux.enforce.status in [\"permissive\", \"disabled\"] && process.ancestors.args\n != ~\"*BECOME-SUCCESS*\"\n agent_version: ''\n filters: []\n- id: sensitive_tracing\n version: c4585b20\n description: A process is tracing privileged processes or sshd for possible credential\n dumping\n expression: (ptrace.request == PTRACE_PEEKTEXT || ptrace.request == PTRACE_PEEKDATA\n || ptrace.request == PTRACE_PEEKUSR) && ptrace.tracee.euid == 0 && process.comm\n not in [\"dlv\", \"dlv-linux-amd64\", \"strace\", \"gdb\", \"lldb-server\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: service_stop\n version: 8e434232\n description: systemctl used to stop a service\n expression: exec.file.name == \"systemctl\" && exec.args in [~\"*stop*\"]\n agent_version: ''\n filters: []\n- id: shell_history_deleted\n version: ff763e6\n description: Shell History was Deleted\n expression: (unlink.file.name =~ r\".([dbazfi]*sh)(_history)$\") && process.comm\n not in [\"dockerd\", \"containerd\"]\n agent_version: ''\n filters: []\n- id: shell_history_symlink\n version: 31982e4d\n description: A symbolic link for shell history was created targeting /dev/null\n expression: exec.comm == \"ln\" && exec.args in [~\"*.*history*\", \"/dev/null\"]\n agent_version: ''\n filters: []\n- id: shell_history_truncated\n version: 38ec83e8\n description: Shell History was Deleted\n expression: open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 && open.file.name\n =~ r\".([dbazfi]*sh)(_history)$\" && open.file.path in [~\"/root/*\", ~\"/home/**\"]\n && process.file.name == \"truncate\"\n agent_version: ''\n filters: []\n- id: shell_profile_modification\n version: d1cecdac\n description: Shell profile was modified\n expression: open.file.path in [~\"/home/*/*profile\", ~\"/home/*/*rc\"] && open.flags\n & ((O_CREAT|O_TRUNC|O_RDWR|O_WRONLY)) > 0\n agent_version: ''\n filters: []\n- id: ssh_authorized_keys_chmod\n version: 79be8a18\n description: SSH modified keys may have been modified\n expression: |-\n (\n chmod.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (chmod.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n ) && chmod.file.destination.mode != chmod.file.mode\n agent_version: ''\n filters: []\n- id: ssh_authorized_keys_chown\n version: 7c835bfd\n description: SSH modified keys may have been modified\n expression: |-\n (\n chown.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (chown.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssh_authorized_keys_link\n version: 979d56a1\n description: SSH modified keys may have been modified\n expression: |-\n (\n link.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (link.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ]\n || link.file.destination.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n )\n agent_version: ''\n filters: []\n- id: ssh_authorized_keys_open\n version: c4fa7b8f\n description: SSH modified keys may have been modified\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n open.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (open.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n )\n agent_version: ''\n filters: []\n- id: ssh_authorized_keys_open_v2\n version: 513f8108\n description: SSH modified keys may have been modified\n expression: |-\n (\n open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n open.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (open.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n ) && container.created_at > 90s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssh_authorized_keys_rename\n version: 6f58449a\n description: SSH modified keys may have been modified\n expression: |-\n (\n rename.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (rename.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ]\n || rename.file.destination.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssh_authorized_keys_unlink\n version: 41090e4e\n description: SSH modified keys may have been modified\n expression: |-\n (\n unlink.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (unlink.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssh_authorized_keys_utimes\n version: c614f0d\n description: SSH modified keys may have been modified\n expression: |-\n (\n utimes.file.name in [ \"authorized_keys\", \"authorized_keys2\" ] && (utimes.file.path in [ ~\"/root/.ssh/*\", ~\"/home/*/.ssh/*\", ~\"/var/lib/*/.ssh/*\" ])\n )\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_chmod\n version: 128236e9\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (chmod.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && chmod.file.mode != chmod.file.destination.mode\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_chown\n version: 5af3db18\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (chown.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssl_certificate_tampering_link\n version: 1f02b72d\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (link.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ]\n || link.file.destination.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n )\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_open\n version: c34bcf3a\n description: SSL certificates may have been tampered with\n expression: |-\n (\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n )\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_open_v2\n version: a90058eb\n description: SSL certificates may have been tampered with\n expression: |-\n (\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n )\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n && container.created_at > 90s\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: ssl_certificate_tampering_rename\n version: e74f2226\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (rename.file.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ]\n || rename.file.destination.path in [ ~\"/etc/ssl/certs/**\", ~\"/etc/pki/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_unlink\n version: 774e2aea\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (unlink.file.path in [ ~\"/etc/ssl/certs/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters: []\n- id: ssl_certificate_tampering_utimes\n version: 29db81c1\n description: SSL certificates may have been tampered with\n expression: |-\n (\n (utimes.file.path in [ ~\"/etc/ssl/certs/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n && process.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path != \"/usr/sbin/update-ca-certificates\"\n && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n && process.file.name !~ \"runc*\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: sudoers_policy_modified_chmod\n version: ae70daab\n description: Sudoers policy file may have been modified without authorization\n expression: \"(\\n (chmod.file.path == \\\"/etc/sudoers\\\") \\n) && chmod.file.destination.mode\\\n \\ != chmod.file.mode && process.ancestors.file.path not in [~\\\"/usr/bin/apt*\\\"\\\n , \\\"/usr/bin/dpkg\\\", \\\"/usr/bin/rpm\\\", \\\"/usr/bin/unattended-upgrade\\\", \\\"/usr/bin/npm\\\"\\\n , ~\\\"/usr/bin/pip*\\\", \\\"/usr/bin/yum\\\", \\\"/sbin/apk\\\", \\\"/usr/lib/snapd/snapd\\\"\\\n ]\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: sudoers_policy_modified_chown\n version: 898b1aa0\n description: Sudoers policy file may have been modified without authorization\n expression: |-\n (\n (chown.file.path == \"/etc/sudoers\")\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: sudoers_policy_modified_link\n version: 1f1b8962\n description: Sudoers policy file may have been modified without authorization\n expression: |-\n (\n (link.file.path == \"/etc/sudoers\"\n || link.file.destination.path == \"/etc/sudoers\")\n )\n agent_version: ''\n filters: []\n- id: sudoers_policy_modified_open\n version: af2610b6\n description: Sudoers policy file may have been modified without authorization\n expression: |2-\n\n (open.flags & (O_CREAT|O_TRUNC|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path == \"/etc/sudoers\")) && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: sudoers_policy_modified_rename\n version: 531fc9ae\n description: Sudoers policy file may have been modified without authorization\n expression: |-\n (\n (rename.file.path == \"/etc/sudoers\"\n || rename.file.destination.path == \"/etc/sudoers\")\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: sudoers_policy_modified_unlink\n version: 5568da57\n description: Sudoers policy file may have been modified without authorization\n expression: |-\n (\n (unlink.file.path == \"/etc/sudoers\")\n )\n agent_version: ''\n filters: []\n- id: sudoers_policy_modified_utimes\n version: d99c2466\n description: Sudoers policy file may have been modified without authorization\n expression: |-\n (\n (utimes.file.path == \"/etc/sudoers\")\n ) && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/containerd\", \"/usr/local/bin/containerd\", \"/usr/bin/dockerd\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: suid_file_execution\n version: 1b4f4075\n description: a SUID file was executed\n expression: (setuid.euid == 0 || setuid.uid == 0) && process.file.mode & S_ISUID\n > 0 && process.file.uid == 0 && process.uid != 0 && process.file.path != \"/usr/bin/sudo\"\n agent_version: ''\n filters: []\n- id: suspicious_bitsadmin_usage\n version: 86c03d62\n description: A suspicious bitsadmin command has been executed\n expression: exec.file.name == \"bitsadmin.exe\" && exec.cmdline in [~\"*addfile*\",\n ~\"*create*\", ~\"*resume*\"]\n agent_version: ''\n filters:\n - os == \"windows\"\n- id: suspicious_container_client\n version: 8b9461f4\n description: A container management utility was executed in a container\n expression: exec.file.name in [\"docker\", \"kubectl\"] && container.id != \"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: suspicious_suid_execution\n version: 216c8207\n description: Recently written or modified suid file has been executed\n expression: ((process.file.mode & S_ISUID > 0) && process.file.modification_time\n < 30s) && exec.file.name != \"\" && process.ancestors.file.path not in [\"/opt/datadog-agent/embedded/bin/agent\",\n \"/opt/datadog-agent/embedded/bin/system-probe\", \"/opt/datadog-agent/embedded/bin/security-agent\",\n \"/opt/datadog-agent/embedded/bin/process-agent\", \"/opt/datadog-agent/bin/agent/agent\",\n \"/opt/datadog/apm/inject/auto_inject_runc\", \"/usr/bin/dd-host-install\", \"/usr/bin/dd-host-container-install\",\n \"/usr/bin/dd-container-install\", \"/opt/datadog-agent/bin/datadog-cluster-agent\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: systemd_modification_chmod\n version: e555b2b0\n description: A service may have been modified without authorization\n expression: |-\n (\n (chmod.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && chmod.file.destination.mode != chmod.file.mode\n agent_version: ''\n filters: []\n- id: systemd_modification_chown\n version: a0497885\n description: A service may have been modified without authorization\n expression: |-\n (\n (chown.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n ) && (chown.file.destination.uid != chown.file.uid || chown.file.destination.gid != chown.file.gid)\n agent_version: ''\n filters: []\n- id: systemd_modification_link\n version: 11a77f5b\n description: A service may have been modified without authorization\n expression: |-\n (\n (link.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ]\n || link.file.destination.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: systemd_modification_open\n version: 13b2daf3\n description: A service may have been modified without authorization\n expression: |-\n (\n open.flags & (O_CREAT|O_RDWR|O_WRONLY) > 0 &&\n (open.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: systemd_modification_rename\n version: 9759ce6\n description: A service may have been modified without authorization\n expression: |-\n (\n (rename.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ]\n || rename.file.destination.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters: []\n- id: systemd_modification_unlink\n version: 8400ece8\n description: A service may have been modified without authorization\n expression: |-\n (\n (unlink.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: systemd_modification_utimes\n version: 82acf2d\n description: A service may have been modified without authorization\n expression: |-\n (\n (utimes.file.path in [ ~\"/lib/systemd/system/**\", ~\"/usr/lib/systemd/system/**\", ~\"/etc/systemd/system/**\" ])\n && process.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n )\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tar_execution\n version: e63af392\n description: Tar archive created\n expression: exec.file.path == \"/usr/bin/tar\" && exec.args_flags in [\"create\",\"c\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_egress_traffic_allowed_iptables\n version: 14f124d7\n description: iptables used to allow egress traffic\n expression: exec.comm == \"iptables\" && process.args in [r\".*OUTPUT.*((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}.*ACCEPT\"]\n && process.args not in [r\"(127\\.)|(10\\.)|(172\\.1[6-9]\\.)|(172\\.2[0-9]\\.)|(172\\.3[0-1]|\\.)|(192\\.168\\.)|(169\\.254\\.)\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_files_with_extensions_created\n version: 161c317f\n description: Multiple files with extensions created under common user directories\n expression: rename.file.path in [~\"/home/**\", ~\"/root/**\", ~\"/bin/**\", ~\"/usr/bin/**\",\n ~\"/var/log/**\", ~\"/var/lib/log/**\", ~\"/var/backup/*\", ~\"/var/www/**\"] && rename.file.destination.name\n in [r\"\\.[0-9a-z]+$\"] && rename.file.destination.name not in [r\".*\\.(lock|dbtmp|log|journal|ini|sh|json|yml|tmp|snap|txt|pyc|stat|hcl|[0-9])+$\"]\n && process.comm not in [\"python\",\"python3\",\"agent\",\"security-agent\",\"kubectl\",\"kubelet\",\"datadog-cluster\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_kernel_module_loaded_from_tmp\n version: 7673f399\n description: Kernel module loaded from common tmp directories\n expression: load_module.file.path in [ ~\"/tmp/**\", ~\"/var/tmp/**\" ]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_libpam_hooked_using_ebpf\n version: adbe1bb1\n description: Libpam.so library hooked using ebpf\n expression: bpf.cmd == BPF_MAP_CREATE && process.args in [r\".*libpam.so.*\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_privileged_processes_or_sshd_traced\n version: eda95b21\n description: A process is tracing privileged processes or sshd for possible credential\n dumping\n expression: ((ptrace.tracee.euid==0 && ptrace.tracee.uid ==0)||ptrace.tracee.comm\n in [~\"*sshd*\"]) && process.comm not in [\"dlv\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_proxychains_executed\n version: 192a7f03\n description: Proxychaining technique used\n expression: exec.comm == \"proxychains\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_ransomware_notes_written\n version: 6d3052dc\n description: A possible ransomware note created under common user directories\n expression: open.file.path in [~\"/home/**\", ~\"/root/**\", ~\"/bin/**\", ~\"/usr/bin/**\",\n ~\"/opt/**\", ~\"/etc/**\", ~\"/var/log/**\", ~\"/var/lib/log/**\", ~\"/var/backup/**\",\n ~\"/var/www/**\"] && open.file.name in [r\".*(restore|recovery|readme|instruction|how_to|ransom).*\",\n r\".*(your_|crypt|lock|important).*\\.txt$\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_system_logs_deleted\n version: f5fec42d\n description: A process deleted common system log files\n expression: unlink.file.path in [\"/var/run/utmp\", \"/var/log/wtmp\", \"/var/log/btmp\",\n \"/var/log/lastlog\", \"/var/log/faillog\", \"/var/log/syslog\", \"/var/log/messages\",\n \"/var/log/secure\", \"/var/log/auth.log\", \"/var/log/boot.log\", \"/var/log/kern.log\"]\n && process.comm !=\"dockerd\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_malware_tunneling_and_port_forwarding_technique_used\n version: e253fced\n description: Tunneling and port forwarding tool used\n expression: ((exec.comm == \"pivotnacci\" || exec.comm == \"gost\") && process.args\n in [r\".*(-L|-C|-R).*\"])||(exec.comm in [\"ssh\", \"sshd\"] && process.args in [r\".*(-R|-L|-D|w).*\"]\n && process.args in [r\"((25[0-5]|(2[0-4]|1\\d|[1-9])\\d)\\.?\\b){4}\"] ) || (exec.comm\n == \"sshuttle\" && process.args in [r\".*(-r|--remote|-l|--listen).*\"]) || (exec.comm\n == \"socat\" && process.args in [r\".*(TCP4-LISTEN:|SOCKS).*\"]) || (exec.comm in\n [\"iodine\", \"iodined\", \"dnscat\", \"hans\", \"hans-ubuntu\", \"ptunnel-ng\", \"ssf\", \"3proxy\",\n \"ngrok\"] && process.parent.comm in [\"bash\", \"dash\", \"ash\", \"sh\", \"tcsh\", \"csh\",\n \"zsh\", \"ksh\", \"fish\"])\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_nsenter_pid1_detection\n version: 7a2d42c7\n description: nsenter used in container to execute code on the OS PID1\n expression: exec.file.name == \"nsenter\" && exec.args_options in [\"target=1\", \"t=1\"]\n && container.id !=\"\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_red_team_domains_used\n version: 1b507607\n description: Connection to red team domain\n expression: dns.question.name in [~\"*.interact.sh\" , ~\"*.oast.pro\" , ~\"*.oast.live\"\n , ~\"*.oast.site\" , ~\"*.oast.online\" , ~\"*.oast.fun\" , ~\"*.oast.me\" , ~\"*.burpcollaborator.net\"\n , ~\"*.oastify.com\" , ~\"*canarytokens.com\" , ~\"*.requestbin.net\" , ~\"*.dnslog.cn\"]\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tde_testing_tampering\n version: c2be3b92\n description: testing only\n expression: exec.comm == \"abcdefgh\"\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: tty_shell_in_container\n version: 3d9489bb\n description: A shell with a TTY was executed in a container\n expression: |-\n exec.file.path in [ \"/bin/dash\",\n \"/usr/bin/dash\",\n \"/bin/sh\",\n \"/bin/static-sh\",\n \"/usr/bin/sh\",\n \"/bin/bash\",\n \"/usr/bin/bash\",\n \"/bin/bash-static\",\n \"/usr/bin/zsh\",\n \"/usr/bin/ash\",\n \"/usr/bin/csh\",\n \"/usr/bin/ksh\",\n \"/usr/bin/tcsh\",\n \"/usr/lib/initramfs-tools/bin/busybox\",\n \"/bin/busybox\",\n \"/usr/bin/fish\",\n \"/bin/ksh93\",\n \"/bin/rksh\",\n \"/bin/rksh93\",\n \"/bin/lksh\",\n \"/bin/mksh\",\n \"/bin/mksh-static\",\n \"/usr/bin/csharp\",\n \"/bin/posh\",\n \"/usr/bin/rc\",\n \"/bin/sash\",\n \"/usr/bin/yash\",\n \"/bin/zsh5\",\n \"/bin/zsh5-static\" ] && process.tty_name != \"\" && process.container.id != \"\"\n agent_version: ''\n filters: []\n- id: tunnel_traffic\n version: 816201a5\n description: Tunneling or port forwarding tool used\n expression: ((exec.comm == \"pivotnacci\" || exec.comm == \"gost\") && process.args\n in [r\".*(-L|-C|-R).*\"]) || (exec.comm in [\"ssh\", \"sshd\"] && process.args in [r\".*(-R|-L|-D|w).*\"]\n && process.args in [r\"((25[0-5]|(2[0-4]|1\\d|[1-9])\\d)\\.?\\b){4}\"] ) || (exec.comm\n == \"sshuttle\" && process.args in [r\".*(-r|--remote|-l|--listen).*\"]) || (exec.comm\n == \"socat\" && process.args in [r\".*(TCP4-LISTEN:|SOCKS).*\"]) || (exec.comm in\n [\"iodine\", \"iodined\", \"dnscat\", \"hans\", \"hans-ubuntu\", \"ptunnel-ng\", \"ssf\", \"3proxy\",\n \"ngrok\"] && process.parent.comm in [\"bash\", \"dash\", \"ash\", \"sh\", \"tcsh\", \"csh\",\n \"zsh\", \"ksh\", \"fish\"])\n agent_version: ''\n filters:\n - os == \"linux\"\n- id: user_created_tty\n version: 5b5f4a52\n description: A user was created via an interactive session\n expression: exec.file.name in [\"useradd\", \"newusers\", \"adduser\"] && exec.tty_name\n !=\"\" && process.ancestors.file.path not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\",\n \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\", \"/usr/bin/npm\", ~\"/usr/bin/pip*\",\n \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"] && exec.args_flags not in\n [\"D\"]\n agent_version: ''\n filters: []\n- id: user_deleted_tty\n version: ad8edbe\n description: A user was deleted via an interactive session\n expression: exec.file.name in [\"userdel\", \"deluser\"] && exec.tty_name !=\"\" && process.ancestors.file.path\n not in [~\"/usr/bin/apt*\", \"/usr/bin/dpkg\", \"/usr/bin/rpm\", \"/usr/bin/unattended-upgrade\",\n \"/usr/bin/npm\", ~\"/usr/bin/pip*\", \"/usr/bin/yum\", \"/sbin/apk\", \"/usr/lib/snapd/snapd\"]\n agent_version: ''\n filters: []\n- id: wmi_spawning_shell\n version: 6b9ff5c7\n description: Command executed via WMI\n expression: exec.file.name in [~\"powershell*\",\"cmd.exe\"] && process.parent.file.name\n == \"WmiPrvSE.exe\"\n agent_version: ''\n filters:\n - os == \"windows\"\n" }, "cookies": [], "headers": [ @@ -41,14 +41,14 @@ "value": "application/yaml" } ], - "headersSize": 709, + "headersSize": 693, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:26.239Z", - "time": 702 + "startedDateTime": "2024-03-08T14:19:15.312Z", + "time": 617 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/frozen.json new file mode 100644 index 000000000000..4b66208141d8 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:15.935Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/recording.har new file mode 100644 index 000000000000..ada323c88a50 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Bad-Request-response_400928944/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Update a CSM Threats Agent rule returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "23bd8fb1e856afba2538a3c90e9ebfec", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 205, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacsmthreatsagentrulereturnsbadrequestresponse1709907555\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 502, + "content": { + "mimeType": "application/json", + "size": 502, + "text": "{\"data\":{\"id\":\"oes-jfu-tm8\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907556177,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testupdateacsmthreatsagentrulereturnsbadrequestresponse1709907555\",\"updateDate\":1709907556177,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:15.936Z", + "time": 621 + }, + { + "_id": "7ea99ce180d16ca2619da11c4f28566d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 146, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 611, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"open.file.path = sh\"},\"id\":\"abc-123-xyz\",\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/oes-jfu-tm8" + }, + "response": { + "bodySize": 47, + "content": { + "mimeType": "application/json", + "size": 47, + "text": "{\"errors\":[{\"title\":\"failed to update rule\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 216, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-03-08T14:19:16.565Z", + "time": 287 + }, + { + "_id": "d6b950113576af698bb1b87091f7da04", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/oes-jfu-tm8" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 196, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-08T14:19:16.861Z", + "time": 716 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/frozen.json new file mode 100644 index 000000000000..a788234d707c --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:17.581Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/recording.har new file mode 100644 index 000000000000..0675bb768859 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-Not-Found-response_3853715143/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Update a CSM Threats Agent rule returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "7807b5a597b5187bb0a377a5ae8ad078", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 149, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 611, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"id\":\"abc-123-xyz\",\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/abc-123-xyz" + }, + "response": { + "bodySize": 47, + "content": { + "mimeType": "application/json", + "size": 47, + "text": "{\"errors\":[{\"title\":\"failed to update rule\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 216, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-08T14:19:17.584Z", + "time": 375 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/frozen.json new file mode 100644 index 000000000000..75c62d6e1def --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/frozen.json @@ -0,0 +1 @@ +"2024-03-08T14:19:17.965Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/recording.har new file mode 100644 index 000000000000..af4f3f942c82 --- /dev/null +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-CSM-Threats-Agent-rule-returns-OK-response_2793812990/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "Cloud Workload Security/Update a CSM Threats Agent rule returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "1eafba0ccdb6140044d40ceff0cedff5", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 197, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 598, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacsmthreatsagentrulereturnsokresponse1709907557\"},\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules" + }, + "response": { + "bodySize": 494, + "content": { + "mimeType": "application/json", + "size": 494, + "text": "{\"data\":{\"id\":\"qp6-ix5-6o6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907558307,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testupdateacsmthreatsagentrulereturnsokresponse1709907557\",\"updateDate\":1709907558307,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:17.968Z", + "time": 771 + }, + { + "_id": "5be7b352607670213a7327760e22489f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 151, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 611, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"id\":\"qp6-ix5-6o6\",\"type\":\"agent_rule\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/qp6-ix5-6o6" + }, + "response": { + "bodySize": 496, + "content": { + "mimeType": "application/json", + "size": 496, + "text": "{\"data\":{\"id\":\"qp6-ix5-6o6\",\"type\":\"agent_rule\",\"attributes\":{\"category\":\"Process Activity\",\"creationDate\":1709907558000,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"defaultRule\":false,\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"filters\":[\"os == \\\"linux\\\"\"],\"name\":\"testupdateacsmthreatsagentrulereturnsokresponse1709907557\",\"updateDate\":1709907559088,\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 217, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-08T14:19:18.744Z", + "time": 816 + }, + { + "_id": "e6c9da0970c0ff0041c8be3d980ff8f0", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 546, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/remote_config/products/cws/agent_rules/qp6-ix5-6o6" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "application/json", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 196, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-08T14:19:19.565Z", + "time": 732 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/frozen.json index f1572750fba0..46904dca80f5 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:26.947Z" +"2024-03-08T14:19:20.303Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/recording.har index e1f1f52d0c98..ce3074040474 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Bad-Request-response_1212149568/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "63618e1f0ba978bc4defbaca230c3abf", + "_id": "1ea6ddf453ef91b17ea0ae694b5f7c7c", "_order": 0, "cache": {}, "request": { @@ -32,36 +32,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1652349086\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1709907560\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 461, + "bodySize": 678, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 461, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1652349086\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349087367,\"creationDate\":1652349087367,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"ezf-mkn-g0o\"}}" + "mimeType": "application/json", + "size": 678, + "text": "{\"data\":{\"id\":\"bvz-vbk-lmb\",\"attributes\":{\"version\":1,\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1709907560\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907560595,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907560595,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 655, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:26.948Z", - "time": 447 + "startedDateTime": "2024-03-08T14:19:20.307Z", + "time": 359 }, { - "_id": "d7d0bb47df50b4bfa1d78eaeb3371890", + "_id": "c443fc455ea5c3edf616cae7279add00", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"open.file.path = sh\"},\"type\":\"agent_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ezf-mkn-g0o" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/bvz-vbk-lmb" }, "response": { - "bodySize": 232, + "bodySize": 223, "content": { "mimeType": "application/json", - "size": 232, - "text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1652349086` definition error: syntax error: 1:18: unexpected token \\\"sh\\\" (expected \\\"~\\\"))\"]}" + "size": 223, + "text": "{\"errors\":[\"input_validation_error(Field 'expression' is invalid: rule `testupdateacloudworkloadsecurityagentrulereturnsbadrequestresponse1709907560` error: syntax error `1:18: unexpected token \\\"sh\\\" (expected \\\"~\\\")`)\"]}\n" }, "cookies": [], "headers": [ @@ -104,17 +104,17 @@ "value": "application/json" } ], - "headersSize": 670, + "headersSize": 655, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2022-05-12T09:51:27.400Z", - "time": 462 + "startedDateTime": "2024-03-08T14:19:20.672Z", + "time": 426 }, { - "_id": "295859c07026f069a0e4032fec9eb78d", + "_id": "cdeac8dfb2d29f532b6e617e390462dd", "_order": 0, "cache": {}, "request": { @@ -131,29 +131,24 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ezf-mkn-g0o" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/bvz-vbk-lmb" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:27.873Z", - "time": 480 + "startedDateTime": "2024-03-08T14:19:21.101Z", + "time": 338 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/frozen.json index 20036fa31942..77b9669a6f53 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/frozen.json @@ -1 +1 @@ -"2022-01-11T18:11:42.604Z" +"2024-03-08T14:19:21.451Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/recording.har index 17fef1972c34..85280fcf6b32 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-Not-Found-response_2338204855/recording.har @@ -26,7 +26,7 @@ "value": "application/json" } ], - "headersSize": 555, + "headersSize": 639, "httpVersion": "HTTP/1.1", "method": "PATCH", "postData": { @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/abc-123-xyz" }, "response": { - "bodySize": 71, + "bodySize": 72, "content": { "mimeType": "application/json", - "size": 71, - "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}" + "size": 72, + "text": "{\"errors\":[\"not_found(Agent rule not found: agentRuleId=abc-123-xyz)\"]}\n" }, "cookies": [], "headers": [ @@ -51,14 +51,14 @@ "value": "application/json" } ], - "headersSize": 519, + "headersSize": 653, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2022-01-11T18:11:42.607Z", - "time": 465 + "startedDateTime": "2024-03-08T14:19:21.456Z", + "time": 327 } ], "pages": [], diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/frozen.json b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/frozen.json index bb167bd06b9a..710c8a75e0ac 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/frozen.json +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/frozen.json @@ -1 +1 @@ -"2022-05-12T09:51:28.357Z" +"2024-03-08T14:19:21.789Z" diff --git a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/recording.har b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/recording.har index 2d24e046e9f9..6212bed9cce2 100644 --- a/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/recording.har +++ b/cassettes/v2/Cloud-Workload-Security_3725750827/Update-a-Cloud-Workload-Security-Agent-rule-returns-OK-response_925510030/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "78e99f34225618f334f8c6da093eb75c", + "_id": "34a3d2c8154ac8d180ca980124393a1e", "_order": 0, "cache": {}, "request": { @@ -32,36 +32,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1652349088\"},\"type\":\"agent_rule\"}}" + "text": "{\"data\":{\"attributes\":{\"description\":\"My Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1709907561\"},\"type\":\"agent_rule\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules" }, "response": { - "bodySize": 453, + "bodySize": 670, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 453, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1652349088\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"My Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":1,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349088786,\"creationDate\":1652349088786,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"ivl-0d3-hga\"}}" + "mimeType": "application/json", + "size": 670, + "text": "{\"data\":{\"id\":\"usl-wf5-qjp\",\"attributes\":{\"version\":1,\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1709907561\",\"description\":\"My Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907562158,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907562158,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:28.358Z", - "time": 454 + "startedDateTime": "2024-03-08T14:19:21.792Z", + "time": 441 }, { - "_id": "2570e2267fbcbb3b1fad4ca2b438f8c6", + "_id": "cb55bce8794299dd19f1bf504ea74afd", "_order": 0, "cache": {}, "request": { @@ -88,33 +88,33 @@ "text": "{\"data\":{\"attributes\":{\"description\":\"Test Agent rule\",\"enabled\":true,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ivl-0d3-hga" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/usl-wf5-qjp" }, "response": { - "bodySize": 455, + "bodySize": 672, "content": { - "mimeType": "application/json;charset=utf-8", - "size": 455, - "text": "{\"data\":{\"attributes\":{\"category\":\"Process Activity\",\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1652349088\",\"creator\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"description\":\"Test Agent rule\",\"enabled\":true,\"defaultRule\":false,\"version\":2,\"updater\":{\"handle\":\"frog@datadoghq.com\",\"name\":null},\"updateDate\":1652349089262,\"creationDate\":1652349088786,\"expression\":\"exec.file.name == \\\"sh\\\"\"},\"type\":\"agent_rule\",\"id\":\"ivl-0d3-hga\"}}" + "mimeType": "application/json", + "size": 672, + "text": "{\"data\":{\"id\":\"usl-wf5-qjp\",\"attributes\":{\"version\":2,\"name\":\"testupdateacloudworkloadsecurityagentrulereturnsokresponse1709907561\",\"description\":\"Test Agent rule\",\"expression\":\"exec.file.name == \\\"sh\\\"\",\"category\":\"Process Activity\",\"creationAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"creationDate\":1709907562158,\"updateAuthorUuId\":\"cc32ddea-b5e4-11ec-93be-da7ad0900002\",\"updateDate\":1709907562613,\"filters\":[\"os == \\\"linux\\\"\"],\"actions\":[],\"agentConstraint\":\"\",\"enabled\":true,\"defaultRule\":false,\"creator\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"},\"updater\":{\"name\":\"Malo Le Goff\",\"handle\":\"malo.legoff@datadoghq.com\"}},\"type\":\"agent_rule\"}}\n" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json;charset=utf-8" + "value": "application/json" } ], - "headersSize": 713, + "headersSize": 654, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-05-12T09:51:28.818Z", - "time": 474 + "startedDateTime": "2024-03-08T14:19:22.237Z", + "time": 450 }, { - "_id": "f486b6bc08e88eb313f76a308ab756d8", + "_id": "7850542f0a2ba88efdeb5f4bc376e5c1", "_order": 0, "cache": {}, "request": { @@ -131,29 +131,24 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/ivl-0d3-hga" + "url": "https://api.datadoghq.com/api/v2/security_monitoring/cloud_workload_security/agent_rules/usl-wf5-qjp" }, "response": { "bodySize": 0, "content": { - "mimeType": "application/json;charset=utf-8", + "mimeType": "text/plain", "size": 0 }, "cookies": [], - "headers": [ - { - "name": "content-type", - "value": "application/json;charset=utf-8" - } - ], - "headersSize": 692, + "headers": [], + "headersSize": 601, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-05-12T09:51:29.296Z", - "time": 457 + "startedDateTime": "2024-03-08T14:19:22.693Z", + "time": 340 } ], "pages": [], diff --git a/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.ts b/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.ts new file mode 100644 index 000000000000..bdcdee9a7499 --- /dev/null +++ b/examples/v2/cloud-workload-security/CreateCSMThreatsAgentRule.ts @@ -0,0 +1,31 @@ +/** + * Create a CSM Threats Agent rule returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +const params: v2.CloudWorkloadSecurityApiCreateCSMThreatsAgentRuleRequest = { + body: { + data: { + attributes: { + description: "My Agent rule", + enabled: true, + expression: `exec.file.name == "sh"`, + name: "my_agent_rule", + }, + type: "agent_rule", + }, + }, +}; + +apiInstance + .createCSMThreatsAgentRule(params) + .then((data: v2.CloudWorkloadSecurityAgentRuleResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.ts b/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.ts new file mode 100644 index 000000000000..e815287aa138 --- /dev/null +++ b/examples/v2/cloud-workload-security/DeleteCSMThreatsAgentRule.ts @@ -0,0 +1,24 @@ +/** + * Delete a CSM Threats Agent rule returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +// there is a valid "agent_rule_rc" in the system +const AGENT_RULE_DATA_ID = process.env.AGENT_RULE_DATA_ID as string; + +const params: v2.CloudWorkloadSecurityApiDeleteCSMThreatsAgentRuleRequest = { + agentRuleId: AGENT_RULE_DATA_ID, +}; + +apiInstance + .deleteCSMThreatsAgentRule(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.ts b/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.ts new file mode 100644 index 000000000000..feec42b544c0 --- /dev/null +++ b/examples/v2/cloud-workload-security/DownloadCSMThreatsPolicy.ts @@ -0,0 +1,17 @@ +/** + * Get the latest CSM Threats policy returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +apiInstance + .downloadCSMThreatsPolicy() + .then((data: client.HttpFile) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.ts b/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.ts new file mode 100644 index 000000000000..74fb325bc828 --- /dev/null +++ b/examples/v2/cloud-workload-security/GetCSMThreatsAgentRule.ts @@ -0,0 +1,24 @@ +/** + * Get a CSM Threats Agent rule returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +// there is a valid "agent_rule_rc" in the system +const AGENT_RULE_DATA_ID = process.env.AGENT_RULE_DATA_ID as string; + +const params: v2.CloudWorkloadSecurityApiGetCSMThreatsAgentRuleRequest = { + agentRuleId: AGENT_RULE_DATA_ID, +}; + +apiInstance + .getCSMThreatsAgentRule(params) + .then((data: v2.CloudWorkloadSecurityAgentRuleResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.ts b/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.ts new file mode 100644 index 000000000000..9b5484bcca24 --- /dev/null +++ b/examples/v2/cloud-workload-security/ListCSMThreatsAgentRules.ts @@ -0,0 +1,17 @@ +/** + * Get all CSM Threats Agent rules returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +apiInstance + .listCSMThreatsAgentRules() + .then((data: v2.CloudWorkloadSecurityAgentRulesListResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.ts b/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.ts new file mode 100644 index 000000000000..8de301a11f15 --- /dev/null +++ b/examples/v2/cloud-workload-security/UpdateCSMThreatsAgentRule.ts @@ -0,0 +1,35 @@ +/** + * Update a CSM Threats Agent rule returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.CloudWorkloadSecurityApi(configuration); + +// there is a valid "agent_rule_rc" in the system +const AGENT_RULE_DATA_ID = process.env.AGENT_RULE_DATA_ID as string; + +const params: v2.CloudWorkloadSecurityApiUpdateCSMThreatsAgentRuleRequest = { + body: { + data: { + attributes: { + description: "Test Agent rule", + enabled: true, + expression: `exec.file.name == "sh"`, + }, + type: "agent_rule", + id: AGENT_RULE_DATA_ID, + }, + }, + agentRuleId: AGENT_RULE_DATA_ID, +}; + +apiInstance + .updateCSMThreatsAgentRule(params) + .then((data: v2.CloudWorkloadSecurityAgentRuleResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index afa50079a155..df9916fb16fd 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -4742,6 +4742,82 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "ProcessSummariesResponse", }, + "v2.ListCSMThreatsAgentRules": { + "operationResponseType": "CloudWorkloadSecurityAgentRulesListResponse", + }, + "v2.CreateCSMThreatsAgentRule": { + "body": { + "type": "CloudWorkloadSecurityAgentRuleCreateRequest", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, + "v2.DeleteCSMThreatsAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.GetCSMThreatsAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, + "v2.UpdateCSMThreatsAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CloudWorkloadSecurityAgentRuleUpdateRequest", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, + "v2.DownloadCSMThreatsPolicy": { + "operationResponseType": "HttpFile", + }, + "v2.DownloadCloudWorkloadPolicyFile": { + "operationResponseType": "HttpFile", + }, + "v2.ListCloudWorkloadSecurityAgentRules": { + "operationResponseType": "CloudWorkloadSecurityAgentRulesListResponse", + }, + "v2.CreateCloudWorkloadSecurityAgentRule": { + "body": { + "type": "CloudWorkloadSecurityAgentRuleCreateRequest", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, + "v2.DeleteCloudWorkloadSecurityAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.GetCloudWorkloadSecurityAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, + "v2.UpdateCloudWorkloadSecurityAgentRule": { + "agentRuleId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CloudWorkloadSecurityAgentRuleUpdateRequest", + "format": "", + }, + "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", + }, "v2.DeleteRestrictionPolicy": { "resourceId": { "type": "string", @@ -4957,44 +5033,6 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "void", }, - "v2.DownloadCloudWorkloadPolicyFile": { - "operationResponseType": "HttpFile", - }, - "v2.ListCloudWorkloadSecurityAgentRules": { - "operationResponseType": "CloudWorkloadSecurityAgentRulesListResponse", - }, - "v2.CreateCloudWorkloadSecurityAgentRule": { - "body": { - "type": "CloudWorkloadSecurityAgentRuleCreateRequest", - "format": "", - }, - "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", - }, - "v2.DeleteCloudWorkloadSecurityAgentRule": { - "agentRuleId": { - "type": "string", - "format": "", - }, - "operationResponseType": "void", - }, - "v2.GetCloudWorkloadSecurityAgentRule": { - "agentRuleId": { - "type": "string", - "format": "", - }, - "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", - }, - "v2.UpdateCloudWorkloadSecurityAgentRule": { - "agentRuleId": { - "type": "string", - "format": "", - }, - "body": { - "type": "CloudWorkloadSecurityAgentRuleUpdateRequest", - "format": "", - }, - "operationResponseType": "CloudWorkloadSecurityAgentRuleResponse", - }, "v2.ListScanningGroups": { "operationResponseType": "SensitiveDataScannerGetConfigResponse", }, diff --git a/features/v2/cloud_workload_security.feature b/features/v2/cloud_workload_security.feature index ae068c81dcab..338b440b4234 100644 --- a/features/v2/cloud_workload_security.feature +++ b/features/v2/cloud_workload_security.feature @@ -10,6 +10,27 @@ Feature: Cloud Workload Security And a valid "appKeyAuth" key in the system And an instance of "CloudWorkloadSecurity" API + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Create a CSM Threats Agent rule returns "Bad Request" response + Given new "CreateCSMThreatsAgentRule" request + And body with value {"data": {"attributes": {"description": "My Agent rule", "enabled": true, "expression": "exec.file.name == sh", "name": "my_agent_rule"}, "type": "agent_rule"}} + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Create a CSM Threats Agent rule returns "Conflict" response + Given new "CreateCSMThreatsAgentRule" request + And body with value {"data": {"attributes": {"description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "my_agent_rule"}, "type": "agent_rule"}} + When the request is sent + Then the response status is 409 Conflict + + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Create a CSM Threats Agent rule returns "OK" response + Given new "CreateCSMThreatsAgentRule" request + And body with value {"data": {"attributes": {"description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\"", "name": "my_agent_rule"}, "type": "agent_rule"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Create a Cloud Workload Security Agent rule returns "Bad Request" response Given new "CreateCloudWorkloadSecurityAgentRule" request @@ -33,6 +54,21 @@ Feature: Cloud Workload Security And the response "data.type" is equal to "agent_rule" And the response "data.attributes.description" is equal to "Test Agent rule" + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Delete a CSM Threats Agent rule returns "Not Found" response + Given new "DeleteCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter with value "abc-123-xyz" + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Delete a CSM Threats Agent rule returns "OK" response + Given there is a valid "agent_rule_rc" in the system + And new "DeleteCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter from "agent_rule.data.id" + When the request is sent + Then the response status is 204 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Delete a Cloud Workload Security Agent rule returns "Not Found" response Given new "DeleteCloudWorkloadSecurityAgentRule" request @@ -48,6 +84,23 @@ Feature: Cloud Workload Security When the request is sent Then the response status is 204 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Get a CSM Threats Agent rule returns "Not Found" response + Given new "GetCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter with value "abc-123-xyz" + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Get a CSM Threats Agent rule returns "OK" response + Given there is a valid "agent_rule_rc" in the system + And new "GetCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter from "agent_rule.data.id" + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "agent_rule" + And the response "data.attributes.description" is equal to "My Agent rule" + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get a Cloud Workload Security Agent rule returns "Not Found" response Given new "GetCloudWorkloadSecurityAgentRule" request @@ -65,6 +118,12 @@ Feature: Cloud Workload Security And the response "data.type" is equal to "agent_rule" And the response "data.attributes.description" is equal to "My Agent rule" + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Get all CSM Threats Agent rules returns "OK" response + Given new "ListCSMThreatsAgentRules" request + When the request is sent + Then the response status is 200 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get all Cloud Workload Security Agent rules returns "OK" response Given there is a valid "agent_rule" in the system @@ -73,12 +132,54 @@ Feature: Cloud Workload Security Then the response status is 200 OK And the response "data[0].type" is equal to "agent_rule" + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Get the latest CSM Threats policy returns "OK" response + Given new "DownloadCSMThreatsPolicy" request + When the request is sent + Then the response status is 200 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Get the latest Cloud Workload Security policy returns "OK" response Given new "DownloadCloudWorkloadPolicyFile" request When the request is sent Then the response status is 200 OK + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Update a CSM Threats Agent rule returns "Bad Request" response + Given there is a valid "agent_rule_rc" in the system + And new "UpdateCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter from "agent_rule.data.id" + And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "open.file.path = sh"}, "type": "agent_rule", "id":"abc-123-xyz"}} + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Update a CSM Threats Agent rule returns "Concurrent Modification" response + Given new "UpdateCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\""}, "type": "agent_rule"}} + When the request is sent + Then the response status is 409 Concurrent Modification + + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Update a CSM Threats Agent rule returns "Not Found" response + Given new "UpdateCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter with value "abc-123-xyz" + And body with value {"data": {"attributes": {"description": "My Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\""}, "type": "agent_rule", "id":"abc-123-xyz"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend + Scenario: Update a CSM Threats Agent rule returns "OK" response + Given there is a valid "agent_rule_rc" in the system + And new "UpdateCSMThreatsAgentRule" request + And request contains "agent_rule_id" parameter from "agent_rule.data.id" + And body with value {"data": {"attributes": {"description": "Test Agent rule", "enabled": true, "expression": "exec.file.name == \"sh\""}, "type": "agent_rule", "id":"{{ agent_rule.data.id }}"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "agent_rule" + And the response "data.attributes.description" is equal to "Test Agent rule" + @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend Scenario: Update a Cloud Workload Security Agent rule returns "Bad Request" response Given there is a valid "agent_rule" in the system diff --git a/features/v2/given.json b/features/v2/given.json index 8c2a75b9b1b5..73de3c05e39e 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -355,6 +355,18 @@ "tag": "Powerpack", "operationId": "CreatePowerpack" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"agent_rule\",\n \"attributes\": {\n \"name\": \"{{ unique_lower_alnum }}\",\n \"description\": \"My Agent rule\",\n \"expression\": \"exec.file.name == \\\"sh\\\"\",\n \"enabled\": true\n }\n }\n}" + } + ], + "step": "there is a valid \"agent_rule_rc\" in the system", + "key": "agent_rule", + "tag": "Cloud Workload Security", + "operationId": "CreateCSMThreatsAgentRule" + }, { "parameters": [ { diff --git a/features/v2/undo.json b/features/v2/undo.json index 387676557ab2..90fee66806c2 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -1333,6 +1333,49 @@ "type": "idempotent" } }, + "ListCSMThreatsAgentRules": { + "tag": "Cloud Workload Security", + "undo": { + "type": "safe" + } + }, + "CreateCSMThreatsAgentRule": { + "tag": "Cloud Workload Security", + "undo": { + "operationId": "DeleteCSMThreatsAgentRule", + "parameters": [ + { + "name": "agent_rule_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "DeleteCSMThreatsAgentRule": { + "tag": "Cloud Workload Security", + "undo": { + "type": "idempotent" + } + }, + "GetCSMThreatsAgentRule": { + "tag": "Cloud Workload Security", + "undo": { + "type": "safe" + } + }, + "UpdateCSMThreatsAgentRule": { + "tag": "Cloud Workload Security", + "undo": { + "type": "idempotent" + } + }, + "DownloadCSMThreatsPolicy": { + "tag": "Cloud Workload Security", + "undo": { + "type": "safe" + } + }, "DeleteRestrictionPolicy": { "tag": "Restriction Policies", "undo": { diff --git a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts index 7f3dcd39d2e7..ba2435bc4272 100644 --- a/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts +++ b/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.ts @@ -72,6 +72,51 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor return requestContext; } + public async createCSMThreatsAgentRule( + body: CloudWorkloadSecurityAgentRuleCreateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createCSMThreatsAgentRule"); + } + + // Path Params + const localVarPath = "/api/v2/remote_config/products/cws/agent_rules"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.createCSMThreatsAgentRule") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize( + body, + "CloudWorkloadSecurityAgentRuleCreateRequest", + "" + ), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async deleteCloudWorkloadSecurityAgentRule( agentRuleId: string, _options?: Configuration @@ -111,6 +156,40 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor return requestContext; } + public async deleteCSMThreatsAgentRule( + agentRuleId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new RequiredError("agentRuleId", "deleteCSMThreatsAgentRule"); + } + + // Path Params + const localVarPath = + "/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}".replace( + "{agent_rule_id}", + encodeURIComponent(String(agentRuleId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.deleteCSMThreatsAgentRule") + .makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async downloadCloudWorkloadPolicyFile( _options?: Configuration ): Promise { @@ -138,6 +217,33 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor return requestContext; } + public async downloadCSMThreatsPolicy( + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/remote_config/products/cws/policy/download"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.downloadCSMThreatsPolicy") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam( + "Accept", + "application/zip, application/json" + ); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async getCloudWorkloadSecurityAgentRule( agentRuleId: string, _options?: Configuration @@ -177,6 +283,40 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor return requestContext; } + public async getCSMThreatsAgentRule( + agentRuleId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new RequiredError("agentRuleId", "getCSMThreatsAgentRule"); + } + + // Path Params + const localVarPath = + "/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}".replace( + "{agent_rule_id}", + encodeURIComponent(String(agentRuleId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.getCSMThreatsAgentRule") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async listCloudWorkloadSecurityAgentRules( _options?: Configuration ): Promise { @@ -204,6 +344,30 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor return requestContext; } + public async listCSMThreatsAgentRules( + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/remote_config/products/cws/agent_rules"; + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.listCSMThreatsAgentRules") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async updateCloudWorkloadSecurityAgentRule( agentRuleId: string, body: CloudWorkloadSecurityAgentRuleUpdateRequest, @@ -255,25 +419,430 @@ export class CloudWorkloadSecurityApiRequestFactory extends BaseAPIRequestFactor ); requestContext.setBody(serializedBody); - // Apply auth methods - applySecurityAuthentication(_config, requestContext, [ - "apiKeyAuth", - "appKeyAuth", - ]); + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async updateCSMThreatsAgentRule( + agentRuleId: string, + body: CloudWorkloadSecurityAgentRuleUpdateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'agentRuleId' is not null or undefined + if (agentRuleId === null || agentRuleId === undefined) { + throw new RequiredError("agentRuleId", "updateCSMThreatsAgentRule"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateCSMThreatsAgentRule"); + } + + // Path Params + const localVarPath = + "/api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}".replace( + "{agent_rule_id}", + encodeURIComponent(String(agentRuleId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.CloudWorkloadSecurityApi.updateCSMThreatsAgentRule") + .makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize( + body, + "CloudWorkloadSecurityAgentRuleUpdateRequest", + "" + ), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class CloudWorkloadSecurityApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCloudWorkloadSecurityAgentRule( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse" + ) as CloudWorkloadSecurityAgentRuleResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse", + "" + ) as CloudWorkloadSecurityAgentRuleResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCSMThreatsAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCSMThreatsAgentRule( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse" + ) as CloudWorkloadSecurityAgentRuleResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse", + "" + ) as CloudWorkloadSecurityAgentRuleResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCloudWorkloadSecurityAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCloudWorkloadSecurityAgentRule( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCSMThreatsAgentRule + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCSMThreatsAgentRule( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to downloadCloudWorkloadPolicyFile + * @throws ApiException if the response code was not in [200, 299] + */ + public async downloadCloudWorkloadPolicyFile( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: HttpFile = (await response.getBodyAsFile()) as HttpFile; + return body; + } + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = + (await response.getBodyAsFile()) as any as HttpFile; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to downloadCSMThreatsPolicy + * @throws ApiException if the response code was not in [200, 299] + */ + public async downloadCSMThreatsPolicy( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: HttpFile = (await response.getBodyAsFile()) as HttpFile; + return body; + } + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: HttpFile = + (await response.getBodyAsFile()) as any as HttpFile; + return body; + } - return requestContext; + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); } -} -export class CloudWorkloadSecurityApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to createCloudWorkloadSecurityAgentRule + * @params response Response returned by the server for a request to getCloudWorkloadSecurityAgentRule * @throws ApiException if the response code was not in [200, 299] */ - public async createCloudWorkloadSecurityAgentRule( + public async getCloudWorkloadSecurityAgentRule( response: ResponseContext ): Promise { const contentType = ObjectSerializer.normalizeMediaType( @@ -288,9 +857,8 @@ export class CloudWorkloadSecurityApiResponseProcessor { return body; } if ( - response.httpStatusCode === 400 || response.httpStatusCode === 403 || - response.httpStatusCode === 409 || + response.httpStatusCode === 404 || response.httpStatusCode === 429 ) { const bodyText = ObjectSerializer.parse( @@ -335,17 +903,22 @@ export class CloudWorkloadSecurityApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to deleteCloudWorkloadSecurityAgentRule + * @params response Response returned by the server for a request to getCSMThreatsAgentRule * @throws ApiException if the response code was not in [200, 299] */ - public async deleteCloudWorkloadSecurityAgentRule( + public async getCSMThreatsAgentRule( response: ResponseContext - ): Promise { + ): Promise { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); - if (response.httpStatusCode === 204) { - return; + if (response.httpStatusCode === 200) { + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse" + ) as CloudWorkloadSecurityAgentRuleResponse; + return body; } if ( response.httpStatusCode === 403 || @@ -374,11 +947,12 @@ export class CloudWorkloadSecurityApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: void = ObjectSerializer.deserialize( - ObjectSerializer.parse(await response.body.text(), contentType), - "void", - "" - ) as void; + const body: CloudWorkloadSecurityAgentRuleResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRuleResponse", + "" + ) as CloudWorkloadSecurityAgentRuleResponse; return body; } @@ -393,17 +967,21 @@ export class CloudWorkloadSecurityApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to downloadCloudWorkloadPolicyFile + * @params response Response returned by the server for a request to listCloudWorkloadSecurityAgentRules * @throws ApiException if the response code was not in [200, 299] */ - public async downloadCloudWorkloadPolicyFile( + public async listCloudWorkloadSecurityAgentRules( response: ResponseContext - ): Promise { + ): Promise { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); if (response.httpStatusCode === 200) { - const body: HttpFile = (await response.getBodyAsFile()) as HttpFile; + const body: CloudWorkloadSecurityAgentRulesListResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRulesListResponse" + ) as CloudWorkloadSecurityAgentRulesListResponse; return body; } if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { @@ -429,8 +1007,12 @@ export class CloudWorkloadSecurityApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: HttpFile = - (await response.getBodyAsFile()) as any as HttpFile; + const body: CloudWorkloadSecurityAgentRulesListResponse = + ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CloudWorkloadSecurityAgentRulesListResponse", + "" + ) as CloudWorkloadSecurityAgentRulesListResponse; return body; } @@ -445,28 +1027,24 @@ export class CloudWorkloadSecurityApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to getCloudWorkloadSecurityAgentRule + * @params response Response returned by the server for a request to listCSMThreatsAgentRules * @throws ApiException if the response code was not in [200, 299] */ - public async getCloudWorkloadSecurityAgentRule( + public async listCSMThreatsAgentRules( response: ResponseContext - ): Promise { + ): Promise { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); if (response.httpStatusCode === 200) { - const body: CloudWorkloadSecurityAgentRuleResponse = + const body: CloudWorkloadSecurityAgentRulesListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "CloudWorkloadSecurityAgentRuleResponse" - ) as CloudWorkloadSecurityAgentRuleResponse; + "CloudWorkloadSecurityAgentRulesListResponse" + ) as CloudWorkloadSecurityAgentRulesListResponse; return body; } - if ( - response.httpStatusCode === 403 || - response.httpStatusCode === 404 || - response.httpStatusCode === 429 - ) { + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -489,12 +1067,12 @@ export class CloudWorkloadSecurityApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: CloudWorkloadSecurityAgentRuleResponse = + const body: CloudWorkloadSecurityAgentRulesListResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "CloudWorkloadSecurityAgentRuleResponse", + "CloudWorkloadSecurityAgentRulesListResponse", "" - ) as CloudWorkloadSecurityAgentRuleResponse; + ) as CloudWorkloadSecurityAgentRulesListResponse; return body; } @@ -509,24 +1087,30 @@ export class CloudWorkloadSecurityApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to listCloudWorkloadSecurityAgentRules + * @params response Response returned by the server for a request to updateCloudWorkloadSecurityAgentRule * @throws ApiException if the response code was not in [200, 299] */ - public async listCloudWorkloadSecurityAgentRules( + public async updateCloudWorkloadSecurityAgentRule( response: ResponseContext - ): Promise { + ): Promise { const contentType = ObjectSerializer.normalizeMediaType( response.headers["content-type"] ); if (response.httpStatusCode === 200) { - const body: CloudWorkloadSecurityAgentRulesListResponse = + const body: CloudWorkloadSecurityAgentRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "CloudWorkloadSecurityAgentRulesListResponse" - ) as CloudWorkloadSecurityAgentRulesListResponse; + "CloudWorkloadSecurityAgentRuleResponse" + ) as CloudWorkloadSecurityAgentRuleResponse; return body; } - if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 + ) { const bodyText = ObjectSerializer.parse( await response.body.text(), contentType @@ -549,12 +1133,12 @@ export class CloudWorkloadSecurityApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: CloudWorkloadSecurityAgentRulesListResponse = + const body: CloudWorkloadSecurityAgentRuleResponse = ObjectSerializer.deserialize( ObjectSerializer.parse(await response.body.text(), contentType), - "CloudWorkloadSecurityAgentRulesListResponse", + "CloudWorkloadSecurityAgentRuleResponse", "" - ) as CloudWorkloadSecurityAgentRulesListResponse; + ) as CloudWorkloadSecurityAgentRuleResponse; return body; } @@ -569,10 +1153,10 @@ export class CloudWorkloadSecurityApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to updateCloudWorkloadSecurityAgentRule + * @params response Response returned by the server for a request to updateCSMThreatsAgentRule * @throws ApiException if the response code was not in [200, 299] */ - public async updateCloudWorkloadSecurityAgentRule( + public async updateCSMThreatsAgentRule( response: ResponseContext ): Promise { const contentType = ObjectSerializer.normalizeMediaType( @@ -640,6 +1224,14 @@ export interface CloudWorkloadSecurityApiCreateCloudWorkloadSecurityAgentRuleReq body: CloudWorkloadSecurityAgentRuleCreateRequest; } +export interface CloudWorkloadSecurityApiCreateCSMThreatsAgentRuleRequest { + /** + * The definition of the new Agent rule. + * @type CloudWorkloadSecurityAgentRuleCreateRequest + */ + body: CloudWorkloadSecurityAgentRuleCreateRequest; +} + export interface CloudWorkloadSecurityApiDeleteCloudWorkloadSecurityAgentRuleRequest { /** * The ID of the Agent rule. @@ -648,6 +1240,14 @@ export interface CloudWorkloadSecurityApiDeleteCloudWorkloadSecurityAgentRuleReq agentRuleId: string; } +export interface CloudWorkloadSecurityApiDeleteCSMThreatsAgentRuleRequest { + /** + * The ID of the Agent rule. + * @type string + */ + agentRuleId: string; +} + export interface CloudWorkloadSecurityApiGetCloudWorkloadSecurityAgentRuleRequest { /** * The ID of the Agent rule. @@ -656,6 +1256,14 @@ export interface CloudWorkloadSecurityApiGetCloudWorkloadSecurityAgentRuleReques agentRuleId: string; } +export interface CloudWorkloadSecurityApiGetCSMThreatsAgentRuleRequest { + /** + * The ID of the Agent rule. + * @type string + */ + agentRuleId: string; +} + export interface CloudWorkloadSecurityApiUpdateCloudWorkloadSecurityAgentRuleRequest { /** * The ID of the Agent rule. @@ -669,6 +1277,19 @@ export interface CloudWorkloadSecurityApiUpdateCloudWorkloadSecurityAgentRuleReq body: CloudWorkloadSecurityAgentRuleUpdateRequest; } +export interface CloudWorkloadSecurityApiUpdateCSMThreatsAgentRuleRequest { + /** + * The ID of the Agent rule. + * @type string + */ + agentRuleId: string; + /** + * New definition of the Agent rule. + * @type CloudWorkloadSecurityAgentRuleUpdateRequest + */ + body: CloudWorkloadSecurityAgentRuleUpdateRequest; +} + export class CloudWorkloadSecurityApi { private requestFactory: CloudWorkloadSecurityApiRequestFactory; private responseProcessor: CloudWorkloadSecurityApiResponseProcessor; @@ -711,6 +1332,29 @@ export class CloudWorkloadSecurityApi { }); } + /** + * Create a new Cloud Security Management Threats Agent rule with the given parameters. + * @param param The request object + */ + public createCSMThreatsAgentRule( + param: CloudWorkloadSecurityApiCreateCSMThreatsAgentRuleRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.createCSMThreatsAgentRule( + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createCSMThreatsAgentRule( + responseContext + ); + }); + }); + } + /** * Delete a specific Agent rule. * @param param The request object @@ -735,6 +1379,29 @@ export class CloudWorkloadSecurityApi { }); } + /** + * Delete a specific Cloud Security Management Threats Agent rule. + * @param param The request object + */ + public deleteCSMThreatsAgentRule( + param: CloudWorkloadSecurityApiDeleteCSMThreatsAgentRuleRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.deleteCSMThreatsAgentRule( + param.agentRuleId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteCSMThreatsAgentRule( + responseContext + ); + }); + }); + } + /** * The download endpoint generates a Cloud Workload Security policy file from your currently active * Cloud Workload Security rules, and downloads them as a .policy file. This file can then be deployed to @@ -757,6 +1424,26 @@ export class CloudWorkloadSecurityApi { }); } + /** + * The download endpoint generates a CSM Threats policy file from your currently active + * CSM Threats rules, and downloads them as a `.policy` file. This file can then be deployed to + * your Agents to update the policy running in your environment. + * @param param The request object + */ + public downloadCSMThreatsPolicy(options?: Configuration): Promise { + const requestContextPromise = + this.requestFactory.downloadCSMThreatsPolicy(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.downloadCSMThreatsPolicy( + responseContext + ); + }); + }); + } + /** * Get the details of a specific Agent rule. * @param param The request object @@ -781,6 +1468,27 @@ export class CloudWorkloadSecurityApi { }); } + /** + * Get the details of a specific Cloud Security Management Threats Agent rule. + * @param param The request object + */ + public getCSMThreatsAgentRule( + param: CloudWorkloadSecurityApiGetCSMThreatsAgentRuleRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.getCSMThreatsAgentRule( + param.agentRuleId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getCSMThreatsAgentRule(responseContext); + }); + }); + } + /** * Get the list of Agent rules. * @param param The request object @@ -801,6 +1509,26 @@ export class CloudWorkloadSecurityApi { }); } + /** + * Get the list of Cloud Security Management Threats Agent rules. + * @param param The request object + */ + public listCSMThreatsAgentRules( + options?: Configuration + ): Promise { + const requestContextPromise = + this.requestFactory.listCSMThreatsAgentRules(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.listCSMThreatsAgentRules( + responseContext + ); + }); + }); + } + /** * Update a specific Agent rule. * Returns the Agent rule object when the request is successful. @@ -826,4 +1554,29 @@ export class CloudWorkloadSecurityApi { }); }); } + + /** + * Update a specific Cloud Security Management Threats Agent rule. + * Returns the Agent rule object when the request is successful. + * @param param The request object + */ + public updateCSMThreatsAgentRule( + param: CloudWorkloadSecurityApiUpdateCSMThreatsAgentRuleRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.updateCSMThreatsAgentRule( + param.agentRuleId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateCSMThreatsAgentRule( + responseContext + ); + }); + }); + } } diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index aa6a7b896343..754edb11cd7b 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -73,9 +73,13 @@ export { } from "./apis/CloudCostManagementApi"; export { + CloudWorkloadSecurityApiCreateCSMThreatsAgentRuleRequest, CloudWorkloadSecurityApiCreateCloudWorkloadSecurityAgentRuleRequest, + CloudWorkloadSecurityApiDeleteCSMThreatsAgentRuleRequest, CloudWorkloadSecurityApiDeleteCloudWorkloadSecurityAgentRuleRequest, + CloudWorkloadSecurityApiGetCSMThreatsAgentRuleRequest, CloudWorkloadSecurityApiGetCloudWorkloadSecurityAgentRuleRequest, + CloudWorkloadSecurityApiUpdateCSMThreatsAgentRuleRequest, CloudWorkloadSecurityApiUpdateCloudWorkloadSecurityAgentRuleRequest, CloudWorkloadSecurityApi, } from "./apis/CloudWorkloadSecurityApi"; @@ -701,12 +705,14 @@ export { CloudflareAccountType } from "./models/CloudflareAccountType"; export { CloudflareAccountUpdateRequest } from "./models/CloudflareAccountUpdateRequest"; export { CloudflareAccountUpdateRequestAttributes } from "./models/CloudflareAccountUpdateRequestAttributes"; export { CloudflareAccountUpdateRequestData } from "./models/CloudflareAccountUpdateRequestData"; +export { CloudWorkloadSecurityAgentRuleAction } from "./models/CloudWorkloadSecurityAgentRuleAction"; export { CloudWorkloadSecurityAgentRuleAttributes } from "./models/CloudWorkloadSecurityAgentRuleAttributes"; export { CloudWorkloadSecurityAgentRuleCreateAttributes } from "./models/CloudWorkloadSecurityAgentRuleCreateAttributes"; export { CloudWorkloadSecurityAgentRuleCreateData } from "./models/CloudWorkloadSecurityAgentRuleCreateData"; export { CloudWorkloadSecurityAgentRuleCreateRequest } from "./models/CloudWorkloadSecurityAgentRuleCreateRequest"; export { CloudWorkloadSecurityAgentRuleCreatorAttributes } from "./models/CloudWorkloadSecurityAgentRuleCreatorAttributes"; export { CloudWorkloadSecurityAgentRuleData } from "./models/CloudWorkloadSecurityAgentRuleData"; +export { CloudWorkloadSecurityAgentRuleKill } from "./models/CloudWorkloadSecurityAgentRuleKill"; export { CloudWorkloadSecurityAgentRuleResponse } from "./models/CloudWorkloadSecurityAgentRuleResponse"; export { CloudWorkloadSecurityAgentRulesListResponse } from "./models/CloudWorkloadSecurityAgentRulesListResponse"; export { CloudWorkloadSecurityAgentRuleType } from "./models/CloudWorkloadSecurityAgentRuleType"; diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.ts new file mode 100644 index 000000000000..95ad05deff4d --- /dev/null +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.ts @@ -0,0 +1,61 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CloudWorkloadSecurityAgentRuleKill } from "./CloudWorkloadSecurityAgentRuleKill"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The action the rule can perform if triggered. + */ +export class CloudWorkloadSecurityAgentRuleAction { + /** + * SECL expression used to target the container to apply the action on + */ + "filter"?: string; + /** + * Kill system call applied on the container matching the rule + */ + "kill"?: CloudWorkloadSecurityAgentRuleKill; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + filter: { + baseName: "filter", + type: "string", + }, + kill: { + baseName: "kill", + type: "CloudWorkloadSecurityAgentRuleKill", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CloudWorkloadSecurityAgentRuleAction.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts index 31678f3ae976..2d21a0a29539 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAttributes.ts @@ -3,6 +3,7 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ +import { CloudWorkloadSecurityAgentRuleAction } from "./CloudWorkloadSecurityAgentRuleAction"; import { CloudWorkloadSecurityAgentRuleCreatorAttributes } from "./CloudWorkloadSecurityAgentRuleCreatorAttributes"; import { CloudWorkloadSecurityAgentRuleUpdaterAttributes } from "./CloudWorkloadSecurityAgentRuleUpdaterAttributes"; @@ -12,6 +13,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util"; * A Cloud Workload Security Agent rule returned by the API. */ export class CloudWorkloadSecurityAgentRuleAttributes { + /** + * The array of actions the rule can perform if triggered. + */ + "actions"?: Array; /** * The version of the agent. */ @@ -93,6 +98,10 @@ export class CloudWorkloadSecurityAgentRuleAttributes { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + actions: { + baseName: "actions", + type: "Array", + }, agentConstraint: { baseName: "agentConstraint", type: "string", diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleKill.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleKill.ts new file mode 100644 index 000000000000..f7a46d8c21c1 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleKill.ts @@ -0,0 +1,52 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Kill system call applied on the container matching the rule + */ +export class CloudWorkloadSecurityAgentRuleKill { + /** + * Supported signals for the kill system call. + */ + "signal"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + signal: { + baseName: "signal", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CloudWorkloadSecurityAgentRuleKill.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts index 6f0a3426d3ff..5892903c00ca 100644 --- a/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts +++ b/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleUpdateData.ts @@ -16,6 +16,10 @@ export class CloudWorkloadSecurityAgentRuleUpdateData { * Update an existing Cloud Workload Security Agent rule. */ "attributes": CloudWorkloadSecurityAgentRuleUpdateAttributes; + /** + * The ID of the agent rule. + */ + "id"?: string; /** * The type of the resource. The value should always be `agent_rule`. */ @@ -42,6 +46,10 @@ export class CloudWorkloadSecurityAgentRuleUpdateData { type: "CloudWorkloadSecurityAgentRuleUpdateAttributes", required: true, }, + id: { + baseName: "id", + type: "string", + }, type: { baseName: "type", type: "CloudWorkloadSecurityAgentRuleType", diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 05eb366ea3f1..385284685e48 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -155,12 +155,14 @@ import { CloudConfigurationRuleOptions } from "./CloudConfigurationRuleOptions"; import { CloudCostActivity } from "./CloudCostActivity"; import { CloudCostActivityAttributes } from "./CloudCostActivityAttributes"; import { CloudCostActivityResponse } from "./CloudCostActivityResponse"; +import { CloudWorkloadSecurityAgentRuleAction } from "./CloudWorkloadSecurityAgentRuleAction"; import { CloudWorkloadSecurityAgentRuleAttributes } from "./CloudWorkloadSecurityAgentRuleAttributes"; import { CloudWorkloadSecurityAgentRuleCreateAttributes } from "./CloudWorkloadSecurityAgentRuleCreateAttributes"; import { CloudWorkloadSecurityAgentRuleCreateData } from "./CloudWorkloadSecurityAgentRuleCreateData"; import { CloudWorkloadSecurityAgentRuleCreateRequest } from "./CloudWorkloadSecurityAgentRuleCreateRequest"; import { CloudWorkloadSecurityAgentRuleCreatorAttributes } from "./CloudWorkloadSecurityAgentRuleCreatorAttributes"; import { CloudWorkloadSecurityAgentRuleData } from "./CloudWorkloadSecurityAgentRuleData"; +import { CloudWorkloadSecurityAgentRuleKill } from "./CloudWorkloadSecurityAgentRuleKill"; import { CloudWorkloadSecurityAgentRuleResponse } from "./CloudWorkloadSecurityAgentRuleResponse"; import { CloudWorkloadSecurityAgentRuleUpdateAttributes } from "./CloudWorkloadSecurityAgentRuleUpdateAttributes"; import { CloudWorkloadSecurityAgentRuleUpdateData } from "./CloudWorkloadSecurityAgentRuleUpdateData"; @@ -1823,6 +1825,7 @@ const typeMap: { [index: string]: any } = { CloudCostActivity: CloudCostActivity, CloudCostActivityAttributes: CloudCostActivityAttributes, CloudCostActivityResponse: CloudCostActivityResponse, + CloudWorkloadSecurityAgentRuleAction: CloudWorkloadSecurityAgentRuleAction, CloudWorkloadSecurityAgentRuleAttributes: CloudWorkloadSecurityAgentRuleAttributes, CloudWorkloadSecurityAgentRuleCreateAttributes: @@ -1834,6 +1837,7 @@ const typeMap: { [index: string]: any } = { CloudWorkloadSecurityAgentRuleCreatorAttributes: CloudWorkloadSecurityAgentRuleCreatorAttributes, CloudWorkloadSecurityAgentRuleData: CloudWorkloadSecurityAgentRuleData, + CloudWorkloadSecurityAgentRuleKill: CloudWorkloadSecurityAgentRuleKill, CloudWorkloadSecurityAgentRuleResponse: CloudWorkloadSecurityAgentRuleResponse, CloudWorkloadSecurityAgentRuleUpdateAttributes: From a825e9e60f5e406e6ab7678be408b75a69ecffa7 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:23:30 +0000 Subject: [PATCH 34/41] Skip invalid test for rust (#1552) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 ++++---- features/v2/downtimes.feature | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 4bde54c3db4d..836d947b877f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-08 14:49:41.084247", - "spec_repo_commit": "f5ed7e52" + "regenerated": "2024-03-11 14:09:24.763861", + "spec_repo_commit": "0f7ad8f2" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-08 14:49:41.101800", - "spec_repo_commit": "f5ed7e52" + "regenerated": "2024-03-11 14:09:24.781621", + "spec_repo_commit": "0f7ad8f2" } } } \ No newline at end of file diff --git a/features/v2/downtimes.feature b/features/v2/downtimes.feature index 5f5d45407f7f..5e6dc55f7149 100644 --- a/features/v2/downtimes.feature +++ b/features/v2/downtimes.feature @@ -111,7 +111,7 @@ Feature: Downtimes Then the response status is 200 OK And the response "data.attributes.message" is equal to "dark forest" - @skip-java @skip-python @skip-ruby @skip-typescript @skip-validation @team:DataDog/monitor-app + @skip-java @skip-python @skip-ruby @skip-rust @skip-typescript @skip-validation @team:DataDog/monitor-app Scenario: Update a downtime returns "Bad Request" response Given there is a valid "downtime_v2" in the system And new "UpdateDowntime" request From c13bcc636a2c1eca31bd047ea1a88de83c7ea215 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 18:40:55 +0000 Subject: [PATCH 35/41] Add documentation for workflow usage attribution (#1551) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 14 ++++++++++++++ .../models/HourlyUsageAttributionUsageType.ts | 2 ++ .../MonthlyUsageAttributionSupportedMetrics.ts | 4 ++++ .../models/MonthlyUsageAttributionValues.ts | 18 ++++++++++++++++++ .../models/ObjectSerializer.ts | 3 +++ 6 files changed, 45 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 836d947b877f..61036f08a789 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-11 14:09:24.763861", - "spec_repo_commit": "0f7ad8f2" + "regenerated": "2024-03-11 18:06:53.426665", + "spec_repo_commit": "ac12ffe4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-11 14:09:24.781621", - "spec_repo_commit": "0f7ad8f2" + "regenerated": "2024-03-11 18:06:53.444395", + "spec_repo_commit": "ac12ffe4" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 193a51a415fc..489341f04290 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4142,6 +4142,7 @@ components: - snmp_usage - universal_service_monitoring_usage - vuln_management_hosts_usage + - workflow_executions_usage type: string x-enum-varnames: - API_USAGE @@ -4209,6 +4210,7 @@ components: - SNMP_USAGE - UNIVERSAL_SERVICE_MONITORING_USAGE - VULN_MANAGEMENT_HOSTS_USAGE + - WORKFLOW_EXECUTIONS_USAGE IFrameWidgetDefinition: description: The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. @@ -7886,6 +7888,8 @@ components: - ingested_spans_bytes_percentage - siem_ingested_bytes_usage - siem_ingested_bytes_percentage + - workflow_executions_usage + - workflow_executions_percentage - '*' type: string x-enum-varnames: @@ -8015,6 +8019,8 @@ components: - INGESTED_SPANS_BYTES_PERCENTAGE - SIEM_INGESTED_BYTES_USAGE - SIEM_INGESTED_BYTES_PERCENTAGE + - WORKFLOW_EXECUTIONS_USAGE + - WORKFLOW_EXECUTIONS_PERCENTAGE - ALL MonthlyUsageAttributionValues: description: Fields in Usage Summary by tag(s). @@ -8548,6 +8554,14 @@ components: description: The Application Vulnerability Management usage by tag(s). format: double type: number + workflow_executions_percentage: + description: The percentage of workflow executions usage by tag(s). + format: double + type: number + workflow_executions_usage: + description: The total workflow executions usage by tag(s). + format: double + type: number type: object NoteWidgetDefinition: description: The notes and links widget is similar to free text widget, but diff --git a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts index bb07e9f17954..d214455a5415 100644 --- a/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts +++ b/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.ts @@ -76,6 +76,7 @@ export type HourlyUsageAttributionUsageType = | typeof SNMP_USAGE | typeof UNIVERSAL_SERVICE_MONITORING_USAGE | typeof VULN_MANAGEMENT_HOSTS_USAGE + | typeof WORKFLOW_EXECUTIONS_USAGE | UnparsedObject; export const API_USAGE = "api_usage"; export const APM_FARGATE_USAGE = "apm_fargate_usage"; @@ -150,3 +151,4 @@ export const SNMP_USAGE = "snmp_usage"; export const UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage"; export const VULN_MANAGEMENT_HOSTS_USAGE = "vuln_management_hosts_usage"; +export const WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts index b427997af3c8..b29b3d271d00 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.ts @@ -137,6 +137,8 @@ export type MonthlyUsageAttributionSupportedMetrics = | typeof INGESTED_SPANS_BYTES_PERCENTAGE | typeof SIEM_INGESTED_BYTES_USAGE | typeof SIEM_INGESTED_BYTES_PERCENTAGE + | typeof WORKFLOW_EXECUTIONS_USAGE + | typeof WORKFLOW_EXECUTIONS_PERCENTAGE | typeof ALL | UnparsedObject; export const API_USAGE = "api_usage"; @@ -288,4 +290,6 @@ export const INGESTED_SPANS_BYTES_PERCENTAGE = "ingested_spans_bytes_percentage"; export const SIEM_INGESTED_BYTES_USAGE = "siem_ingested_bytes_usage"; export const SIEM_INGESTED_BYTES_PERCENTAGE = "siem_ingested_bytes_percentage"; +export const WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage"; +export const WORKFLOW_EXECUTIONS_PERCENTAGE = "workflow_executions_percentage"; export const ALL = "*"; diff --git a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts index e6082676af3d..722c8f48382e 100644 --- a/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts +++ b/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.ts @@ -514,6 +514,14 @@ export class MonthlyUsageAttributionValues { * The Application Vulnerability Management usage by tag(s). */ "vulnManagementHostsUsage"?: number; + /** + * The percentage of workflow executions usage by tag(s). + */ + "workflowExecutionsPercentage"?: number; + /** + * The total workflow executions usage by tag(s). + */ + "workflowExecutionsUsage"?: number; /** * A container for additional, undeclared properties. @@ -1161,6 +1169,16 @@ export class MonthlyUsageAttributionValues { type: "number", format: "double", }, + workflowExecutionsPercentage: { + baseName: "workflow_executions_percentage", + type: "number", + format: "double", + }, + workflowExecutionsUsage: { + baseName: "workflow_executions_usage", + type: "number", + format: "double", + }, additionalProperties: { baseName: "additionalProperties", type: "any", diff --git a/packages/datadog-api-client-v1/models/ObjectSerializer.ts b/packages/datadog-api-client-v1/models/ObjectSerializer.ts index d6f4f79fbeaf..41729249ccec 100644 --- a/packages/datadog-api-client-v1/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v1/models/ObjectSerializer.ts @@ -827,6 +827,7 @@ const enumsMap: { [key: string]: any[] } = { "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", + "workflow_executions_usage", ], IFrameWidgetDefinitionType: ["iframe"], ImageWidgetDefinitionType: ["image"], @@ -1079,6 +1080,8 @@ const enumsMap: { [key: string]: any[] } = { "ingested_spans_bytes_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", + "workflow_executions_usage", + "workflow_executions_percentage", "*", ], NoteWidgetDefinitionType: ["note"], From 457efca232b3ea984b7e7acc31d9e379521b911e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Ramadas?= Date: Mon, 11 Mar 2024 20:11:11 +0100 Subject: [PATCH 36/41] Add step to assert a field is not present (#1554) * Add step to assert a field is not present * Fix method naming --------- Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com> --- .generator/conftest.py | 5 +++++ features/step_definitions/request_steps.ts | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/.generator/conftest.py b/.generator/conftest.py index 347b1ed9c78c..9470ceeb99ee 100644 --- a/.generator/conftest.py +++ b/.generator/conftest.py @@ -465,6 +465,11 @@ def expect_response_has_field(context, response_path, field): """Check that a response has field.""" +@then(parsers.parse('the response "{response_path}" does not have field "{field}"')) +def expect_response_does_not_have_field(context, response_path, field): + """Check that a response path does not have field.""" + + @then(parsers.parse('the response "{response_path}" has item with field "{key_path}" with value {value}')) def expect_array_contains_object(context, response_path, key_path, value): """Check that a response attribute contains an object with the specified key and value.""" diff --git a/features/step_definitions/request_steps.ts b/features/step_definitions/request_steps.ts index 7dc3e81d9ecc..a538992a05c3 100644 --- a/features/step_definitions/request_steps.ts +++ b/features/step_definitions/request_steps.ts @@ -297,6 +297,13 @@ Then( } ); +Then( + "the response {string} does not have field {string}", + function (this: World, responsePath: string, field: string) { + expect(pathLookup(this.response, responsePath)).to.not.have.property(field); + } +); + Then( "the response {string} has length {int}", function (this: World, responsePath: string, fixtureLength: number) { From bfe6581a2bf995f17b32ae557d8be1691e5ce095 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 18:28:45 +0000 Subject: [PATCH 37/41] Deprecate Incident Services endpoints (#1557) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 25 ++++++++++--------------- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 61036f08a789..99a5c85b5281 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-11 18:06:53.426665", - "spec_repo_commit": "ac12ffe4" + "regenerated": "2024-03-12 14:55:41.293819", + "spec_repo_commit": "e9113926" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-11 18:06:53.444395", - "spec_repo_commit": "ac12ffe4" + "regenerated": "2024-03-12 14:55:41.311477", + "spec_repo_commit": "e9113926" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f4faf832a9fd..cf01de64a913 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -32528,6 +32528,7 @@ paths: x-codegen-request-body-name: body /api/v2/services: get: + deprecated: true description: Get all incident services uploaded for the requesting user's organization. If the `include[users]` query parameter is provided, the included attribute will contain the users related to these incident services. @@ -32562,10 +32563,9 @@ paths: summary: Get a list of all incident services tags: - Incident Services - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' post: + deprecated: true description: Creates a new incident service. operationId: CreateIncidentService requestBody: @@ -32601,9 +32601,7 @@ paths: tags: - Incident Services x-codegen-request-body-name: body - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' /api/v2/services/definitions: get: description: Get a list of all service definitions from the Datadog Service @@ -32728,6 +32726,7 @@ paths: - Service Definition /api/v2/services/{service_id}: delete: + deprecated: true description: Deletes an existing incident service. operationId: DeleteIncidentService parameters: @@ -32753,10 +32752,9 @@ paths: summary: Delete an existing incident service tags: - Incident Services - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' get: + deprecated: true description: 'Get details of an incident service. If the `include[users]` query parameter is provided, @@ -32790,10 +32788,9 @@ paths: summary: Get details of an incident service tags: - Incident Services - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' patch: + deprecated: true description: Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update. operationId: UpdateIncidentService @@ -32832,9 +32829,7 @@ paths: tags: - Incident Services x-codegen-request-body-name: body - x-unstable: '**Note**: This endpoint is in public beta. - - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).' + x-unstable: '**Note**: This endpoint is deprecated.' /api/v2/spans/analytics/aggregate: post: description: 'The API endpoint to aggregate spans into buckets and compute metrics From 03239d3aa9b50379d7586cd7806a95e0e823901c Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:15:17 +0000 Subject: [PATCH 38/41] CI Visibility Tests API Endpoint Edit (#1514) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 8 ++++---- .../datadog-api-client-v2/apis/CIVisibilityTestsApi.ts | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 99a5c85b5281..ce9379050b5d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-12 14:55:41.293819", - "spec_repo_commit": "e9113926" + "regenerated": "2024-03-12 18:41:38.049548", + "spec_repo_commit": "32fcfc91" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-12 14:55:41.311477", - "spec_repo_commit": "e9113926" + "regenerated": "2024-03-12 18:41:38.067098", + "spec_repo_commit": "32fcfc91" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index cf01de64a913..90fbd2bfc1b2 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -23744,8 +23744,8 @@ paths: x-codegen-request-body-name: body /api/v2/ci/tests/events: get: - description: 'List endpoint returns CI Visibility test events that match a [log - search query](https://docs.datadoghq.com/logs/explorer/search_syntax/). + description: 'List endpoint returns CI Visibility test events that match a [search + query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/). [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination). @@ -23828,8 +23828,8 @@ paths: resultsPath: data /api/v2/ci/tests/events/search: post: - description: 'List endpoint returns CI Visibility test events that match a [log - search query](https://docs.datadoghq.com/logs/explorer/search_syntax/). + description: 'List endpoint returns CI Visibility test events that match a [search + query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/). [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination). diff --git a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts index d994a8087d35..f772a583be3d 100644 --- a/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts +++ b/packages/datadog-api-client-v2/apis/CIVisibilityTestsApi.ts @@ -453,7 +453,7 @@ export class CIVisibilityTestsApi { } /** - * List endpoint returns CI Visibility test events that match a [log search query](https://docs.datadoghq.com/logs/explorer/search_syntax/). + * List endpoint returns CI Visibility test events that match a [search query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/). * [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination). * * Use this endpoint to see your latest test events. @@ -539,7 +539,7 @@ export class CIVisibilityTestsApi { } /** - * List endpoint returns CI Visibility test events that match a [log search query](https://docs.datadoghq.com/logs/explorer/search_syntax/). + * List endpoint returns CI Visibility test events that match a [search query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/). * [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination). * * Use this endpoint to build complex events filtering and search. From 51a0d157910b7f51cc6a68481e28fe02708de09e Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 17:56:02 +0000 Subject: [PATCH 39/41] Add Custom Destinations Public API (#1555) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 +- .generator/schemas/v2/openapi.yaml | 761 ++++++++++++++++++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 1 + .../recording.har | 67 ++ .../frozen.json | 1 + .../recording.har | 109 +++ .../frozen.json | 1 + .../recording.har | 57 ++ .../frozen.json | 1 + .../recording.har | 152 ++++ .../frozen.json | 1 + .../recording.har | 57 ++ .../frozen.json | 1 + .../recording.har | 152 ++++ .../frozen.json | 1 + .../recording.har | 152 ++++ .../frozen.json | 1 + .../recording.har | 162 ++++ .../frozen.json | 1 + .../recording.har | 67 ++ .../frozen.json | 1 + .../recording.har | 162 ++++ .../CreateLogsCustomDestination.ts | 42 + .../CreateLogsCustomDestination_1091442807.ts | 42 + .../CreateLogsCustomDestination_1288180912.ts | 38 + .../CreateLogsCustomDestination_141236188.ts | 43 + .../CreateLogsCustomDestination_2184123765.ts | 42 + .../DeleteLogsCustomDestination.ts | 25 + .../GetLogsCustomDestination.ts | 25 + .../ListLogsCustomDestinations.ts | 17 + .../UpdateLogsCustomDestination.ts | 34 + features/support/scenarios_model_mapping.ts | 35 + features/v2/given.json | 12 + features/v2/logs_custom_destinations.feature | 248 ++++++ features/v2/undo.json | 37 + .../apis/LogsCustomDestinationsApi.ts | 696 ++++++++++++++++ packages/datadog-api-client-v2/index.ts | 45 ++ ...inationAttributeTagsRestrictionListType.ts | 22 + .../models/CustomDestinationCreateRequest.ts | 53 ++ ...ustomDestinationCreateRequestAttributes.ts | 111 +++ ...ustomDestinationCreateRequestDefinition.ts | 64 ++ ...DestinationElasticsearchDestinationAuth.ts | 62 ++ .../CustomDestinationForwardDestination.ts | 20 + ...tinationForwardDestinationElasticsearch.ts | 100 +++ ...tionForwardDestinationElasticsearchType.ts | 16 + ...CustomDestinationForwardDestinationHttp.ts | 74 ++ ...omDestinationForwardDestinationHttpType.ts | 16 + ...stomDestinationForwardDestinationSplunk.ts | 73 ++ ...DestinationForwardDestinationSplunkType.ts | 16 + .../CustomDestinationHttpDestinationAuth.ts | 18 + ...stomDestinationHttpDestinationAuthBasic.ts | 72 ++ ...DestinationHttpDestinationAuthBasicType.ts | 16 + ...tinationHttpDestinationAuthCustomHeader.ts | 72 ++ ...tionHttpDestinationAuthCustomHeaderType.ts | 16 + .../models/CustomDestinationResponse.ts | 53 ++ .../CustomDestinationResponseAttributes.ts | 109 +++ .../CustomDestinationResponseDefinition.ts | 70 ++ ...omDestinationResponseForwardDestination.ts | 20 + ...ResponseForwardDestinationElasticsearch.ts | 99 +++ ...onseForwardDestinationElasticsearchType.ts | 16 + ...stinationResponseForwardDestinationHttp.ts | 74 ++ ...ationResponseForwardDestinationHttpType.ts | 16 + ...inationResponseForwardDestinationSplunk.ts | 64 ++ ...ionResponseForwardDestinationSplunkType.ts | 16 + ...mDestinationResponseHttpDestinationAuth.ts | 18 + ...inationResponseHttpDestinationAuthBasic.ts | 54 ++ ...ionResponseHttpDestinationAuthBasicType.ts | 16 + ...ResponseHttpDestinationAuthCustomHeader.ts | 63 ++ ...onseHttpDestinationAuthCustomHeaderType.ts | 16 + .../models/CustomDestinationType.ts | 14 + .../models/CustomDestinationUpdateRequest.ts | 53 ++ ...ustomDestinationUpdateRequestAttributes.ts | 107 +++ ...ustomDestinationUpdateRequestDefinition.ts | 72 ++ .../models/CustomDestinationsResponse.ts | 53 ++ .../models/ObjectSerializer.ts | 94 +++ 81 files changed, 5541 insertions(+), 4 deletions(-) create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/recording.har create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/frozen.json create mode 100644 cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/recording.har create mode 100644 examples/v2/logs-custom-destinations/CreateLogsCustomDestination.ts create mode 100644 examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.ts create mode 100644 examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.ts create mode 100644 examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.ts create mode 100644 examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.ts create mode 100644 examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.ts create mode 100644 examples/v2/logs-custom-destinations/GetLogsCustomDestination.ts create mode 100644 examples/v2/logs-custom-destinations/ListLogsCustomDestinations.ts create mode 100644 examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.ts create mode 100644 features/v2/logs_custom_destinations.feature create mode 100644 packages/datadog-api-client-v2/apis/LogsCustomDestinationsApi.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationAttributeTagsRestrictionListType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationCreateRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationCreateRequestAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationCreateRequestDefinition.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationElasticsearchDestinationAuth.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestination.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearch.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearchType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttp.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttpType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunkType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuth.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasic.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasicType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeader.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeaderType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponse.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseDefinition.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestination.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearch.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearchType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttp.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttpType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunkType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuth.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasic.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasicType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeader.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeaderType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationType.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationUpdateRequest.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestAttributes.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestDefinition.ts create mode 100644 packages/datadog-api-client-v2/models/CustomDestinationsResponse.ts diff --git a/.apigentools-info b/.apigentools-info index ce9379050b5d..1e2e2aa36f08 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-12 18:41:38.049548", - "spec_repo_commit": "32fcfc91" + "regenerated": "2024-03-13 14:23:22.646722", + "spec_repo_commit": "113614d8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-12 18:41:38.067098", - "spec_repo_commit": "32fcfc91" + "regenerated": "2024-03-13 14:23:22.664978", + "spec_repo_commit": "113614d8" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 90fbd2bfc1b2..f1c186a85637 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -195,6 +195,13 @@ components: required: true schema: type: string + CustomDestinationId: + description: The ID of the custom destination. + in: path + name: custom_destination_id + required: true + schema: + type: string FastlyAccountID: description: Fastly Account id. in: path @@ -5341,6 +5348,621 @@ components: nullable: true type: string type: object + CustomDestinationAttributeTagsRestrictionListType: + default: ALLOW_LIST + description: 'How `forward_tags_restriction_list` parameter should be interpreted. + + If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the + ones on the restriction list + + are forwarded. + + + `BLOCK_LIST` works the opposite way. It does not forward the tags matching + the ones on the list.' + enum: + - ALLOW_LIST + - BLOCK_LIST + example: ALLOW_LIST + type: string + x-enum-varnames: + - ALLOW_LIST + - BLOCK_LIST + CustomDestinationCreateRequest: + description: The custom destination. + properties: + data: + $ref: '#/components/schemas/CustomDestinationCreateRequestDefinition' + type: object + CustomDestinationCreateRequestAttributes: + description: The attributes associated with the custom destination. + properties: + enabled: + default: true + description: Whether logs matching this custom destination should be forwarded + or not. + example: true + type: boolean + forward_tags: + default: true + description: Whether tags from the forwarded logs should be forwarded or + not. + example: true + type: boolean + forward_tags_restriction_list: + default: [] + description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) + to be filtered. + + + An empty list represents no restriction is in place and either all or + no tags will be + + forwarded depending on `forward_tags_restriction_list_type` parameter.' + example: + - datacenter + - host + items: + description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags). + type: string + maxItems: 10 + minItems: 0 + type: array + forward_tags_restriction_list_type: + $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType' + forwarder_destination: + $ref: '#/components/schemas/CustomDestinationForwardDestination' + name: + description: The custom destination name. + example: Nginx logs + type: string + query: + default: '' + description: The custom destination query and filter. Logs matching this + query are forwarded to the destination. + example: source:nginx + type: string + required: + - name + - forwarder_destination + type: object + CustomDestinationCreateRequestDefinition: + description: The definition of a custom destination. + properties: + attributes: + $ref: '#/components/schemas/CustomDestinationCreateRequestAttributes' + type: + $ref: '#/components/schemas/CustomDestinationType' + required: + - type + - attributes + type: object + CustomDestinationElasticsearchDestinationAuth: + description: Basic access authentication. + properties: + password: + description: The password of the authentication. This field is not returned + by the API. + example: datadog-custom-destination-password + type: string + writeOnly: true + username: + description: The username of the authentication. This field is not returned + by the API. + example: datadog-custom-destination-username + type: string + writeOnly: true + required: + - username + - password + type: object + CustomDestinationForwardDestination: + description: A custom destination's location to forward logs. + oneOf: + - $ref: '#/components/schemas/CustomDestinationForwardDestinationHttp' + - $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunk' + - $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearch' + type: object + CustomDestinationForwardDestinationElasticsearch: + description: The Elasticsearch destination. + properties: + auth: + $ref: '#/components/schemas/CustomDestinationElasticsearchDestinationAuth' + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + index_name: + description: Name of the Elasticsearch index (must follow [Elasticsearch's + criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). + example: nginx-logs + type: string + index_rotation: + description: 'Date pattern with US locale and UTC timezone to be appended + to the index name after adding `-` + + (that is, `${index_name}-${indexPattern}`). + + You can customize the index rotation naming pattern by choosing one of + these options: + + - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`) + + - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`) + + - Weekly: `yyyy-''W''ww` (as an example, it would render: `2022-W42`) + + - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`) + + + If this field is missing or is blank, it means that the index name will + always be the same + + (that is, no rotation).' + example: yyyy-MM-dd + type: string + type: + $ref: '#/components/schemas/CustomDestinationForwardDestinationElasticsearchType' + required: + - type + - endpoint + - auth + - index_name + type: object + CustomDestinationForwardDestinationElasticsearchType: + default: elasticsearch + description: Type of the Elasticsearch destination. + enum: + - elasticsearch + example: elasticsearch + type: string + x-enum-varnames: + - ELASTICSEARCH + CustomDestinationForwardDestinationHttp: + description: The HTTP destination. + properties: + auth: + $ref: '#/components/schemas/CustomDestinationHttpDestinationAuth' + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + type: + $ref: '#/components/schemas/CustomDestinationForwardDestinationHttpType' + required: + - type + - endpoint + - auth + type: object + CustomDestinationForwardDestinationHttpType: + default: http + description: Type of the HTTP destination. + enum: + - http + example: http + type: string + x-enum-varnames: + - HTTP + CustomDestinationForwardDestinationSplunk: + description: The Splunk HTTP Event Collector (HEC) destination. + properties: + access_token: + description: Access token of the Splunk HTTP Event Collector. This field + is not returned by the API. + example: splunk_access_token + type: string + writeOnly: true + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + type: + $ref: '#/components/schemas/CustomDestinationForwardDestinationSplunkType' + required: + - type + - endpoint + - access_token + type: object + CustomDestinationForwardDestinationSplunkType: + default: splunk_hec + description: Type of the Splunk HTTP Event Collector (HEC) destination. + enum: + - splunk_hec + example: splunk_hec + type: string + x-enum-varnames: + - SPLUNK_HEC + CustomDestinationHttpDestinationAuth: + description: Authentication method of the HTTP requests. + oneOf: + - $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthBasic' + - $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthCustomHeader' + type: object + CustomDestinationHttpDestinationAuthBasic: + description: Basic access authentication. + properties: + password: + description: The password of the authentication. This field is not returned + by the API. + example: datadog-custom-destination-password + type: string + writeOnly: true + type: + $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthBasicType' + username: + description: The username of the authentication. This field is not returned + by the API. + example: datadog-custom-destination-username + type: string + writeOnly: true + required: + - type + - username + - password + type: object + CustomDestinationHttpDestinationAuthBasicType: + default: basic + description: Type of the basic access authentication. + enum: + - basic + example: basic + type: string + x-enum-varnames: + - BASIC + CustomDestinationHttpDestinationAuthCustomHeader: + description: Custom header access authentication. + properties: + header_name: + description: The header name of the authentication. + example: CUSTOM-HEADER-NAME + type: string + header_value: + description: The header value of the authentication. This field is not returned + by the API. + example: CUSTOM-HEADER-AUTHENTICATION-VALUE + type: string + writeOnly: true + type: + $ref: '#/components/schemas/CustomDestinationHttpDestinationAuthCustomHeaderType' + required: + - type + - header_name + - header_value + type: object + CustomDestinationHttpDestinationAuthCustomHeaderType: + default: custom_header + description: Type of the custom header access authentication. + enum: + - custom_header + example: custom_header + type: string + x-enum-varnames: + - CUSTOM_HEADER + CustomDestinationResponse: + description: The custom destination. + properties: + data: + $ref: '#/components/schemas/CustomDestinationResponseDefinition' + type: object + CustomDestinationResponseAttributes: + description: The attributes associated with the custom destination. + properties: + enabled: + default: true + description: Whether logs matching this custom destination should be forwarded + or not. + example: true + type: boolean + forward_tags: + default: true + description: Whether tags from the forwarded logs should be forwarded or + not. + example: true + type: boolean + forward_tags_restriction_list: + default: [] + description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) + to be filtered. + + + An empty list represents no restriction is in place and either all or + no tags will be + + forwarded depending on `forward_tags_restriction_list_type` parameter.' + example: + - datacenter + - host + items: + description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags). + type: string + maxItems: 10 + minItems: 0 + type: array + forward_tags_restriction_list_type: + $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType' + forwarder_destination: + $ref: '#/components/schemas/CustomDestinationResponseForwardDestination' + name: + description: The custom destination name. + example: Nginx logs + type: string + query: + default: '' + description: The custom destination query filter. Logs matching this query + are forwarded to the destination. + example: source:nginx + type: string + type: object + CustomDestinationResponseDefinition: + description: The definition of a custom destination. + properties: + attributes: + $ref: '#/components/schemas/CustomDestinationResponseAttributes' + id: + description: The custom destination ID. + example: be5d7a69-d0c8-4d4d-8ee8-bba292d98139 + readOnly: true + type: string + type: + $ref: '#/components/schemas/CustomDestinationType' + type: object + CustomDestinationResponseElasticsearchDestinationAuth: + additionalProperties: + description: Basic access authentication. + description: Basic access authentication. + type: object + CustomDestinationResponseForwardDestination: + description: A custom destination's location to forward logs. + oneOf: + - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttp' + - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunk' + - $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearch' + type: object + CustomDestinationResponseForwardDestinationElasticsearch: + description: The Elasticsearch destination. + properties: + auth: + $ref: '#/components/schemas/CustomDestinationResponseElasticsearchDestinationAuth' + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + index_name: + description: Name of the Elasticsearch index (must follow [Elasticsearch's + criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). + example: nginx-logs + type: string + index_rotation: + description: 'Date pattern with US locale and UTC timezone to be appended + to the index name after adding `-` + + (that is, `${index_name}-${indexPattern}`). + + You can customize the index rotation naming pattern by choosing one of + these options: + + - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`) + + - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`) + + - Weekly: `yyyy-''W''ww` (as an example, it would render: `2022-W42`) + + - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`) + + + If this field is missing or is blank, it means that the index name will + always be the same + + (that is, no rotation).' + example: yyyy-MM-dd + type: string + type: + $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationElasticsearchType' + required: + - type + - endpoint + - auth + - index_name + type: object + CustomDestinationResponseForwardDestinationElasticsearchType: + default: elasticsearch + description: Type of the Elasticsearch destination. + enum: + - elasticsearch + example: elasticsearch + type: string + x-enum-varnames: + - ELASTICSEARCH + CustomDestinationResponseForwardDestinationHttp: + description: The HTTP destination. + properties: + auth: + $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuth' + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + type: + $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationHttpType' + required: + - type + - endpoint + - auth + type: object + CustomDestinationResponseForwardDestinationHttpType: + default: http + description: Type of the HTTP destination. + enum: + - http + example: http + type: string + x-enum-varnames: + - HTTP + CustomDestinationResponseForwardDestinationSplunk: + description: The Splunk HTTP Event Collector (HEC) destination. + properties: + endpoint: + description: 'The destination for which logs will be forwarded to. + + Must have HTTPS scheme and forwarding back to Datadog is not allowed.' + example: https://example.com + type: string + type: + $ref: '#/components/schemas/CustomDestinationResponseForwardDestinationSplunkType' + required: + - type + - endpoint + type: object + CustomDestinationResponseForwardDestinationSplunkType: + default: splunk_hec + description: Type of the Splunk HTTP Event Collector (HEC) destination. + enum: + - splunk_hec + example: splunk_hec + type: string + x-enum-varnames: + - SPLUNK_HEC + CustomDestinationResponseHttpDestinationAuth: + description: Authentication method of the HTTP requests. + oneOf: + - $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthBasic' + - $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthCustomHeader' + type: object + CustomDestinationResponseHttpDestinationAuthBasic: + description: Basic access authentication. + properties: + type: + $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthBasicType' + required: + - type + type: object + CustomDestinationResponseHttpDestinationAuthBasicType: + default: basic + description: Type of the basic access authentication. + enum: + - basic + example: basic + type: string + x-enum-varnames: + - BASIC + CustomDestinationResponseHttpDestinationAuthCustomHeader: + description: Custom header access authentication. + properties: + header_name: + description: The header name of the authentication. + example: CUSTOM-HEADER-NAME + type: string + type: + $ref: '#/components/schemas/CustomDestinationResponseHttpDestinationAuthCustomHeaderType' + required: + - type + - header_name + type: object + CustomDestinationResponseHttpDestinationAuthCustomHeaderType: + default: custom_header + description: Type of the custom header access authentication. + enum: + - custom_header + example: custom_header + type: string + x-enum-varnames: + - CUSTOM_HEADER + CustomDestinationType: + default: custom_destination + description: The type of the resource. The value should always be `custom_destination`. + enum: + - custom_destination + example: custom_destination + type: string + x-enum-varnames: + - custom_destination + CustomDestinationUpdateRequest: + description: The custom destination. + properties: + data: + $ref: '#/components/schemas/CustomDestinationUpdateRequestDefinition' + type: object + CustomDestinationUpdateRequestAttributes: + description: The attributes associated with the custom destination. + properties: + enabled: + default: true + description: Whether logs matching this custom destination should be forwarded + or not. + example: true + type: boolean + forward_tags: + default: true + description: Whether tags from the forwarded logs should be forwarded or + not. + example: true + type: boolean + forward_tags_restriction_list: + default: [] + description: 'List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) + to be restricted from being forwarded. + + An empty list represents no restriction is in place and either all or + no tags will be forwarded depending on `forward_tags_restriction_list_type` + parameter.' + example: + - datacenter + - host + items: + description: The [key part of a tag](https://docs.datadoghq.com/getting_started/tagging/#define-tags). + type: string + maxItems: 10 + minItems: 0 + type: array + forward_tags_restriction_list_type: + $ref: '#/components/schemas/CustomDestinationAttributeTagsRestrictionListType' + forwarder_destination: + $ref: '#/components/schemas/CustomDestinationForwardDestination' + name: + description: The custom destination name. + example: Nginx logs + type: string + query: + default: '' + description: The custom destination query and filter. Logs matching this + query are forwarded to the destination. + example: source:nginx + type: string + type: object + CustomDestinationUpdateRequestDefinition: + description: The definition of a custom destination. + properties: + attributes: + $ref: '#/components/schemas/CustomDestinationUpdateRequestAttributes' + id: + description: The custom destination ID. + example: be5d7a69-d0c8-4d4d-8ee8-bba292d98139 + type: string + type: + $ref: '#/components/schemas/CustomDestinationType' + required: + - type + - id + type: object + CustomDestinationsResponse: + description: The available custom destinations. + properties: + data: + description: A list of custom destinations. + items: + $ref: '#/components/schemas/CustomDestinationResponseDefinition' + type: array + type: object DORADeploymentRequest: description: Request to create a DORA deployment event. properties: @@ -27752,6 +28374,135 @@ paths: tags: - Logs Archives x-codegen-request-body-name: body + /api/v2/logs/config/custom-destinations: + get: + description: Get the list of configured custom destinations in your organization + with their definitions. + operationId: ListLogsCustomDestinations + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationsResponse' + description: OK + '403': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Forbidden + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all custom destinations + tags: + - Logs Custom Destinations + post: + description: Create a custom destination in your organization. + operationId: CreateLogsCustomDestination + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationCreateRequest' + description: The definition of the new custom destination. + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '409': + $ref: '#/components/responses/ConflictResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create a custom destination + tags: + - Logs Custom Destinations + x-codegen-request-body-name: body + /api/v2/logs/config/custom-destinations/{custom_destination_id}: + delete: + description: Delete a specific custom destination in your organization. + operationId: DeleteLogsCustomDestination + parameters: + - $ref: '#/components/parameters/CustomDestinationId' + responses: + '204': + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete a custom destination + tags: + - Logs Custom Destinations + get: + description: Get a specific custom destination in your organization. + operationId: GetLogsCustomDestination + parameters: + - $ref: '#/components/parameters/CustomDestinationId' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get a custom destination + tags: + - Logs Custom Destinations + patch: + description: Update the given fields of a specific custom destination in your + organization. + operationId: UpdateLogsCustomDestination + parameters: + - $ref: '#/components/parameters/CustomDestinationId' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationUpdateRequest' + description: New definition of the custom destination's fields. + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomDestinationResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '409': + $ref: '#/components/responses/ConflictResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Update a custom destination + tags: + - Logs Custom Destinations + x-codegen-request-body-name: body /api/v2/logs/config/metrics: get: description: Get the list of configured log-based metrics with their definitions. @@ -35114,6 +35865,16 @@ tags: description: Find out more at url: https://docs.datadoghq.com/logs/archives/ name: Logs Archives +- description: 'Custom Destinations forward all the logs ingested to an external destination. + + + See the [Custom Destinations Page](https://app.datadoghq.com/logs/pipelines/log-forwarding/custom-destinations) + + for a list of the custom destinations currently configured in web UI.' + externalDocs: + description: Find out more at + url: https://docs.datadoghq.com/logs/log_configuration/forwarding_custom_destinations/ + name: Logs Custom Destinations - description: Manage configuration of [log-based metrics](https://app.datadoghq.com/logs/pipelines/generate-metrics) for your organization. externalDocs: diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/frozen.json new file mode 100644 index 000000000000..41d9c1f659dc --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:07.582Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/recording.har new file mode 100644 index 000000000000..ad553b1d1eb6 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Basic-HTTP-custom-destination-returns-OK-response_4057684145/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Create a Basic HTTP custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "94741b8b1c25d7855860209a03ea4f81", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 432, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"datadog-custom-destination-password\",\"type\":\"basic\",\"username\":\"datadog-custom-destination-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 379, + "content": { + "mimeType": "application/json", + "size": 379, + "text": "{\"data\":{\"id\":\"9608c7d6-8ea4-4487-88da-ab7620dd000c\",\"attributes\":{\"name\":\"Nginx logs\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:07.591Z", + "time": 569 + }, + { + "_id": "f2c4c4f3f248e17269f460fe83f2c93e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/9608c7d6-8ea4-4487-88da-ab7620dd000c" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:08.176Z", + "time": 478 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/frozen.json new file mode 100644 index 000000000000..30d295bfa64a --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:08.664Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/recording.har new file mode 100644 index 000000000000..2de799506d92 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Custom-Header-HTTP-custom-destination-returns-OK-response_1171191443/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Create a Custom Header HTTP custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "75b1dda14d994088f84272ce81db0beb", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 410, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"header_name\":\"MY-AUTHENTICATION-HEADER\",\"header_value\":\"my-secret\",\"type\":\"custom_header\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 428, + "content": { + "mimeType": "application/json", + "size": 428, + "text": "{\"data\":{\"id\":\"b522ed5a-3fab-47f4-a828-d34bd5632656\",\"attributes\":{\"name\":\"Nginx logs\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"header_name\":\"MY-AUTHENTICATION-HEADER\",\"type\":\"custom_header\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:08.669Z", + "time": 455 + }, + { + "_id": "19c64dd6de81d53ba7bd36bbc26fd073", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/b522ed5a-3fab-47f4-a828-d34bd5632656" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:09.142Z", + "time": 352 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/frozen.json new file mode 100644 index 000000000000..a4cdc0610fe5 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:09.499Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/recording.har new file mode 100644 index 000000000000..90be80277745 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-Splunk-custom-destination-returns-OK-response_235203690/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Create a Splunk custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "d37acd7912cb89a0cf96d8e517d12102", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 349, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"access_token\":\"my-access-token\",\"endpoint\":\"https://example.com\",\"type\":\"splunk_hec\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 361, + "content": { + "mimeType": "application/json", + "size": 361, + "text": "{\"data\":{\"id\":\"dcdf0ca2-b06a-4b75-8b07-0ba1987bd2fe\",\"attributes\":{\"name\":\"Nginx logs\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"type\":\"splunk_hec\"},\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:09.502Z", + "time": 476 + }, + { + "_id": "0487fc9abc646417898a8dc6eed8d758", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/dcdf0ca2-b06a-4b75-8b07-0ba1987bd2fe" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:09.992Z", + "time": 488 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/frozen.json new file mode 100644 index 000000000000..b59a1bb862a2 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:10.485Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/recording.har new file mode 100644 index 000000000000..609fe4d06357 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-a-custom-destination-returns-Bad-Request-response_1666265719/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Create a custom destination returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "b5685e86f5af5f7eeaa81f97d2156d72", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 73, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 592, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"name\":\"Nginx logs\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 64, + "content": { + "mimeType": "application/json", + "size": 64, + "text": "{\"errors\":[\"The parameter 'forwarder_destination' is required\"]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 683, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-03-12T09:20:10.492Z", + "time": 316 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/frozen.json new file mode 100644 index 000000000000..f4458641ed59 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:10.813Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/recording.har new file mode 100644 index 000000000000..8ef8f0ce497c --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Create-an-Elasticsearch-custom-destination-returns-OK-response_1574341528/recording.har @@ -0,0 +1,109 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Create an Elasticsearch custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "234b8ca39548042de0b7490777cd241c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 434, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"index_name\":\"nginx-logs\",\"index_rotation\":\"yyyy-MM-dd\",\"type\":\"elasticsearch\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 430, + "content": { + "mimeType": "application/json", + "size": 430, + "text": "{\"data\":{\"id\":\"922dba96-00c4-49fb-969c-aabf48a3d5c3\",\"attributes\":{\"name\":\"Nginx logs\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"index_name\":\"nginx-logs\",\"index_rotation\":\"yyyy-MM-dd\",\"endpoint\":\"https://example.com\",\"auth\":{},\"type\":\"elasticsearch\"},\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:10.815Z", + "time": 473 + }, + { + "_id": "ed03a75ac7500c428bc7d3668eb077d5", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/922dba96-00c4-49fb-969c-aabf48a3d5c3" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:11.300Z", + "time": 455 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/frozen.json new file mode 100644 index 000000000000..538c92137a56 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:11.769Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/recording.har new file mode 100644 index 000000000000..2c46b5e1b9d4 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-Not-Found-response_306872259/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Delete a custom destination returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "aba69e912c76aacd61c584e95031aced", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 544, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/does-not-exist" + }, + "response": { + "bodySize": 24, + "content": { + "mimeType": "application/json", + "size": 24, + "text": "{\"errors\":[\"NotFound\"]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 660, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-12T09:20:11.773Z", + "time": 328 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/frozen.json new file mode 100644 index 000000000000..2bef2d1c4920 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:12.109Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/recording.har new file mode 100644 index 000000000000..36c80d0553cb --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Delete-a-custom-destination-returns-OK-response_2390264698/recording.har @@ -0,0 +1,152 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Delete a custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "74bb242d60527906c21939b67e454f78", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 424, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Delete_a_custom_destination_returns_OK_response-1710235212\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 419, + "content": { + "mimeType": "application/json", + "size": 419, + "text": "{\"data\":{\"id\":\"596bb741-53be-49c6-939d-b5d4d9307689\",\"attributes\":{\"name\":\"Test-Delete_a_custom_destination_returns_OK_response-1710235212\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:12.113Z", + "time": 471 + }, + { + "_id": "52965c3e5194271ef6cf4087a4337f18", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/596bb741-53be-49c6-939d-b5d4d9307689" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:12.593Z", + "time": 459 + }, + { + "_id": "52965c3e5194271ef6cf4087a4337f18", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/596bb741-53be-49c6-939d-b5d4d9307689" + }, + "response": { + "bodySize": 24, + "content": { + "mimeType": "application/json", + "size": 24, + "text": "{\"errors\":[\"NotFound\"]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 660, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-12T09:20:13.056Z", + "time": 332 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/frozen.json new file mode 100644 index 000000000000..741c77d91623 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:13.398Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/recording.har new file mode 100644 index 000000000000..0d7786800946 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-Not-Found-response_316480254/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Get a custom destination returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "5e557cd16c7b70a25898640ff5ff8fd2", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 551, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/does-not-exist" + }, + "response": { + "bodySize": 24, + "content": { + "mimeType": "application/json", + "size": 24, + "text": "{\"errors\":[\"NotFound\"]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 659, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-12T09:20:13.401Z", + "time": 413 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/frozen.json new file mode 100644 index 000000000000..8fa37d3f34e4 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:13.821Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/recording.har new file mode 100644 index 000000000000..c50f7812b1e3 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-a-custom-destination-returns-OK-response_1746921857/recording.har @@ -0,0 +1,152 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Get a custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "612be01b4ba91f0b3c22ace3ab3a697c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 421, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Get_a_custom_destination_returns_OK_response-1710235213\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 416, + "content": { + "mimeType": "application/json", + "size": 416, + "text": "{\"data\":{\"id\":\"13e3f7e6-307e-4a91-a269-e016da18efc5\",\"attributes\":{\"name\":\"Test-Get_a_custom_destination_returns_OK_response-1710235213\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:13.823Z", + "time": 458 + }, + { + "_id": "7c9fb0c4b92e3345674af5141764afaf", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 573, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/13e3f7e6-307e-4a91-a269-e016da18efc5" + }, + "response": { + "bodySize": 416, + "content": { + "mimeType": "application/json", + "size": 416, + "text": "{\"data\":{\"id\":\"13e3f7e6-307e-4a91-a269-e016da18efc5\",\"attributes\":{\"name\":\"Test-Get_a_custom_destination_returns_OK_response-1710235213\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 683, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:14.297Z", + "time": 331 + }, + { + "_id": "6d3c038cf320ce231fd01c6266e39521", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/13e3f7e6-307e-4a91-a269-e016da18efc5" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:14.636Z", + "time": 442 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/frozen.json new file mode 100644 index 000000000000..631065084bb0 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:15.085Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/recording.har new file mode 100644 index 000000000000..be9d3138cefc --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Get-all-custom-destinations-returns-OK-response_193792706/recording.har @@ -0,0 +1,152 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Get all custom destinations returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "743f942a38aa5c8742da29aa55e3404e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 424, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Get_all_custom_destinations_returns_OK_response-1710235215\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 419, + "content": { + "mimeType": "application/json", + "size": 419, + "text": "{\"data\":{\"id\":\"85883e0f-b010-4b8b-816d-a629600a4d0a\",\"attributes\":{\"name\":\"Test-Get_all_custom_destinations_returns_OK_response-1710235215\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:15.091Z", + "time": 464 + }, + { + "_id": "c33874900a8ef3c0ee91b51e33de9da7", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 538, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 421, + "content": { + "mimeType": "application/json", + "size": 421, + "text": "{\"data\":[{\"id\":\"85883e0f-b010-4b8b-816d-a629600a4d0a\",\"attributes\":{\"name\":\"Test-Get_all_custom_destinations_returns_OK_response-1710235215\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 683, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:15.562Z", + "time": 309 + }, + { + "_id": "33fa96ed5b422367247146a5e5a5b217", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/85883e0f-b010-4b8b-816d-a629600a4d0a" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:15.882Z", + "time": 444 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/frozen.json new file mode 100644 index 000000000000..56042c2098a6 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:16.332Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/recording.har new file mode 100644 index 000000000000..96db63ad72dd --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Bad-Request-response_1970168194/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Update a custom destination returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "b488f47c8633fedfe4378cd9743078cf", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 433, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Update_a_custom_destination_returns_Bad_Request_response-1710235216\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 428, + "content": { + "mimeType": "application/json", + "size": 428, + "text": "{\"data\":{\"id\":\"0f1b60fc-4671-4bd5-834b-bc86c8a5065b\",\"attributes\":{\"name\":\"Test-Update_a_custom_destination_returns_Bad_Request_response-1710235216\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:16.338Z", + "time": 463 + }, + { + "_id": "2a2cbe27ffd7ef796ff2e4021121b096", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 166, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 631, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"forward_tags_restriction_list_type\":\"this_list_type_does_not_exist\"},\"id\":\"0f1b60fc-4671-4bd5-834b-bc86c8a5065b\",\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/0f1b60fc-4671-4bd5-834b-bc86c8a5065b" + }, + "response": { + "bodySize": 30, + "content": { + "mimeType": "application/json", + "size": 30, + "text": "{\"errors\":[\"Internal error\"]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 683, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2024-03-12T09:20:16.807Z", + "time": 335 + }, + { + "_id": "332dbec88042036fa575db1a5c206308", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/0f1b60fc-4671-4bd5-834b-bc86c8a5065b" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:17.149Z", + "time": 473 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/frozen.json new file mode 100644 index 000000000000..39ed1a0f7f72 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:17.628Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/recording.har new file mode 100644 index 000000000000..468f4f784c8c --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-Not-Found-response_254505169/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Update a custom destination returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "f37554c7ccf52d24e2fdecfc18983a45", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 479, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 634, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"datacenter\",\"host\"],\"forward_tags_restriction_list_type\":\"ALLOW_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"datadog-custom-destination-password\",\"type\":\"basic\",\"username\":\"datadog-custom-destination-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Nginx logs\",\"query\":\"source:nginx\"},\"id\":\"id-from-non-existing-custom-destination\",\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/id-from-non-existing-custom-destination" + }, + "response": { + "bodySize": 24, + "content": { + "mimeType": "application/json", + "size": 24, + "text": "{\"errors\":[\"NotFound\"]}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 660, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2024-03-12T09:20:17.633Z", + "time": 437 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/frozen.json b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/frozen.json new file mode 100644 index 000000000000..a4e13eb962e4 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/frozen.json @@ -0,0 +1 @@ +"2024-03-12T09:20:18.077Z" diff --git a/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/recording.har b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/recording.har new file mode 100644 index 000000000000..f2e7f4b50079 --- /dev/null +++ b/cassettes/v2/Logs-Custom-Destinations_2771509030/Update-a-custom-destination-returns-OK-response_2999162496/recording.har @@ -0,0 +1,162 @@ +{ + "log": { + "_recordingName": "Logs Custom Destinations/Update a custom destination returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "da5151481b1c039579226fed534a43eb", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 424, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 593, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"enabled\":false,\"forward_tags\":false,\"forward_tags_restriction_list\":[\"host\"],\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forwarder_destination\":{\"auth\":{\"password\":\"my-password\",\"type\":\"basic\",\"username\":\"my-username\"},\"endpoint\":\"https://example.com\",\"type\":\"http\"},\"name\":\"Test-Update_a_custom_destination_returns_OK_response-1710235218\",\"query\":\"source:nginx\"},\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations" + }, + "response": { + "bodySize": 419, + "content": { + "mimeType": "application/json", + "size": 419, + "text": "{\"data\":{\"id\":\"22ce0782-a48f-4340-98f5-fd3671b66e19\",\"attributes\":{\"name\":\"Test-Update_a_custom_destination_returns_OK_response-1710235218\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:18.080Z", + "time": 359 + }, + { + "_id": "c847e9b2927556b4a495d9314ca11a93", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 127, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 631, + "httpVersion": "HTTP/1.1", + "method": "PATCH", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"name\":\"Nginx logs (Updated)\"},\"id\":\"22ce0782-a48f-4340-98f5-fd3671b66e19\",\"type\":\"custom_destination\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/22ce0782-a48f-4340-98f5-fd3671b66e19" + }, + "response": { + "bodySize": 376, + "content": { + "mimeType": "application/json", + "size": 376, + "text": "{\"data\":{\"id\":\"22ce0782-a48f-4340-98f5-fd3671b66e19\",\"attributes\":{\"name\":\"Nginx logs (Updated)\",\"query\":\"source:nginx\",\"enabled\":false,\"forwarder_destination\":{\"endpoint\":\"https://example.com\",\"auth\":{\"type\":\"basic\"},\"type\":\"http\"},\"forward_tags_restriction_list_type\":\"BLOCK_LIST\",\"forward_tags_restriction_list\":[\"host\"],\"forward_tags\":false},\"type\":\"custom_destination\"}}\n" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 684, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2024-03-12T09:20:18.447Z", + "time": 449 + }, + { + "_id": "8e8d48ef6c47a9a185d5b0c0f6420183", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 566, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/logs/config/custom-destinations/22ce0782-a48f-4340-98f5-fd3671b66e19" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/html; charset=utf-8", + "size": 0 + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "text/html; charset=utf-8" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2024-03-12T09:20:18.906Z", + "time": 434 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.ts b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.ts new file mode 100644 index 000000000000..f5f446a8ade6 --- /dev/null +++ b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination.ts @@ -0,0 +1,42 @@ +/** + * Create a custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +const params: v2.LogsCustomDestinationsApiCreateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + enabled: true, + forwardTags: true, + forwardTagsRestrictionList: ["datacenter", "host"], + forwardTagsRestrictionListType: "ALLOW_LIST", + forwarderDestination: { + auth: { + password: "datadog-custom-destination-password", + type: "basic", + username: "datadog-custom-destination-username", + }, + endpoint: "https://example.com", + type: "http", + }, + name: "Nginx logs", + query: "source:nginx", + }, + type: "custom_destination", + }, + }, +}; + +apiInstance + .createLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.ts b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.ts new file mode 100644 index 000000000000..75b6bd09b97d --- /dev/null +++ b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.ts @@ -0,0 +1,42 @@ +/** + * Create a Custom Header HTTP custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +const params: v2.LogsCustomDestinationsApiCreateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + enabled: false, + forwardTags: false, + forwardTagsRestrictionList: ["datacenter", "host"], + forwardTagsRestrictionListType: "ALLOW_LIST", + forwarderDestination: { + auth: { + headerValue: "my-secret", + type: "custom_header", + headerName: "MY-AUTHENTICATION-HEADER", + }, + endpoint: "https://example.com", + type: "http", + }, + name: "Nginx logs", + query: "source:nginx", + }, + type: "custom_destination", + }, + }, +}; + +apiInstance + .createLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.ts b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.ts new file mode 100644 index 000000000000..c40358f5e303 --- /dev/null +++ b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.ts @@ -0,0 +1,38 @@ +/** + * Create a Splunk custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +const params: v2.LogsCustomDestinationsApiCreateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + enabled: false, + forwardTags: false, + forwardTagsRestrictionList: ["datacenter", "host"], + forwardTagsRestrictionListType: "ALLOW_LIST", + forwarderDestination: { + accessToken: "my-access-token", + endpoint: "https://example.com", + type: "splunk_hec", + }, + name: "Nginx logs", + query: "source:nginx", + }, + type: "custom_destination", + }, + }, +}; + +apiInstance + .createLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.ts b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.ts new file mode 100644 index 000000000000..5137af5df1d5 --- /dev/null +++ b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.ts @@ -0,0 +1,43 @@ +/** + * Create an Elasticsearch custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +const params: v2.LogsCustomDestinationsApiCreateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + enabled: false, + forwardTags: false, + forwardTagsRestrictionList: ["datacenter", "host"], + forwardTagsRestrictionListType: "ALLOW_LIST", + forwarderDestination: { + auth: { + username: "my-username", + password: "my-password", + }, + indexName: "nginx-logs", + indexRotation: "yyyy-MM-dd", + endpoint: "https://example.com", + type: "elasticsearch", + }, + name: "Nginx logs", + query: "source:nginx", + }, + type: "custom_destination", + }, + }, +}; + +apiInstance + .createLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.ts b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.ts new file mode 100644 index 000000000000..e0aa8dcd2344 --- /dev/null +++ b/examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.ts @@ -0,0 +1,42 @@ +/** + * Create a Basic HTTP custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +const params: v2.LogsCustomDestinationsApiCreateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + enabled: false, + forwardTags: false, + forwardTagsRestrictionList: ["datacenter", "host"], + forwardTagsRestrictionListType: "ALLOW_LIST", + forwarderDestination: { + auth: { + password: "datadog-custom-destination-password", + type: "basic", + username: "datadog-custom-destination-username", + }, + endpoint: "https://example.com", + type: "http", + }, + name: "Nginx logs", + query: "source:nginx", + }, + type: "custom_destination", + }, + }, +}; + +apiInstance + .createLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.ts b/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.ts new file mode 100644 index 000000000000..f88a54ed21ef --- /dev/null +++ b/examples/v2/logs-custom-destinations/DeleteLogsCustomDestination.ts @@ -0,0 +1,25 @@ +/** + * Delete a custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +// there is a valid "custom_destination" in the system +const CUSTOM_DESTINATION_DATA_ID = process.env + .CUSTOM_DESTINATION_DATA_ID as string; + +const params: v2.LogsCustomDestinationsApiDeleteLogsCustomDestinationRequest = { + customDestinationId: CUSTOM_DESTINATION_DATA_ID, +}; + +apiInstance + .deleteLogsCustomDestination(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/GetLogsCustomDestination.ts b/examples/v2/logs-custom-destinations/GetLogsCustomDestination.ts new file mode 100644 index 000000000000..e2ed6c354f60 --- /dev/null +++ b/examples/v2/logs-custom-destinations/GetLogsCustomDestination.ts @@ -0,0 +1,25 @@ +/** + * Get a custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +// there is a valid "custom_destination" in the system +const CUSTOM_DESTINATION_DATA_ID = process.env + .CUSTOM_DESTINATION_DATA_ID as string; + +const params: v2.LogsCustomDestinationsApiGetLogsCustomDestinationRequest = { + customDestinationId: CUSTOM_DESTINATION_DATA_ID, +}; + +apiInstance + .getLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.ts b/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.ts new file mode 100644 index 000000000000..45dd92bd677e --- /dev/null +++ b/examples/v2/logs-custom-destinations/ListLogsCustomDestinations.ts @@ -0,0 +1,17 @@ +/** + * Get all custom destinations returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +apiInstance + .listLogsCustomDestinations() + .then((data: v2.CustomDestinationsResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.ts b/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.ts new file mode 100644 index 000000000000..e95448835d6b --- /dev/null +++ b/examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.ts @@ -0,0 +1,34 @@ +/** + * Update a custom destination returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.LogsCustomDestinationsApi(configuration); + +// there is a valid "custom_destination" in the system +const CUSTOM_DESTINATION_DATA_ID = process.env + .CUSTOM_DESTINATION_DATA_ID as string; + +const params: v2.LogsCustomDestinationsApiUpdateLogsCustomDestinationRequest = { + body: { + data: { + attributes: { + name: "Nginx logs (Updated)", + }, + type: "custom_destination", + id: CUSTOM_DESTINATION_DATA_ID, + }, + }, + customDestinationId: CUSTOM_DESTINATION_DATA_ID, +}; + +apiInstance + .updateLogsCustomDestination(params) + .then((data: v2.CustomDestinationResponse) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index df9916fb16fd..96ed493f35b9 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -4038,6 +4038,41 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "void", }, + "v2.ListLogsCustomDestinations": { + "operationResponseType": "CustomDestinationsResponse", + }, + "v2.CreateLogsCustomDestination": { + "body": { + "type": "CustomDestinationCreateRequest", + "format": "", + }, + "operationResponseType": "CustomDestinationResponse", + }, + "v2.DeleteLogsCustomDestination": { + "customDestinationId": { + "type": "string", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.GetLogsCustomDestination": { + "customDestinationId": { + "type": "string", + "format": "", + }, + "operationResponseType": "CustomDestinationResponse", + }, + "v2.UpdateLogsCustomDestination": { + "customDestinationId": { + "type": "string", + "format": "", + }, + "body": { + "type": "CustomDestinationUpdateRequest", + "format": "", + }, + "operationResponseType": "CustomDestinationResponse", + }, "v2.ListLogsMetrics": { "operationResponseType": "LogsMetricsResponse", }, diff --git a/features/v2/given.json b/features/v2/given.json index 73de3c05e39e..04b3989db8b9 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -284,6 +284,18 @@ "tag": "IP Allowlist", "operationId": "UpdateIPAllowlist" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{ unique }}\",\n \"query\": \"source:nginx\",\n \"enabled\": false,\n \"forwarder_destination\": {\n \"type\": \"http\",\n \"endpoint\": \"https://example.com\",\n \"auth\": {\n \"type\": \"basic\",\n \"username\": \"my-username\",\n \"password\": \"my-password\"\n }\n },\n \"forward_tags_restriction_list_type\": \"BLOCK_LIST\",\n \"forward_tags_restriction_list\": [\"host\"],\n \"forward_tags\": false\n },\n \"type\": \"custom_destination\"\n }\n}" + } + ], + "step": "there is a valid \"custom_destination\" in the system", + "key": "custom_destination", + "tag": "Logs Custom Destinations", + "operationId": "CreateLogsCustomDestination" + }, { "parameters": [ { diff --git a/features/v2/logs_custom_destinations.feature b/features/v2/logs_custom_destinations.feature new file mode 100644 index 000000000000..812898736cf1 --- /dev/null +++ b/features/v2/logs_custom_destinations.feature @@ -0,0 +1,248 @@ +@endpoint(logs-custom-destinations) @endpoint(logs-custom-destinations-v2) +Feature: Logs Custom Destinations + Custom Destinations forward all the logs ingested to an external + destination. See the [Custom Destinations + Page](https://app.datadoghq.com/logs/pipelines/log-forwarding/custom- + destinations) for a list of the custom destinations currently configured + in web UI. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "LogsCustomDestinations" API + + @team:DataDog/logs-backend + Scenario: Create a Basic HTTP custom destination returns "OK" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"password": "datadog-custom-destination-password", "type": "basic", "username": "datadog-custom-destination-username"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data" has field "id" + And the response "data.attributes.name" is equal to "Nginx logs" + And the response "data.attributes.query" is equal to "source:nginx" + And the response "data.attributes.forwarder_destination.type" is equal to "http" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "https://example.com" + And the response "data.attributes.forwarder_destination.auth.type" is equal to "basic" + And the response "data.attributes.forwarder_destination.auth" does not have field "username" + And the response "data.attributes.forwarder_destination.auth" does not have field "password" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 2 + And the response "data.attributes.forward_tags_restriction_list" array contains value "datacenter" + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "ALLOW_LIST" + + @team:DataDog/logs-backend + Scenario: Create a Custom Header HTTP custom destination returns "OK" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"header_value": "my-secret", "type": "custom_header", "header_name": "MY-AUTHENTICATION-HEADER"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data" has field "id" + And the response "data.attributes.name" is equal to "Nginx logs" + And the response "data.attributes.query" is equal to "source:nginx" + And the response "data.attributes.forwarder_destination.type" is equal to "http" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "https://example.com" + And the response "data.attributes.forwarder_destination.auth.type" is equal to "custom_header" + And the response "data.attributes.forwarder_destination.auth.header_name" is equal to "MY-AUTHENTICATION-HEADER" + And the response "data.attributes.forwarder_destination.auth" does not have field "header_value" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 2 + And the response "data.attributes.forward_tags_restriction_list" array contains value "datacenter" + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "ALLOW_LIST" + + @team:DataDog/logs-backend + Scenario: Create a Splunk custom destination returns "OK" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"access_token": "my-access-token", "endpoint": "https://example.com", "type": "splunk_hec"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data" has field "id" + And the response "data.attributes.name" is equal to "Nginx logs" + And the response "data.attributes.query" is equal to "source:nginx" + And the response "data.attributes.forwarder_destination.type" is equal to "splunk_hec" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "https://example.com" + And the response "data.attributes.forwarder_destination" does not have field "access_token" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 2 + And the response "data.attributes.forward_tags_restriction_list" array contains value "datacenter" + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "ALLOW_LIST" + + @skip-java @skip-python @skip-typescript @team:DataDog/logs-backend + Scenario: Create a custom destination returns "Bad Request" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"name": "Nginx logs"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/logs-backend + Scenario: Create a custom destination returns "Conflict" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": true, "forward_tags": true, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"password": "datadog-custom-destination-password", "type": "basic", "username": "datadog-custom-destination-username"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 409 Conflict + + @generated @skip @team:DataDog/logs-backend + Scenario: Create a custom destination returns "OK" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": true, "forward_tags": true, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"password": "datadog-custom-destination-password", "type": "basic", "username": "datadog-custom-destination-username"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 200 OK + + @team:DataDog/logs-backend + Scenario: Create an Elasticsearch custom destination returns "OK" response + Given new "CreateLogsCustomDestination" request + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"username": "my-username", "password": "my-password"}, "index_name": "nginx-logs", "index_rotation": "yyyy-MM-dd", "endpoint": "https://example.com", "type": "elasticsearch"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data" has field "id" + And the response "data.attributes.name" is equal to "Nginx logs" + And the response "data.attributes.query" is equal to "source:nginx" + And the response "data.attributes.forwarder_destination.type" is equal to "elasticsearch" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "https://example.com" + And the response "data.attributes.forwarder_destination.index_name" is equal to "nginx-logs" + And the response "data.attributes.forwarder_destination.index_rotation" is equal to "yyyy-MM-dd" + And the response "data.attributes.forwarder_destination.auth" does not have field "username" + And the response "data.attributes.forwarder_destination.auth" does not have field "password" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 2 + And the response "data.attributes.forward_tags_restriction_list" array contains value "datacenter" + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "ALLOW_LIST" + + @generated @skip @team:DataDog/logs-backend + Scenario: Delete a custom destination returns "Bad Request" response + Given new "DeleteLogsCustomDestination" request + And request contains "custom_destination_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/logs-backend + Scenario: Delete a custom destination returns "Not Found" response + Given new "DeleteLogsCustomDestination" request + And request contains "custom_destination_id" parameter with value "does-not-exist" + When the request is sent + Then the response status is 404 Not found + + @team:DataDog/logs-backend + Scenario: Delete a custom destination returns "OK" response + Given new "DeleteLogsCustomDestination" request + And there is a valid "custom_destination" in the system + And request contains "custom_destination_id" parameter from "custom_destination.data.id" + When the request is sent + Then the response status is 204 OK + + @generated @skip @team:DataDog/logs-backend + Scenario: Get a custom destination returns "Bad Request" response + Given new "GetLogsCustomDestination" request + And request contains "custom_destination_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/logs-backend + Scenario: Get a custom destination returns "Not Found" response + Given new "GetLogsCustomDestination" request + And request contains "custom_destination_id" parameter with value "does-not-exist" + When the request is sent + Then the response status is 404 Not found + + @team:DataDog/logs-backend + Scenario: Get a custom destination returns "OK" response + Given new "GetLogsCustomDestination" request + And there is a valid "custom_destination" in the system + And request contains "custom_destination_id" parameter from "custom_destination.data.id" + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data.id" is equal to "{{ custom_destination.data.id }}" + And the response "data.attributes.name" is equal to "{{ custom_destination.data.attributes.name }}" + And the response "data.attributes.query" is equal to "{{ custom_destination.data.attributes.query }}" + And the response "data.attributes.forwarder_destination.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.type }}" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "{{ custom_destination.data.attributes.forwarder_destination.endpoint }}" + And the response "data.attributes.forwarder_destination.auth.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.auth.type }}" + And the response "data.attributes.forwarder_destination.auth" does not have field "username" + And the response "data.attributes.forwarder_destination.auth" does not have field "password" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 1 + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "{{ custom_destination.data.attributes.forward_tags_restriction_list_type }}" + + @team:DataDog/logs-backend + Scenario: Get all custom destinations returns "OK" response + Given new "ListLogsCustomDestinations" request + And there is a valid "custom_destination" in the system + When the request is sent + Then the response status is 200 OK + And the response "data" has length 1 + And the response "data[0].type" is equal to "custom_destination" + And the response "data[0].id" is equal to "{{ custom_destination.data.id }}" + And the response "data[0].attributes.name" is equal to "{{ custom_destination.data.attributes.name }}" + And the response "data[0].attributes.query" is equal to "{{ custom_destination.data.attributes.query }}" + And the response "data[0].attributes.forwarder_destination.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.type }}" + And the response "data[0].attributes.forwarder_destination.endpoint" is equal to "{{ custom_destination.data.attributes.forwarder_destination.endpoint }}" + And the response "data[0].attributes.forwarder_destination.auth.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.auth.type }}" + And the response "data[0].attributes.forwarder_destination.auth" does not have field "username" + And the response "data[0].attributes.forwarder_destination.auth" does not have field "password" + And the response "data[0].attributes.enabled" is false + And the response "data[0].attributes.forward_tags" is false + And the response "data[0].attributes.forward_tags_restriction_list" has length 1 + And the response "data[0].attributes.forward_tags_restriction_list" array contains value "host" + And the response "data[0].attributes.forward_tags_restriction_list_type" is equal to "{{ custom_destination.data.attributes.forward_tags_restriction_list_type }}" + + @team:DataDog/logs-backend + Scenario: Update a custom destination returns "Bad Request" response + Given new "UpdateLogsCustomDestination" request + And there is a valid "custom_destination" in the system + And request contains "custom_destination_id" parameter from "custom_destination.data.id" + And body with value {"data": {"attributes": {"forward_tags_restriction_list_type": "this_list_type_does_not_exist"}, "type": "custom_destination", "id": "{{ custom_destination.data.id }}" }} + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/logs-backend + Scenario: Update a custom destination returns "Conflict" response + Given new "UpdateLogsCustomDestination" request + And request contains "custom_destination_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"password": "datadog-custom-destination-password", "type": "basic", "username": "datadog-custom-destination-username"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination"}} + When the request is sent + Then the response status is 409 Conflict + + @team:DataDog/logs-backend + Scenario: Update a custom destination returns "Not Found" response + Given new "UpdateLogsCustomDestination" request + And request contains "custom_destination_id" parameter with value "id-from-non-existing-custom-destination" + And body with value {"data": {"attributes": {"enabled": false, "forward_tags": false, "forward_tags_restriction_list": ["datacenter", "host"], "forward_tags_restriction_list_type": "ALLOW_LIST", "forwarder_destination": {"auth": {"type": "basic", "username": "datadog-custom-destination-username", "password": "datadog-custom-destination-password"}, "endpoint": "https://example.com", "type": "http"}, "name": "Nginx logs", "query": "source:nginx"}, "type": "custom_destination", "id": "id-from-non-existing-custom-destination" }} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/logs-backend + Scenario: Update a custom destination returns "OK" response + Given new "UpdateLogsCustomDestination" request + And there is a valid "custom_destination" in the system + And request contains "custom_destination_id" parameter from "custom_destination.data.id" + And body with value {"data": {"attributes": {"name": "Nginx logs (Updated)"}, "type": "custom_destination", "id": "{{ custom_destination.data.id }}" }} + When the request is sent + Then the response status is 200 OK + And the response "data.type" is equal to "custom_destination" + And the response "data.id" is equal to "{{ custom_destination.data.id }}" + And the response "data.attributes.name" is equal to "Nginx logs (Updated)" + And the response "data.attributes.query" is equal to "{{ custom_destination.data.attributes.query }}" + And the response "data.attributes.forwarder_destination.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.type }}" + And the response "data.attributes.forwarder_destination.endpoint" is equal to "{{ custom_destination.data.attributes.forwarder_destination.endpoint }}" + And the response "data.attributes.forwarder_destination.auth.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.auth.type }}" + And the response "data.attributes.forwarder_destination.auth" does not have field "username" + And the response "data.attributes.forwarder_destination.auth" does not have field "password" + And the response "data.attributes.enabled" is false + And the response "data.attributes.forward_tags" is false + And the response "data.attributes.forward_tags_restriction_list" has length 1 + And the response "data.attributes.forward_tags_restriction_list" array contains value "host" + And the response "data.attributes.forward_tags_restriction_list_type" is equal to "{{ custom_destination.data.attributes.forward_tags_restriction_list_type }}" diff --git a/features/v2/undo.json b/features/v2/undo.json index 90fee66806c2..f1ce400479cd 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -1076,6 +1076,43 @@ "type": "unsafe" } }, + "ListLogsCustomDestinations": { + "tag": "Logs Custom Destinations", + "undo": { + "type": "safe" + } + }, + "CreateLogsCustomDestination": { + "tag": "Logs Custom Destinations", + "undo": { + "operationId": "DeleteLogsCustomDestination", + "parameters": [ + { + "name": "custom_destination_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "DeleteLogsCustomDestination": { + "tag": "Logs Custom Destinations", + "undo": { + "type": "idempotent" + } + }, + "GetLogsCustomDestination": { + "tag": "Logs Custom Destinations", + "undo": { + "type": "safe" + } + }, + "UpdateLogsCustomDestination": { + "tag": "Logs Custom Destinations", + "undo": { + "type": "idempotent" + } + }, "ListLogsMetrics": { "tag": "Logs Metrics", "undo": { diff --git a/packages/datadog-api-client-v2/apis/LogsCustomDestinationsApi.ts b/packages/datadog-api-client-v2/apis/LogsCustomDestinationsApi.ts new file mode 100644 index 000000000000..c6c6b2358a60 --- /dev/null +++ b/packages/datadog-api-client-v2/apis/LogsCustomDestinationsApi.ts @@ -0,0 +1,696 @@ +import { + BaseAPIRequestFactory, + RequiredError, +} from "../../datadog-api-client-common/baseapi"; +import { + Configuration, + applySecurityAuthentication, +} from "../../datadog-api-client-common/configuration"; +import { + RequestContext, + HttpMethod, + ResponseContext, +} from "../../datadog-api-client-common/http/http"; + +import { logger } from "../../../logger"; +import { ObjectSerializer } from "../models/ObjectSerializer"; +import { ApiException } from "../../datadog-api-client-common/exception"; + +import { APIErrorResponse } from "../models/APIErrorResponse"; +import { CustomDestinationCreateRequest } from "../models/CustomDestinationCreateRequest"; +import { CustomDestinationResponse } from "../models/CustomDestinationResponse"; +import { CustomDestinationsResponse } from "../models/CustomDestinationsResponse"; +import { CustomDestinationUpdateRequest } from "../models/CustomDestinationUpdateRequest"; + +export class LogsCustomDestinationsApiRequestFactory extends BaseAPIRequestFactory { + public async createLogsCustomDestination( + body: CustomDestinationCreateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createLogsCustomDestination"); + } + + // Path Params + const localVarPath = "/api/v2/logs/config/custom-destinations"; + + // Make Request Context + const requestContext = _config + .getServer("v2.LogsCustomDestinationsApi.createLogsCustomDestination") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CustomDestinationCreateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteLogsCustomDestination( + customDestinationId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'customDestinationId' is not null or undefined + if (customDestinationId === null || customDestinationId === undefined) { + throw new RequiredError( + "customDestinationId", + "deleteLogsCustomDestination" + ); + } + + // Path Params + const localVarPath = + "/api/v2/logs/config/custom-destinations/{custom_destination_id}".replace( + "{custom_destination_id}", + encodeURIComponent(String(customDestinationId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.LogsCustomDestinationsApi.deleteLogsCustomDestination") + .makeRequestContext(localVarPath, HttpMethod.DELETE); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getLogsCustomDestination( + customDestinationId: string, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'customDestinationId' is not null or undefined + if (customDestinationId === null || customDestinationId === undefined) { + throw new RequiredError( + "customDestinationId", + "getLogsCustomDestination" + ); + } + + // Path Params + const localVarPath = + "/api/v2/logs/config/custom-destinations/{custom_destination_id}".replace( + "{custom_destination_id}", + encodeURIComponent(String(customDestinationId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.LogsCustomDestinationsApi.getLogsCustomDestination") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async listLogsCustomDestinations( + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/logs/config/custom-destinations"; + + // Make Request Context + const requestContext = _config + .getServer("v2.LogsCustomDestinationsApi.listLogsCustomDestinations") + .makeRequestContext(localVarPath, HttpMethod.GET); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async updateLogsCustomDestination( + customDestinationId: string, + body: CustomDestinationUpdateRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'customDestinationId' is not null or undefined + if (customDestinationId === null || customDestinationId === undefined) { + throw new RequiredError( + "customDestinationId", + "updateLogsCustomDestination" + ); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateLogsCustomDestination"); + } + + // Path Params + const localVarPath = + "/api/v2/logs/config/custom-destinations/{custom_destination_id}".replace( + "{custom_destination_id}", + encodeURIComponent(String(customDestinationId)) + ); + + // Make Request Context + const requestContext = _config + .getServer("v2.LogsCustomDestinationsApi.updateLogsCustomDestination") + .makeRequestContext(localVarPath, HttpMethod.PATCH); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CustomDestinationUpdateRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class LogsCustomDestinationsApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createLogsCustomDestination + * @throws ApiException if the response code was not in [200, 299] + */ + public async createLogsCustomDestination( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse" + ) as CustomDestinationResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse", + "" + ) as CustomDestinationResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteLogsCustomDestination + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteLogsCustomDestination( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getLogsCustomDestination + * @throws ApiException if the response code was not in [200, 299] + */ + public async getLogsCustomDestination( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse" + ) as CustomDestinationResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse", + "" + ) as CustomDestinationResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to listLogsCustomDestinations + * @throws ApiException if the response code was not in [200, 299] + */ + public async listLogsCustomDestinations( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CustomDestinationsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationsResponse" + ) as CustomDestinationsResponse; + return body; + } + if (response.httpStatusCode === 403 || response.httpStatusCode === 429) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomDestinationsResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationsResponse", + "" + ) as CustomDestinationsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateLogsCustomDestination + * @throws ApiException if the response code was not in [200, 299] + */ + public async updateLogsCustomDestination( + response: ResponseContext + ): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse" + ) as CustomDestinationResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 409 || + response.httpStatusCode === 429 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomDestinationResponse = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "CustomDestinationResponse", + "" + ) as CustomDestinationResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } +} + +export interface LogsCustomDestinationsApiCreateLogsCustomDestinationRequest { + /** + * The definition of the new custom destination. + * @type CustomDestinationCreateRequest + */ + body: CustomDestinationCreateRequest; +} + +export interface LogsCustomDestinationsApiDeleteLogsCustomDestinationRequest { + /** + * The ID of the custom destination. + * @type string + */ + customDestinationId: string; +} + +export interface LogsCustomDestinationsApiGetLogsCustomDestinationRequest { + /** + * The ID of the custom destination. + * @type string + */ + customDestinationId: string; +} + +export interface LogsCustomDestinationsApiUpdateLogsCustomDestinationRequest { + /** + * The ID of the custom destination. + * @type string + */ + customDestinationId: string; + /** + * New definition of the custom destination's fields. + * @type CustomDestinationUpdateRequest + */ + body: CustomDestinationUpdateRequest; +} + +export class LogsCustomDestinationsApi { + private requestFactory: LogsCustomDestinationsApiRequestFactory; + private responseProcessor: LogsCustomDestinationsApiResponseProcessor; + private configuration: Configuration; + + public constructor( + configuration: Configuration, + requestFactory?: LogsCustomDestinationsApiRequestFactory, + responseProcessor?: LogsCustomDestinationsApiResponseProcessor + ) { + this.configuration = configuration; + this.requestFactory = + requestFactory || + new LogsCustomDestinationsApiRequestFactory(configuration); + this.responseProcessor = + responseProcessor || new LogsCustomDestinationsApiResponseProcessor(); + } + + /** + * Create a custom destination in your organization. + * @param param The request object + */ + public createLogsCustomDestination( + param: LogsCustomDestinationsApiCreateLogsCustomDestinationRequest, + options?: Configuration + ): Promise { + const requestContextPromise = + this.requestFactory.createLogsCustomDestination(param.body, options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createLogsCustomDestination( + responseContext + ); + }); + }); + } + + /** + * Delete a specific custom destination in your organization. + * @param param The request object + */ + public deleteLogsCustomDestination( + param: LogsCustomDestinationsApiDeleteLogsCustomDestinationRequest, + options?: Configuration + ): Promise { + const requestContextPromise = + this.requestFactory.deleteLogsCustomDestination( + param.customDestinationId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteLogsCustomDestination( + responseContext + ); + }); + }); + } + + /** + * Get a specific custom destination in your organization. + * @param param The request object + */ + public getLogsCustomDestination( + param: LogsCustomDestinationsApiGetLogsCustomDestinationRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.getLogsCustomDestination( + param.customDestinationId, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getLogsCustomDestination( + responseContext + ); + }); + }); + } + + /** + * Get the list of configured custom destinations in your organization with their definitions. + * @param param The request object + */ + public listLogsCustomDestinations( + options?: Configuration + ): Promise { + const requestContextPromise = + this.requestFactory.listLogsCustomDestinations(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.listLogsCustomDestinations( + responseContext + ); + }); + }); + } + + /** + * Update the given fields of a specific custom destination in your organization. + * @param param The request object + */ + public updateLogsCustomDestination( + param: LogsCustomDestinationsApiUpdateLogsCustomDestinationRequest, + options?: Configuration + ): Promise { + const requestContextPromise = + this.requestFactory.updateLogsCustomDestination( + param.customDestinationId, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateLogsCustomDestination( + responseContext + ); + }); + }); + } +} diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index 754edb11cd7b..0360c4bcc0fa 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -249,6 +249,14 @@ export { LogsArchivesApi, } from "./apis/LogsArchivesApi"; +export { + LogsCustomDestinationsApiCreateLogsCustomDestinationRequest, + LogsCustomDestinationsApiDeleteLogsCustomDestinationRequest, + LogsCustomDestinationsApiGetLogsCustomDestinationRequest, + LogsCustomDestinationsApiUpdateLogsCustomDestinationRequest, + LogsCustomDestinationsApi, +} from "./apis/LogsCustomDestinationsApi"; + export { LogsMetricsApiCreateLogsMetricRequest, LogsMetricsApiDeleteLogsMetricRequest, @@ -787,6 +795,43 @@ export { CreateRuleRequestData } from "./models/CreateRuleRequestData"; export { CreateRuleResponse } from "./models/CreateRuleResponse"; export { CreateRuleResponseData } from "./models/CreateRuleResponseData"; export { Creator } from "./models/Creator"; +export { CustomDestinationAttributeTagsRestrictionListType } from "./models/CustomDestinationAttributeTagsRestrictionListType"; +export { CustomDestinationCreateRequest } from "./models/CustomDestinationCreateRequest"; +export { CustomDestinationCreateRequestAttributes } from "./models/CustomDestinationCreateRequestAttributes"; +export { CustomDestinationCreateRequestDefinition } from "./models/CustomDestinationCreateRequestDefinition"; +export { CustomDestinationElasticsearchDestinationAuth } from "./models/CustomDestinationElasticsearchDestinationAuth"; +export { CustomDestinationForwardDestination } from "./models/CustomDestinationForwardDestination"; +export { CustomDestinationForwardDestinationElasticsearch } from "./models/CustomDestinationForwardDestinationElasticsearch"; +export { CustomDestinationForwardDestinationElasticsearchType } from "./models/CustomDestinationForwardDestinationElasticsearchType"; +export { CustomDestinationForwardDestinationHttp } from "./models/CustomDestinationForwardDestinationHttp"; +export { CustomDestinationForwardDestinationHttpType } from "./models/CustomDestinationForwardDestinationHttpType"; +export { CustomDestinationForwardDestinationSplunk } from "./models/CustomDestinationForwardDestinationSplunk"; +export { CustomDestinationForwardDestinationSplunkType } from "./models/CustomDestinationForwardDestinationSplunkType"; +export { CustomDestinationHttpDestinationAuth } from "./models/CustomDestinationHttpDestinationAuth"; +export { CustomDestinationHttpDestinationAuthBasic } from "./models/CustomDestinationHttpDestinationAuthBasic"; +export { CustomDestinationHttpDestinationAuthBasicType } from "./models/CustomDestinationHttpDestinationAuthBasicType"; +export { CustomDestinationHttpDestinationAuthCustomHeader } from "./models/CustomDestinationHttpDestinationAuthCustomHeader"; +export { CustomDestinationHttpDestinationAuthCustomHeaderType } from "./models/CustomDestinationHttpDestinationAuthCustomHeaderType"; +export { CustomDestinationResponse } from "./models/CustomDestinationResponse"; +export { CustomDestinationResponseAttributes } from "./models/CustomDestinationResponseAttributes"; +export { CustomDestinationResponseDefinition } from "./models/CustomDestinationResponseDefinition"; +export { CustomDestinationResponseForwardDestination } from "./models/CustomDestinationResponseForwardDestination"; +export { CustomDestinationResponseForwardDestinationElasticsearch } from "./models/CustomDestinationResponseForwardDestinationElasticsearch"; +export { CustomDestinationResponseForwardDestinationElasticsearchType } from "./models/CustomDestinationResponseForwardDestinationElasticsearchType"; +export { CustomDestinationResponseForwardDestinationHttp } from "./models/CustomDestinationResponseForwardDestinationHttp"; +export { CustomDestinationResponseForwardDestinationHttpType } from "./models/CustomDestinationResponseForwardDestinationHttpType"; +export { CustomDestinationResponseForwardDestinationSplunk } from "./models/CustomDestinationResponseForwardDestinationSplunk"; +export { CustomDestinationResponseForwardDestinationSplunkType } from "./models/CustomDestinationResponseForwardDestinationSplunkType"; +export { CustomDestinationResponseHttpDestinationAuth } from "./models/CustomDestinationResponseHttpDestinationAuth"; +export { CustomDestinationResponseHttpDestinationAuthBasic } from "./models/CustomDestinationResponseHttpDestinationAuthBasic"; +export { CustomDestinationResponseHttpDestinationAuthBasicType } from "./models/CustomDestinationResponseHttpDestinationAuthBasicType"; +export { CustomDestinationResponseHttpDestinationAuthCustomHeader } from "./models/CustomDestinationResponseHttpDestinationAuthCustomHeader"; +export { CustomDestinationResponseHttpDestinationAuthCustomHeaderType } from "./models/CustomDestinationResponseHttpDestinationAuthCustomHeaderType"; +export { CustomDestinationsResponse } from "./models/CustomDestinationsResponse"; +export { CustomDestinationType } from "./models/CustomDestinationType"; +export { CustomDestinationUpdateRequest } from "./models/CustomDestinationUpdateRequest"; +export { CustomDestinationUpdateRequestAttributes } from "./models/CustomDestinationUpdateRequestAttributes"; +export { CustomDestinationUpdateRequestDefinition } from "./models/CustomDestinationUpdateRequestDefinition"; export { DashboardListAddItemsRequest } from "./models/DashboardListAddItemsRequest"; export { DashboardListAddItemsResponse } from "./models/DashboardListAddItemsResponse"; export { DashboardListDeleteItemsRequest } from "./models/DashboardListDeleteItemsRequest"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationAttributeTagsRestrictionListType.ts b/packages/datadog-api-client-v2/models/CustomDestinationAttributeTagsRestrictionListType.ts new file mode 100644 index 000000000000..0faf0885a86b --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationAttributeTagsRestrictionListType.ts @@ -0,0 +1,22 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * How `forward_tags_restriction_list` parameter should be interpreted. + * If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list + * are forwarded. + * + * `BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list. + */ + +export type CustomDestinationAttributeTagsRestrictionListType = + | typeof ALLOW_LIST + | typeof BLOCK_LIST + | UnparsedObject; +export const ALLOW_LIST = "ALLOW_LIST"; +export const BLOCK_LIST = "BLOCK_LIST"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationCreateRequest.ts b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequest.ts new file mode 100644 index 000000000000..12e2cdbd5e91 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequest.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationCreateRequestDefinition } from "./CustomDestinationCreateRequestDefinition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The custom destination. + */ +export class CustomDestinationCreateRequest { + /** + * The definition of a custom destination. + */ + "data"?: CustomDestinationCreateRequestDefinition; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CustomDestinationCreateRequestDefinition", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationCreateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestAttributes.ts b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestAttributes.ts new file mode 100644 index 000000000000..da3cdc7ad26e --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestAttributes.ts @@ -0,0 +1,111 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationAttributeTagsRestrictionListType } from "./CustomDestinationAttributeTagsRestrictionListType"; +import { CustomDestinationForwardDestination } from "./CustomDestinationForwardDestination"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The attributes associated with the custom destination. + */ +export class CustomDestinationCreateRequestAttributes { + /** + * Whether logs matching this custom destination should be forwarded or not. + */ + "enabled"?: boolean; + /** + * Whether tags from the forwarded logs should be forwarded or not. + */ + "forwardTags"?: boolean; + /** + * List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) to be filtered. + * + * An empty list represents no restriction is in place and either all or no tags will be + * forwarded depending on `forward_tags_restriction_list_type` parameter. + */ + "forwardTagsRestrictionList"?: Array; + /** + * How `forward_tags_restriction_list` parameter should be interpreted. + * If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list + * are forwarded. + * + * `BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list. + */ + "forwardTagsRestrictionListType"?: CustomDestinationAttributeTagsRestrictionListType; + /** + * A custom destination's location to forward logs. + */ + "forwarderDestination": CustomDestinationForwardDestination; + /** + * The custom destination name. + */ + "name": string; + /** + * The custom destination query and filter. Logs matching this query are forwarded to the destination. + */ + "query"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + forwardTags: { + baseName: "forward_tags", + type: "boolean", + }, + forwardTagsRestrictionList: { + baseName: "forward_tags_restriction_list", + type: "Array", + }, + forwardTagsRestrictionListType: { + baseName: "forward_tags_restriction_list_type", + type: "CustomDestinationAttributeTagsRestrictionListType", + }, + forwarderDestination: { + baseName: "forwarder_destination", + type: "CustomDestinationForwardDestination", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + query: { + baseName: "query", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationCreateRequestAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestDefinition.ts b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestDefinition.ts new file mode 100644 index 000000000000..d94adabf5ead --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationCreateRequestDefinition.ts @@ -0,0 +1,64 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationCreateRequestAttributes } from "./CustomDestinationCreateRequestAttributes"; +import { CustomDestinationType } from "./CustomDestinationType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The definition of a custom destination. + */ +export class CustomDestinationCreateRequestDefinition { + /** + * The attributes associated with the custom destination. + */ + "attributes": CustomDestinationCreateRequestAttributes; + /** + * The type of the resource. The value should always be `custom_destination`. + */ + "type": CustomDestinationType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomDestinationCreateRequestAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationCreateRequestDefinition.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationElasticsearchDestinationAuth.ts b/packages/datadog-api-client-v2/models/CustomDestinationElasticsearchDestinationAuth.ts new file mode 100644 index 000000000000..5c91b752465c --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationElasticsearchDestinationAuth.ts @@ -0,0 +1,62 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Basic access authentication. + */ +export class CustomDestinationElasticsearchDestinationAuth { + /** + * The password of the authentication. This field is not returned by the API. + */ + "password": string; + /** + * The username of the authentication. This field is not returned by the API. + */ + "username": string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + password: { + baseName: "password", + type: "string", + required: true, + }, + username: { + baseName: "username", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationElasticsearchDestinationAuth.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestination.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestination.ts new file mode 100644 index 000000000000..6f6ec9147a30 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestination.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationForwardDestinationElasticsearch } from "./CustomDestinationForwardDestinationElasticsearch"; +import { CustomDestinationForwardDestinationHttp } from "./CustomDestinationForwardDestinationHttp"; +import { CustomDestinationForwardDestinationSplunk } from "./CustomDestinationForwardDestinationSplunk"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * A custom destination's location to forward logs. + */ + +export type CustomDestinationForwardDestination = + | CustomDestinationForwardDestinationHttp + | CustomDestinationForwardDestinationSplunk + | CustomDestinationForwardDestinationElasticsearch + | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearch.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearch.ts new file mode 100644 index 000000000000..44ee6147e11c --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearch.ts @@ -0,0 +1,100 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationElasticsearchDestinationAuth } from "./CustomDestinationElasticsearchDestinationAuth"; +import { CustomDestinationForwardDestinationElasticsearchType } from "./CustomDestinationForwardDestinationElasticsearchType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The Elasticsearch destination. + */ +export class CustomDestinationForwardDestinationElasticsearch { + /** + * Basic access authentication. + */ + "auth": CustomDestinationElasticsearchDestinationAuth; + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). + */ + "indexName": string; + /** + * Date pattern with US locale and UTC timezone to be appended to the index name after adding `-` + * (that is, `${index_name}-${indexPattern}`). + * You can customize the index rotation naming pattern by choosing one of these options: + * - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`) + * - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`) + * - Weekly: `yyyy-'W'ww` (as an example, it would render: `2022-W42`) + * - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`) + * + * If this field is missing or is blank, it means that the index name will always be the same + * (that is, no rotation). + */ + "indexRotation"?: string; + /** + * Type of the Elasticsearch destination. + */ + "type": CustomDestinationForwardDestinationElasticsearchType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + auth: { + baseName: "auth", + type: "CustomDestinationElasticsearchDestinationAuth", + required: true, + }, + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + indexName: { + baseName: "index_name", + type: "string", + required: true, + }, + indexRotation: { + baseName: "index_rotation", + type: "string", + }, + type: { + baseName: "type", + type: "CustomDestinationForwardDestinationElasticsearchType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationForwardDestinationElasticsearch.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearchType.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearchType.ts new file mode 100644 index 000000000000..08a07274a571 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationElasticsearchType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the Elasticsearch destination. + */ + +export type CustomDestinationForwardDestinationElasticsearchType = + | typeof ELASTICSEARCH + | UnparsedObject; +export const ELASTICSEARCH = "elasticsearch"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttp.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttp.ts new file mode 100644 index 000000000000..85272f3dfb90 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttp.ts @@ -0,0 +1,74 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationForwardDestinationHttpType } from "./CustomDestinationForwardDestinationHttpType"; +import { CustomDestinationHttpDestinationAuth } from "./CustomDestinationHttpDestinationAuth"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The HTTP destination. + */ +export class CustomDestinationForwardDestinationHttp { + /** + * Authentication method of the HTTP requests. + */ + "auth": CustomDestinationHttpDestinationAuth; + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Type of the HTTP destination. + */ + "type": CustomDestinationForwardDestinationHttpType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + auth: { + baseName: "auth", + type: "CustomDestinationHttpDestinationAuth", + required: true, + }, + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationForwardDestinationHttpType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationForwardDestinationHttp.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttpType.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttpType.ts new file mode 100644 index 000000000000..185344a49e3c --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationHttpType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the HTTP destination. + */ + +export type CustomDestinationForwardDestinationHttpType = + | typeof HTTP + | UnparsedObject; +export const HTTP = "http"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.ts new file mode 100644 index 000000000000..b69b1303b334 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.ts @@ -0,0 +1,73 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationForwardDestinationSplunkType } from "./CustomDestinationForwardDestinationSplunkType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The Splunk HTTP Event Collector (HEC) destination. + */ +export class CustomDestinationForwardDestinationSplunk { + /** + * Access token of the Splunk HTTP Event Collector. This field is not returned by the API. + */ + "accessToken": string; + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Type of the Splunk HTTP Event Collector (HEC) destination. + */ + "type": CustomDestinationForwardDestinationSplunkType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + accessToken: { + baseName: "access_token", + type: "string", + required: true, + }, + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationForwardDestinationSplunkType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationForwardDestinationSplunk.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunkType.ts b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunkType.ts new file mode 100644 index 000000000000..5cd11b06ef16 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunkType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the Splunk HTTP Event Collector (HEC) destination. + */ + +export type CustomDestinationForwardDestinationSplunkType = + | typeof SPLUNK_HEC + | UnparsedObject; +export const SPLUNK_HEC = "splunk_hec"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuth.ts b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuth.ts new file mode 100644 index 000000000000..c11b451efd97 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuth.ts @@ -0,0 +1,18 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationHttpDestinationAuthBasic } from "./CustomDestinationHttpDestinationAuthBasic"; +import { CustomDestinationHttpDestinationAuthCustomHeader } from "./CustomDestinationHttpDestinationAuthCustomHeader"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Authentication method of the HTTP requests. + */ + +export type CustomDestinationHttpDestinationAuth = + | CustomDestinationHttpDestinationAuthBasic + | CustomDestinationHttpDestinationAuthCustomHeader + | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasic.ts b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasic.ts new file mode 100644 index 000000000000..c8635faee0dc --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasic.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationHttpDestinationAuthBasicType } from "./CustomDestinationHttpDestinationAuthBasicType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Basic access authentication. + */ +export class CustomDestinationHttpDestinationAuthBasic { + /** + * The password of the authentication. This field is not returned by the API. + */ + "password": string; + /** + * Type of the basic access authentication. + */ + "type": CustomDestinationHttpDestinationAuthBasicType; + /** + * The username of the authentication. This field is not returned by the API. + */ + "username": string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + password: { + baseName: "password", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationHttpDestinationAuthBasicType", + required: true, + }, + username: { + baseName: "username", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationHttpDestinationAuthBasic.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasicType.ts b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasicType.ts new file mode 100644 index 000000000000..6575d2eb5c46 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthBasicType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the basic access authentication. + */ + +export type CustomDestinationHttpDestinationAuthBasicType = + | typeof BASIC + | UnparsedObject; +export const BASIC = "basic"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeader.ts b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeader.ts new file mode 100644 index 000000000000..0009519aac53 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeader.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationHttpDestinationAuthCustomHeaderType } from "./CustomDestinationHttpDestinationAuthCustomHeaderType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Custom header access authentication. + */ +export class CustomDestinationHttpDestinationAuthCustomHeader { + /** + * The header name of the authentication. + */ + "headerName": string; + /** + * The header value of the authentication. This field is not returned by the API. + */ + "headerValue": string; + /** + * Type of the custom header access authentication. + */ + "type": CustomDestinationHttpDestinationAuthCustomHeaderType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + headerName: { + baseName: "header_name", + type: "string", + required: true, + }, + headerValue: { + baseName: "header_value", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationHttpDestinationAuthCustomHeaderType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationHttpDestinationAuthCustomHeader.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeaderType.ts b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeaderType.ts new file mode 100644 index 000000000000..8b07fe420676 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationHttpDestinationAuthCustomHeaderType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the custom header access authentication. + */ + +export type CustomDestinationHttpDestinationAuthCustomHeaderType = + | typeof CUSTOM_HEADER + | UnparsedObject; +export const CUSTOM_HEADER = "custom_header"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponse.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponse.ts new file mode 100644 index 000000000000..2d19b41c017d --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponse.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseDefinition } from "./CustomDestinationResponseDefinition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The custom destination. + */ +export class CustomDestinationResponse { + /** + * The definition of a custom destination. + */ + "data"?: CustomDestinationResponseDefinition; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CustomDestinationResponseDefinition", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseAttributes.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseAttributes.ts new file mode 100644 index 000000000000..9c0d3b989111 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseAttributes.ts @@ -0,0 +1,109 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationAttributeTagsRestrictionListType } from "./CustomDestinationAttributeTagsRestrictionListType"; +import { CustomDestinationResponseForwardDestination } from "./CustomDestinationResponseForwardDestination"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The attributes associated with the custom destination. + */ +export class CustomDestinationResponseAttributes { + /** + * Whether logs matching this custom destination should be forwarded or not. + */ + "enabled"?: boolean; + /** + * Whether tags from the forwarded logs should be forwarded or not. + */ + "forwardTags"?: boolean; + /** + * List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) to be filtered. + * + * An empty list represents no restriction is in place and either all or no tags will be + * forwarded depending on `forward_tags_restriction_list_type` parameter. + */ + "forwardTagsRestrictionList"?: Array; + /** + * How `forward_tags_restriction_list` parameter should be interpreted. + * If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list + * are forwarded. + * + * `BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list. + */ + "forwardTagsRestrictionListType"?: CustomDestinationAttributeTagsRestrictionListType; + /** + * A custom destination's location to forward logs. + */ + "forwarderDestination"?: CustomDestinationResponseForwardDestination; + /** + * The custom destination name. + */ + "name"?: string; + /** + * The custom destination query filter. Logs matching this query are forwarded to the destination. + */ + "query"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + forwardTags: { + baseName: "forward_tags", + type: "boolean", + }, + forwardTagsRestrictionList: { + baseName: "forward_tags_restriction_list", + type: "Array", + }, + forwardTagsRestrictionListType: { + baseName: "forward_tags_restriction_list_type", + type: "CustomDestinationAttributeTagsRestrictionListType", + }, + forwarderDestination: { + baseName: "forwarder_destination", + type: "CustomDestinationResponseForwardDestination", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseDefinition.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseDefinition.ts new file mode 100644 index 000000000000..57a361202cb8 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseDefinition.ts @@ -0,0 +1,70 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseAttributes } from "./CustomDestinationResponseAttributes"; +import { CustomDestinationType } from "./CustomDestinationType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The definition of a custom destination. + */ +export class CustomDestinationResponseDefinition { + /** + * The attributes associated with the custom destination. + */ + "attributes"?: CustomDestinationResponseAttributes; + /** + * The custom destination ID. + */ + "id"?: string; + /** + * The type of the resource. The value should always be `custom_destination`. + */ + "type"?: CustomDestinationType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomDestinationResponseAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "CustomDestinationType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseDefinition.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestination.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestination.ts new file mode 100644 index 000000000000..49b386f304a9 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestination.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseForwardDestinationElasticsearch } from "./CustomDestinationResponseForwardDestinationElasticsearch"; +import { CustomDestinationResponseForwardDestinationHttp } from "./CustomDestinationResponseForwardDestinationHttp"; +import { CustomDestinationResponseForwardDestinationSplunk } from "./CustomDestinationResponseForwardDestinationSplunk"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * A custom destination's location to forward logs. + */ + +export type CustomDestinationResponseForwardDestination = + | CustomDestinationResponseForwardDestinationHttp + | CustomDestinationResponseForwardDestinationSplunk + | CustomDestinationResponseForwardDestinationElasticsearch + | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearch.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearch.ts new file mode 100644 index 000000000000..70a82b092d8a --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearch.ts @@ -0,0 +1,99 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseForwardDestinationElasticsearchType } from "./CustomDestinationResponseForwardDestinationElasticsearchType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The Elasticsearch destination. + */ +export class CustomDestinationResponseForwardDestinationElasticsearch { + /** + * Basic access authentication. + */ + "auth": { [key: string]: any }; + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)). + */ + "indexName": string; + /** + * Date pattern with US locale and UTC timezone to be appended to the index name after adding `-` + * (that is, `${index_name}-${indexPattern}`). + * You can customize the index rotation naming pattern by choosing one of these options: + * - Hourly: `yyyy-MM-dd-HH` (as an example, it would render: `2022-10-19-09`) + * - Daily: `yyyy-MM-dd` (as an example, it would render: `2022-10-19`) + * - Weekly: `yyyy-'W'ww` (as an example, it would render: `2022-W42`) + * - Monthly: `yyyy-MM` (as an example, it would render: `2022-10`) + * + * If this field is missing or is blank, it means that the index name will always be the same + * (that is, no rotation). + */ + "indexRotation"?: string; + /** + * Type of the Elasticsearch destination. + */ + "type": CustomDestinationResponseForwardDestinationElasticsearchType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + auth: { + baseName: "auth", + type: "{ [key: string]: any; }", + required: true, + }, + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + indexName: { + baseName: "index_name", + type: "string", + required: true, + }, + indexRotation: { + baseName: "index_rotation", + type: "string", + }, + type: { + baseName: "type", + type: "CustomDestinationResponseForwardDestinationElasticsearchType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseForwardDestinationElasticsearch.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearchType.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearchType.ts new file mode 100644 index 000000000000..acecc529b0f4 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationElasticsearchType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the Elasticsearch destination. + */ + +export type CustomDestinationResponseForwardDestinationElasticsearchType = + | typeof ELASTICSEARCH + | UnparsedObject; +export const ELASTICSEARCH = "elasticsearch"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttp.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttp.ts new file mode 100644 index 000000000000..e0854da88534 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttp.ts @@ -0,0 +1,74 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseForwardDestinationHttpType } from "./CustomDestinationResponseForwardDestinationHttpType"; +import { CustomDestinationResponseHttpDestinationAuth } from "./CustomDestinationResponseHttpDestinationAuth"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The HTTP destination. + */ +export class CustomDestinationResponseForwardDestinationHttp { + /** + * Authentication method of the HTTP requests. + */ + "auth": CustomDestinationResponseHttpDestinationAuth; + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Type of the HTTP destination. + */ + "type": CustomDestinationResponseForwardDestinationHttpType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + auth: { + baseName: "auth", + type: "CustomDestinationResponseHttpDestinationAuth", + required: true, + }, + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationResponseForwardDestinationHttpType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseForwardDestinationHttp.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttpType.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttpType.ts new file mode 100644 index 000000000000..e348c14c1cff --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationHttpType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the HTTP destination. + */ + +export type CustomDestinationResponseForwardDestinationHttpType = + | typeof HTTP + | UnparsedObject; +export const HTTP = "http"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.ts new file mode 100644 index 000000000000..d4935edd5c27 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.ts @@ -0,0 +1,64 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseForwardDestinationSplunkType } from "./CustomDestinationResponseForwardDestinationSplunkType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The Splunk HTTP Event Collector (HEC) destination. + */ +export class CustomDestinationResponseForwardDestinationSplunk { + /** + * The destination for which logs will be forwarded to. + * Must have HTTPS scheme and forwarding back to Datadog is not allowed. + */ + "endpoint": string; + /** + * Type of the Splunk HTTP Event Collector (HEC) destination. + */ + "type": CustomDestinationResponseForwardDestinationSplunkType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + endpoint: { + baseName: "endpoint", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationResponseForwardDestinationSplunkType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseForwardDestinationSplunk.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunkType.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunkType.ts new file mode 100644 index 000000000000..6a7505c10033 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunkType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the Splunk HTTP Event Collector (HEC) destination. + */ + +export type CustomDestinationResponseForwardDestinationSplunkType = + | typeof SPLUNK_HEC + | UnparsedObject; +export const SPLUNK_HEC = "splunk_hec"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuth.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuth.ts new file mode 100644 index 000000000000..86fa355964d9 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuth.ts @@ -0,0 +1,18 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseHttpDestinationAuthBasic } from "./CustomDestinationResponseHttpDestinationAuthBasic"; +import { CustomDestinationResponseHttpDestinationAuthCustomHeader } from "./CustomDestinationResponseHttpDestinationAuthCustomHeader"; + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Authentication method of the HTTP requests. + */ + +export type CustomDestinationResponseHttpDestinationAuth = + | CustomDestinationResponseHttpDestinationAuthBasic + | CustomDestinationResponseHttpDestinationAuthCustomHeader + | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasic.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasic.ts new file mode 100644 index 000000000000..8a54f7b6a0f9 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasic.ts @@ -0,0 +1,54 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseHttpDestinationAuthBasicType } from "./CustomDestinationResponseHttpDestinationAuthBasicType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Basic access authentication. + */ +export class CustomDestinationResponseHttpDestinationAuthBasic { + /** + * Type of the basic access authentication. + */ + "type": CustomDestinationResponseHttpDestinationAuthBasicType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + type: { + baseName: "type", + type: "CustomDestinationResponseHttpDestinationAuthBasicType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseHttpDestinationAuthBasic.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasicType.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasicType.ts new file mode 100644 index 000000000000..db4981abffe3 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthBasicType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the basic access authentication. + */ + +export type CustomDestinationResponseHttpDestinationAuthBasicType = + | typeof BASIC + | UnparsedObject; +export const BASIC = "basic"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeader.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeader.ts new file mode 100644 index 000000000000..7f8192197ed7 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeader.ts @@ -0,0 +1,63 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseHttpDestinationAuthCustomHeaderType } from "./CustomDestinationResponseHttpDestinationAuthCustomHeaderType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Custom header access authentication. + */ +export class CustomDestinationResponseHttpDestinationAuthCustomHeader { + /** + * The header name of the authentication. + */ + "headerName": string; + /** + * Type of the custom header access authentication. + */ + "type": CustomDestinationResponseHttpDestinationAuthCustomHeaderType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + headerName: { + baseName: "header_name", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationResponseHttpDestinationAuthCustomHeaderType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationResponseHttpDestinationAuthCustomHeader.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeaderType.ts b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeaderType.ts new file mode 100644 index 000000000000..2e0828ab22f8 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationResponseHttpDestinationAuthCustomHeaderType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Type of the custom header access authentication. + */ + +export type CustomDestinationResponseHttpDestinationAuthCustomHeaderType = + | typeof CUSTOM_HEADER + | UnparsedObject; +export const CUSTOM_HEADER = "custom_header"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationType.ts b/packages/datadog-api-client-v2/models/CustomDestinationType.ts new file mode 100644 index 000000000000..9fc12a44bfdd --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationType.ts @@ -0,0 +1,14 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * The type of the resource. The value should always be `custom_destination`. + */ + +export type CustomDestinationType = typeof custom_destination | UnparsedObject; +export const custom_destination = "custom_destination"; diff --git a/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequest.ts b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequest.ts new file mode 100644 index 000000000000..2d1b80b8ac07 --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequest.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationUpdateRequestDefinition } from "./CustomDestinationUpdateRequestDefinition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The custom destination. + */ +export class CustomDestinationUpdateRequest { + /** + * The definition of a custom destination. + */ + "data"?: CustomDestinationUpdateRequestDefinition; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CustomDestinationUpdateRequestDefinition", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationUpdateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestAttributes.ts b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestAttributes.ts new file mode 100644 index 000000000000..a921d924503b --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestAttributes.ts @@ -0,0 +1,107 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationAttributeTagsRestrictionListType } from "./CustomDestinationAttributeTagsRestrictionListType"; +import { CustomDestinationForwardDestination } from "./CustomDestinationForwardDestination"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The attributes associated with the custom destination. + */ +export class CustomDestinationUpdateRequestAttributes { + /** + * Whether logs matching this custom destination should be forwarded or not. + */ + "enabled"?: boolean; + /** + * Whether tags from the forwarded logs should be forwarded or not. + */ + "forwardTags"?: boolean; + /** + * List of [keys of tags](https://docs.datadoghq.com/getting_started/tagging/#define-tags) to be restricted from being forwarded. + * An empty list represents no restriction is in place and either all or no tags will be forwarded depending on `forward_tags_restriction_list_type` parameter. + */ + "forwardTagsRestrictionList"?: Array; + /** + * How `forward_tags_restriction_list` parameter should be interpreted. + * If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list + * are forwarded. + * + * `BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list. + */ + "forwardTagsRestrictionListType"?: CustomDestinationAttributeTagsRestrictionListType; + /** + * A custom destination's location to forward logs. + */ + "forwarderDestination"?: CustomDestinationForwardDestination; + /** + * The custom destination name. + */ + "name"?: string; + /** + * The custom destination query and filter. Logs matching this query are forwarded to the destination. + */ + "query"?: string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + enabled: { + baseName: "enabled", + type: "boolean", + }, + forwardTags: { + baseName: "forward_tags", + type: "boolean", + }, + forwardTagsRestrictionList: { + baseName: "forward_tags_restriction_list", + type: "Array", + }, + forwardTagsRestrictionListType: { + baseName: "forward_tags_restriction_list_type", + type: "CustomDestinationAttributeTagsRestrictionListType", + }, + forwarderDestination: { + baseName: "forwarder_destination", + type: "CustomDestinationForwardDestination", + }, + name: { + baseName: "name", + type: "string", + }, + query: { + baseName: "query", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationUpdateRequestAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestDefinition.ts b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestDefinition.ts new file mode 100644 index 000000000000..de252409b71a --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationUpdateRequestDefinition.ts @@ -0,0 +1,72 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationType } from "./CustomDestinationType"; +import { CustomDestinationUpdateRequestAttributes } from "./CustomDestinationUpdateRequestAttributes"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The definition of a custom destination. + */ +export class CustomDestinationUpdateRequestDefinition { + /** + * The attributes associated with the custom destination. + */ + "attributes"?: CustomDestinationUpdateRequestAttributes; + /** + * The custom destination ID. + */ + "id": string; + /** + * The type of the resource. The value should always be `custom_destination`. + */ + "type": CustomDestinationType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomDestinationUpdateRequestAttributes", + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomDestinationType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationUpdateRequestDefinition.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/CustomDestinationsResponse.ts b/packages/datadog-api-client-v2/models/CustomDestinationsResponse.ts new file mode 100644 index 000000000000..cde6174392dd --- /dev/null +++ b/packages/datadog-api-client-v2/models/CustomDestinationsResponse.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { CustomDestinationResponseDefinition } from "./CustomDestinationResponseDefinition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * The available custom destinations. + */ +export class CustomDestinationsResponse { + /** + * A list of custom destinations. + */ + "data"?: Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomDestinationsResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 385284685e48..f2866598f7e9 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -233,6 +233,27 @@ import { CreateRuleRequestData } from "./CreateRuleRequestData"; import { CreateRuleResponse } from "./CreateRuleResponse"; import { CreateRuleResponseData } from "./CreateRuleResponseData"; import { Creator } from "./Creator"; +import { CustomDestinationCreateRequest } from "./CustomDestinationCreateRequest"; +import { CustomDestinationCreateRequestAttributes } from "./CustomDestinationCreateRequestAttributes"; +import { CustomDestinationCreateRequestDefinition } from "./CustomDestinationCreateRequestDefinition"; +import { CustomDestinationElasticsearchDestinationAuth } from "./CustomDestinationElasticsearchDestinationAuth"; +import { CustomDestinationForwardDestinationElasticsearch } from "./CustomDestinationForwardDestinationElasticsearch"; +import { CustomDestinationForwardDestinationHttp } from "./CustomDestinationForwardDestinationHttp"; +import { CustomDestinationForwardDestinationSplunk } from "./CustomDestinationForwardDestinationSplunk"; +import { CustomDestinationHttpDestinationAuthBasic } from "./CustomDestinationHttpDestinationAuthBasic"; +import { CustomDestinationHttpDestinationAuthCustomHeader } from "./CustomDestinationHttpDestinationAuthCustomHeader"; +import { CustomDestinationResponse } from "./CustomDestinationResponse"; +import { CustomDestinationResponseAttributes } from "./CustomDestinationResponseAttributes"; +import { CustomDestinationResponseDefinition } from "./CustomDestinationResponseDefinition"; +import { CustomDestinationResponseForwardDestinationElasticsearch } from "./CustomDestinationResponseForwardDestinationElasticsearch"; +import { CustomDestinationResponseForwardDestinationHttp } from "./CustomDestinationResponseForwardDestinationHttp"; +import { CustomDestinationResponseForwardDestinationSplunk } from "./CustomDestinationResponseForwardDestinationSplunk"; +import { CustomDestinationResponseHttpDestinationAuthBasic } from "./CustomDestinationResponseHttpDestinationAuthBasic"; +import { CustomDestinationResponseHttpDestinationAuthCustomHeader } from "./CustomDestinationResponseHttpDestinationAuthCustomHeader"; +import { CustomDestinationUpdateRequest } from "./CustomDestinationUpdateRequest"; +import { CustomDestinationUpdateRequestAttributes } from "./CustomDestinationUpdateRequestAttributes"; +import { CustomDestinationUpdateRequestDefinition } from "./CustomDestinationUpdateRequestDefinition"; +import { CustomDestinationsResponse } from "./CustomDestinationsResponse"; import { DORADeploymentRequest } from "./DORADeploymentRequest"; import { DORADeploymentRequestAttributes } from "./DORADeploymentRequestAttributes"; import { DORADeploymentRequestData } from "./DORADeploymentRequestData"; @@ -1219,6 +1240,25 @@ const enumsMap: { [key: string]: any[] } = { ContentEncoding: ["identity", "gzip", "deflate"], CostAttributionType: ["cost_by_tag"], CostByOrgType: ["cost_by_org"], + CustomDestinationAttributeTagsRestrictionListType: [ + "ALLOW_LIST", + "BLOCK_LIST", + ], + CustomDestinationForwardDestinationElasticsearchType: ["elasticsearch"], + CustomDestinationForwardDestinationHttpType: ["http"], + CustomDestinationForwardDestinationSplunkType: ["splunk_hec"], + CustomDestinationHttpDestinationAuthBasicType: ["basic"], + CustomDestinationHttpDestinationAuthCustomHeaderType: ["custom_header"], + CustomDestinationResponseForwardDestinationElasticsearchType: [ + "elasticsearch", + ], + CustomDestinationResponseForwardDestinationHttpType: ["http"], + CustomDestinationResponseForwardDestinationSplunkType: ["splunk_hec"], + CustomDestinationResponseHttpDestinationAuthBasicType: ["basic"], + CustomDestinationResponseHttpDestinationAuthCustomHeaderType: [ + "custom_header", + ], + CustomDestinationType: ["custom_destination"], DORADeploymentType: ["dora_deployment"], DORAIncidentType: ["dora_incident"], DashboardType: [ @@ -1919,6 +1959,42 @@ const typeMap: { [index: string]: any } = { CreateRuleResponse: CreateRuleResponse, CreateRuleResponseData: CreateRuleResponseData, Creator: Creator, + CustomDestinationCreateRequest: CustomDestinationCreateRequest, + CustomDestinationCreateRequestAttributes: + CustomDestinationCreateRequestAttributes, + CustomDestinationCreateRequestDefinition: + CustomDestinationCreateRequestDefinition, + CustomDestinationElasticsearchDestinationAuth: + CustomDestinationElasticsearchDestinationAuth, + CustomDestinationForwardDestinationElasticsearch: + CustomDestinationForwardDestinationElasticsearch, + CustomDestinationForwardDestinationHttp: + CustomDestinationForwardDestinationHttp, + CustomDestinationForwardDestinationSplunk: + CustomDestinationForwardDestinationSplunk, + CustomDestinationHttpDestinationAuthBasic: + CustomDestinationHttpDestinationAuthBasic, + CustomDestinationHttpDestinationAuthCustomHeader: + CustomDestinationHttpDestinationAuthCustomHeader, + CustomDestinationResponse: CustomDestinationResponse, + CustomDestinationResponseAttributes: CustomDestinationResponseAttributes, + CustomDestinationResponseDefinition: CustomDestinationResponseDefinition, + CustomDestinationResponseForwardDestinationElasticsearch: + CustomDestinationResponseForwardDestinationElasticsearch, + CustomDestinationResponseForwardDestinationHttp: + CustomDestinationResponseForwardDestinationHttp, + CustomDestinationResponseForwardDestinationSplunk: + CustomDestinationResponseForwardDestinationSplunk, + CustomDestinationResponseHttpDestinationAuthBasic: + CustomDestinationResponseHttpDestinationAuthBasic, + CustomDestinationResponseHttpDestinationAuthCustomHeader: + CustomDestinationResponseHttpDestinationAuthCustomHeader, + CustomDestinationUpdateRequest: CustomDestinationUpdateRequest, + CustomDestinationUpdateRequestAttributes: + CustomDestinationUpdateRequestAttributes, + CustomDestinationUpdateRequestDefinition: + CustomDestinationUpdateRequestDefinition, + CustomDestinationsResponse: CustomDestinationsResponse, DORADeploymentRequest: DORADeploymentRequest, DORADeploymentRequestAttributes: DORADeploymentRequestAttributes, DORADeploymentRequestData: DORADeploymentRequestData, @@ -2872,6 +2948,24 @@ const oneOfMap: { [index: string]: string[] } = { CIAppGroupByTotal: ["boolean", "string", "number"], ContainerImageItem: ["ContainerImage", "ContainerImageGroup"], ContainerItem: ["Container", "ContainerGroup"], + CustomDestinationForwardDestination: [ + "CustomDestinationForwardDestinationHttp", + "CustomDestinationForwardDestinationSplunk", + "CustomDestinationForwardDestinationElasticsearch", + ], + CustomDestinationHttpDestinationAuth: [ + "CustomDestinationHttpDestinationAuthBasic", + "CustomDestinationHttpDestinationAuthCustomHeader", + ], + CustomDestinationResponseForwardDestination: [ + "CustomDestinationResponseForwardDestinationHttp", + "CustomDestinationResponseForwardDestinationSplunk", + "CustomDestinationResponseForwardDestinationElasticsearch", + ], + CustomDestinationResponseHttpDestinationAuth: [ + "CustomDestinationResponseHttpDestinationAuthBasic", + "CustomDestinationResponseHttpDestinationAuthCustomHeader", + ], DowntimeMonitorIdentifier: [ "DowntimeMonitorIdentifierId", "DowntimeMonitorIdentifierTags", From 4dee014920814bc02e696191f8a75b98f62f6d11 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:40:24 +0000 Subject: [PATCH 40/41] [SYNTH-13257] allow setting httpVersion on a step of multi api test (#1544) Co-authored-by: ci.datadog-api-spec --- .apigentools-info | 8 +-- .generator/schemas/v1/openapi.yaml | 2 + .../frozen.json | 2 +- .../recording.har | 54 +++++++++---------- .../frozen.json | 2 +- .../recording.har | 26 ++++----- .../CreateSyntheticsAPITest_1279271422.ts | 1 + examples/v1/synthetics/UpdateBrowserTest.ts | 1 + features/v1/given.json | 2 +- features/v1/synthetics.feature | 11 ++-- ...ynthetics_api_test_multi_step_payload.json | 3 +- .../models/SyntheticsTestRequest.ts | 9 ++++ 12 files changed, 68 insertions(+), 53 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 1e2e2aa36f08..b09e6d04ac0f 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-13 14:23:22.646722", - "spec_repo_commit": "113614d8" + "regenerated": "2024-03-13 18:08:59.359763", + "spec_repo_commit": "29884c34" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-03-13 14:23:22.664978", - "spec_repo_commit": "113614d8" + "regenerated": "2024-03-13 18:08:59.377940", + "spec_repo_commit": "29884c34" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 489341f04290..fdd762c6f80d 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -15826,6 +15826,8 @@ components: host: description: Host name to perform the test with. type: string + httpVersion: + $ref: '#/components/schemas/SyntheticsTestOptionsHTTPVersion' message: description: Message to send for UDP or WebSocket tests. type: string diff --git a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json index 8a529f6bcefc..51225a37fc75 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json +++ b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/frozen.json @@ -1 +1 @@ -"2024-02-14T09:56:55.385Z" +"2024-03-13T08:48:00.559Z" diff --git a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har index a8ac47544c9f..2819f78ce8c9 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har +++ b/cassettes/v1/Synthetics_2658572017/Create-a-global-variable-from-test-returns-OK-response_2967481205/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "4726b48260959663751fd8e1e5058a6d", + "_id": "c9cdf4549dc9ae58fd3afbf44b542908", "_order": 0, "cache": {}, "request": { - "bodySize": 2152, + "bodySize": 2174, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" + "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1710319680\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1710319680\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, "response": { - "bodySize": 2654, + "bodySize": 2676, "content": { "mimeType": "application/json", - "size": 2654, - "text": "{\"public_id\":\"6td-hmb-t6f\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-02-14T09:56:55.729504+00:00\",\"modified_at\":\"2024-02-14T09:56:55.729504+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"7g9-x3d-mid\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"xnr-5zr-293\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1707904615\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":139518955,\"org_id\":321813,\"modified_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"}}" + "size": 2676, + "text": "{\"public_id\":\"hke-w83-j6r\",\"name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1710319680\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-03-13T08:48:01.233193+00:00\",\"modified_at\":\"2024-03-13T08:48:01.233193+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"bba-utu-dpy\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"tax-mfs-p3v\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_a_global_variable_from_test_returns_OK_response-1710319680\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":141300469,\"org_id\":321813,\"modified_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"}}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:56:55.396Z", - "time": 409 + "startedDateTime": "2024-03-13T08:48:00.610Z", + "time": 786 }, { - "_id": "847424fbdd469b078c913a9b3f81056e", + "_id": "bd43babb7205e259975aa283bda6f0b8", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1707904615\",\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_public_id\":\"6td-hmb-t6f\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" + "text": "{\"description\":\"\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1710319680\",\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_public_id\":\"hke-w83-j6r\",\"tags\":[],\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/variables" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 510, - "text": "{\"id\":\"b8daafc5-09e1-4f63-9f44-c973b2ec57dc\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1707904615\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"parse_test_public_id\":\"6td-hmb-t6f\",\"parse_test_name\":null,\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_extracted_at\":null,\"is_totp\":null,\"is_fido\":null,\"last_error\":null,\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}\n" + "text": "{\"id\":\"d4597027-2f9b-4595-8c10-7ea475bdcf0f\",\"name\":\"GLOBAL_VARIABLE_PAYLOAD_TESTCREATEAGLOBALVARIABLEFROMTESTRETURNSOKRESPONSE1710319680\",\"description\":\"\",\"type\":\"variable\",\"tags\":[],\"parse_test_public_id\":\"hke-w83-j6r\",\"parse_test_name\":null,\"parse_test_options\":{\"localVariableName\":\"EXTRACTED_VALUE\",\"type\":\"local_variable\"},\"parse_test_extracted_at\":null,\"is_totp\":null,\"is_fido\":null,\"last_error\":null,\"value\":{\"options\":{\"totp_parameters\":{\"digits\":6,\"refresh_interval\":30}},\"secure\":false,\"value\":\"\"}}\n" }, "cookies": [], "headers": [ @@ -104,17 +104,17 @@ "value": "application/json" } ], - "headersSize": 665, + "headersSize": 666, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:56:55.814Z", - "time": 755 + "startedDateTime": "2024-03-13T08:48:01.403Z", + "time": 445 }, { - "_id": "171e1644a37e1d957f11cf7d90cef236", + "_id": "a63a3c163ab7b55e4b3e9148404527b9", "_order": 0, "cache": {}, "request": { @@ -127,11 +127,11 @@ "value": "*/*" } ], - "headersSize": 547, + "headersSize": 548, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v1/synthetics/variables/b8daafc5-09e1-4f63-9f44-c973b2ec57dc" + "url": "https://api.datadoghq.com/api/v1/synthetics/variables/d4597027-2f9b-4595-8c10-7ea475bdcf0f" }, "response": { "bodySize": 0, @@ -146,17 +146,17 @@ "value": "text/html; charset=utf-8" } ], - "headersSize": 648, + "headersSize": 649, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:56:56.578Z", - "time": 192 + "startedDateTime": "2024-03-13T08:48:01.854Z", + "time": 462 }, { - "_id": "0e9cc95d8a70460b3da208961d72ca43", + "_id": "a0ee2645fd3dfcababd25b11943c057a", "_order": 0, "cache": {}, "request": { @@ -180,7 +180,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"public_ids\":[\"6td-hmb-t6f\"]}" + "text": "{\"public_ids\":[\"hke-w83-j6r\"]}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" @@ -190,7 +190,7 @@ "content": { "mimeType": "application/json", "size": 96, - "text": "{\"deleted_tests\":[{\"public_id\":\"6td-hmb-t6f\",\"deleted_at\":\"2024-02-14T09:56:56.985642+00:00\"}]}\n" + "text": "{\"deleted_tests\":[{\"public_id\":\"hke-w83-j6r\",\"deleted_at\":\"2024-03-13T08:48:02.740088+00:00\"}]}\n" }, "cookies": [], "headers": [ @@ -199,14 +199,14 @@ "value": "application/json" } ], - "headersSize": 661, + "headersSize": 662, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:56:56.779Z", - "time": 379 + "startedDateTime": "2024-03-13T08:48:02.318Z", + "time": 869 } ], "pages": [], diff --git a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json index c55a7cce6b90..75dc9051e85d 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json +++ b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/frozen.json @@ -1 +1 @@ -"2024-02-14T09:52:43.647Z" +"2024-03-13T08:48:03.203Z" diff --git a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har index e5058acd7ae2..2eb78fff70a2 100644 --- a/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har +++ b/cassettes/v1/Synthetics_2658572017/Create-an-API-test-with-multi-subtype-returns-OK-Returns-the-created-test-details-response_460745598/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "f71c7ca79265b01927f01c9f8f766912", + "_id": "155b5b4b228560977c29ebe6f2a66472", "_order": 0, "cache": {}, "request": { - "bodySize": 2224, + "bodySize": 2246, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" + "text": "{\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\"}]},\"locations\":[\"aws:us-east-2\"],\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1710319683\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1710319683\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"subtype\":\"multi\",\"tags\":[\"testing:api\"],\"type\":\"api\"}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/api" }, "response": { - "bodySize": 2636, + "bodySize": 2748, "content": { "mimeType": "application/json", - "size": 2636, - "text": "{\"public_id\":\"49h-gaa-dte\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-02-14T09:52:44.302597+00:00\",\"modified_at\":\"2024-02-14T09:52:44.302597+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"nt6-mfm-kis\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"ksz-bri-vu5\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1707904363\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":139518783,\"org_id\":569509,\"modified_by\":{\"name\":\"Frog\",\"handle\":\"frog@datadoghq.com\",\"email\":\"frog@datadoghq.com\"}}" + "size": 2748, + "text": "{\"public_id\":\"y2r-vcd-vpr\",\"name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1710319683\",\"status\":\"live\",\"type\":\"api\",\"tags\":[\"testing:api\"],\"created_at\":\"2024-03-13T08:48:03.719895+00:00\",\"modified_at\":\"2024-03-13T08:48:03.719895+00:00\",\"config\":{\"configVariables\":[{\"example\":\"content-type\",\"name\":\"PROPERTY\",\"pattern\":\"content-type\",\"type\":\"text\"}],\"steps\":[{\"allowFailure\":true,\"assertions\":[{\"operator\":\"is\",\"target\":200,\"type\":\"statusCode\"}],\"extractedValues\":[{\"field\":\"server\",\"name\":\"EXTRACTED_VALUE\",\"parser\":{\"type\":\"raw\"},\"secure\":true,\"type\":\"http_header\"}],\"isCritical\":true,\"name\":\"request is sent\",\"request\":{\"httpVersion\":\"http2\",\"method\":\"GET\",\"timeout\":10,\"url\":\"https://datadoghq.com\"},\"retry\":{\"count\":5,\"interval\":1000},\"subtype\":\"http\",\"id\":\"uub-ecp-afe\"},{\"allowFailure\":false,\"assertions\":[{\"operator\":\"lessThan\",\"target\":1000,\"type\":\"responseTime\"}],\"extractedValues\":[],\"isCritical\":true,\"name\":\"GRPC CALL\",\"request\":{\"callType\":\"unary\",\"compressedJsonDescriptor\":\"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\"host\":\"grpcbin.test.k6.io\",\"message\":\"{}\",\"metadata\":{},\"method\":\"Index\",\"port\":9000,\"service\":\"grpcbin.GRPCBin\"},\"retry\":{\"count\":0,\"interval\":300},\"subtype\":\"grpc\",\"id\":\"znu-k77-h5c\"}]},\"message\":\"BDD test payload: synthetics_api_test_multi_step_payload.json\",\"options\":{\"accept_self_signed\":false,\"allow_insecure\":true,\"follow_redirects\":true,\"min_failure_duration\":10,\"min_location_failed\":1,\"monitor_name\":\"Test-Create_an_API_test_with_multi_subtype_returns_OK_Returns_the_created_test_details_response-1710319683\",\"monitor_priority\":5,\"retry\":{\"count\":3,\"interval\":1000},\"tick_every\":60},\"locations\":[\"aws:us-east-2\"],\"subtype\":\"multi\",\"created_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"},\"deleted_at\":null,\"monitor_id\":141300471,\"org_id\":321813,\"modified_by\":{\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\"}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:52:43.656Z", - "time": 771 + "startedDateTime": "2024-03-13T08:48:03.208Z", + "time": 831 }, { - "_id": "5bdd6ed788b823f3e96b63759879ebeb", + "_id": "52fbcb2a96956a3338ba45b8f914135a", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"public_ids\":[\"49h-gaa-dte\"]}" + "text": "{\"public_ids\":[\"y2r-vcd-vpr\"]}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v1/synthetics/tests/delete" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 96, - "text": "{\"deleted_tests\":[{\"public_id\":\"49h-gaa-dte\",\"deleted_at\":\"2024-02-14T09:52:44.978031+00:00\"}]}\n" + "text": "{\"deleted_tests\":[{\"public_id\":\"y2r-vcd-vpr\",\"deleted_at\":\"2024-03-13T08:48:04.414269+00:00\"}]}\n" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-02-14T09:52:44.448Z", - "time": 668 + "startedDateTime": "2024-03-13T08:48:04.044Z", + "time": 1172 } ], "pages": [], diff --git a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts index c87e122d174b..b17ae0be9468 100644 --- a/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts +++ b/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.ts @@ -45,6 +45,7 @@ const params: v1.SyntheticsApiCreateSyntheticsAPITestRequest = { method: "GET", timeout: 10, url: "https://datadoghq.com", + httpVersion: "http2", }, retry: { count: 5, diff --git a/examples/v1/synthetics/UpdateBrowserTest.ts b/examples/v1/synthetics/UpdateBrowserTest.ts index 275b38faa78a..5fea0ed5e404 100644 --- a/examples/v1/synthetics/UpdateBrowserTest.ts +++ b/examples/v1/synthetics/UpdateBrowserTest.ts @@ -31,6 +31,7 @@ const params: v1.SyntheticsApiUpdateBrowserTestRequest = { key: {}, }, certificateDomains: [], + httpVersion: "http1", proxy: { url: "https://example.com", }, diff --git a/features/v1/given.json b/features/v1/given.json index 2b44628aa1fb..0934ea27dd95 100644 --- a/features/v1/given.json +++ b/features/v1/given.json @@ -250,7 +250,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\"\n },\n {\n \"name\": \"GRPC CALL\",\n \"subtype\": \"grpc\",\n \"extractedValues\": [],\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"grpcbin.test.k6.io\",\n \"port\": 9000,\n \"service\": \"grpcbin.GRPCBin\",\n \"method\": \"Index\",\n \"message\": \"{}\",\n \"compressedJsonDescriptor\": \"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\n \"metadata\": {},\n \"callType\": \"unary\"\n }\n }\n ]\n },\n \"locations\": [\"aws:us-east-2\"],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": { \"count\": 3, \"interval\": 1000 },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\"testing:api\"],\n \"type\": \"api\"\n}\n" + "value": "{\n \"config\": {\n \"configVariables\": [\n {\n \"example\": \"content-type\",\n \"name\": \"PROPERTY\",\n \"pattern\": \"content-type\",\n \"type\": \"text\"\n }\n ],\n \"steps\": [\n {\n \"allowFailure\": true,\n \"assertions\": [\n {\n \"operator\": \"is\",\n \"type\": \"statusCode\",\n \"target\": 200\n }\n ],\n \"extractedValues\": [\n {\n \"field\": \"server\",\n \"name\": \"EXTRACTED_VALUE\",\n \"parser\": {\n \"type\": \"raw\"\n },\n \"type\": \"http_header\",\n \"secure\": true\n }\n ],\n \"isCritical\": true,\n \"name\": \"request is sent\",\n \"request\": {\n \"method\": \"GET\",\n \"timeout\": 10,\n \"url\": \"https://datadoghq.com\",\n \"httpVersion\": \"http2\"\n },\n \"retry\": {\n \"count\": 5,\n \"interval\": 1000\n },\n \"subtype\": \"http\"\n },\n {\n \"name\": \"GRPC CALL\",\n \"subtype\": \"grpc\",\n \"extractedValues\": [],\n \"allowFailure\": false,\n \"isCritical\": true,\n \"retry\": {\n \"count\": 0,\n \"interval\": 300\n },\n \"assertions\": [\n {\n \"operator\": \"lessThan\",\n \"type\": \"responseTime\",\n \"target\": 1000\n }\n ],\n \"request\": {\n \"host\": \"grpcbin.test.k6.io\",\n \"port\": 9000,\n \"service\": \"grpcbin.GRPCBin\",\n \"method\": \"Index\",\n \"message\": \"{}\",\n \"compressedJsonDescriptor\": \"eJy1lU1z2yAQhv+Lzj74I3ETH506bQ7OZOSm1w4Wa4epBARQppqM/3v5koCJJdvtxCdW77vPssCO3zMKUgHOFu/ZXvBiS6hZho/f8qe7pftYgXphWJrlA8XwxywEvNba+6PhkC2yVcVVswYp0R6ykRYlZ1SCV21SDrxsssPIeS9FJKqGfK2rqnmmSBwhWa2XlKgtaQPiDcRGCUDVfwGD2sKUqKEtc1cSoOrsMlaMOec1sySYCCgUYRSVLv2zSva2u+FQkB0pVkIw8bFuIudOOn3pOaKYVT3Iy97Pd0AYhOx5QcMsnxvRHlnuLf8ETDd3CNtrv2nejkDpRnANCmGkkFn/hsYzpBKE7jVbufgnKnV9HRM9zRPDDKPttYT61n0TdWkAAjggk9AhuxIeaXd69CYTcsGw7cBTakLVbNpRzGEgyWjkSOpMbZXkhGL6oX30R49qt3GoHrap7i0XdD41WQ+2icCNm5p1hmFqnHNlcla0riKmDZ183crDxChjbnurtxHPRE784sVhWvDfGP+SsTKibU3o5NtWHuZFGZOxP6P5VXqIOvaOSec4eYohyd7NslHuJbd1bewds85xYrNxkr2d+5IhFWF3NvaO684xjE2S5ulY+tu64Pna0fCPJgzw6vF5/WucLcYjt5xoq19O3UDptOg/OamJQRaCcPPnMTQ2QDFn+uhPvUfnCrMc99upyQY4Ui9Dlc/YoG3R/v4Cs9YE+g==\",\n \"metadata\": {},\n \"callType\": \"unary\"\n }\n }\n ]\n },\n \"locations\": [\"aws:us-east-2\"],\n \"message\": \"BDD test payload: synthetics_api_test_multi_step_payload.json\",\n \"name\": \"{{ unique }}\",\n \"options\": {\n \"accept_self_signed\": false,\n \"allow_insecure\": true,\n \"follow_redirects\": true,\n \"min_failure_duration\": 10,\n \"min_location_failed\": 1,\n \"monitor_name\": \"{{ unique }}\",\n \"monitor_priority\": 5,\n \"retry\": { \"count\": 3, \"interval\": 1000 },\n \"tick_every\": 60\n },\n \"subtype\": \"multi\",\n \"tags\": [\"testing:api\"],\n \"type\": \"api\"\n}\n" } ], "step": "there is a valid \"synthetics_api_test_multi_step\" in the system", diff --git a/features/v1/synthetics.feature b/features/v1/synthetics.feature index 36f747431546..4942cb45e286 100644 --- a/features/v1/synthetics.feature +++ b/features/v1/synthetics.feature @@ -34,7 +34,7 @@ Feature: Synthetics @generated @skip @team:DataDog/synthetics-app Scenario: Create a browser test returns "- JSON format is wrong" response Given new "CreateSyntheticsBrowserTest" request - And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} + And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 400 - JSON format is wrong @@ -61,7 +61,7 @@ Feature: Synthetics @generated @skip @team:DataDog/synthetics-app Scenario: Create a browser test returns "Test quota is reached" response Given new "CreateSyntheticsBrowserTest" request - And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} + And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 402 Test quota is reached @@ -202,6 +202,7 @@ Feature: Synthetics And the response "name" is equal to "{{ unique }}" And the response "config.steps[0].retry.count" is equal to 5 And the response "config.steps[0].retry.interval" is equal to 1000 + And the response "config.steps[0].request.httpVersion" is equal to "http2" And the response "config.steps[0].extractedValues[0].secure" is equal to true And the response "config.steps[1].request.host" is equal to "grpcbin.test.k6.io" @@ -267,7 +268,7 @@ Feature: Synthetics Scenario: Edit a browser test returns "- JSON format is wrong" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" - And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} + And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 400 - JSON format is wrong @@ -275,7 +276,7 @@ Feature: Synthetics Scenario: Edit a browser test returns "- Synthetic Monitoring is not activated for the user" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" - And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} + And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 404 - Synthetic Monitoring is not activated for the user @@ -283,7 +284,7 @@ Feature: Synthetics Scenario: Edit a browser test returns "OK" response Given new "UpdateBrowserTest" request And request contains "public_id" parameter from "REPLACE.ME" - And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} + And body with value {"config": {"assertions": [], "configVariables": [{"name": "VARIABLE_NAME", "secure": false, "type": "text"}], "request": {"basicAuth": {"password": "PaSSw0RD!", "type": "web", "username": "my_username"}, "bodyType": "text/plain", "callType": "unary", "certificate": {"cert": {}, "key": {}}, "certificateDomains": [], "httpVersion": "http1", "proxy": {"url": "https://example.com"}, "service": "Greeter", "url": "https://example.com"}, "variables": [{"name": "VARIABLE_NAME", "type": "text"}]}, "locations": ["aws:eu-west-3"], "message": "", "name": "Example test name", "options": {"ci": {"executionRule": "blocking"}, "device_ids": ["chrome.laptop_large"], "httpVersion": "http1", "monitor_options": {}, "restricted_roles": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"], "retry": {}, "rumSettings": {"applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "clientTokenId": 12345, "isEnabled": true}, "scheduling": {"timeframes": [{"day": 1, "from": "07:00", "to": "16:00"}, {"day": 3, "from": "07:00", "to": "16:00"}], "timezone": "America/New_York"}}, "status": "live", "steps": [{"type": "assertElementContent"}], "tags": ["env:prod"], "type": "browser"} When the request is sent Then the response status is 200 OK diff --git a/features/v1/synthetics_api_test_multi_step_payload.json b/features/v1/synthetics_api_test_multi_step_payload.json index 287784361564..214ce5297fbb 100644 --- a/features/v1/synthetics_api_test_multi_step_payload.json +++ b/features/v1/synthetics_api_test_multi_step_payload.json @@ -34,7 +34,8 @@ "request": { "method": "GET", "timeout": 10, - "url": "https://datadoghq.com" + "url": "https://datadoghq.com", + "httpVersion": "http2" }, "retry": { "count": 5, diff --git a/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts b/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts index 797a6962de60..c2a10322ffec 100644 --- a/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts +++ b/packages/datadog-api-client-v1/models/SyntheticsTestRequest.ts @@ -5,6 +5,7 @@ */ import { SyntheticsBasicAuth } from "./SyntheticsBasicAuth"; import { SyntheticsTestCallType } from "./SyntheticsTestCallType"; +import { SyntheticsTestOptionsHTTPVersion } from "./SyntheticsTestOptionsHTTPVersion"; import { SyntheticsTestRequestBodyType } from "./SyntheticsTestRequestBodyType"; import { SyntheticsTestRequestCertificate } from "./SyntheticsTestRequestCertificate"; import { SyntheticsTestRequestProxy } from "./SyntheticsTestRequestProxy"; @@ -71,6 +72,10 @@ export class SyntheticsTestRequest { * Host name to perform the test with. */ "host"?: string; + /** + * HTTP version to use for a Synthetic test. + */ + "httpVersion"?: SyntheticsTestOptionsHTTPVersion; /** * Message to send for UDP or WebSocket tests. */ @@ -203,6 +208,10 @@ export class SyntheticsTestRequest { baseName: "host", type: "string", }, + httpVersion: { + baseName: "httpVersion", + type: "SyntheticsTestOptionsHTTPVersion", + }, message: { baseName: "message", type: "string", From 981a42d76fcd2d0bd564f04f5ebbd734a3b31ebc Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 15:09:07 -0400 Subject: [PATCH 41/41] Release 1.23.0 (#1559) * Bump version to 1.23.0 * Update CHANGELOG --------- Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c148b520f6e..eab1e70fbe71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # CHANGELOG +## 1.23.0 / 2024-03-13 + +### Fixed +* Downgrade noisy deserialization error log to debug by @skarimo in https://github.com/DataDog/datadog-api-client-typescript/pull/1515 +* Move under common tag Case Management by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1520 +* Include user data with team membership resource by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1516 +* Apply static analysis changes by @skarimo in https://github.com/DataDog/datadog-api-client-typescript/pull/1488 +* Disable additionalProperties for Downtime Schedule UpdateRequest oneOfs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1525 +* Fix ListServiceDefinitions pagination information by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1550 +### Added +* Case Management Public API documentation by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1499 +* Make grpc steps available for synthetics api multisteps tests by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1519 +* Add cloud run filter to GCP v1 and v2 spec by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1496 +* add ASM serverless to usage metering API docs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1529 +* Add new products to usage API docs by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1534 +* Implement additionalProperties on all models by default by @nkzou in https://github.com/DataDog/datadog-api-client-typescript/pull/1532 +* Adds support for `ListMetricAssets` endpoint by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1531 +* Add support for new CRUD agent rules endpoints by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1545 +* Add documentation for workflow usage attribution by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1551 +* Add Custom Destinations Public API by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1555 +### Changed +* Update spec for DORA Metrics Incident endpoint by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1518 +### Deprecated +* Deprecate the pattern property for SDS Standard Pattern Attributes by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1546 +* Deprecate Incident Services endpoints by @api-clients-generation-pipeline in https://github.com/DataDog/datadog-api-client-typescript/pull/1557 + +## New Contributors +* @antonio-ramadas-dd made their first contribution in https://github.com/DataDog/datadog-api-client-typescript/pull/1554 + +**Full Changelog**: https://github.com/DataDog/datadog-api-client-typescript/compare/v1.22.0...v1.23.0 + ## 1.22.0 / 2024-02-06 ### Fixed diff --git a/package.json b/package.json index 91a9601577c1..f945319a1433 100644 --- a/package.json +++ b/package.json @@ -108,5 +108,5 @@ "engines": { "node": ">=12.0.0" }, - "version": "1.22.1-beta.0" + "version": "1.23.0" }