@@ -13,7 +13,7 @@ Feature: GCP Integration
13
13
@generated @skip @team:DataDog/gcp-integrations
14
14
Scenario : Create a GCP integration returns "Bad Request" response
15
15
Given new "CreateGCPIntegration" request
16
- 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_resource_change_collection_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" }
16
+ 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" : "$KEY1:$VALUE1,$KEY2:$VALUE2 " , "is_cspm_enabled" : true, "is_resource_change_collection_enabled" : true, "is_security_command_center_enabled" : true, "monitored_resource_configs" : [{ "filters" : [ "$KEY:$VALUE" ], "type" : "gce_instance" }] , "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" }
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
@@ -27,7 +27,7 @@ Feature: GCP Integration
27
27
@generated @skip @team:DataDog/gcp-integrations
28
28
Scenario : Delete a GCP integration returns "Bad Request" response
29
29
Given new "DeleteGCPIntegration" request
30
- 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_resource_change_collection_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" }
30
+ 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" : "$KEY1:$VALUE1,$KEY2:$VALUE2 " , "is_cspm_enabled" : true, "is_resource_change_collection_enabled" : true, "is_security_command_center_enabled" : true, "monitored_resource_configs" : [{ "filters" : [ "$KEY:$VALUE" ], "type" : "gce_instance" }] , "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" }
31
31
When the request is sent
32
32
Then the response status is 400 Bad Request
33
33
@@ -62,7 +62,7 @@ Feature: GCP Integration
62
62
@generated @skip @team:DataDog/gcp-integrations
63
63
Scenario : Update a GCP integration returns "Bad Request" response
64
64
Given new "UpdateGCPIntegration" request
65
- 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_resource_change_collection_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" }
65
+ 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" : "$KEY1:$VALUE1,$KEY2:$VALUE2 " , "is_cspm_enabled" : true, "is_resource_change_collection_enabled" : true, "is_security_command_center_enabled" : true, "monitored_resource_configs" : [{ "filters" : [ "$KEY:$VALUE" ], "type" : "gce_instance" }] , "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" }
66
66
When the request is sent
67
67
Then the response status is 400 Bad Request
68
68
0 commit comments