Installation
-
Install the module dependencies:
UbuntuCentos -
Extract the module:
-
Copy the new Envoy binary to
/usr/local/bin/ folder
:ShellShell
-
In your
config.yaml
file add, a new filter in thehttp_filters
section:YAMLYAML
Make sure to update the following required properties:
- app_id - The HUMAN application id in the format of PX__. The application id can be found at Platform Settings -> Applications section.
- cookie_secret - The key used by the cookie signing page. The Cookie Key is generated in the Platform Settings -> Policies section.
- auth_token - The JWT token for REST API. The Authentication Token is generated in the Platform Settings -> Applications section.
- Add a new “clusters” section, replace your “appID” values in “sapi-[REPLACE with appID].perimeterx.net”
HUMAN Envoy Enforcer Docker image
HUMAN Envoy Enforcer Docker image is based on envoyproxy/envoy:v1.32-latest
(https://hub.docker.com/r/envoyproxy/envoy).
The only change is built-in “perimeterx” HTTP filter and installed system libraries (Enforcer dependencies).
HUMAN Envoy Enforcer Docker images are located in this repository: us-docker.pkg.dev/hmn-registry/docker-public/px-envoy
Versioning schema
All images use the following naming/versioning schema: px-envoy:vX.X.X-Y.Y.Y
Where:
vX.X.X
: is Envoy version (Currenty only v1.32 is available)Y.Y.Y
: is HUMAN Enforcer Enforcer version (ChangeLog: https://docs.humansecurity.com/applications-and-accounts/docs/whats-new-envoy) .latest
tag always contains the latest stable HUMAN Enforcer version.
To get v1.32 Envoy with the latest stable HUMAN Enforcer: docker pull us-docker.pkg.dev/hmn-registry/docker-public/px-envoy:v1.32-latest
Changes to Envoy configuration file:
- Add a new “http_filters” section, replace values using information from HUMAN portal:
Envoy Enforcer Configuration Options: https://docs.humansecurity.com/applications-and-accounts/docs/envoy-configuration-options
- Add a new “clusters” section, replace your “appID” values in
sapi-[REPLACE with appID].perimeterx.net
:
Example of a full Envoy configuration: