Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@jupiterone/integration-sdk-runtime
Advanced tools
NOTE: This project is currently under development and the API interface is not stable. Use at your own risk.
This package contains the runtime code required for executing an integration.
npm install @jupiterone/integration-sdk-runtime
# or
yarn add @jupiterone/integration-sdk-runtime
[7.4.1] - 2021-11-03
*BREAKING* Explicitly require a _key
property when using
createIntegrationEntity()
. Previously, the createIntegrationEntity()
function allowed the _key
property to be optional, and when not present,
the function automatically uses either id
or providerId
as the entity
_key
.
This caused (entirely preventable) runtime errors if the given source
data
did not have an id
or providerId
property available.
Updated the interfaces for jobState.findEntity
and jobState.hasKey
to
allow undefined
. Oftentimes, we use optional chaining with
jobState.findEntity
or jobState.hasKey
, so having the ability to pass
undefined
into these methods can make our code easier to read.
// without allowing `undefined`, we often need to assert values as `string`
const virtualMachineId = await jobState.findEntity(
nic.virtualMachine?.id as string,
);
// by allowing `undefined`, we can more safely use these methods without type assertions
const virtualMachineId = await jobState.findEntity(nic.virtualMachine?.id);
yarn start
be run with admin credentials.FAQs
The SDK for developing JupiterOne integrations
The npm package @jupiterone/integration-sdk-runtime receives a total of 1,022 weekly downloads. As such, @jupiterone/integration-sdk-runtime popularity was classified as popular.
We found that @jupiterone/integration-sdk-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.