Whitelist Interceptor - getheimdall/heimdall GitHub Wiki

Definition

The Whitelist interceptor can be used allow a list of ip's to access any Api, Plan, Resource or Operation. When the ip that originated the request is in the whitelist the request will not be blocked, if the request originated from any other ip a response with the Http status 401 UNAUTHORIZED will be sent back.

Details

Whitelist

Name: Simple name for your interceptor

Description: A simple description for your interceptor

Life Cycle: The appropriate life cycle for the interceptor

  • Life cycles allowed:
    • Api
    • Plan
    • Resource
    • Operation

Content: Configuration of the interceptor

JSON example:

{
  "ips": [
    "127.0.0.0",
    "127.0.0.1"
  ]
}

ips: list of ips that should be allowed