Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Update _key generation #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
HOSTNAME=
USERNAME=
USERID=
PASSWORD=
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ jobs:
prerelease:
${{ steps.changelog_reader.outputs.status == 'prereleased' }}
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}
continue-on-error: true
continue-on-error: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ and this project adheres to

## [Unreleased]

### Added

- Made `user`, `group` and `incident` keys more detailed by including the
`name`/`email` property.

### Updated

- Updated SDK dependencies to 8.29.2.
- Changed ENV `USERNAME` property name to `USERID`.

## v0.3.0 - 2022-07-12

### Updated
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ variables:

```bash
HOSTNAME=dev00000.service-now.com
USERNAME=your-username
USERID=your-username
PASSWORD=your-password
```
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"list-remote-tables": "ts-node tools/listRemoteTables.ts"
},
"peerDependencies": {
"@jupiterone/integration-sdk-core": "^8.19.0"
"@jupiterone/integration-sdk-core": "^8.29.2"
},
"devDependencies": {
"@jupiterone/integration-sdk-core": "^8.19.0",
"@jupiterone/integration-sdk-dev-tools": "^8.19.0",
"@jupiterone/integration-sdk-runtime": "^8.19.0",
"@jupiterone/integration-sdk-testing": "^8.19.0"
"@jupiterone/integration-sdk-core": "^8.29.2",
"@jupiterone/integration-sdk-dev-tools": "^8.29.2",
"@jupiterone/integration-sdk-runtime": "^8.29.2",
"@jupiterone/integration-sdk-testing": "^8.29.2"
},
"dependencies": {
"@lifeomic/attempt": "^3.0.3",
Expand Down
98 changes: 46 additions & 52 deletions src/__recordings__/iterateGroupMembers_3927565863/recording.har

Large diffs are not rendered by default.

100 changes: 47 additions & 53 deletions src/__recordings__/iterateGroups_1846790717/recording.har

Large diffs are not rendered by default.

249 changes: 14 additions & 235 deletions src/__recordings__/iterateIncidents_1471729708/recording.har

Large diffs are not rendered by default.

696 changes: 327 additions & 369 deletions src/__recordings__/iterateUsers_2144043971/recording.har

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
"name": "accept",
"value": "application/json, text/plain, */*"
},
{
"name": "user-agent",
"value": "axios/0.27.2"
},
{
"name": "authorization",
"value": "[REDACTED]"
},
{
"name": "user-agent",
"value": "axios/0.27.2"
},
{
"name": "host",
"value": "dev128112.service-now.com"
"value": "dev109289.service-now.com"
}
],
"headersSize": 254,
"headersSize": 238,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [
Expand All @@ -41,7 +41,7 @@
"value": "1"
}
],
"url": "https://dev128112.service-now.com/api/now/table/sys_user?sysparm_limit=1"
"url": "https://dev109289.service-now.com/api/now/table/sys_user?sysparm_limit=1"
},
"response": {
"bodySize": 113,
Expand All @@ -55,20 +55,28 @@
"httpOnly": true,
"name": "JSESSIONID",
"path": "/",
"sameSite": "None",
"secure": true,
"value": "[REDACTED]"
},
{
"httpOnly": true,
"name": "BIGipServerpool_dev128112",
"name": "BIGipServerpool_dev109289",
"path": "/",
"sameSite": "None",
"secure": true,
"value": "[REDACTED]"
}
],
"headers": [
{
"_fromType": "array",
"name": "set-cookie",
"value": "[REDACTED]"
},
{
"_fromType": "array",
"name": "set-cookie",
"value": "[REDACTED]"
},
{
"name": "server-timing",
"value": "sem_wait;dur=0, sesh_wait;dur=0"
Expand Down Expand Up @@ -103,22 +111,12 @@
},
{
"name": "date",
"value": "Mon, 11 Jul 2022 20:35:29 GMT"
"value": "Tue, 01 Nov 2022 08:34:50 GMT"
},
{
"name": "server",
"value": "ServiceNow"
},
{
"_fromType": "array",
"name": "set-cookie",
"value": "[REDACTED]"
},
{
"_fromType": "array",
"name": "set-cookie",
"value": "[REDACTED]"
},
{
"name": "strict-transport-security",
"value": "max-age=63072000; includeSubDomains"
Expand All @@ -128,22 +126,22 @@
"value": "close"
}
],
"headersSize": 650,
"headersSize": 610,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 401,
"statusText": "Unauthorized"
},
"startedDateTime": "2022-07-11T20:35:28.976Z",
"time": 651,
"startedDateTime": "2022-11-01T08:34:48.154Z",
"time": 1987,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 651
"wait": 1987
}
}
],
Expand Down
Loading