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 select Identity & Security. Under Web Application Firewall, select Edge Policy Resources.
      The Policies list opens. All edge policies are listed in a table.
    2. Select the Compartment from the list.
      All the edge policies in that compartment are listed in a table.
    3. (Optional) Apply one or more of the following Filters to limit the edge policies displayed:
      • State
      • Name
      • Policy Type: Select Edge Policy.
    4. Select the name of the edge policy whose JavaScript challenge details you want to get. 
      The edge policy's details page opens.
    5. Select Bot Management under WAF Policy.
      The Bot Management list opens.
    6. Select the JavaScript Challenge tab.
      The tab indicates whether the JavaScript challenge is enabled or not.
    7. Select Edit JavaScript Challenge.
      The Edit JavaScript Challenge panel opens.
    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.