Compare commits
1 Commits
main
...
propose-wa
Author | SHA1 | Date | |
---|---|---|---|
a4b8e93e03 |
@ -134,8 +134,6 @@ Response Parameters
|
|||||||
+-----------------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-----------------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| protect_status | Integer | WAF status of the protected domain name. |
|
| protect_status | Integer | WAF status of the protected domain name. |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - -1: Bypassed. Requests are directly sent to the backend servers without passing through WAF. |
|
|
||||||
| | | |
|
|
||||||
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. -1: Enabled. WAF detects attacks based on the configured policy. |
|
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. -1: Enabled. WAF detects attacks based on the configured policy. |
|
||||||
+-----------------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-----------------------+-----------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| access_status | Integer | Whether a domain name is connected to WAF. |
|
| access_status | Integer | Whether a domain name is connected to WAF. |
|
||||||
@ -326,7 +324,7 @@ Example Requests
|
|||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
POST https://{Endpoint}/v1/{project_id}/premium-waf/host?enterprise_project_id=0
|
POST https://{Endpoint}/v1/{project_id}/premium-waf/host?
|
||||||
|
|
||||||
{
|
{
|
||||||
"hostname" : "www.demo.com",
|
"hostname" : "www.demo.com",
|
||||||
|
@ -68,8 +68,6 @@ Response Parameters
|
|||||||
+-----------------------+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
+-----------------------+-----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
||||||
| protect_status | Integer | WAF status of the protected domain name. The value can be: |
|
| protect_status | Integer | WAF status of the protected domain name. The value can be: |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - -1: Bypassed. Requests are directly sent to the backend servers without passing through WAF. |
|
|
||||||
| | | |
|
|
||||||
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. |
|
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - 1: Enabled. WAF detects attacks based on the configured policy. |
|
| | | - 1: Enabled. WAF detects attacks based on the configured policy. |
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -94,8 +94,6 @@ Response Parameters
|
|||||||
+-----------------------+---------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-----------------------+---------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| protect_status | Integer | WAF status of the protected domain name. The value can be: |
|
| protect_status | Integer | WAF status of the protected domain name. The value can be: |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - -1: Bypassed. Requests are directly sent to the backend servers without passing through WAF. |
|
|
||||||
| | | |
|
|
||||||
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. |
|
| | | - 0: Suspended. WAF only forwards requests for the domain name but does not detect attacks. |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - 1: Enabled. WAF detects attacks based on the configured policy. |
|
| | | - 1: Enabled. WAF detects attacks based on the configured policy. |
|
||||||
|
@ -45,7 +45,7 @@ Request Parameters
|
|||||||
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| Parameter | Mandatory | Type | Description |
|
| Parameter | Mandatory | Type | Description |
|
||||||
+====================+=================+=================+============================================================================================================================================================================================================+
|
+====================+=================+=================+============================================================================================================================================================================================================+
|
||||||
| name | No | String | Rule name. |
|
| name | Yes | String | Rule name. |
|
||||||
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| description | No | String | Rule description. |
|
| description | No | String | Rule description. |
|
||||||
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+--------------------+-----------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|
@ -73,7 +73,9 @@ Request Parameters
|
|||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Israel: Israel |
|
| | | | - Israel: Israel |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Iraq: Afghanistan |
|
| | | | - Iraq: Iraq |
|
||||||
|
| | | | |
|
||||||
|
| | | | - Afghanistan: Afghanistan |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Libya: Libya |
|
| | | | - Libya: Libya |
|
||||||
| | | | |
|
| | | | |
|
||||||
@ -150,7 +152,9 @@ Response Parameters
|
|||||||
| | | |
|
| | | |
|
||||||
| | | - Israel: Israel |
|
| | | - Israel: Israel |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Iraq: Afghanistan |
|
| | | - Iraq: Iraq |
|
||||||
|
| | | |
|
||||||
|
| | | - Afghanistan: Afghanistan |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Libya: Libya |
|
| | | - Libya: Libya |
|
||||||
| | | |
|
| | | |
|
||||||
|
@ -88,7 +88,9 @@ Response Parameters
|
|||||||
| | | |
|
| | | |
|
||||||
| | | - Israel: Israel |
|
| | | - Israel: Israel |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Iraq: Afghanistan |
|
| | | - Iraq: Iraq |
|
||||||
|
| | | |
|
||||||
|
| | | - Afghanistan: Afghanistan |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Libya: Libya |
|
| | | - Libya: Libya |
|
||||||
| | | |
|
| | | |
|
||||||
@ -163,7 +165,7 @@ Example Requests
|
|||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
DELETE https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/geoip/{rule_id}?enterprise_project_id=0
|
DELETE https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/geoip/{rule_id}?
|
||||||
|
|
||||||
Example Responses
|
Example Responses
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -45,7 +45,7 @@ Request Parameters
|
|||||||
+=================+=================+=================+==============================================================================================================+
|
+=================+=================+=================+==============================================================================================================+
|
||||||
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
| Content-Type | Yes | String | Content type. |
|
| Content-Type | No | String | Content type. |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | Default: **application/json;charset=utf8** |
|
| | | | Default: **application/json;charset=utf8** |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
|
@ -13,17 +13,17 @@ This API is used to delete a reference table.
|
|||||||
URI
|
URI
|
||||||
---
|
---
|
||||||
|
|
||||||
DELETE /v1/{project_id}/waf/valuelist/{table_id}
|
DELETE /v1/{project_id}/waf/valuelist/{valuelist_id}
|
||||||
|
|
||||||
.. table:: **Table 1** Path Parameters
|
.. table:: **Table 1** Path Parameters
|
||||||
|
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| Parameter | Mandatory | Type | Description |
|
| Parameter | Mandatory | Type | Description |
|
||||||
+============+===========+========+=============================================================================================+
|
+==============+===========+========+=======================================================================================+
|
||||||
| project_id | Yes | String | Project ID |
|
| project_id | Yes | String | Project ID |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| table_id | Yes | String | Reference table ID. It can be obtained by calling the API Querying the Reference Table List |
|
| valuelist_id | Yes | String | Valuelist ID. It can be obtained by calling the API Querying the Reference Table List |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
Request Parameters
|
Request Parameters
|
||||||
------------------
|
------------------
|
||||||
|
@ -58,7 +58,7 @@ Rule Management
|
|||||||
- :ref:`Deleting a Geolocation Access Control Rule <deletegeoiprule>`
|
- :ref:`Deleting a Geolocation Access Control Rule <deletegeoiprule>`
|
||||||
- :ref:`Querying the Reference Table List <listvaluelist>`
|
- :ref:`Querying the Reference Table List <listvaluelist>`
|
||||||
- :ref:`Creating a Reference Table <createvaluelist>`
|
- :ref:`Creating a Reference Table <createvaluelist>`
|
||||||
- :ref:`Querying a Reference Table by ID <showvaluelist>`
|
- :ref:`Querying a Reference Table <showvaluelist>`
|
||||||
- :ref:`Modifying a Reference Table <updatevaluelist>`
|
- :ref:`Modifying a Reference Table <updatevaluelist>`
|
||||||
- :ref:`Deleting a Reference Table <deletevaluelist>`
|
- :ref:`Deleting a Reference Table <deletevaluelist>`
|
||||||
|
|
||||||
@ -119,6 +119,6 @@ Rule Management
|
|||||||
deleting_a_geolocation_access_control_rule
|
deleting_a_geolocation_access_control_rule
|
||||||
querying_the_reference_table_list
|
querying_the_reference_table_list
|
||||||
creating_a_reference_table
|
creating_a_reference_table
|
||||||
querying_a_reference_table_by_id
|
querying_a_reference_table
|
||||||
modifying_a_reference_table
|
modifying_a_reference_table
|
||||||
deleting_a_reference_table
|
deleting_a_reference_table
|
||||||
|
@ -13,17 +13,17 @@ This API is used to modify a reference table.
|
|||||||
URI
|
URI
|
||||||
---
|
---
|
||||||
|
|
||||||
PUT /v1/{project_id}/waf/valuelist/{table_id}
|
PUT /v1/{project_id}/waf/valuelist/{valuelist_id}
|
||||||
|
|
||||||
.. table:: **Table 1** Path Parameters
|
.. table:: **Table 1** Path Parameters
|
||||||
|
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| Parameter | Mandatory | Type | Description |
|
| Parameter | Mandatory | Type | Description |
|
||||||
+============+===========+========+=============================================================================================+
|
+==============+===========+========+=======================================================================================+
|
||||||
| project_id | Yes | String | Project ID |
|
| project_id | Yes | String | Project ID |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| table_id | Yes | String | Reference table ID. It can be obtained by calling the API Querying the Reference Table List |
|
| valuelist_id | Yes | String | Valuelist ID. It can be obtained by calling the API Querying the Reference Table List |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
Request Parameters
|
Request Parameters
|
||||||
------------------
|
------------------
|
||||||
|
@ -37,7 +37,7 @@ Request Parameters
|
|||||||
+=================+=================+=================+============================================+
|
+=================+=================+=================+============================================+
|
||||||
| X-Auth-Token | Yes | String | User token |
|
| X-Auth-Token | Yes | String | User token |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------+
|
||||||
| Content-Type | Yes | String | Content type |
|
| Content-Type | No | String | Content type |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | Default: **application/json;charset=utf8** |
|
| | | | Default: **application/json;charset=utf8** |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------+
|
||||||
@ -88,7 +88,9 @@ Response Parameters
|
|||||||
| | | |
|
| | | |
|
||||||
| | | - Israel: Israel |
|
| | | - Israel: Israel |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Iraq: Afghanistan |
|
| | | - Iraq: Iraq |
|
||||||
|
| | | |
|
||||||
|
| | | - Afghanistan: Afghanistan |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Libya: Libya |
|
| | | - Libya: Libya |
|
||||||
| | | |
|
| | | |
|
||||||
|
@ -45,7 +45,7 @@ Request Parameters
|
|||||||
+=================+=================+=================+==============================================================================================================+
|
+=================+=================+=================+==============================================================================================================+
|
||||||
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
| Content-Type | Yes | String | Content type. |
|
| Content-Type | No | String | Content type. |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | Default: **application/json;charset=utf8** |
|
| | | | Default: **application/json;charset=utf8** |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
|
@ -2,28 +2,28 @@
|
|||||||
|
|
||||||
.. _ShowValueList:
|
.. _ShowValueList:
|
||||||
|
|
||||||
Querying a Reference Table by ID
|
Querying a Reference Table
|
||||||
================================
|
==========================
|
||||||
|
|
||||||
Function
|
Function
|
||||||
--------
|
--------
|
||||||
|
|
||||||
This API is used to query a reference table by ID.
|
This API is used to query a reference table.
|
||||||
|
|
||||||
URI
|
URI
|
||||||
---
|
---
|
||||||
|
|
||||||
GET /v1/{project_id}/waf/valuelist/{table_id}
|
GET /v1/{project_id}/waf/valuelist/{valuelist_id}
|
||||||
|
|
||||||
.. table:: **Table 1** Path Parameters
|
.. table:: **Table 1** Path Parameters
|
||||||
|
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| Parameter | Mandatory | Type | Description |
|
| Parameter | Mandatory | Type | Description |
|
||||||
+============+===========+========+=============================================================================================+
|
+==============+===========+========+=======================================================================================+
|
||||||
| project_id | Yes | String | Project ID |
|
| project_id | Yes | String | Project ID |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
| table_id | Yes | String | Reference table ID. It can be obtained by calling the API Querying the Reference Table List |
|
| valuelist_id | Yes | String | Valuelist ID. It can be obtained by calling the API Querying the Reference Table List |
|
||||||
+------------+-----------+--------+---------------------------------------------------------------------------------------------+
|
+--------------+-----------+--------+---------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
Request Parameters
|
Request Parameters
|
||||||
------------------
|
------------------
|
@ -53,7 +53,7 @@ Request Parameters
|
|||||||
+=================+=================+=================+==============================================================================================================+
|
+=================+=================+=================+==============================================================================================================+
|
||||||
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
| X-Auth-Token | Yes | String | User token. It can be obtained by calling the IAM API (value of **X-Subject-Token** in the response header). |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
| Content-Type | Yes | String | Content type. |
|
| Content-Type | No | String | Content type. |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | Default: **application/json;charset=utf8** |
|
| | | | Default: **application/json;charset=utf8** |
|
||||||
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
+-----------------+-----------------+-----------------+--------------------------------------------------------------------------------------------------------------+
|
||||||
|
@ -112,7 +112,9 @@ Response Parameters
|
|||||||
| | | |
|
| | | |
|
||||||
| | | - Israel: Israel |
|
| | | - Israel: Israel |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Iraq: Afghanistan |
|
| | | - Iraq: Iraq |
|
||||||
|
| | | |
|
||||||
|
| | | - Afghanistan: Afghanistan |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Libya: Libya |
|
| | | - Libya: Libya |
|
||||||
| | | |
|
| | | |
|
||||||
|
@ -75,7 +75,9 @@ Request Parameters
|
|||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Israel: Israel |
|
| | | | - Israel: Israel |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Iraq: Afghanistan |
|
| | | | - Iraq: Iraq |
|
||||||
|
| | | | |
|
||||||
|
| | | | - Afghanistan: Afghanistan |
|
||||||
| | | | |
|
| | | | |
|
||||||
| | | | - Libya: Libya |
|
| | | | - Libya: Libya |
|
||||||
| | | | |
|
| | | | |
|
||||||
@ -152,7 +154,9 @@ Response Parameters
|
|||||||
| | | |
|
| | | |
|
||||||
| | | - Israel: Israel |
|
| | | - Israel: Israel |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Iraq: Afghanistan |
|
| | | - Iraq: Iraq |
|
||||||
|
| | | |
|
||||||
|
| | | - Afghanistan: Afghanistan |
|
||||||
| | | |
|
| | | |
|
||||||
| | | - Libya: Libya |
|
| | | - Libya: Libya |
|
||||||
| | | |
|
| | | |
|
||||||
|
@ -8,6 +8,8 @@ Change History
|
|||||||
+-----------------------------------+----------------------------------------------------------------------------------------------------+
|
+-----------------------------------+----------------------------------------------------------------------------------------------------+
|
||||||
| Released On | Description |
|
| Released On | Description |
|
||||||
+===================================+====================================================================================================+
|
+===================================+====================================================================================================+
|
||||||
|
| 2023-04-23 | Revised the document based on review comments. |
|
||||||
|
+-----------------------------------+----------------------------------------------------------------------------------------------------+
|
||||||
| 2023-03-30 | - Added "Geographical Location Codes." |
|
| 2023-03-30 | - Added "Geographical Location Codes." |
|
||||||
| | - Revised the document based on review comments. |
|
| | - Revised the document based on review comments. |
|
||||||
+-----------------------------------+----------------------------------------------------------------------------------------------------+
|
+-----------------------------------+----------------------------------------------------------------------------------------------------+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user