You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/v2/features/gcp_integration.feature
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,14 @@ Feature: GCP Integration
34
34
@generated@skip@team:DataDog/gcp-integrations
35
35
Scenario: Create a new entry for your service account returns "Bad Request" response
36
36
Given new "CreateGCPSTSAccount" request
37
-
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true, "resource_collection_enabled": false}, "type": "gcp_service_account"}}
37
+
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}}
38
38
When the request is sent
39
39
Then the response status is 400 Bad Request
40
40
41
41
@generated@skip@team:DataDog/gcp-integrations
42
42
Scenario: Create a new entry for your service account returns "Conflict" response
43
43
Given new "CreateGCPSTSAccount" request
44
-
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true, "resource_collection_enabled": false}, "type": "gcp_service_account"}}
44
+
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true}, "type": "gcp_service_account"}}
45
45
When the request is sent
46
46
Then the response status is 409 Conflict
47
47
@@ -140,15 +140,15 @@ Feature: GCP Integration
140
140
Scenario: Update STS Service Account returns "Bad Request" response
141
141
Given new "UpdateGCPSTSAccount" request
142
142
And request contains "account_id" parameter from "REPLACE.ME"
143
-
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true, "resource_collection_enabled": false}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}}
143
+
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}}
144
144
When the request is sent
145
145
Then the response status is 400 Bad Request
146
146
147
147
@generated@skip@team:DataDog/gcp-integrations
148
148
Scenario: Update STS Service Account returns "Not Found" response
149
149
Given new "UpdateGCPSTSAccount" request
150
150
And request contains "account_id" parameter from "REPLACE.ME"
151
-
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true, "resource_collection_enabled": false}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}}
151
+
And body with value {"data": {"attributes": {"account_tags": [], "client_email": "[email protected]", "host_filters": [], "is_security_command_center_enabled": true}, "id": "d291291f-12c2-22g4-j290-123456678897", "type": "gcp_service_account"}}
0 commit comments