From 290ae438910ed63b1dbdb53127c28c738bc47f66 Mon Sep 17 00:00:00 2001 From: Julia Zolotarev Date: Wed, 27 Nov 2024 10:54:40 -0500 Subject: [PATCH] APP-15799 - Update dashboard test casette --- jupiterone/cassettes/TestDashboard_Basic.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/jupiterone/cassettes/TestDashboard_Basic.yaml b/jupiterone/cassettes/TestDashboard_Basic.yaml index a1dcd662..bc391d9e 100644 --- a/jupiterone/cassettes/TestDashboard_Basic.yaml +++ b/jupiterone/cassettes/TestDashboard_Basic.yaml @@ -6,13 +6,13 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 380 + content_length: 410 transfer_encoding: [] trailer: {} host: graphql.us.jupiterone.io remote_addr: "" request_uri: "" - body: '{"query":"\nmutation CreateDashboard ($input: CreateInsightsDashboardInput!) {\n\tcreateDashboard(input: $input) {\n\t\tname\n\t\tid\n\t}\n}\n","variables":{"input":{"name":"tf-provider-test-dashboard","type":"Account","userIds":null,"groupIds":null,"widgets":null,"published":false,"publishedToUserIds":null,"publishedToGroupIds":null,"ttd":0}},"operationName":"CreateDashboard"}' + body: '{"query":"\nmutation CreateDashboard ($input: CreateInsightsDashboardInput!) {\n\tcreateDashboard(input: $input) {\n\t\tname\n\t\tid\n\t}\n}\n","variables":{"input":{"name":"tf-provider-test-dashboard","type":"Account","userIds":null,"groupIds":null,"widgets":null,"published":false,"publishedToUserIds":null,"publishedToGroupIds":null,"ttd":0,"resourceGroupId":"rg-123456"}},"operationName":"CreateDashboard"}' form: {} headers: Cache-Control: @@ -30,7 +30,7 @@ interactions: content_length: 111 uncompressed: false body: | - {"data":{"createDashboard":{"name":"tf-provider-test-dashboard","id":"86a338a3-7783-4fdb-8c68-347aa4d811fb"}}} + {"data":{"createDashboard":{"name":"tf-provider-test-dashboard","id":"bed628b8-6c68-4f0d-9f6d-b8bbb4580ef3"}}} headers: Access-Control-Allow-Credentials: - "true" @@ -78,19 +78,19 @@ interactions: - "0" status: 200 OK code: 200 - duration: 662.687334ms + duration: 714.17575ms - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 229 + content_length: 250 transfer_encoding: [] trailer: {} host: graphql.us.jupiterone.io remote_addr: "" request_uri: "" - body: '{"query":"\nquery GetDashboard ($dashboardId: String!) {\n\tgetDashboard(dashboardId: $dashboardId) {\n\t\tid\n\t\tname\n\t}\n}\n","variables":{"dashboardId":"86a338a3-7783-4fdb-8c68-347aa4d811fb"},"operationName":"GetDashboard"}' + body: '{"query":"\nquery GetDashboard ($dashboardId: String!) {\n\tgetDashboard(dashboardId: $dashboardId) {\n\t\tid\n\t\tname\n\t\tresourceGroupId\n\t}\n}\n","variables":{"dashboardId":"bed628b8-6c68-4f0d-9f6d-b8bbb4580ef3"},"operationName":"GetDashboard"}' form: {} headers: Cache-Control: @@ -105,15 +105,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 108 + content_length: 138 uncompressed: false body: | - {"data":{"getDashboard":{"id":"86a338a3-7783-4fdb-8c68-347aa4d811fb","name":"tf-provider-test-dashboard"}}} + {"data":{"getDashboard":{"id":"bed628b8-6c68-4f0d-9f6d-b8bbb4580ef3","name":"tf-provider-test-dashboard","resourceGroupId":"rg-123456"}}} headers: Access-Control-Allow-Credentials: - "true" Content-Length: - - "108" + - "138" Content-Security-Policy: - 'default-src ''self'';base-uri ''self'';block-all-mixed-content;font-src ''self'' https: data:;form-action ''self'';frame-ancestors ''self'';img-src ''self'' data:;object-src ''none'';script-src ''self'';script-src-attr ''none'';style-src ''self'' https: ''unsafe-inline'';upgrade-insecure-requests' Content-Type: @@ -156,7 +156,7 @@ interactions: - "0" status: 200 OK code: 200 - duration: 662.471625ms + duration: 408.778792ms - id: 2 request: proto: HTTP/1.1 @@ -168,7 +168,7 @@ interactions: host: graphql.us.jupiterone.io remote_addr: "" request_uri: "" - body: '{"query":"\nmutation DeleteDashboard ($dashboardId: String!) {\n\tdeleteDashboard(dashboardId: $dashboardId) {\n\t\tsuccess\n\t}\n}\n","variables":{"dashboardId":"86a338a3-7783-4fdb-8c68-347aa4d811fb"},"operationName":"DeleteDashboard"}' + body: '{"query":"\nmutation DeleteDashboard ($dashboardId: String!) {\n\tdeleteDashboard(dashboardId: $dashboardId) {\n\t\tsuccess\n\t}\n}\n","variables":{"dashboardId":"bed628b8-6c68-4f0d-9f6d-b8bbb4580ef3"},"operationName":"DeleteDashboard"}' form: {} headers: Cache-Control: @@ -234,4 +234,4 @@ interactions: - "0" status: 200 OK code: 200 - duration: 729.556542ms + duration: 455.243375ms