@@ -13,7 +13,7 @@ Feature: GCP Integration
1313 @generated @skip @team:DataDog/gcp-integrations
1414 Scenario : Create a GCP integration returns "Bad Request" response
1515 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" :
"[email protected] " ,
"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" :
"[email protected] " ,
"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" }
1717 When the request is sent
1818 Then the response status is 400 Bad Request
1919
@@ -27,7 +27,7 @@ Feature: GCP Integration
2727 @generated @skip @team:DataDog/gcp-integrations
2828 Scenario : Delete a GCP integration returns "Bad Request" response
2929 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" :
"[email protected] " ,
"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" :
"[email protected] " ,
"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" }
3131 When the request is sent
3232 Then the response status is 400 Bad Request
3333
@@ -62,7 +62,7 @@ Feature: GCP Integration
6262 @generated @skip @team:DataDog/gcp-integrations
6363 Scenario : Update a GCP integration returns "Bad Request" response
6464 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" :
"[email protected] " ,
"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" :
"[email protected] " ,
"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" }
6666 When the request is sent
6767 Then the response status is 400 Bad Request
6868
0 commit comments