Editing an Edge Policy IP Address Allowlist

Describes how to edit IP address allowlists 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 for which you want to add an IP address allowlist. 

      The Details page of the edge policy you selected appears.

    5. Click Access Control under WAF Policy.

      The Access Control list appears.

    6. Click the IP Whitelist tab.
      The IP Address Whitelist list appears.
    7. Click the Actions menu (three dots) for the IP address allowlist you want to edit and click Edit.

      The Edit IP Address Whitelist dialog box appears.

    8. Edit the IP address allowlist.

      See Adding an Edge Policy IP Address Allowlist for a description of the IP address allowlist settings.

    9. Click Save Changes.

      The Edit IP Address Whitelist dialog box closes. The IP address allowlist you edited appears in the IP Address Whitelist list with the updates you made.

    Publish your changes for them to take effect. See Publishing Changes.

  • Enter the following command and required parameters:
    oci waas whitelist  update --waas-policy-id waas_policy_ocid --whitelists whitelists [OPTIONS]

    The whitelists value is a complex type whose value must be valid JSON. The value can be provided as a string on the command line or passed in as a file using the file://path/to/file syntax.

    Update an IP address allowlist by changing the properties of the allowlist object with the rule's key specified in the key field. Reorder allowlists by changing the order of the allowlists in the list of objects when updating.

    See the CLI online help for a list of optional parameters:

    oci waas whitelists update --help

    Refer to the Oracle Cloud Infrastructure documentation for a complete description of the oci waas whitelists update command.

  • Use the UpdateWhitelists operation to edit an IP address allowlist using the API.

    Update an IP address allowlist by changing the properties of the allowlist object with the rule's key specified in the key field. Reorder allowlists by changing the order of the allowlists in the list of objects when updating.