4.2.14 • Published 1 month ago

@jupiterone/graph-google v4.2.14

Weekly downloads
168
License
MPL-2.0
Repository
github
Last release
1 month ago

JupiterOne Integration

Development Environment

Prerequisites

You must have Node.JS installed to run this project. If you don't already have it installed, you can download the installer here. You can alternatively install Node.JS using a version manager like fnm or nvm.

Setup

Installing dependencies

From the root of this project, run npm install to install dependencies. If you have yarn installed, you can install dependencies by running yarn.

Loading credentials

Create a .env file at the root of this project and add environment variables to match what is in src/instanceConfigFields.ts. The .env file is ignored by git, so you won't have to worry about accidentally pushing credentials.

Given this example configuration:

import { IntegrationInstanceConfigFieldMap } from '@jupiterone/integration-sdk-core';

const instanceConfigFields: IntegrationInstanceConfigFieldMap = {
  clientId: {
    type: 'string',
  },
  clientSecret: {
    type: 'string',
    mask: true,
  },
};

export default instanceConfigFields;

You would provide a .env file like this:

CLIENT_ID="client-id"
CLIENT_SECRET="supersecret"

The snake cased environment variables will automatically be converted and applied to the camel cased configuration field. So for example, CLIENT_ID will apply to the clientId config field, CLIENT_SECRET will apply to clientSecret, and MY_SUPER_SECRET_CONFIGURATION_VALUE will apply to a mySuperSecretConfigurationValue configuration field.

Running the integration

To start collecting data, run yarn start from the root of the project. This will load in your configuration from src/index.ts.

Documentation

Development

Please reference the JupiterOne integration development documentation for more information on how to use the SDK.

See docs/development.md for details about how to get started with developing this integration.

Integration usage and resource coverage

More information about the resources covered by this integration and how to setup the integration in JupiterOne can be found in docs/jupiterone.md.

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.

Changelog

The history of this integration's development can be viewed at CHANGELOG.md.

4.2.14

1 month ago

4.2.12

4 months ago

4.2.13

4 months ago

4.2.11

4 months ago

4.2.9

4 months ago

4.2.8

4 months ago

4.2.10

4 months ago

4.2.7

4 months ago

4.2.6

4 months ago

4.2.5

4 months ago

4.2.4

4 months ago

4.2.3

5 months ago

4.2.2

5 months ago

4.2.1

5 months ago

4.2.0

5 months ago

4.1.4

8 months ago

4.1.3

8 months ago

4.1.5

7 months ago

4.1.2

8 months ago

4.1.1

9 months ago

4.1.0

9 months ago

4.0.1

11 months ago

4.0.0

11 months ago

4.0.3

10 months ago

4.0.2

11 months ago

3.16.6

11 months ago

3.16.5

11 months ago

3.16.4

11 months ago

3.16.1

1 year ago

3.16.0

1 year ago

3.16.3

11 months ago

3.16.2

11 months ago

3.15.0

1 year ago

3.13.8

1 year ago

3.14.0

1 year ago

3.13.6

2 years ago

3.13.7

2 years ago

3.13.1

2 years ago

3.13.4

2 years ago

3.12.5

2 years ago

3.13.3

2 years ago

3.13.5

2 years ago

3.13.0

2 years ago

3.12.4

2 years ago

3.12.3

2 years ago

3.12.2

2 years ago

3.12.1

2 years ago

3.11.2

2 years ago

3.12.0

2 years ago

3.11.0

2 years ago

3.11.1

2 years ago

3.9.1

3 years ago

3.10.0

3 years ago

3.9.0

3 years ago

3.8.0

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.6.0

3 years ago

3.5.0

3 years ago

3.4.0

3 years ago

3.4.1

3 years ago

3.3.2

3 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.2.0

3 years ago

3.1.5

3 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.6.5

4 years ago

2.6.3

4 years ago

2.6.2

4 years ago

2.6.4

4 years ago

2.6.1

4 years ago

2.5.4

4 years ago

2.5.3

4 years ago

2.5.2

4 years ago