Socket
Socket
Sign inDemoInstall

@jupiterone/integration-sdk-runtime

Package Overview
Dependencies
Maintainers
1
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-runtime - npm Package Versions

1
2527

2.10.0

Diff

Changelog

Source

2.10.0 - 2020-08-06

Changed

  • #279 - Update .eslintrc to include eslint rules that will help catch async errors

  • Updated root .eslintrc to use @jupiterone/integration-sdk-dev-tools/config/eslint.json directly with specific overrides.

Fixed

  • jobState.addRelationships floating promise in @jupiterone/integration-sdk-testing
  • Various async fixes in test suites
jupiterone-dev
published 2.9.2 •

Changelog

Source

2.9.2 - 2020-08-06

Fixed

  • Test instance of jobState.getEntity() threw error saying entity not found even though it was added to the job state.
jupiterone-dev
published 2.9.1 •

Changelog

Source

2.9.1 - 2020-08-06

Fixed

  • Install direct deepmerge dependency into @jupiterone/integration-sdk-testing package.
jupiterone-dev
published 2.9.0 •

Changelog

Source

2.9.0 - 2020-08-05

Updated

  • #270 - Return the Entity from jobState.addEntity and jobState.addEntities

Example:

const entity = await jobState.addEntity(convertToEntity(data));
const entity2 = await jobState.addEntity(convertToOtherEntity(entity2));
await jobState.addRelationship(
  convertToRelationship(entity, entity2)
);

// Or this:
await jobState.addRelationship(
  convertToRelationship(
    await jobState.addEntity(convertToEntity(data))
    await jobState.addEntity(convertToOtherEntity(entity2))
  )
);

Fixed

  • Fixed visualize cmd where mapped relationships did not consider targetFilterKey when matching entities
  • Fixed visualize cmd where multiple nodes with the same nodeId could be created, which causes rendering to fail
jupiterone-dev
published 2.8.0 •

Changelog

Source

2.8.0 - 2020-08-3

Added

  • Automatically register custom Jest test matchers when using @jupiterone/integration-sdk-dev-tools. See: https://github.com/JupiterOne/sdk/issues/265
jupiterone-dev
published 2.7.0 •

Changelog

Source

2.7.0 - 2020-08-2

Added

  • Added Jest test matcher for validating collected entities against a JSON schema. See: https://github.com/JupiterOne/sdk/issues/263

Example:

expect(context.jobState.collectedEntities).toMatchGraphObjectSchema({
  _class: ['Service'],
  schema: {
    additionalProperties: false,
    properties: {
      _type: { const: 'google_cloud_api_service' },
      category: { const: ['infrastructure'] },
      state: {
        type: 'string',
        enum: ['STATE_UNSPECIFIED', 'DISABLED', 'ENABLED'],
      },
      enabled: { type: 'boolean' },
      usageRequirements: {
        type: 'array',
        items: { type: 'string' },
      },
      _rawData: {
        type: 'array',
        items: { type: 'object' },
      }
   }
});
jupiterone-dev
published 2.6.0 •

Changelog

Source

2.6.0 - 2020-07-28

Added

  • Added getEntity({ _type, _key }) function
  • Added optional sourceEntityType property on RelationshipMapping

Changed

  • Deprecated createIntegrationRelationship. Developers should use the exported createDirectRelationship or createMappedRelationship functions.
jupiterone-dev
published 2.5.0 •

Changelog

Source

2.5.0 - 2020-07-28

Added

  • j1-integration visualize added mapped relationships as dashed lines.

Changed

  • j1-integration visualize entities are colored by _type.
  • Updated IntegrationConfig to support asynchronous getStepStartStates. See #254 for more information.

Example:

export const invocationConfig: IntegrationInvocationConfig<IntegrationConfig> = {
  async getStepStartStates(ctx) {
    return {
      'fetch-users': { disabled: await checkFetchUsersStepDisabled(ctx) }
    };
  },
  ...
};
jupiterone-dev
published 2.3.0 •

Changelog

Source

2.3.0 - 2020-07-06

Changed

  • Updated @jupiterone/data-model to latest version (0.7.1).

Fixed

  • @jupiterone/integration-sdk-dev-tools did not include ts-node, so that yarn start would fail to execute with 'Integration invocation configuration not found. Configuration should be exported as "invocationConfig" from "src/index".'
jupiterone-dev
published 2.2.1 •

Changelog

Source

12.2.1 - 2024-03-01

  • Fix issues related to pagination and token bucket in BaseAPIClient.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc