6.4.0 • Published 3 days ago

@jupiterone/graph-azure v6.4.0

Weekly downloads
864
License
MPL-2.0
Repository
github
Last release
3 days ago

graph-azure

Build Status

Integrations are responsible for connecting to data provider APIs to collect current state and maintain a graph database representing the entities and relationships managed by the provider.

Development Environment

You may use use Node to execute directly on your machine.

Prerequisites:

  1. Install terraform and tfenv (see Development)
  2. Provide credentials in .env (see Environment Variable)

Node:

  1. Install Node (Node Version Manager is recommended)
  2. yarn install
  3. yarn start:containers
  4. yarn start

Activity is logged to the console indicating the operations produced and processed. View raw data in the graph database using Graphexp.

Execute the integration again to see that there are no change operations produced.

Restart the graph server to clear the data when you want to run the integration with no existing data.

yarn restart:containers

Environment Variables

Provider API configuration is specified by users when they install the integration into their JupiterOne environment. Some integrations may also require pre-shared secrets, used across all integration installations, which is to be secured by JupiterOne and provided in the execution context.

Local execution requires the same configuration parameters for a development provider account. tools/execute.ts is the place to provide the parameters. The execution script must not include any credentials, and it is important to make it easy for other developers to execute the integration against their own development provider account.

  1. Update tools/execute.ts to provide the properties required by the executionHandler function
  2. Create a .env file to provide the environment variables transferred into the properties

For example, given this execution script:

const integrationConfig = {
  apiToken: process.env.MYPROVIDER_LOCAL_EXECUTION_API_TOKEN,
};

const invocationArgs = {
  preSharedPrivateKey: process.env.MYPROVIDER_LOCAL_EXECUTION_PRIVATE_KEY,
};

Create a .env file (this is .gitignore'd):

MYPROVIDER_LOCAL_EXECUTION_API_TOKEN=abc123
MYPROVIDER_LOCAL_EXECUTION_PRIVATE_KEY='something\nreally\nlong'

SDK Variables

Environment variables can modify some aspects of the integration SDK behavior. These may be added to your .env with values to overrided the defaults listed here.

  • GRAPH_DB_ENDPOINT - "localhost"

Running tests

All tests must be written using Jest. Focus on testing provider API interactions and conversion from provider data to entities and relationships.

To run tests locally:

yarn test

Deployment

Managed integrations are deployed into the JupiterOne infrastructure by staff engineers using internal projects that declare a dependency on the open source integration NPM package. The package will be published by the JupiterOne team.

Versioning this project

This project is versioned using auto.

Versioning and publishing to NPM are now handled via adding GitHub labels to pull requests. The following labels should be used for this process:

  • patch
  • minor
  • major
  • release

For each pull request, the degree of change should be registered by applying the appropriate label of patch, minor, or major. This allows the repository to keep track of the highest degree of change since the last release. When ready to publish to NPM, the PR should have both its appropriate patch, minor, or major label applied as well as a release label. The release label will denote to the system that we need to publish to NPM and will correctly version based on the highest degree of change since the last release, package the project, and publish it to NPM.

6.4.0

3 days ago

6.3.0

22 days ago

6.2.0

28 days ago

6.1.5

30 days ago

6.1.4

1 month ago

6.1.3

3 months ago

6.1.2

3 months ago

6.1.0

3 months ago

6.1.1

3 months ago

6.0.2

3 months ago

6.0.1

3 months ago

6.0.0

3 months ago

5.54.8

4 months ago

5.54.7

5 months ago

5.54.6

5 months ago

5.54.5

5 months ago

5.54.4

5 months ago

5.54.3

5 months ago

5.53.3

6 months ago

5.53.1

7 months ago

5.53.2

7 months ago

5.53.0

7 months ago

5.54.2

5 months ago

5.54.0

5 months ago

5.54.1

5 months ago

5.52.10

7 months ago

5.52.11

7 months ago

5.46.0

10 months ago

5.50.0

8 months ago

5.47.0

9 months ago

5.51.0

8 months ago

5.52.8

7 months ago

5.52.9

7 months ago

5.48.0

9 months ago

5.49.2

9 months ago

5.49.0

9 months ago

5.49.1

9 months ago

5.52.6

7 months ago

5.52.7

7 months ago

5.52.4

7 months ago

5.52.5

7 months ago

5.52.2

8 months ago

5.52.3

7 months ago

5.52.0

8 months ago

5.52.1

8 months ago

5.45.0

12 months ago

5.45.1

11 months ago

5.42.1

1 year ago

5.42.0

1 year ago

5.43.2

1 year ago

5.43.3

1 year ago

5.43.0

1 year ago

5.43.1

1 year ago

5.40.9

1 year ago

5.40.8

1 year ago

5.44.0

1 year ago

5.41.0

1 year ago

5.40.7

1 year ago

5.40.5

1 year ago

5.40.6

1 year ago

5.40.4

1 year ago

5.40.3

2 years ago

5.40.2

2 years ago

5.40.1

2 years ago

5.39.1

2 years ago

5.39.0

2 years ago

5.40.0

2 years ago

5.38.0

2 years ago

5.37.1

2 years ago

5.37.0

2 years ago

5.36.2

2 years ago

5.36.1

2 years ago

5.35.3

2 years ago

5.36.0

2 years ago

5.35.1

2 years ago

5.35.2

2 years ago

5.34.0

3 years ago

5.35.0

2 years ago

5.33.1

3 years ago

5.31.7

3 years ago

5.31.6

3 years ago

5.31.5

3 years ago

5.31.4

3 years ago

5.31.3

3 years ago

5.31.2

3 years ago

5.31.1

3 years ago

5.31.0

3 years ago

5.27.1

3 years ago

5.27.0

3 years ago

5.30.0

3 years ago

5.28.1

3 years ago

5.28.0

3 years ago

5.29.0

3 years ago

5.25.1

3 years ago

5.26.1

3 years ago

5.26.0

3 years ago

5.23.6

3 years ago

5.23.5

3 years ago

5.23.4

3 years ago

5.23.3

3 years ago

5.23.2

3 years ago

5.24.0

3 years ago

5.25.0

3 years ago

5.23.1

3 years ago

5.23.0

3 years ago

5.22.0

3 years ago

5.21.1

3 years ago

5.21.0

3 years ago

5.20.0

3 years ago

5.19.0

3 years ago

5.18.0

3 years ago

5.17.0

3 years ago

5.15.0

3 years ago

5.16.0

3 years ago

5.14.2

3 years ago

5.14.1

3 years ago

5.14.0

3 years ago

5.13.0

3 years ago

5.12.0

3 years ago

5.11.2

3 years ago

5.11.1

3 years ago

5.11.0

3 years ago

5.10.1

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.8.1

3 years ago

5.8.0

3 years ago

5.7.0

3 years ago

5.6.0

3 years ago

5.5.2

4 years ago

5.5.1

4 years ago

5.5.0

4 years ago

5.4.1

4 years ago

5.4.0

4 years ago

5.3.1

4 years ago

5.3.0

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago

4.4.1

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.1

4 years ago

4.0.2

4 years ago

4.0.0

4 years ago

4.0.0-beta.4

4 years ago

4.0.0-beta.3

4 years ago

4.0.0-beta.2

4 years ago

4.0.0-beta.1

4 years ago

4.0.0-beta.0

4 years ago

3.16.3

4 years ago

3.16.2

4 years ago

3.16.1

4 years ago

3.16.0

4 years ago

3.15.7

4 years ago

3.15.6

4 years ago

3.15.5

4 years ago

3.15.4

4 years ago

3.15.3

4 years ago

3.15.2

4 years ago

3.15.1

4 years ago

3.15.0

4 years ago

3.14.0

4 years ago

3.13.0

4 years ago

3.12.1

4 years ago

3.12.0

4 years ago

3.11.0

4 years ago

3.10.2

4 years ago

3.10.1

4 years ago

3.10.0

4 years ago

3.9.0

4 years ago

3.8.1

4 years ago

3.8.0

4 years ago

3.7.2

4 years ago

3.7.1

4 years ago

3.7.1-beta.6

4 years ago

3.7.1-beta.4

4 years ago

3.7.1-beta.5

4 years ago

3.7.1-beta.3

4 years ago

3.7.1-beta.2

4 years ago

3.7.1-beta.1

4 years ago

3.7.1-beta.0

4 years ago

3.7.0

4 years ago

3.6.1

4 years ago

3.6.0

4 years ago

3.5.0

4 years ago

3.4.0

4 years ago

3.3.11

4 years ago

3.3.10

4 years ago

3.3.9

4 years ago

3.3.8

4 years ago

3.3.7

4 years ago

3.3.6

4 years ago

3.3.5

4 years ago

3.3.4

4 years ago

3.3.3

4 years ago

3.3.2

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago