Skip to content

Commit 5820deb

Browse files
author
ci.datadog-api-spec
committedOct 3, 2023
Regenerate client from commit e62b4d51 of spec repo
1 parent 5e10410 commit 5820deb

File tree

8 files changed

+33
-12
lines changed

8 files changed

+33
-12
lines changed
 

‎.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-10-02 18:58:17.891416",
8-
"spec_repo_commit": "aee9e14a"
7+
"regenerated": "2023-10-03 23:40:59.276975",
8+
"spec_repo_commit": "e62b4d51"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-10-02 18:58:17.905529",
13-
"spec_repo_commit": "aee9e14a"
12+
"regenerated": "2023-10-03 23:40:59.291975",
13+
"spec_repo_commit": "e62b4d51"
1414
}
1515
}
1616
}

‎.generator/schemas/v1/openapi.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,14 @@ components:
667667
description: Your Azure web application secret key.
668668
example: testingx./Sw*g/Y33t..R1cH+hScMDt
669669
type: string
670+
container_app_filters:
671+
description: 'Limit the Azure container apps that are pulled into Datadog
672+
using tags.
673+
674+
Only container apps that match one of the defined tags are imported into
675+
Datadog.'
676+
example: key:value,filter:example
677+
type: string
670678
cspm_enabled:
671679
description: Enable Cloud Security Management Misconfigurations for your
672680
organization.

‎examples/v1/azure-integration/CreateAzureIntegration.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const params: v1.AzureIntegrationApiCreateAzureIntegrationRequest = {
1313
automute: true,
1414
clientId: "testc7f6-1234-5678-9101-3fcbf464test",
1515
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
16+
containerAppFilters: "key:value,filter:example",
1617
cspmEnabled: true,
1718
customMetricsEnabled: true,
1819
errors: ["*"],

‎examples/v1/azure-integration/DeleteAzureIntegration.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const params: v1.AzureIntegrationApiDeleteAzureIntegrationRequest = {
1313
automute: true,
1414
clientId: "testc7f6-1234-5678-9101-3fcbf464test",
1515
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
16+
containerAppFilters: "key:value,filter:example",
1617
cspmEnabled: true,
1718
customMetricsEnabled: true,
1819
errors: ["*"],

‎examples/v1/azure-integration/UpdateAzureHostFilters.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const params: v1.AzureIntegrationApiUpdateAzureHostFiltersRequest = {
1313
automute: true,
1414
clientId: "testc7f6-1234-5678-9101-3fcbf464test",
1515
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
16+
containerAppFilters: "key:value,filter:example",
1617
cspmEnabled: true,
1718
customMetricsEnabled: true,
1819
errors: ["*"],

‎examples/v1/azure-integration/UpdateAzureIntegration.ts

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const params: v1.AzureIntegrationApiUpdateAzureIntegrationRequest = {
1313
automute: true,
1414
clientId: "testc7f6-1234-5678-9101-3fcbf464test",
1515
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
16+
containerAppFilters: "key:value,filter:example",
1617
cspmEnabled: true,
1718
customMetricsEnabled: true,
1819
errors: ["*"],

‎features/v1/azure_integration.feature

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ Feature: Azure Integration
1212
@generated @skip @team:DataDog/cloud-integrations
1313
Scenario: Create an Azure integration returns "Bad Request" response
1414
Given new "CreateAzureIntegration" request
15-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
15+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
1616
When the request is sent
1717
Then the response status is 400 Bad Request
1818

1919
@generated @skip @team:DataDog/cloud-integrations
2020
Scenario: Create an Azure integration returns "OK" response
2121
Given new "CreateAzureIntegration" request
22-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
22+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
2323
When the request is sent
2424
Then the response status is 200 OK
2525

2626
@generated @skip @team:DataDog/cloud-integrations
2727
Scenario: Delete an Azure integration returns "Bad Request" response
2828
Given new "DeleteAzureIntegration" request
29-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
29+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
3030
When the request is sent
3131
Then the response status is 400 Bad Request
3232

3333
@generated @skip @team:DataDog/cloud-integrations
3434
Scenario: Delete an Azure integration returns "OK" response
3535
Given new "DeleteAzureIntegration" request
36-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
36+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
3737
When the request is sent
3838
Then the response status is 200 OK
3939

@@ -52,27 +52,27 @@ Feature: Azure Integration
5252
@generated @skip @team:DataDog/cloud-integrations
5353
Scenario: Update Azure integration host filters returns "Bad Request" response
5454
Given new "UpdateAzureHostFilters" request
55-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
55+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
5656
When the request is sent
5757
Then the response status is 400 Bad Request
5858

5959
@generated @skip @team:DataDog/cloud-integrations
6060
Scenario: Update Azure integration host filters returns "OK" response
6161
Given new "UpdateAzureHostFilters" request
62-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
62+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
6363
When the request is sent
6464
Then the response status is 200 OK
6565

6666
@generated @skip @team:DataDog/cloud-integrations
6767
Scenario: Update an Azure integration returns "Bad Request" response
6868
Given new "UpdateAzureIntegration" request
69-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
69+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
7070
When the request is sent
7171
Then the response status is 400 Bad Request
7272

7373
@generated @skip @team:DataDog/cloud-integrations
7474
Scenario: Update an Azure integration returns "OK" response
7575
Given new "UpdateAzureIntegration" request
76-
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
76+
And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "testc7f6-1234-5678-9101-3fcbf464test", "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": "new1c7f6-1234-5678-9101-3fcbf464test", "new_tenant_name": "new1c44-1234-5678-9101-cc00736ftest", "tenant_name": "testc44-1234-5678-9101-cc00736ftest"}
7777
When the request is sent
7878
Then the response status is 200 OK

‎packages/datadog-api-client-v1/models/AzureAccount.ts

+9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ export class AzureAccount {
2727
* Your Azure web application secret key.
2828
*/
2929
"clientSecret"?: string;
30+
/**
31+
* Limit the Azure container apps that are pulled into Datadog using tags.
32+
* Only container apps that match one of the defined tags are imported into Datadog.
33+
*/
34+
"containerAppFilters"?: string;
3035
/**
3136
* Enable Cloud Security Management Misconfigurations for your organization.
3237
*/
@@ -82,6 +87,10 @@ export class AzureAccount {
8287
baseName: "client_secret",
8388
type: "string",
8489
},
90+
containerAppFilters: {
91+
baseName: "container_app_filters",
92+
type: "string",
93+
},
8594
cspmEnabled: {
8695
baseName: "cspm_enabled",
8796
type: "boolean",

0 commit comments

Comments
 (0)