Skip to content

ganadurai/apigee-adv-api-security-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apigee Advanced API Security - Demo setup toolkit

The Apigee Advanced API Security Demo toolkit sets up sample proxies and the needed Apigee artifacts to execute the Bot simulation toolkit.

Prerequisites

  1. Set up the following variables

    export APIGEE_PROJECT_ID=<apigee-project-id where the demo will be executed>
    export APIGEE_ENV=<apigee-env>
    export APIGEE_ENV_HOSTNAME=<apigee-env-group-hostname> #Indicate the protocol https or http ex: https://my-apigee.example.com
  2. Set up the gcloud authentication and fetch the tokens.

    gcloud config set project $APIGEE_PROJECT_ID
    gcloud auth application-default login --no-launch-browser
    
    export TOKEN=$(gcloud auth print-access-token)
  3. Set up the following variables for the simulation controller

    export JOB_CONTROLLER_ENDPOINT="https://eval-group.35-186-236-163.nip.io"
    export BOT_PERCENT="50"
    export BOT_SRC_IPADDRESS="127.0.0.1"
    export JOB_CONTROLLER_EXECUTION_PERIOD=80

Installation & Execute the demo

  1. Run the following to the get the usage information

    ./advapisec-demo-setup.sh
  2. Setup run, this will install the needed artifacts in Apigee org and executes the simulation

    ./advapisec-demo-setup.sh -a setup
  3. Follow the instructions, to view the status of the bot executions and completion statu.

  4. Sample report creation.

    ./scripts/report-gen.sh 
  5. Cleanup run, this will clean the adv api security demo artifacts in Apigee org

    ./advapisec-demo-setup.sh -a cleanup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages