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
And there is a valid "custom_destination" in the system
184
184
When the request is sent
185
185
Then the response status is 200 OK
186
-
And the response "data" has length 1
187
-
And the response "data[0].type" is equal to "custom_destination"
188
-
And the response "data[0].id" is equal to "{{ custom_destination.data.id }}"
189
-
And the response "data[0].attributes.name" is equal to "{{ custom_destination.data.attributes.name }}"
190
-
And the response "data[0].attributes.query" is equal to "{{ custom_destination.data.attributes.query }}"
191
-
And the response "data[0].attributes.forwarder_destination.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.type }}"
192
-
And the response "data[0].attributes.forwarder_destination.endpoint" is equal to "{{ custom_destination.data.attributes.forwarder_destination.endpoint }}"
193
-
And the response "data[0].attributes.forwarder_destination.auth.type" is equal to "{{ custom_destination.data.attributes.forwarder_destination.auth.type }}"
194
-
And the response "data[0].attributes.forwarder_destination.auth" does not have field "username"
195
-
And the response "data[0].attributes.forwarder_destination.auth" does not have field "password"
196
-
And the response "data[0].attributes.enabled" is false
197
-
And the response "data[0].attributes.forward_tags" is false
198
-
And the response "data[0].attributes.forward_tags_restriction_list" has length 1
199
-
And the response "data[0].attributes.forward_tags_restriction_list" array contains value "host"
200
-
And the response "data[0].attributes.forward_tags_restriction_list_type" is equal to "{{ custom_destination.data.attributes.forward_tags_restriction_list_type }}"
186
+
And the response "data" has item with field "type" with value "custom_destination"
187
+
And the response "data" has item with field "id" with value "{{ custom_destination.data.id }}"
188
+
And the response "data" has item with field "attributes.name" with value "{{ custom_destination.data.attributes.name }}"
189
+
And the response "data" has item with field "attributes.query" with value "{{ custom_destination.data.attributes.query }}"
190
+
And the response "data" has item with field "attributes.forwarder_destination.type" with value "{{ custom_destination.data.attributes.forwarder_destination.type }}"
191
+
And the response "data" has item with field "attributes.forwarder_destination.endpoint" with value "{{ custom_destination.data.attributes.forwarder_destination.endpoint }}"
192
+
And the response "data" has item with field "attributes.forwarder_destination.auth.type" with value "{{ custom_destination.data.attributes.forwarder_destination.auth.type }}"
193
+
And the response "data" has item with field "attributes.enabled" with value false
194
+
And the response "data" has item with field "attributes.forward_tags" with value false
195
+
And the response "data" has item with field "attributes.forward_tags_restriction_list_type" with value "{{ custom_destination.data.attributes.forward_tags_restriction_list_type }}"
201
196
202
197
@team:DataDog/logs-backend
203
198
Scenario: Update a custom destination returns "Bad Request" response
0 commit comments