@@ -12,7 +12,7 @@ Feature: Azure Integration
1212 @generated @skip @team:DataDog/azure-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" , "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" , "resource_collection_enabled" : true, "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" , "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
1616 When the request is sent
1717 Then the response status is 400 Bad Request
1818
@@ -26,7 +26,7 @@ Feature: Azure Integration
2626 @generated @skip @team:DataDog/azure-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" , "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" , "resource_collection_enabled" : true, "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" , "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
3030 When the request is sent
3131 Then the response status is 400 Bad Request
3232
@@ -53,28 +53,28 @@ Feature: Azure Integration
5353 @generated @skip @team:DataDog/azure-integrations
5454 Scenario : Update Azure integration host filters returns "Bad Request" response
5555 Given new "UpdateAzureHostFilters" request
56- 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" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
56+ 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" , "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
5757 When the request is sent
5858 Then the response status is 400 Bad Request
5959
6060 @generated @skip @team:DataDog/azure-integrations
6161 Scenario : Update Azure integration host filters returns "OK" response
6262 Given new "UpdateAzureHostFilters" request
63- 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" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
63+ 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" , "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
6464 When the request is sent
6565 Then the response status is 200 OK
6666
6767 @generated @skip @team:DataDog/azure-integrations
6868 Scenario : Update an Azure integration returns "Bad Request" response
6969 Given new "UpdateAzureIntegration" request
70- 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" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
70+ 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" , "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " new_client_id" : "new1c7f6-1234-5678-9101-3fcbf464test" , "new_tenant_name" : "new1c44-1234-5678-9101-cc00736ftest" , "resource_collection_enabled" : true, "tenant_name" : "testc44-1234-5678-9101-cc00736ftest" }
7171 When the request is sent
7272 Then the response status is 400 Bad Request
7373
7474 @team:DataDog/azure-integrations
7575 Scenario : Update an Azure integration returns "OK" response
7676 Given there is a valid "azure_account" in the system
7777 And new "UpdateAzureIntegration" request
78- And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "{{ uuid }}" , "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" : "{{ uuid }}" , "new_tenant_name" : "{{ uuid }}" , "resource_collection_enabled" : true, "tenant_name" : "{{ uuid }}" }
78+ And body with value {"app_service_plan_filters" : "key:value,filter:example" , "automute" : true, "client_id" : "{{ uuid }}" , "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" : "{{ uuid }}" , "new_tenant_name" : "{{ uuid }}" , "resource_collection_enabled" : true, "metrics_config" : { "excluded_resource_providers" : [ "Microsoft.Sql" , "Microsoft.Cdn" ]}, " tenant_name" : "{{ uuid }}" }
7979 When the request is sent
8080 Then the response status is 200 OK
0 commit comments