update-waf
**********


Description
===========

Updates the address rate limiting settings in the Web Application
Firewall configuration for a policy. Rate limiting allows you to
configure a threshold for the number of requests from a unique IP
address for the given period. You can also define the response code
for the requests from the same address that exceed the threshold.


Usage
=====

   oci waas address-rate-limiting update-waf [OPTIONS]


Options
=======


--waas-policy-id [text]
-----------------------

The OCID of the WAAS policy. [required]


--is-enabled [boolean]
----------------------

Enables or disables the address rate limiting Web Application Firewall
feature. [required]


--allowed-rate-per-address [integer]
------------------------------------

The number of allowed requests per second from one IP address. If
unspecified, defaults to *1*.


--max-delayed-count-per-address [integer]
-----------------------------------------

The maximum number of requests allowed to be queued before subsequent
requests are dropped. If unspecified, defaults to *10*.


--block-response-code [integer]
-------------------------------

The response status code returned when a request is blocked. If
unspecified, defaults to *503*.


--if-match [text]
-----------------

For optimistic concurrency control. In the *PUT* or *DELETE* call for
a resource, set the *if-match* parameter to the value of the etag from
a previous *GET* or *POST* response for that resource. The resource
will be updated or deleted only if the etag provided matches the
resource's current etag value.


--wait-for-state [ACCEPTED|IN_PROGRESS|FAILED|SUCCEEDED|CANCELING|CANCELED]
---------------------------------------------------------------------------

This operation asynchronously creates, modifies or deletes a resource
and uses a work request to track the progress of the operation.
Specify this option to perform the action and then wait until the work
request reaches a certain state. If timeout is reached, a return code
of 2 is returned. For any other error, a return code of 1 is returned.


--max-wait-seconds [integer]
----------------------------

The maximum time to wait for the work request to reach the state
defined by --wait-for-state. Defaults to 1200 seconds.


--wait-interval-seconds [integer]
---------------------------------

Check every --wait-interval-seconds to see whether the work request to
see if it has reached the state defined by --wait-for-state. Defaults
to 30 seconds.


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

For detailed help on any of these individual commands, enter <command>
--help.
