Adding an Access Rule to an Edge Policy
Use Web Application Firewall to add an access rule to an Edge policy.
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.Create an access rule by adding a new access rule object to the list without a
key
property specified. A key is generated for the new access rule upon update.See the CLI online help for a list of optional parameters:
oci waas access-rule update --help
See the Oracle Cloud Infrastructure documentation for a complete description of the oci waas access-rule update command.
Use the UpdateAccessRules operation to add an address rule using the API.
Create an access rule by adding a new access rule object to the list without a
key
property specified. A key is generated for the new access rule upon update.