Deleting an Access Rule from an Edge Policy
Use Web Application Firewall to delete access rules from an Edge policy.
- Open the navigation menu and select Identity & Security. Under Web Application Firewall, select Policies.
- On the Policies page, select the compartment that contains the policy.
- (Optional) Filter the listed policies by name, status (status), policy type (Edge policy), or creation date.
- Click the name of the Edge policy that you want to delete.
- On the policy details page, under Edge policy, click Access control.
- Click the Access rule tab.
- Select the check box for one or more access rules that you want to delete, and then click Delete.
- 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 thefile://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.