Editing an Edge Policy IP Address Allowlist
Describes how to edit IP address allowlists for an edge policy.
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
whitelistsvalue 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/filesyntax.Update an IP address allowlist by changing the properties of the allowlist object with the rule's key specified in the
keyfield. 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 --helpRefer 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
keyfield. Reorder allowlists by changing the order of the allowlists in the list of objects when updating.