Create an encryption rule

Encryption rules are used by the proxy to find content in HTTP requests that should be encrypted.

Before you begin

Role required: security-admin

Before creating an encryption rule, you must Inspect the client request to determine the format.

About this task

To create or edit encryption rules, you must be connected to the instance through an encryption proxy.

Procedure

  1. Navigate to Edge Encryption Configuration > Rules > Create New.
  2. In the Name box, enter a name.
  3. In the Request Type, select an HTTP method.
    • HTTP Post
    • HTTP Get
    • HTTP Put
    • HTTP Patch
    • HTTP Delete
    Note: Pre-Jakarta instances only allow HTTP Get and Post methods.
  4. In the Condition box, enter a JavaScript statement defining when the rule should run.
  5. In the Action box, enter a JavaScript function to be executed when the condition is true.
  6. In the Order box, enter the relative priority of the rule.
  7. Click Submit, or save the form.