@jupiterone/integration-sdk-cli 12.2.5 → 12.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupiterone/integration-sdk-cli",
3
- "version": "12.2.5",
3
+ "version": "12.3.0",
4
4
  "description": "The SDK for developing JupiterOne integrations",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -24,9 +24,9 @@
24
24
  "plop": "plop --plopfile dist/src/generator/newIntegration.js"
25
25
  },
26
26
  "dependencies": {
27
- "@jupiterone/data-model": "^0.54.0",
28
- "@jupiterone/integration-sdk-core": "^12.2.5",
29
- "@jupiterone/integration-sdk-runtime": "^12.2.5",
27
+ "@jupiterone/data-model": "^0.55.0",
28
+ "@jupiterone/integration-sdk-core": "^12.3.0",
29
+ "@jupiterone/integration-sdk-runtime": "^12.3.0",
30
30
  "chalk": "^4",
31
31
  "commander": "^9.4.0",
32
32
  "fs-extra": "^10.1.0",
@@ -43,7 +43,7 @@
43
43
  "url-exists": "^1.0.3"
44
44
  },
45
45
  "devDependencies": {
46
- "@jupiterone/integration-sdk-private-test-utils": "^12.2.5",
46
+ "@jupiterone/integration-sdk-private-test-utils": "^12.3.0",
47
47
  "@pollyjs/adapter-node-http": "^6.0.5",
48
48
  "@pollyjs/core": "^6.0.5",
49
49
  "@pollyjs/persister-fs": "^6.0.5",
@@ -56,5 +56,5 @@
56
56
  "neo-forgery": "^2.0.0",
57
57
  "vis": "^4.21.0-EOL"
58
58
  },
59
- "gitHead": "7838c08ef82cd2460b77ae2280d56d35f369aa2c"
59
+ "gitHead": "94be63800ba85af6973c70a23aeb0f42311b9a12"
60
60
  }
@@ -1,25 +1,11 @@
1
- FROM node:18-bullseye-slim as builder
1
+ FROM node:18-alpine
2
2
 
3
3
  ENV JUPITERONE_INTEGRATION_DIR=/opt/jupiterone/integration
4
4
 
5
- COPY package.json yarn.lock tsconfig.dist.json tsconfig.json LICENSE ${JUPITERONE_INTEGRATION_DIR}/
5
+ COPY package.json yarn.lock tsconfig.json LICENSE ${JUPITERONE_INTEGRATION_DIR}/
6
6
  COPY src/ ${JUPITERONE_INTEGRATION_DIR}/src
7
- WORKDIR ${JUPITERONE_INTEGRATION_DIR}
8
- RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/api/lists/*
9
- RUN yarn install
10
- RUN yarn build:docker
11
-
12
7
 
13
- FROM node:18-bullseye-slim
14
- ENV JUPITERONE_INTEGRATION_DIR=/opt/jupiterone/integration
15
- COPY --from=builder --chown=node:node ${JUPITERONE_INTEGRATION_DIR}/dist ${JUPITERONE_INTEGRATION_DIR}
16
- COPY --from=builder --chown=node:node ${JUPITERONE_INTEGRATION_DIR}/yarn.lock ${JUPITERONE_INTEGRATION_DIR}
17
- COPY scripts/ ${JUPITERONE_INTEGRATION_DIR}/scripts
18
8
  WORKDIR ${JUPITERONE_INTEGRATION_DIR}
19
- RUN apt-get update && apt-get install -y python3
20
- RUN yarn install --production --fronzen-lockfile --cache-folder ./ycache && yarn global add --cache-folder ./ycache @jupiterone/integration-sdk-cli && rm -rf ./ycache && chown -R node:node /opt/jupiterone
21
- RUN export PATH="$(yarn global bin):$PATH"
22
-
23
- USER node
9
+ RUN yarn install
24
10
 
25
- CMD ["sh", "scripts/execute.sh"]
11
+ ENTRYPOINT /usr/local/bin/yarn --silent j1-integration run -i ${INTEGRATION_INSTANCE_ID} --disable-schema-validation --api-base-url ${JUPITERONE_API_BASE_URL:-https://api.us.jupiterone.io} --account ${JUPITERONE_ACCOUNT} --api-key ${JUPITERONE_API_KEY}