Coder Social home page Coder Social logo

cp-appsec-demo-ulen's Introduction

Check Point CloudGuard AppSec demo

This is a simple docker-compose environment for deploy a Check Point AppSec embedded nano-agent demo.
It will deploy three containers, an NGINX reverse proxy, an agent-container (the nano-agent) and the OWASP JuiceShop app.

You will have two ways to access the stack:

  • Port 80: Protected by AppSec
  • Port 3000: Direct to JuiceShop (unprotected)

Instructions:

  • Clone the repository
  • If you are planning to use a DNS entry for your hostname - you'll need to pass this in the .env file. You can also add your token here, or define it at runtime as per below.
  • From a machine with docker and docker-compose installed, run:
export TOKEN=<your agent token>  
docker-compose down -v --remove-orphans
docker-compose build
docker-compose up

[DEMO HERE]

docker-compose down

Notes:

The NGINX config requires you to provide a host header otherwise you'll get a 404. The host header (eg, entry in your host file) should be juiceshop.local There are two ways to run docker compose: docker-compose and docker compose. Using docker compose (with a space, not a hyphen) is 'experimental' from a Docker perspective and seems to decide on its own value for IPC configuration and breaks this setup. Use docker-compose please :).

cp-appsec-demo-ulen's People

Contributors

chkp-stuartgreen avatar chkp-ianp avatar

Watchers

Cihan MOROVA 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.