Skip to content
No description, website, or topics provided.
JavaScript Vue Shell Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
forseti-api Upgraded eslint-utils to 1.4.1 in forseti-api Aug 28, 2019
forseti-visualizer-ui Upgraded eslint-util to 1.4.1 Aug 28, 2019
infrastructure update comments for gce deployment script Sep 3, 2019
.gitignore update gitignore Jul 1, 2019 initial commit Jun 3, 2019
LICENSE npm audit fix to fix lodash (#22) and npm run build (#23) Jul 19, 2019
test initial commit Jun 3, 2019

Forseti Visualizer

Forseti Visualizer provides a visualization solution, based on Forseti Security's Inventorying and Violation modules. Forseti Visualizer attempts to enable Google Cloud Platform users to better understand their GCP Organization Structure, while providing insights into policy adherence through identification of violations.


This solution contains a frontend (forseti-visualizer-ui) and backend (forseti-api) component. The frontend defaults to running on port 8081, while the backend runs on port 8080.

Frontend (forseti-visualizer-ui)

Written in:

Backend (forseti-api)

Written in:

Getting Started (Local Development)


Navigate to the forseti-visualizer-ui/ directory, install npm packages.

cd forseti-visualizer-ui/

# install the packages
npm install

# build the application
npm run build

# for developing just the UI - app is served on :8081
# npm start


Navigate to forseti-api/. Create a source.env file, which will should be sourced and set prior to runtime. You will need to populate the fields below. The HANDLE and CHANNEL are leveraged for the IAM Explain functionality.

# navigate to forseti-api
cd forseti-api/

# copy the most recent dist
cp -R ../forseti-visualizer-ui/dist ../forseti-api/dist-forseti-visualizer-ui

# create source.env file
cat > source.env << EOF
export CLOUDSQL_SCHEMA="forseti_security"
export FORSETI_DATA_MODEL_HANDLE="[DATA_MODEL_HANDLE_HASH:21254f1de747879237a95cb552e80844]"

While still in the "forseti-api/" directory:

# install npm packages
npm install

# set environment variables
source source.env

# run the app: served on localhost:8080
npm start

Solution Deployment

There are a few provided solution deployment pipelines. First, you need to build the image. Replace the variables at the top of the file with those from your environment.

  1. cd infrastructure/
  2. ./

For each of the scripts, replace the variables at the top of each file with those from your environment.

  1. infrastructure/deployments/
  2. infrastructure/deployments/
  3. infrastructure/deployments/


You can’t perform that action at this time.