GithubHelp home page GithubHelp logo

jimburtoft / imperva-web-api-composer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imperva/imperva-web-api-composer

0.0 0.0 0.0 3.87 MB

This web based application enables developers to quickly unit test individual API calls for both Incapsula and SecureSphere, as well as provides utilities for migrating policies and configurations between the solutions in bulk

License: Other

Shell 0.06% PHP 5.29% JavaScript 85.63% CSS 5.34% HTML 3.39% Dockerfile 0.29%

imperva-web-api-composer's Introduction

Imperva Web API Composer

license support

Description

This web based application enables developers to quickly unit test individual API calls for both Incapsula and SecureSphere, as well as provides utilities for migrating policies and configurations between the solutions in bulk.

Prerequisites

(For GCP / Kubernetes deployment, see GCP instructions)

Container Setup

To deploy a container based on this image, follow the steps below. The instructions assume you have chosen /opt/docker/imperva-web-api-composer as a base folder for storing settings and data. If you choose a different path, please update the path in the commands below accordingly.

  1. On the Docker host, create the docker-compose.yml file inside the /opt/docker/imperva-web-api-composer folder. A sample docker-compose.yml file is included in this repository.
  2. Change into the /opt/docker/imperva-web-api-composer folder.
    • host# cd /opt/docker/imperva-web-api-composer
  3. Pull the latest image from the registry:
    • host# docker-compose pull
  4. Use docker-compose to bring up the container:
    • host# docker-compose up -d

You can modify the ports mapped by the sample docker-compose.yml file if you'd prefer to run HTTP and HTTPS traffic on ports other than 8080 and 8443, respectively, on your system.

Accessing the UI

Once the container has been started, you can simply access the UI by navigating to http://localhost:8080. If you've chosen an alternate port other than 8080, be sure to connect to it instead.

Initial Configuration

TO DO...

Troubleshooting

If you need to access the container in order to troubleshoot one or more errors, you should use the docker exec -t -i _containerId_ /bin/ash command to connect to the container replacing _ containerId _ with the actual ID of the container shown in the first column when you run docker ps -a.

Once connected, error information can be found in the /var/log/apache2/apitool_error_log file.

Updating and Upgrading the Container

In the future, you can update the container by simply re-running docker-compose pull followed by docker-compose up --force-recreate from the /opt/docker/imperva-web-api-composer folder. These commands will automatically pull the latest version of the image(s) from the registry and replace it without affecting your data or configurations.

Additional Help or Questions

If you have questions, find bugs or need additional help, please send an email to: [email protected].

Links

imperva-web-api-composer's People

Contributors

banderson0421 avatar gabibeyo avatar jimburtoft 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.