The purpose of this page is to act as a centralized resource via a vanity URL that can be accessed unauthenticated to enable prospective adopters of Insights to learn more about what security measures and controls we have in place. This page should be a high level so it can be available for our users (sysadmins) while also functional approvers such as Management or Security teams who need to approve usage.
There is a comprehensive quick start guide in the Storybook Documentation to setting up an Insights environment complete with:
-
Insights Frontend Trust App
Note: You will need to set up the Insights environment if you want to develop with the trust app due to the consumption of the chroming service as well as setting up your global/app navigation through the API.
-
npm install
-
npm run start
- starts webpack bundler and serves the files with webpack dev server
OR
npm run start:proxy
- starts webpack bundler and serves the files with webpack dev server and runs chrome proxy (prod env) (one less terminal required)
- visit
https://prod.foo.redhat.com:1337/insights/dashboard/
- any push to the
{REPO}
master
branch will deploy to a{REPO}-build
ci-beta
branch - any push to the
{REPO}
ci-stable
branch will deploy to a{REPO}-build
ci-stable
branch - any push to the
{REPO}
qa-beta
branch will deploy to a{REPO}-build
qa-beta
branch - any push to the
{REPO}
qa-stable
branch will deploy to a{REPO}-build
qa-stable
branch - any push to the
{REPO}
prod-beta
branch will deploy to a{REPO}-build
prod-beta
branch - any push to the
{REPO}
prod-stable
branch will deploy to a{REPO}-build
prod-stable
branch - Pull requests (based on master) will not be pushed to
{REPO}-build
master
branch- If the PR is accepted and merged, master will be rebuilt and will deploy to
{REPO}-build
ci-beta
branch
- If the PR is accepted and merged, master will be rebuilt and will deploy to
- Edit package.json and change appname from
trust
toinsights
:
"insights": {
"appname": "insights"
},
- Have insights-proxy installed under PROXY_PATH and run (if not running start:proxy)
SPANDX_CONFIG="./profiles/local-frontend.js" bash $PROXY_PATH/scripts/run.sh
-
Run
npm start
-
Point your browser to https://prod.foo.redhat.com:1337/security/insights