From 0a1c5578c28bdfe96d5766aa3ad3f08e80d61810 Mon Sep 17 00:00:00 2001 From: Matthew Zember Date: Thu, 2 Mar 2023 16:26:10 -0500 Subject: [PATCH 1/6] add gaxios dependency and update config --- .env.example | 5 +- docs/jupiterone.md | 19 +-- package.json | 14 +- src/config.ts | 23 ++- yarn.lock | 350 +++++++++++++++++++++++++++++++++++++++------ 5 files changed, 331 insertions(+), 80 deletions(-) diff --git a/.env.example b/.env.example index a494398..49f9b7a 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,3 @@ -CLIENT_ID= -CLIENT_SECRET= \ No newline at end of file +BASE_URL= +USERNAME= +PASSWORD= \ No newline at end of file diff --git a/docs/jupiterone.md b/docs/jupiterone.md index 419d126..3a25b54 100644 --- a/docs/jupiterone.md +++ b/docs/jupiterone.md @@ -95,21 +95,10 @@ https://github.com/JupiterOne/sdk/blob/main/docs/integrations/development.md The following entities are created: -| Resources | Entity `_type` | Entity `_class` | -| --------- | -------------- | --------------- | -| Account | `acme_account` | `Account` | -| User | `acme_user` | `User` | -| UserGroup | `acme_group` | `UserGroup` | - -### Relationships - -The following relationships are created: - -| Source Entity `_type` | Relationship `_class` | Target Entity `_type` | -| --------------------- | --------------------- | --------------------- | -| `acme_account` | **HAS** | `acme_group` | -| `acme_account` | **HAS** | `acme_user` | -| `acme_group` | **HAS** | `acme_user` | +| Resources | Entity `_type` | Entity `_class` | +| --------- | ------------------ | ---------------- | +| Device | `device42_device` | `Host`, `Device` | +| End Users | `device42_enduser` | `User` |