-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from JupiterOne/NO-TICKET-fix-bugs-with-integ…
…ration-resource No ticket fix bugs with integration resource
- Loading branch information
Showing
4 changed files
with
412 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,237 +1,3 @@ | ||
--- | ||
version: 2 | ||
interactions: | ||
- id: 0 | ||
request: | ||
proto: HTTP/1.1 | ||
proto_major: 1 | ||
proto_minor: 1 | ||
content_length: 801 | ||
transfer_encoding: [] | ||
trailer: {} | ||
host: graphql.us.jupiterone.io | ||
remote_addr: "" | ||
request_uri: "" | ||
body: '{"query":"\nmutation CreateIntegrationInstance ($instance: CreateIntegrationInstanceInput!) {\n\tcreateIntegrationInstance(instance: $instance) {\n\t\tid\n\t\tname\n\t\taccountId\n\t\tsourceIntegrationInstanceId\n\t\tpollingInterval\n\t\tintegrationDefinitionId\n\t\tdescription\n\t\tconfig\n\t\toffsiteComplete\n\t\tinstanceRelationship\n\t\tcollectorPoolId\n\t}\n}\n","variables":{"instance":{"name":"tf-acc-test-4853679450963121774","sourceIntegrationInstanceId":"","pollingInterval":"ONE_DAY","pollingIntervalCronExpression":{"hour":0,"dayOfWeek":0},"integrationDefinitionId":"8013680b-311a-4c2e-b53b-c8735fd97a5c","description":"Test integration","config":{"key":"value"},"offsiteComplete":false,"ingestionSourcesOverrides":null,"collectorPoolId":""}},"operationName":"CreateIntegrationInstance"}' | ||
form: {} | ||
headers: | ||
Cache-Control: | ||
- no-cache | ||
Content-Type: | ||
- application/json | ||
url: https://graphql.us.jupiterone.io/ | ||
method: POST | ||
response: | ||
proto: HTTP/2.0 | ||
proto_major: 2 | ||
proto_minor: 0 | ||
transfer_encoding: [] | ||
trailer: {} | ||
content_length: 418 | ||
uncompressed: false | ||
body: | | ||
{"data":{"createIntegrationInstance":{"id":"38a5fb06-0882-4877-9d64-03ba1d4f0aaa","name":"tf-acc-test-4853679450963121774","accountId":"j1dev","sourceIntegrationInstanceId":"","pollingInterval":"ONE_DAY","integrationDefinitionId":"8013680b-311a-4c2e-b53b-c8735fd97a5c","description":"Test integration","config":{"key":"***masked***"},"offsiteComplete":false,"instanceRelationship":"STANDALONE","collectorPoolId":""}}} | ||
headers: | ||
Access-Control-Allow-Credentials: | ||
- "true" | ||
Content-Length: | ||
- "418" | ||
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: | ||
- application/json | ||
Cross-Origin-Embedder-Policy: | ||
- require-corp | ||
Cross-Origin-Opener-Policy: | ||
- same-origin | ||
Cross-Origin-Resource-Policy: | ||
- same-origin | ||
Expect-Ct: | ||
- max-age=0 | ||
Origin-Agent-Cluster: | ||
- ?1 | ||
Ratelimit-Limit: | ||
- "1000" | ||
Ratelimit-Remaining: | ||
- "999" | ||
Ratelimit-Requested: | ||
- "1" | ||
Ratelimit-Reset: | ||
- "1" | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=15552000; includeSubDomains | ||
Vary: | ||
- Origin | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Dns-Prefetch-Control: | ||
- "off" | ||
X-Download-Options: | ||
- noopen | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Permitted-Cross-Domain-Policies: | ||
- none | ||
X-Xss-Protection: | ||
- "0" | ||
status: 200 OK | ||
code: 200 | ||
duration: 1.086208834s | ||
- id: 1 | ||
request: | ||
proto: HTTP/1.1 | ||
proto_major: 1 | ||
proto_minor: 1 | ||
content_length: 415 | ||
transfer_encoding: [] | ||
trailer: {} | ||
host: graphql.us.jupiterone.io | ||
remote_addr: "" | ||
request_uri: "" | ||
body: '{"query":"\nquery GetIntegrationInstance ($id: String!) {\n\tintegrationInstance(id: $id) {\n\t\tid\n\t\tname\n\t\taccountId\n\t\tsourceIntegrationInstanceId\n\t\tpollingInterval\n\t\tintegrationDefinitionId\n\t\tdescription\n\t\tconfig\n\t\toffsiteComplete\n\t\tinstanceRelationship\n\t\tcollectorPoolId\n\t}\n}\n","variables":{"id":"38a5fb06-0882-4877-9d64-03ba1d4f0aaa"},"operationName":"GetIntegrationInstance"}' | ||
form: {} | ||
headers: | ||
Cache-Control: | ||
- no-cache | ||
Content-Type: | ||
- application/json | ||
url: https://graphql.us.jupiterone.io/ | ||
method: POST | ||
response: | ||
proto: HTTP/2.0 | ||
proto_major: 2 | ||
proto_minor: 0 | ||
transfer_encoding: [] | ||
trailer: {} | ||
content_length: 412 | ||
uncompressed: false | ||
body: | | ||
{"data":{"integrationInstance":{"id":"38a5fb06-0882-4877-9d64-03ba1d4f0aaa","name":"tf-acc-test-4853679450963121774","accountId":"j1dev","sourceIntegrationInstanceId":"","pollingInterval":"ONE_DAY","integrationDefinitionId":"8013680b-311a-4c2e-b53b-c8735fd97a5c","description":"Test integration","config":{"key":"***masked***"},"offsiteComplete":false,"instanceRelationship":"STANDALONE","collectorPoolId":""}}} | ||
headers: | ||
Access-Control-Allow-Credentials: | ||
- "true" | ||
Content-Length: | ||
- "412" | ||
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: | ||
- application/json | ||
Cross-Origin-Embedder-Policy: | ||
- require-corp | ||
Cross-Origin-Opener-Policy: | ||
- same-origin | ||
Cross-Origin-Resource-Policy: | ||
- same-origin | ||
Expect-Ct: | ||
- max-age=0 | ||
Origin-Agent-Cluster: | ||
- ?1 | ||
Ratelimit-Limit: | ||
- "1000" | ||
Ratelimit-Remaining: | ||
- "999" | ||
Ratelimit-Requested: | ||
- "1" | ||
Ratelimit-Reset: | ||
- "1" | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=15552000; includeSubDomains | ||
Vary: | ||
- Origin | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Dns-Prefetch-Control: | ||
- "off" | ||
X-Download-Options: | ||
- noopen | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Permitted-Cross-Domain-Policies: | ||
- none | ||
X-Xss-Protection: | ||
- "0" | ||
status: 200 OK | ||
code: 200 | ||
duration: 556.113ms | ||
- id: 2 | ||
request: | ||
proto: HTTP/1.1 | ||
proto_major: 1 | ||
proto_minor: 1 | ||
content_length: 230 | ||
transfer_encoding: [] | ||
trailer: {} | ||
host: graphql.us.jupiterone.io | ||
remote_addr: "" | ||
request_uri: "" | ||
body: '{"query":"\nmutation DeleteIntegrationInstance ($id: String!) {\n\tdeleteIntegrationInstance(id: $id) {\n\t\tsuccess\n\t}\n}\n","variables":{"id":"38a5fb06-0882-4877-9d64-03ba1d4f0aaa"},"operationName":"DeleteIntegrationInstance"}' | ||
form: {} | ||
headers: | ||
Cache-Control: | ||
- no-cache | ||
Content-Type: | ||
- application/json | ||
url: https://graphql.us.jupiterone.io/ | ||
method: POST | ||
response: | ||
proto: HTTP/2.0 | ||
proto_major: 2 | ||
proto_minor: 0 | ||
transfer_encoding: [] | ||
trailer: {} | ||
content_length: 56 | ||
uncompressed: false | ||
body: | | ||
{"data":{"deleteIntegrationInstance":{"success":true}}} | ||
headers: | ||
Access-Control-Allow-Credentials: | ||
- "true" | ||
Content-Length: | ||
- "56" | ||
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: | ||
- application/json | ||
Cross-Origin-Embedder-Policy: | ||
- require-corp | ||
Cross-Origin-Opener-Policy: | ||
- same-origin | ||
Cross-Origin-Resource-Policy: | ||
- same-origin | ||
Expect-Ct: | ||
- max-age=0 | ||
Origin-Agent-Cluster: | ||
- ?1 | ||
Ratelimit-Limit: | ||
- "1000" | ||
Ratelimit-Remaining: | ||
- "999" | ||
Ratelimit-Requested: | ||
- "1" | ||
Ratelimit-Reset: | ||
- "1" | ||
Referrer-Policy: | ||
- no-referrer | ||
Strict-Transport-Security: | ||
- max-age=15552000; includeSubDomains | ||
Vary: | ||
- Origin | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Dns-Prefetch-Control: | ||
- "off" | ||
X-Download-Options: | ||
- noopen | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Permitted-Cross-Domain-Policies: | ||
- none | ||
X-Xss-Protection: | ||
- "0" | ||
status: 200 OK | ||
code: 200 | ||
duration: 619.06675ms | ||
interactions: [] |
Oops, something went wrong.