Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jupiterone/cli

Package Overview
Dependencies
Maintainers
0
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/cli - npm Package Versions

1
2526

2.9.0

Diff

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 1.3.0 •

Changelog

Source

11.3.0 - 2023-11-28

  • Change Step Start/End logs to debug level and add duration field to Step summary
jupiterone-dev
published 1.1.0 •

Changelog

Source

1.1.0 - 2020-06-04

Added

  • Added the @jupiterone/integration-sdk-dev-tools package which contains some shared development dependencies and configuration files.

Fixed

  • createIntegrationRelationship made _key optional for relationship mappings, a fine thing to do because specifying the _key for those insn't necessary. However, the function was changed at the same time to stop generating a _key, which is required to ensure the collected relationships are unique. This fixes things so the _key remains an optional argument, and improves the generation of the _key to ensure better uniqueness.
jupiterone-dev
published 1.0.1 •

Changelog

Source

1.0.1 - 2020-06-03

Fixed

  • Make published packages leaner by only including dist files.
1
2526
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