Deleting an Access Rule from an Edge Policy

Use Web Application Firewall to delete access rules from an Edge policy.

    1. Open the navigation menu  and select Identity & Security. Under Web Application Firewall, select Policies.
    2. On the Policies page, select the compartment that contains the policy.
    3. (Optional) Filter the listed policies by name, status (status), policy type (Edge policy), or creation date.
    4. Click the name of the Edge policy that you want to delete.
    5. On the policy details page, under Edge policy, click Access control.
    6. Click the Access rule tab.
    7. Select the check box for one or more access rules that you want to delete, and then click Delete.
    8. Confirm the deletion.

      The Access rules list no longer includes the access rules that you deleted.

    For changes to take effect, you must publish them. See Publishing Changes.

  • Enter the following command and required parameters:
    oci waas access-rule update --waas-policy-id waas_policy_ocid --access-rules access_rules [OPTIONS]

    The access-rules 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.

    Any existing access rules that you do not specify with a key in the list of access rules are deleted upon update.

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

    oci waas access-rule update --help

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

  • Use the UpdateAccessRules operation to edit an address rule using the API.

    Any existing access rules that you don't specify with a key in the list of access rules are deleted upon update.