Getting the JavaScript Challenge's Details for an Edge Policy

Describes how to get the details of the JavaScript challenge for an edge policy.

    1. Open the navigation menu and click Identity & Security. Under Web Application Firewall, click Policies.

      Alternatively, open the Web Application Firewall page and click Policies under Resources.

      The WAF Policies page appears.

    2. Select the Compartment from the list.

      All the WAF policies in that compartment are listed in tabular form.

    3. (Optional) Apply one or more of the following Filters to limit the edge policies displayed:
      • State

      • Name

      • Policy Type: Select Edge Policy.

    4. Click the name of the edge policy whose JavaScript challenge details you want to get. 

      The Details page for the policy you select appears.

    5. Click Bot Management under WAF Policy.

      The Bot Management list appears.

    6. Select the JavaScript Challenge tab.

      The tab indicates whether the JavaScript challenge is enabled or not.

    7. Click Edit JavaScript Challenge.

      The Edit JavaScript Challenge dialog box appears.

    View the settings of the JavaScript challenge. See Enabling and Editing the JavaScript Challenge for an Edge Policy for more information on these settings.

  • Use the following oci waas js-challenge get and required parameters to get the details of the JavaScript challenge for an edge policy:

    oci waas js-challenge get --waas-policy-id waas_policy_ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Use the GetJsChallenge operation to get the details of the JavaScript challenge.