Skip to content

Commit

Permalink
Merge pull request #244 from JupiterOne/fix-fedramp-domain
Browse files Browse the repository at this point in the history
updated outdated FedRamp domain references
  • Loading branch information
behobu authored May 23, 2023
2 parents 1d019e2 + 1364a33 commit 4b0ad7b
Show file tree
Hide file tree
Showing 5 changed files with 5,524 additions and 5,617 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM node:14.16.0-stretch-slim
FROM node:16-bullseye-slim
WORKDIR /opt

# Install pandoc and other linting/helper tools
RUN apt-get update && apt-get install --assume-yes \
python3-pip
RUN apt-get update && apt-get -y install \
python3-pip \
unzip

# Install psp CLI and additional linting tool
RUN npm install -g \
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile-extras
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:14.16.0-stretch-slim
FROM node:16-bullseye-slim
# Debian stretch base-image, minimized
WORKDIR /opt

# Install pandoc and other linting/helper tools
RUN apt-get update && apt-get install --assume-yes \
RUN apt-get update && apt-get install -y \
aspell \
jq \
pandoc \
Expand All @@ -12,7 +12,8 @@ RUN apt-get update && apt-get install --assume-yes \
texlive-fonts-extra \
texlive-fonts-recommended \
texlive-latex-extra \
texlive-xetex
texlive-xetex \
unzip

# Install psp CLI and additional linting tool
RUN npm install -g \
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"nock": "^13.0.4",
"require-self-ref": "^2.0.1",
"ts-node": "^9.0.0",
"ttypescript": "^1.5.15",
"type-fest": "^1.1.3"
}
}
6 changes: 3 additions & 3 deletions src/j1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ class JupiterOneClient {
persisterGraphQLApiUrl = 'https://api.dev.jupiterone.io/graphql';
queryGraphQLApiUrl = 'https://api.dev.jupiterone.io/graphql';
} else if (targetEnvironment === 'fedramp') {
persisterRestApiUrl = 'https://api.fedramp.jupiterone.io';
persisterGraphQLApiUrl = 'https://api.fedramp.jupiterone.io/graphql';
queryGraphQLApiUrl = 'https://api.fedramp.jupiterone.io/graphql';
persisterRestApiUrl = 'https://api.fedramp.jupiterone.us';
persisterGraphQLApiUrl = 'https://api.fedramp.jupiterone.us/graphql';
queryGraphQLApiUrl = 'https://api.fedramp.jupiterone.us/graphql';
} else {
throw new Error(
'Unrecognized target JupiterOne environment: ' + targetEnvironment
Expand Down
Loading

0 comments on commit 4b0ad7b

Please sign in to comment.