Giter Site home page Giter Site logo

cloudguard-cnapp-gcp-org-onboarding's Introduction

CloudGuard CNAPP Google Organization Onboarding

This Terraform project is intended to be used to onboard an entire Google Tenant in one-shot.
What it does is configuring, via Terraform, an existing CloudGuard CSPM Portal and Google environment that has multiple projects.

How to start?

You would need to have a CloudGuard tenant, you can create one via Infinity Portal by clicking: Register Here

Get API credentials in your CloudGuard CNAP Portal

Then you will need to get the API credentials that you will be using with Terraform to onboard the accounts.

Architectural Design

Remember to copy these two values, you will need to enter them in the .tfvars file later on.

Prerequisite

You would need to have proper permission and authentication in Google. This can be achieved either by specifying the authentication parameters using your service-principal authentication (as described below) or using other means of authenticating as described in Google Terraform Provider Docs.

How to use it

The only thing that you need to do is changing the terraform.tfvars file located in this directory.

# Set in this file your deployment variables
gcp-region  = "xxxxx-xxxxx-xxxxx-xxxxx"
gcp-project = "xxxxx-xxxxx-xxxxx-xxxxx"
gcp-credentials  = { "type": "service_account", "project_id": "xxxxxxxxxxxxxxxxxxxx", "private_key_id": "xxxxxxxxxxxxxxxxxxxx", "private_key": "-----BEGIN PRIVATE KEY-----\n xxxxxxxxxxxxxxxxxxxx \n-----END PRIVATE KEY-----\n", "client_email": "xxxxxxxxxxxxxxxxxxxx", "client_id": "xxxxxxxxxxxxxxxxxxxx", "auth_uri": "xxxxxxxxxxxxxxxxxxxx", "token_uri": "xxxxxxxxxxxxxxxxxxxx", "auth_provider_x509_cert_url": "xxxxxxxxxxxxxxxxxxxx", "client_x509_cert_url": "xxxxxxxxxxxxxxxxxxxx" }

cspm-key-id         = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
cspm-key-secret     = "xxxxxxxxxxxxxxxxxxxx"
chkp-account-region = "Europe"     // Use either Europe / America or Australia

If you want (or need) to further customize other project details, you can change defaults in the different name-variables.tf files. Here you will also able to find the descriptions that explains what each variable is used for.

cloudguard-cnapp-gcp-org-onboarding's People

Contributors

gbrembati avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.