@jupiterone/jupiter-integration-threatstack
JupiterOne managed integration for Threat Stack.
$ cnpm install @jupiterone/jupiter-integration-threatstack 
SYNC missed versions from official npm registry.

JupiterOne Managed Integration for Threat Stack

Build Status

This JupiterOne integration connects to a Threat Stack account using a provided API Auth token and ingests the Threat Stack server agents and the vulnerability findings they identified.

Development Environment

Integrations mutate the graph to reflect configurations and metadata from the provider. Developing an integration involves:

  1. Establishing a secure connection to a provider API
  2. Fetching provider data and converting it to entities and relationships
  3. Collecting the existing set of entities and relationships already in the graph
  4. Performing a diff to determine which entites/relationships to create/update/delete
  5. Delivering create/update/delete operations to the persister to update the graph

This example integration hand waves 1 and 2a. ???? The rest of it is serious business. Run the integration to see what happens:

  1. Install Docker
  2. yarn install
  3. yarn start:graph
  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:

  1. yarn stop:graph
  2. yarn start:graph

Environment Variables

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

yarn build:publish

Current Tags

  • 1.0.3                                ...           latest (a month ago)

10 Versions

  • 1.0.3                                ...           a month ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
  • 0.2.2                                ...           3 months ago
  • 0.2.1                                ...           3 months ago
  • 0.2.0                                ...           3 months ago
  • 0.1.3                                ...           3 months ago
  • 0.1.2                                ...           3 months ago
  • 0.1.1                                ...           3 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 54
Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |