For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
    • ASP.NET
    • Callout Enforcer
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
      • What's New
      • Installation
      • Required Configuration
      • Configuration Options
      • Upgrading
      • First Party Configuration
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • Version 2.0.0
  • Changed
  • Fixed
  • Added
  • Version 1.2.0
  • Added
  • Changed
  • Version 1.1.0
  • Added
  • Version 1.0.1
  • Fixed
  • Version 1.0.0
Enforcer frameworksPython

What's New

Was this page helpful?
Previous

Installation

Next
Built with

Version 2.0.0

Released 2022-10-25

Changed

  • Aligned configuration field names with the spec.
  • Aligned the async activities fields with the spec.
  • Aligned risk activity fields with the spec.
  • Aligned monitored and enforced routes functionality with the spec.
  • The px_custom_verification_handler function now returns the Response object, instead of data, headers and status.
  • The px_sensitive_routes_regex, px_sensitive_routes, px_whitelist_routes_regex and px_whitelist_routes configuration fields must now contain the exact path.
  • Changed the debug_mode configuration field to px_logger_severity; changed the expected values to error and debug.

Fixed

  • Removed unnecessary Risk API Activity fields that could cause a bad request response from the Collector.

Added

  • Added the request_id field to the context.
  • Added implementation for handling s2s_error and enforcer_error.

Version 1.2.0

Released 2022-04-11

Added

  • New block page implementation
  • Configurable max buffer length
  • Configurable px_backend_url

Changed

  • Activities are now sent at the end of a request cycle, and not at beginning of the next one.

Version 1.1.0

Released 2020-09-02

Added

  • Support for monitored_specific_routes
  • Support for Regex patterns in sensitive/whitelist/monitored/enforced routes

Version 1.0.1

Released 2019-11-10

Fixed

  • Using hashlib pbkdf2 implementation

Version 1.0.0

Released 2019-10-29

  • Initial release