@jupiterone/integration-sdk-dev-tools
Advanced tools
Changelog
[8.0.0] - 2021-12-15
neo4j
that will upload any collected data in a
project to a local Neo4j database. This requires that a NEO4J_URI, NEO4J_USER,
and NEO4J_PASSWORD be supplied in the local .env file.Changelog
[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.Changelog
[7.4.0] - 2021-11-03
@pollyjs
packages in @jupiterone/integration-sdk-testing
and
@jupiterone/integration-sdk-cli
Changelog
[7.1.1] - 2021-10-21
RequestEntityTooLargeException
sChangelog
[7.1.0] - 2021-10-15
Added support to publish job log events at level info
, warn
, and error
.
Usage:
logger.publishInfoEvent({
name: IntegrationErrorEventName.Stats,
description: 'fetched 100000 records',
});
logger.publishWarnEvent({
name: IntegrationErrorEventName.MissingPermission,
description: 'Missing permission users.read',
});
logger.publishErrorEvent({
name: IntegrationErrorEventName.MissingPermission,
description: 'Missing permission users.read',
});
Added support for relative paths in yarn j1-integration *
commands
Changelog
[7.0.0] - 2021-10-05
Changelog
[6.22.1] - 2021-10-04
IntegrationError
receives a cause
property, append cause.stack
to the error's stack traceChangelog
[6.22.0] - 2021-09-30
@jupiterone/data-model
to expose Issue
entity class.