diff --git a/CHANGELOG.md b/CHANGELOG.md index af65aa7c6..1f7fc2d26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ and this project adheres to # Unreleased +# 13.4.0 - 2024-08-08 + +- Add steps_finished info event name + # 13.3.0 - 2024-08-07 - Added a `toMatchEntityStepMetadata` Jest matcher for validating step results diff --git a/lerna.json b/lerna.json index 25b3fbd88..60c0d7018 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/integration-sdk-*", "packages/cli" ], - "version": "13.3.0" + "version": "13.4.0" } diff --git a/package-lock.json b/package-lock.json index 9871d2d11..c3d8627ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20990,11 +20990,11 @@ }, "packages/cli": { "name": "@jupiterone/cli", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "@lifeomic/attempt": "^3.0.3", "commander": "^5.0.0", "globby": "^11.0.1", @@ -21027,11 +21027,11 @@ }, "packages/integration-sdk-benchmark": { "name": "@jupiterone/integration-sdk-benchmark", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "benchmark": "^2.1.4" }, "engines": { @@ -21040,12 +21040,12 @@ }, "packages/integration-sdk-cli": { "name": "@jupiterone/integration-sdk-cli", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { "@jupiterone/data-model": "^0.61.9", - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "chalk": "^4", "commander": "^9.4.0", "ejs": "^3.1.9", @@ -21066,7 +21066,7 @@ "j1-integration": "bin/j1-integration" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@pollyjs/adapter-node-http": "^6.0.5", "@pollyjs/core": "^6.0.5", "@pollyjs/persister-fs": "^6.0.5", @@ -21143,11 +21143,11 @@ }, "packages/integration-sdk-core": { "name": "@jupiterone/integration-sdk-core", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { "@jupiterone/data-model": "^0.61.9", - "@jupiterone/integration-sdk-entity-validator": "^13.3.0", + "@jupiterone/integration-sdk-entity-validator": "^13.4.0", "@sinclair/typebox": "^0.32.30", "lodash": "^4.17.21" }, @@ -21165,11 +21165,11 @@ }, "packages/integration-sdk-dev-tools": { "name": "@jupiterone/integration-sdk-dev-tools", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-cli": "^13.3.0", - "@jupiterone/integration-sdk-testing": "^13.3.0", + "@jupiterone/integration-sdk-cli": "^13.4.0", + "@jupiterone/integration-sdk-testing": "^13.4.0", "@types/jest": "^29.5.3", "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^6.2.1", @@ -21224,7 +21224,7 @@ }, "packages/integration-sdk-entities": { "name": "@jupiterone/integration-sdk-entities", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { "@jupiterone/data-model": "^0.61.9", @@ -21239,7 +21239,7 @@ }, "packages/integration-sdk-entity-validator": { "name": "@jupiterone/integration-sdk-entity-validator", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { "ajv": "^8.12.0", @@ -21257,19 +21257,19 @@ }, "packages/integration-sdk-http-client": { "name": "@jupiterone/integration-sdk-http-client", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { "@jupiterone/hierarchical-token-bucket": "^0.3.1", - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "@lifeomic/attempt": "^3.0.3", "form-data": "^4.0.0", "lodash": "^4.17.21", "node-fetch": "^2.7.0" }, "devDependencies": { - "@jupiterone/integration-sdk-dev-tools": "^13.3.0", - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-dev-tools": "^13.4.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@types/node-fetch": "^2.6.11" }, "engines": { @@ -21296,10 +21296,10 @@ }, "packages/integration-sdk-private-test-utils": { "name": "@jupiterone/integration-sdk-private-test-utils", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "lodash": "^4.17.15" }, "devDependencies": { @@ -21311,10 +21311,10 @@ }, "packages/integration-sdk-runtime": { "name": "@jupiterone/integration-sdk-runtime", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "@lifeomic/alpha": "^5.2.0", "@lifeomic/attempt": "^3.0.3", "async-sema": "^3.1.0", @@ -21331,7 +21331,7 @@ "rimraf": "^3.0.2" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "get-port": "^5.1.1", "lmdb": "^3.0.8", "memfs": "^3.2.0", @@ -21378,12 +21378,12 @@ }, "packages/integration-sdk-testing": { "name": "@jupiterone/integration-sdk-testing", - "version": "13.3.0", + "version": "13.4.0", "license": "MPL-2.0", "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-entity-validator": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-entity-validator": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "@pollyjs/adapter-node-http": "^6.0.5", "@pollyjs/core": "^6.0.5", "@pollyjs/persister-fs": "^6.0.5", @@ -21391,7 +21391,7 @@ "lodash": "^4.17.15" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@types/lodash": "^4.14.149", "get-port": "^5.1.1", "memfs": "^3.2.0" diff --git a/packages/cli/package.json b/packages/cli/package.json index 140f228f6..92b6fc337 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/cli", - "version": "13.3.0", + "version": "13.4.0", "description": "The JupiterOne cli", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -24,8 +24,8 @@ "test": "jest" }, "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "@lifeomic/attempt": "^3.0.3", "commander": "^5.0.0", "globby": "^11.0.1", diff --git a/packages/integration-sdk-benchmark/package.json b/packages/integration-sdk-benchmark/package.json index 75d76047c..6204de0b9 100644 --- a/packages/integration-sdk-benchmark/package.json +++ b/packages/integration-sdk-benchmark/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-benchmark", - "version": "13.3.0", + "version": "13.4.0", "private": true, "description": "SDK benchmarking scripts", "main": "./src/index.js", @@ -15,8 +15,8 @@ "benchmark": "for file in ./src/benchmarks/*; do npm run prebenchmark && node $file; done" }, "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "benchmark": "^2.1.4" } } diff --git a/packages/integration-sdk-cli/package.json b/packages/integration-sdk-cli/package.json index 8b7a62bdd..5194ea3fd 100644 --- a/packages/integration-sdk-cli/package.json +++ b/packages/integration-sdk-cli/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-cli", - "version": "13.3.0", + "version": "13.4.0", "description": "The SDK for developing JupiterOne integrations", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -26,8 +26,8 @@ }, "dependencies": { "@jupiterone/data-model": "^0.61.9", - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "chalk": "^4", "commander": "^9.4.0", "ejs": "^3.1.9", @@ -45,7 +45,7 @@ "url-exists": "^1.0.3" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@pollyjs/adapter-node-http": "^6.0.5", "@pollyjs/core": "^6.0.5", "@pollyjs/persister-fs": "^6.0.5", diff --git a/packages/integration-sdk-core/package.json b/packages/integration-sdk-core/package.json index 181a49bca..7ee412e57 100644 --- a/packages/integration-sdk-core/package.json +++ b/packages/integration-sdk-core/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-core", - "version": "13.3.0", + "version": "13.4.0", "description": "The SDK for developing JupiterOne integrations", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -24,7 +24,7 @@ }, "dependencies": { "@jupiterone/data-model": "^0.61.9", - "@jupiterone/integration-sdk-entity-validator": "^13.3.0", + "@jupiterone/integration-sdk-entity-validator": "^13.4.0", "@sinclair/typebox": "^0.32.30", "lodash": "^4.17.21" }, diff --git a/packages/integration-sdk-core/src/types/logger.ts b/packages/integration-sdk-core/src/types/logger.ts index 89676edbb..83f0bc900 100644 --- a/packages/integration-sdk-core/src/types/logger.ts +++ b/packages/integration-sdk-core/src/types/logger.ts @@ -51,6 +51,7 @@ export enum IntegrationInfoEventName { Info = 'info', Stats = 'stats', Results = 'results', + StepsFinished = 'steps_finished', } export interface PublishInfoEventInput extends PublishEventInput { diff --git a/packages/integration-sdk-dev-tools/package.json b/packages/integration-sdk-dev-tools/package.json index 7cac03db8..1de97c7fd 100644 --- a/packages/integration-sdk-dev-tools/package.json +++ b/packages/integration-sdk-dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-dev-tools", - "version": "13.3.0", + "version": "13.4.0", "description": "A collection of developer tools that will assist with building integrations.", "repository": "git@github.com:JupiterOne/sdk.git", "author": "JupiterOne ", @@ -15,8 +15,8 @@ "access": "public" }, "dependencies": { - "@jupiterone/integration-sdk-cli": "^13.3.0", - "@jupiterone/integration-sdk-testing": "^13.3.0", + "@jupiterone/integration-sdk-cli": "^13.4.0", + "@jupiterone/integration-sdk-testing": "^13.4.0", "@types/jest": "^29.5.3", "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^6.2.1", diff --git a/packages/integration-sdk-entities/package.json b/packages/integration-sdk-entities/package.json index eca46c3f4..410b10d95 100644 --- a/packages/integration-sdk-entities/package.json +++ b/packages/integration-sdk-entities/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-entities", - "version": "13.3.0", + "version": "13.4.0", "description": "Generated types for the JupiterOne data-model", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/packages/integration-sdk-entity-validator/package.json b/packages/integration-sdk-entity-validator/package.json index a263c1617..dfe422400 100644 --- a/packages/integration-sdk-entity-validator/package.json +++ b/packages/integration-sdk-entity-validator/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-entity-validator", - "version": "13.3.0", + "version": "13.4.0", "description": "Validator for JupiterOne integration entities", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/packages/integration-sdk-http-client/package.json b/packages/integration-sdk-http-client/package.json index 79e10f212..af2ff4fbb 100644 --- a/packages/integration-sdk-http-client/package.json +++ b/packages/integration-sdk-http-client/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-http-client", - "version": "13.3.0", + "version": "13.4.0", "description": "The HTTP client for use in JupiterOne integrations", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -24,15 +24,15 @@ }, "dependencies": { "@jupiterone/hierarchical-token-bucket": "^0.3.1", - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "@lifeomic/attempt": "^3.0.3", "form-data": "^4.0.0", "lodash": "^4.17.21", "node-fetch": "^2.7.0" }, "devDependencies": { - "@jupiterone/integration-sdk-dev-tools": "^13.3.0", - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-dev-tools": "^13.4.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@types/node-fetch": "^2.6.11" }, "bugs": { diff --git a/packages/integration-sdk-private-test-utils/package.json b/packages/integration-sdk-private-test-utils/package.json index 3adb7fc00..6b94108ea 100644 --- a/packages/integration-sdk-private-test-utils/package.json +++ b/packages/integration-sdk-private-test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@jupiterone/integration-sdk-private-test-utils", "private": true, - "version": "13.3.0", + "version": "13.4.0", "description": "The SDK for developing JupiterOne integrations", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -15,7 +15,7 @@ "build:dist": "tsc -p tsconfig.json --declaration" }, "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "lodash": "^4.17.15" }, "devDependencies": { diff --git a/packages/integration-sdk-runtime/package.json b/packages/integration-sdk-runtime/package.json index ccb8b7ec2..2309b89a1 100644 --- a/packages/integration-sdk-runtime/package.json +++ b/packages/integration-sdk-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-runtime", - "version": "13.3.0", + "version": "13.4.0", "description": "The SDK for developing JupiterOne integrations", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -23,7 +23,7 @@ "prepack": "npm run build:dist" }, "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", "@lifeomic/alpha": "^5.2.0", "@lifeomic/attempt": "^3.0.3", "async-sema": "^3.1.0", @@ -40,7 +40,7 @@ "rimraf": "^3.0.2" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "get-port": "^5.1.1", "lmdb": "^3.0.8", "memfs": "^3.2.0", diff --git a/packages/integration-sdk-testing/package.json b/packages/integration-sdk-testing/package.json index 14819fd2b..5142da3c6 100644 --- a/packages/integration-sdk-testing/package.json +++ b/packages/integration-sdk-testing/package.json @@ -1,6 +1,6 @@ { "name": "@jupiterone/integration-sdk-testing", - "version": "13.3.0", + "version": "13.4.0", "description": "Testing utilities for JupiterOne integrations", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -23,9 +23,9 @@ "prepack": "npm run build:dist" }, "dependencies": { - "@jupiterone/integration-sdk-core": "^13.3.0", - "@jupiterone/integration-sdk-entity-validator": "^13.3.0", - "@jupiterone/integration-sdk-runtime": "^13.3.0", + "@jupiterone/integration-sdk-core": "^13.4.0", + "@jupiterone/integration-sdk-entity-validator": "^13.4.0", + "@jupiterone/integration-sdk-runtime": "^13.4.0", "@pollyjs/adapter-node-http": "^6.0.5", "@pollyjs/core": "^6.0.5", "@pollyjs/persister-fs": "^6.0.5", @@ -33,7 +33,7 @@ "lodash": "^4.17.15" }, "devDependencies": { - "@jupiterone/integration-sdk-private-test-utils": "^13.3.0", + "@jupiterone/integration-sdk-private-test-utils": "^13.4.0", "@types/lodash": "^4.14.149", "get-port": "^5.1.1", "memfs": "^3.2.0"