@@ -34,14 +34,14 @@ Feature: GCP Integration
3434 @generated @skip @team:DataDog/gcp-integrations
3535 Scenario : Create a new entry for your service account returns "Bad Request" response
3636 Given new "CreateGCPSTSAccount" request
37- And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"type" :
"gcp_service_account" }}
37+ And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }
, { "filters" : [ "snapshot.*" , "!*_by_region" ], "id" : "pubsub" } ],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"type" :
"gcp_service_account" }}
3838 When the request is sent
3939 Then the response status is 400 Bad Request
4040
4141 @generated @skip @team:DataDog/gcp-integrations
4242 Scenario : Create a new entry for your service account returns "Conflict" response
4343 Given new "CreateGCPSTSAccount" request
44- And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"type" :
"gcp_service_account" }}
44+ And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }
, { "filters" : [ "snapshot.*" , "!*_by_region" ], "id" : "pubsub" } ],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"type" :
"gcp_service_account" }}
4545 When the request is sent
4646 Then the response status is 409 Conflict
4747
@@ -151,15 +151,15 @@ Feature: GCP Integration
151151 Scenario : Update STS Service Account returns "Bad Request" response
152152 Given new "UpdateGCPSTSAccount" request
153153 And request contains "account_id" parameter from "REPLACE.ME"
154- And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"id" :
"d291291f-12c2-22g4-j290-123456678897" ,
"type" :
"gcp_service_account" }}
154+ And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }
, { "filters" : [ "snapshot.*" , "!*_by_region" ], "id" : "pubsub" } ],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"id" :
"d291291f-12c2-22g4-j290-123456678897" ,
"type" :
"gcp_service_account" }}
155155 When the request is sent
156156 Then the response status is 400 Bad Request
157157
158158 @generated @skip @team:DataDog/gcp-integrations
159159 Scenario : Update STS Service Account returns "Not Found" response
160160 Given new "UpdateGCPSTSAccount" request
161161 And request contains "account_id" parameter from "REPLACE.ME"
162- And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"id" :
"d291291f-12c2-22g4-j290-123456678897" ,
"type" :
"gcp_service_account" }}
162+ And body with value {
"data" : {
"attributes" : {
"account_tags" : [],
"client_email" :
"[email protected] " ,
"cloud_run_revision_filters" : [
"$KEY:$VALUE" ],
"host_filters" : [
"$KEY:$VALUE" ],
"is_per_project_quota_enabled" : true,
"is_resource_change_collection_enabled" : true,
"is_security_command_center_enabled" : true,
"metric_namespace_configs" : [{
"disabled" : true,
"id" :
"aiplatform" }
, { "filters" : [ "snapshot.*" , "!*_by_region" ], "id" : "pubsub" } ],
"monitored_resource_configs" : [{
"filters" : [
"$KEY:$VALUE" ],
"type" :
"gce_instance" }]},
"id" :
"d291291f-12c2-22g4-j290-123456678897" ,
"type" :
"gcp_service_account" }}
163163 When the request is sent
164164 Then the response status is 404 Not Found
165165
0 commit comments