Skip to content

A template for the standard Azure Front Door + Azure Function Enforcer.

Notifications You must be signed in to change notification settings

PerimeterX/azure-enforcer-template

Repository files navigation

Azure Function Enforcer Example

See the full official documentation for the Human Security Azure Enforcer here.

  1. Install dependencies with npm install.
  2. Configure the enforcer by modifying the EnforcerFunction/config.ts file.
  3. Compile the enforcer by running npm run build.
  4. Publish the enforcer to your Function App by running func azure functionapp publish <APP_NAME> --typescript. (You must have Azure Functions Core Tools installed to run this command.)
  5. Add the following variables to your deployed Function App Configuration Settings:
    • PX_APP_ID - The application ID (available in the portal)
    • PX_AUTH_TOKEN - The server token (available in the portal)
    • PX_COOKIE_SECRET - The cookie secret associated with the Bot Defender security policy (available in the portal)
    • FRONT_DOOR_SECRET_KEY - A secret key that will be added as a request header and used in Front Door to verify incoming requests

About

A template for the standard Azure Front Door + Azure Function Enforcer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published