4.3.1 • Published 1 month ago

@jupiterone/graph-github v4.3.1

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

JupiterOne Integration

Learn about the data ingested, benefits of this integration, and how to use it with JupiterOne in the integration documentation.

Development

Prerequisites

  1. Install Node.js using the installer or a version manager such as nvm or fnm.
  2. Install yarn or npm to install dependencies.
  3. Install dependencies with yarn install.
  4. Register an account in the system this integration targets for ingestion and obtain API credentials.
  5. cp .env.example .env and add necessary values for runtime configuration.

    When an integration executes, it needs API credentials and any other configuration parameters necessary for fetching data from the provider. The names of these parameters are defined in src/instanceConfigFields.ts. When executed in a development environment, values for these parameters are read from Node's process.env, loaded from .env. That file has been added to .gitignore to avoid committing credentials.

Running the integration

  1. yarn start to collect data
  2. yarn graph to show a visualization of the collected data
  3. yarn j1-integration -h for additional commands

Making Contributions

Start by taking a look at the source code. The integration is basically a set of functions called steps, each of which ingests a collection of resources and relationships. The goal is to limit each step to as few resource types as possible so that should the ingestion of one type of data fail, it does not necessarily prevent the ingestion of other, unrelated data. That should be enough information to allow you to get started coding!

See the SDK development documentation for a deep dive into the mechanics of how integrations work.

See docs/development.md for any additional details about developing this integration.

Changelog

The history of this integration's development can be viewed at CHANGELOG.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.

In order to successfully version and publish to NPM we need access to two secrets: a valid NPM token for publishing and a GitHub token for querying the repo and pushing version changes. For JupiterOne projects please put in a ticket with security to have the repository correctly granted access. For external projects, please provide secrets with access to your own NPM and GitHub accounts. The secret names should be set to NPM_AUTH_TOKEN and AUTO_GITHUB_PAT_TOKEN respectively (or the action can be updated to accomodate different naming conventions).

We are not currently using the functionality for auto to update the CHANGELOG. As such, please remember to update CHANGELOG.md with the appropriate version, date, and changes.

4.3.1

1 month ago

4.3.0

1 month ago

4.2.2

1 month ago

4.2.1

1 month ago

4.2.0

2 months ago

4.1.0

2 months ago

4.0.4

2 months ago

4.0.3

2 months ago

4.0.2

4 months ago

4.0.1

5 months ago

4.0.0

5 months ago

3.7.3

7 months ago

3.7.2

8 months ago

3.2.0

10 months ago

3.6.1

9 months ago

3.6.0

9 months ago

3.1.1

10 months ago

3.5.1

9 months ago

3.5.0

9 months ago

3.9.0

6 months ago

3.4.0

9 months ago

3.10.1

5 months ago

3.8.0

6 months ago

3.10.0

5 months ago

3.8.2

6 months ago

3.8.1

6 months ago

3.3.1

10 months ago

3.3.0

10 months ago

3.7.1

9 months ago

4.0.0-beta.3

5 months ago

3.7.0

9 months ago

4.0.0-beta.2

5 months ago

4.0.0-beta.1

5 months ago

3.3.2

9 months ago

4.0.0-beta.0

5 months ago

3.1.0

10 months ago

2.4.0

12 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.3.0

12 months ago

2.5.0

11 months ago

2.5.1

11 months ago

2.2.1

1 year ago

2.0.3

1 year ago

2.2.0

1 year ago

2.0.2

1 year ago

2.2.2

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.23.5

1 year ago

1.23.3

1 year ago

1.23.4

1 year ago

1.23.2

1 year ago

1.23.0

2 years ago

1.21.0

2 years ago

1.21.1

2 years ago

1.21.2

2 years ago

1.22.0

2 years ago

1.18.0

2 years ago

1.16.0

2 years ago

1.19.0

2 years ago

1.17.2

2 years ago

1.17.1

2 years ago

1.17.0

2 years ago

1.17.4

2 years ago

1.17.3

2 years ago

1.20.0

2 years ago

1.14.0

2 years ago

1.15.0

2 years ago

1.13.1

2 years ago

1.13.0

2 years ago

1.15.2

2 years ago

1.15.1

2 years ago

1.13.1-beta.1

2 years ago

1.12.0-beta.5

2 years ago

1.12.0-beta.6

2 years ago

1.12.0-beta.7

2 years ago

1.12.0-beta.8

2 years ago

1.12.0-beta.2

2 years ago

1.12.0-beta.3

2 years ago

1.12.0-beta.4

2 years ago

1.12.0-beta.9

2 years ago

1.12.0-beta.10

2 years ago

1.11.1

2 years ago

1.12.0-beta.1

2 years ago

1.9.1

2 years ago

1.9.0

2 years ago

1.8.18

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.8.9

2 years ago

1.8.10

2 years ago

1.8.8

2 years ago

1.8.11

2 years ago

1.8.12

2 years ago

1.8.6

2 years ago

1.8.13

2 years ago

1.8.14

2 years ago

1.8.15

2 years ago

1.8.16

2 years ago

1.8.17

2 years ago

1.8.2

2 years ago

1.7.3

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.8.5

2 years ago

1.8.3

2 years ago

1.6.3

3 years ago

1.7.1

3 years ago

1.6.2

3 years ago

1.7.0

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago