This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
generated from JupiterOne-Archives/integration-template
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(INT-6706): check service account key in validateInvocationConfig
- Loading branch information
1 parent
95c6e33
commit 8fc031b
Showing
16 changed files
with
1,230 additions
and
1,020 deletions.
There are no files selected for viewing
137 changes: 137 additions & 0 deletions
137
src/__recordings__/getStepStartStateKeyValidation_372270608/recording.har
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 |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "getStepStartStateKeyValidation", | ||
"creator": { | ||
"comment": "persister:JupiterOneIntegationFSPersister", | ||
"name": "Polly.JS", | ||
"version": "6.0.5" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "acea721c8193b51ced888cae721cc423", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 711, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "content-type", | ||
"value": "application/x-www-form-urlencoded" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "content-length", | ||
"value": "711" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "user-agent", | ||
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "accept-encoding", | ||
"value": "gzip,deflate" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "connection", | ||
"value": "close" | ||
}, | ||
{ | ||
"name": "host", | ||
"value": "www.googleapis.com" | ||
} | ||
], | ||
"headersSize": 300, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "POST", | ||
"postData": { | ||
"mimeType": "application/x-www-form-urlencoded", | ||
"params": [], | ||
"text": "[REDACTED]" | ||
}, | ||
"queryString": [], | ||
"url": "https://www.googleapis.com/oauth2/v4/token" | ||
}, | ||
"response": { | ||
"bodySize": 181, | ||
"content": { | ||
"encoding": "utf-8", | ||
"mimeType": "application/json; charset=UTF-8", | ||
"size": 181, | ||
"text": "{\"access_token\":\"[REDACTED]\",\"expires_in\":9999,\"token_type\":\"Bearer\"}" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json; charset=UTF-8" | ||
}, | ||
{ | ||
"name": "vary", | ||
"value": "Origin, X-Origin, Referer" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Mon, 30 Jan 2023 13:47:19 GMT" | ||
}, | ||
{ | ||
"name": "server", | ||
"value": "scaffolding on HTTPServer2" | ||
}, | ||
{ | ||
"name": "cache-control", | ||
"value": "private" | ||
}, | ||
{ | ||
"name": "x-xss-protection", | ||
"value": "0" | ||
}, | ||
{ | ||
"name": "x-frame-options", | ||
"value": "SAMEORIGIN" | ||
}, | ||
{ | ||
"name": "x-content-type-options", | ||
"value": "nosniff" | ||
}, | ||
{ | ||
"name": "alt-svc", | ||
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" | ||
}, | ||
{ | ||
"name": "connection", | ||
"value": "close" | ||
} | ||
], | ||
"headersSize": 390, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 400, | ||
"statusText": "Bad Request" | ||
}, | ||
"startedDateTime": "2023-01-30T13:47:19.203Z", | ||
"time": 120, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 120 | ||
} | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
510 changes: 0 additions & 510 deletions
510
src/__recordings__/getStepStartStatesExtraTests_2281574594/recording.har
This file was deleted.
Oops, something went wrong.
36 changes: 18 additions & 18 deletions
36
src/__recordings__/getStepStartStates_2244155193/recording.har
Large diffs are not rendered by default.
Oops, something went wrong.
137 changes: 137 additions & 0 deletions
137
src/__recordings__/validateInvocation-failure-accountNotFound_2500377071/recording.har
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 |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "validateInvocation:failure:accountNotFound", | ||
"creator": { | ||
"comment": "persister:JupiterOneIntegationFSPersister", | ||
"name": "Polly.JS", | ||
"version": "6.0.5" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "acea721c8193b51ced888cae721cc423", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 711, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "content-type", | ||
"value": "application/x-www-form-urlencoded" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "content-length", | ||
"value": "711" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "user-agent", | ||
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "accept-encoding", | ||
"value": "gzip,deflate" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "connection", | ||
"value": "close" | ||
}, | ||
{ | ||
"name": "host", | ||
"value": "www.googleapis.com" | ||
} | ||
], | ||
"headersSize": 300, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "POST", | ||
"postData": { | ||
"mimeType": "application/x-www-form-urlencoded", | ||
"params": [], | ||
"text": "[REDACTED]" | ||
}, | ||
"queryString": [], | ||
"url": "https://www.googleapis.com/oauth2/v4/token" | ||
}, | ||
"response": { | ||
"bodySize": 144, | ||
"content": { | ||
"encoding": "utf-8", | ||
"mimeType": "application/json; charset=UTF-8", | ||
"size": 144, | ||
"text": "{\"error\":\"invalid_grant\",\"error_description\":\"Invalid grant: account not found\"}" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json; charset=UTF-8" | ||
}, | ||
{ | ||
"name": "vary", | ||
"value": "Origin, X-Origin, Referer" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Thu, 02 Feb 2023 12:30:16 GMT" | ||
}, | ||
{ | ||
"name": "server", | ||
"value": "scaffolding on HTTPServer2" | ||
}, | ||
{ | ||
"name": "cache-control", | ||
"value": "private" | ||
}, | ||
{ | ||
"name": "x-xss-protection", | ||
"value": "0" | ||
}, | ||
{ | ||
"name": "x-frame-options", | ||
"value": "SAMEORIGIN" | ||
}, | ||
{ | ||
"name": "x-content-type-options", | ||
"value": "nosniff" | ||
}, | ||
{ | ||
"name": "alt-svc", | ||
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000" | ||
}, | ||
{ | ||
"name": "connection", | ||
"value": "close" | ||
} | ||
], | ||
"headersSize": 390, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 400, | ||
"statusText": "Bad Request" | ||
}, | ||
"startedDateTime": "2023-02-02T12:30:16.257Z", | ||
"time": 118, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 118 | ||
} | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
Oops, something went wrong.