@jupiterone/graph-sonarqube
TypeScript icon, indicating that this package has built-in type declarations

2.4.4 • Public • Published

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 its work (provider API credentials, data ingestion parameters, etc.). The names of these parameters are defined by the IntegrationInstanceConfigFieldMapin src/config.ts. When the integration is executed outside the JupiterOne managed environment (local development or on-prem), values for these parameters are read from Node's process.env by converting config field names to constant case. For example, clientId is read from process.env.CLIENT_ID.

    The .env file is loaded into process.env before the integration code is executed. This file is not required should you configure the environment another way. .gitignore is configured to to avoid commiting the .env file.

Running the integration

  1. npm run start to collect data
  2. npm run graph to show a visualization of the collected data
  3. npm run 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.

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.4.41latest

Version History

VersionDownloads (Last 7 Days)Published
2.4.41
2.4.30
2.4.20
2.4.10
2.4.00
2.3.120
2.3.110
2.3.100
2.3.90
2.3.80
2.3.70
2.3.60
2.3.50
2.3.40
2.3.30
2.3.20
2.3.10
2.3.00
2.2.120
2.2.110
2.2.100
2.2.90
2.2.80
2.2.70
2.2.60
2.2.50
2.2.40
2.2.30
2.2.20
2.2.10
2.2.00
2.1.290
2.1.280
2.1.270
2.1.260
2.1.250
2.1.240
2.1.230
2.1.220
2.1.210
2.1.200
2.1.190
2.1.180
2.1.170
2.1.160
2.1.150
2.1.140
2.1.130
2.1.120
2.1.20
2.0.00
1.2.00
1.1.00
1.0.10
1.0.0-beta.41
1.0.0-beta.30
1.0.0-beta.20
1.0.0-beta.10
1.0.0-beta.00
0.1.00

Package Sidebar

Install

npm i @jupiterone/graph-sonarqube

Weekly Downloads

2

Version

2.4.4

License

MPL-2.0

Unpacked Size

134 kB

Total Files

123

Last publish

Collaborators

  • jupiterone-dev