@jupiterone/integration-sdk-cli 12.2.4 → 12.2.7
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.
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
FROM node:18-
|
|
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.
|
|
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
|
|
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
|
-
|
|
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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupiterone/integration-sdk-cli",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.7",
|
|
4
4
|
"description": "The SDK for developing JupiterOne integrations",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@jupiterone/data-model": "^0.54.0",
|
|
28
|
-
"@jupiterone/integration-sdk-core": "^12.2.
|
|
29
|
-
"@jupiterone/integration-sdk-runtime": "^12.2.
|
|
28
|
+
"@jupiterone/integration-sdk-core": "^12.2.7",
|
|
29
|
+
"@jupiterone/integration-sdk-runtime": "^12.2.7",
|
|
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.
|
|
46
|
+
"@jupiterone/integration-sdk-private-test-utils": "^12.2.7",
|
|
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": "
|
|
59
|
+
"gitHead": "d970b17690c43ae621ac5872d4f1671a4ea556b5"
|
|
60
60
|
}
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
FROM node:18-
|
|
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.
|
|
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
|
|
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
|
-
|
|
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}
|