WAF Dedicated API 20240227 version

Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: Li, Qiao <qiaoli@huawei.com>
Co-committed-by: Li, Qiao <qiaoli@huawei.com>
This commit is contained in:
Li, Qiao 2024-07-30 08:02:28 +00:00 committed by zuul
parent 3ae8fd627a
commit d62a949ca4
61 changed files with 1833 additions and 434 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<a name="CreateAntileakageRules"></a><a name="CreateAntileakageRules"></a> <a name="CreateAntileakageRules"></a><a name="CreateAntileakageRules"></a>
<h1 class="topictitle1">Creating an Information Leakage Protection Rule</h1> <h1 class="topictitle1">Creating an Information Leakage Prevention Rule</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to create an infroamtion leakage protection rule.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to create an information leakage prevention rule.</p>
</div> </div>
<div class="section" id="CreateAntileakageRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/antileakage</p> <div class="section" id="CreateAntileakageRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/antileakage</p>
@ -98,7 +98,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -112,8 +112,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -124,7 +124,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Description</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -145,7 +145,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p>
@ -161,7 +161,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -173,8 +173,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -183,7 +183,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>

File diff suppressed because it is too large Load Diff

View File

@ -78,7 +78,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Certificate name. The value can contain a maximum of 64 characters. Only digits, letters, hyphens (-), underscores (_), and periods (.) are allowed.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Certificate name. Only digits, letters, hyphens (-), underscores (_), and periods (.) are allowed. The value can contain a maximum of 256 characters.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>content</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>content</p>
@ -131,7 +131,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expires</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expires (unit: ms).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
@ -141,6 +141,13 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate is uploaded</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate is uploaded</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>cert_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Certificate type. This parameter is redundant and can be ignored.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -1,7 +1,7 @@
<a name="CreateCustomRules"></a><a name="CreateCustomRules"></a> <a name="CreateCustomRules"></a><a name="CreateCustomRules"></a>
<h1 class="topictitle1">Creating a Precise Protection Rule</h1> <h1 class="topictitle1">Adding a Precise Protection Rule</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to create a precise protection rule.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to add a precise protection rule.</p>
</div> </div>
<div class="section" id="CreateCustomRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/custom</p> <div class="section" id="CreateCustomRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/custom</p>
@ -117,7 +117,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>conditions</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>conditions</p>
@ -188,7 +188,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>
@ -324,7 +324,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p>
@ -435,7 +435,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>

View File

@ -116,7 +116,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Specifications of the dedicated engine version. The value can be <strong>waf.instance.enterprise</strong> or <strong>waf.instance.professional</strong>.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Specifications of the dedicated engine version. The value can be <strong>waf.instance.enterprise</strong> or <strong>waf.instance.professional</strong>.</p>
<ul><li><p><strong>waf.instance.professional</strong>: WI-100. Performance: 100 Mbit/s of throughput and 2,000 QPS.</p> <ul><li><p><strong>waf.instance.professional</strong>: WI-100. Performance: 100 Mbit/s of throughput and 2,000 QPS.</p>
</li><li><p><strong>waf.instance.enterprise</strong>: WI-100. Performance: 500 Mbit/s of throughput and 10,000 QPS.</p> </li><li><p><strong>waf.instance.enterprise</strong>: WI-500. Performance: 500 Mbit/s of throughput and 10,000 QPS.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>waf.instance.professional</strong></p> <ul><li><p><strong>waf.instance.professional</strong></p>
@ -130,7 +130,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>ECS specifications and the dedicated WAF instance specifications. You can view details about the supported specifications on the WAF console.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>vpc_id</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>vpc_id</p>
@ -175,7 +175,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Whether to create a dedicated engine instance of the network interface type. Its value has to be true.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Whether the dedicated WAF instance is network interface type. The value is fixed at <strong>Network Interface</strong>.</p>
<ul><li><p><strong>Network Interface</strong>: Your WAF instance will be connected to your network via a VPC. (If ELB is used, only dedicated load balancers can be used.)</p> <ul><li><p><strong>Network Interface</strong>: Your WAF instance will be connected to your network via a VPC. (If ELB is used, only dedicated load balancers can be used.)</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
@ -183,6 +183,15 @@
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>ipv6_enable</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Use of IPv6 addresses. If IPv6 address is enabled, the system assigns an IPv6 address to the dedicated instance.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -220,14 +229,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>id</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>the id of dedicated WAF engines.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>name</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>name</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Name</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>the name of dedicated WAF engines.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -322,13 +331,14 @@
"available_zone" : "region-01-4a", "available_zone" : "region-01-4a",
"arch" : "x86", "arch" : "x86",
"instancename" : "demo", "instancename" : "demo",
"specification\"" : "waf.instance.enterprise", "specification" : "waf.instance.enterprise",
"cpu_flavor" : "c3ne.2xlarge.2", "cpu_flavor" : "c3ne.2xlarge.2",
"vpc_id" : "d7b6a5ff-6c53-4cd4-9d57-f20ee8753056", "vpc_id" : "d7b6a5ff-6c53-4cd4-9d57-f20ee8753056",
"subnet_id" : "e59ccd18-7e15-4588-b689-04b856f4e78b", "subnet_id" : "e59ccd18-7e15-4588-b689-04b856f4e78b",
"security_group" : [ "09b156a2-f0f0-41fd-9891-60e594601cfd" ], "security_group" : [ "09b156a2-f0f0-41fd-9891-60e594601cfd" ],
"count" : 1, "count" : 1,
"res_tenant" : true "res_tenant" : true,
"ipv6_enable" : false
}</pre> }</pre>
</div> </div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p><strong>Status code: 200</strong></p> <div class="section"><h4 class="sectiontitle">Example Responses</h4><p><strong>Status code: 200</strong></p>

View File

@ -176,7 +176,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#CreatePolicy__response_ModulexOptions">ModulexOptions</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#CreatePolicy__response_ModulexOptions">ModulexOptions</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Whether to enable intelligent CC protection. This parameter is reserved and can be ignored currently.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Whether to enabling intelligent CC protection. This parameter is reserved and can be ignored currently.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
@ -228,7 +228,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enabled any of these checks, keep this parameter enabled first. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enable any of these checks, keep this parameter enabled first. The value can be:</p>
<ul><li><p>true: enabled</p> <ul><li><p>true: enabled</p>
</li><li><p>false: disabled</p> </li><li><p>false: disabled</p>
</li></ul> </li></ul>
@ -248,7 +248,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>JavaScript anti-crawler function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable the JavaScript anti-crawler function.</p>
<ul><li><p><strong>true</strong>: Enabled</p> <ul><li><p><strong>true</strong>: Enabled</p>
</li><li><p><strong>false</strong>: Disabled</p> </li><li><p><strong>false</strong>: Disabled</p>
</li></ul> </li></ul>
@ -481,7 +481,7 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p>
<ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p> <ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p>
</li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p> </li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p>
</li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>false</strong>, the Deep Inspection and Header Inspection are disabled.</p> </li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>true</strong>, the Deep Inspection and Header Inspection are disabled.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -544,9 +544,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Protection mode of the global rate limiting function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Protection mode of the global rate limiting function. WAF logs the event only.</p>
<ul><li><p><strong>log</strong>: WAF logs the event only.</p> <ul><li><p><strong>block</strong>: WAF blocks requests.</p>
</li><li><p><strong>block</strong>: WAF blocks requests.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>log</strong></p> <ul><li><p><strong>log</strong></p>
@ -583,8 +582,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -596,8 +594,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -640,8 +637,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -652,9 +648,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection..</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>

View File

@ -101,7 +101,7 @@
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>proxy</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>proxy</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>Yes</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>No</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Boolean</p>
</td> </td>
@ -119,11 +119,11 @@
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>server</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>server</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>Yes</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p>No</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of <a href="#CreatePremiumHost__request_PremiumWafServer">PremiumWafServer</a> objects</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of <a href="#CreatePremiumHost__request_PremiumWafServer">PremiumWafServer</a> objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Server configuration in dedicated mode</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Server configuration in dedicated mode.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>web_tag</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>web_tag</p>
@ -474,7 +474,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -488,7 +488,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -514,10 +514,9 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Template type. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Template type, the value can be:</p>
<ul><li><p><strong>default</strong>: The default block page is returned when a request is blocked.</p> <ul><li><p><strong>default</strong>: The default block page.</p>
</li><li><p><strong>custom</strong>: Your custom block page is returned when a request is blocked.</p> </li><li><p><strong>custom</strong>: Your custom block page is returned when a request is blocked. The request is redirected to the URL you specify.</p>
</li><li><p><strong>redirect</strong>: The request is redirected to the URL you specify.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -525,14 +524,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p><a href="#CreatePremiumHost__response_CustomPage">CustomPage</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p><a href="#CreatePremiumHost__response_CustomPage">CustomPage</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Custom alarm page</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Custom alarm page.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p>redirect_url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p>redirect_url</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Redirection URL</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Redirect URL. The root domain name of the redirection address must be the name of the currently protected domain (including a wildcard domain name).${http_host} can be used to indicate the currently protected domain name and port, for example, ${http_host}/error.html.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -558,14 +557,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Content type of alarm page</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Content type of alarm page.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>content</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>content</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Page content</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Page content.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -1,7 +1,7 @@
<a name="CreatePunishmentRules"></a><a name="CreatePunishmentRules"></a> <a name="CreatePunishmentRules"></a><a name="CreatePunishmentRules"></a>
<h1 class="topictitle1">Creating a Known Attack Source Rule</h1> <h1 class="topictitle1">Creating a Known Attack Source Rule</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to create a known attack source rule.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>Creating a Known Attack Source Rule</p>
</div> </div>
<div class="section" id="CreatePunishmentRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/punishment</p> <div class="section" id="CreatePunishmentRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/punishment</p>
@ -87,7 +87,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Type of the know attack source rule.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Type of the known attack source rule.</p>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>long_ip_block</strong></p> <ul><li><p><strong>long_ip_block</strong></p>
</li><li><p><strong>long_cookie_block</strong></p> </li><li><p><strong>long_cookie_block</strong></p>
@ -113,7 +113,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Description</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -134,14 +134,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p>
@ -155,21 +155,21 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the know attack source rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the known attack source rule.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -108,7 +108,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Value of the reference table</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -168,14 +168,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Value of the reference table</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>producer</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>producer</p>

View File

@ -94,7 +94,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p>
@ -110,7 +110,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -122,8 +122,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -132,7 +132,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>

View File

@ -108,7 +108,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of mode is 0, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of <strong>mode</strong> is <strong>0</strong>, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p>
<ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p> <ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p>
</li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p> </li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p>
</li></ul> </li></ul>
@ -176,7 +176,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User identifier. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p>
<ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p> <ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
</li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p> </li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
</li></ul> </li></ul>
@ -214,14 +214,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block duration, in seconds. The value ranges from 0 to 65,535. Specifies the period within which access is blocked. An error page is displayed in this period.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block during, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p>
@ -256,7 +256,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Time the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -1,7 +1,7 @@
<a name="DeleteCertificate"></a><a name="DeleteCertificate"></a> <a name="DeleteCertificate"></a><a name="DeleteCertificate"></a>
<h1 class="topictitle1">Deleting a Certificate</h1> <h1 class="topictitle1">Deleting a Certificate</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a certificate.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a certificate. Note: The certificate in use cannot be deleted.</p>
</div> </div>
<div class="section" id="DeleteCertificate__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v1/{project_id}/waf/certificate/{certificate_id}</p> <div class="section" id="DeleteCertificate__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v1/{project_id}/waf/certificate/{certificate_id}</p>
@ -99,7 +99,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expires</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expires (unit: ms).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
@ -109,6 +109,13 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate is uploaded</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate is uploaded</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>cert_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Certificate type. This parameter is redundant and can be ignored.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -108,7 +108,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p>
@ -207,7 +207,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>

View File

@ -113,7 +113,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>AZ ID.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>available_zone ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p>
@ -127,7 +127,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specification ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specifications and the dedicated WAF instance specifications. You can view details about the supported specifications on the WAF console.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p>
@ -155,7 +155,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the service plane of the dedicated engine</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the dedicated WAF instance on the service plane. This parameter is displayed when <strong>ipv6_enable</strong> is set to <strong>true</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p>
@ -242,7 +242,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS hosting the dedicated engine. This parameter is the same as server_id, and will be deleted.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS housing the dedicated engine. This parameter can be ignored because it is the same as <strong>server_id</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p>
@ -263,7 +263,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance. Its value is always <strong>1</strong>, which means the type of the dedicated WAF instance is <strong>Network Interface</strong>.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance If the type is <strong>Network Interface</strong>, the value is <strong>1</strong>.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -351,7 +351,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{endpoint}z/v1/{project_id}/premium-waf/instance/{instance_id}</pre> <div class="section"><h4 class="sectiontitle">Example Requests</h4><pre class="screen">DELETE https://{endpoint}/v1/{project_id}/premium-waf/instance/{instance_id}</pre>
</div> </div>
<div class="section"><h4 class="sectiontitle">Example Responses</h4><p><strong>Status code: 200</strong></p> <div class="section"><h4 class="sectiontitle">Example Responses</h4><p><strong>Status code: 200</strong></p>
<p>Request succeeded.</p> <p>Request succeeded.</p>

View File

@ -115,7 +115,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Protection level</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Protection level</p>
<ul><li><p><strong>1</strong>: WAF detects wget, cURL, and more but does not detect XSS and command injection attacks in the header, so you may miss more vulnerabilities that actually exist. If you find out that configured protection rules are affecting your services, adjust the protection level to <strong>1</strong>.</p> <ul><li><p><strong>1</strong>: WAF detects wget, cURL, and more but does not detect XSS and command injection attacks in the header, so you may miss more vulnerabilities that actually exist. If you find out that configured protection rules are affecting your services, adjust the protection level to <strong>1</strong>.</p>
</li><li><p><strong>2</strong>: WAF detects remote file inclusion, third-party software vulnerabilities, web shell and ftp commands. This is the default value.</p> </li><li><p><strong>2</strong>: Medium. WAF detects remote file inclusion, third-party software vulnerabilities, web shell, and cp and ftp commands. This is the default value.</p>
</li><li><p><strong>3</strong>: If you need a stricter protection level, set this parameter to 3. This may increase the false positive rate but decrease the false negative rate, such as nc, nmap, and kill.</p> </li><li><p><strong>3</strong>: If you need a stricter protection level, set this parameter to 3. This may increase the false positive rate but decrease the false negative rate, such as nc, nmap, and kill.</p>
</li></ul> </li></ul>
</td> </td>
@ -169,7 +169,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Time a policy is created</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Time the policy was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -214,7 +214,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enabled any of these checks, keep this parameter enabled first. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enable any of these checks, keep this parameter enabled first. The value can be:</p>
<ul><li><p>true: enabled</p> <ul><li><p>true: enabled</p>
</li><li><p>false: disabled</p> </li><li><p>false: disabled</p>
</li></ul> </li></ul>
@ -234,7 +234,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>JavaScript anti-crawler function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable the JavaScript anti-crawler function.</p>
<ul><li><p><strong>true</strong>: Enabled</p> <ul><li><p><strong>true</strong>: Enabled</p>
</li><li><p><strong>false</strong>: Disabled</p> </li><li><p><strong>false</strong>: Disabled</p>
</li></ul> </li></ul>
@ -493,7 +493,7 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p>
<ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p> <ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p>
</li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p> </li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p>
</li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>false</strong>, the Deep Inspection and Header Inspection are disabled.</p> </li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>true</strong>, the Deep Inspection and Header Inspection are disabled.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -523,9 +523,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Protection mode of the global rate limiting function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Protection mode of the global rate limiting function. WAF logs the event only.</p>
<ul><li><p><strong>log</strong>: WAF logs the event only.</p> <ul><li><p><strong>block</strong>: WAF blocks requests.</p>
</li><li><p><strong>block</strong>: WAF blocks requests.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>log</strong></p> <ul><li><p><strong>log</strong></p>
@ -562,8 +561,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -575,8 +573,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -619,8 +616,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -631,9 +627,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection..</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>

View File

@ -211,7 +211,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -225,7 +225,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>

View File

@ -1,7 +1,7 @@
<a name="DeletePunishmentRule"></a><a name="DeletePunishmentRule"></a> <a name="DeletePunishmentRule"></a><a name="DeletePunishmentRule"></a>
<h1 class="topictitle1">Deleting a Known Attack Source Rule</h1> <h1 class="topictitle1">Deleting a Known Attack Source Rule</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to delete a known attack source rule.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>Deleting a Known Attack Source Rule</p>
</div> </div>
<div class="section" id="DeletePunishmentRule__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v1/{project_id}/waf/policy/{policy_id}/punishment/{rule_id}</p> <div class="section" id="DeletePunishmentRule__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>DELETE /v1/{project_id}/waf/policy/{policy_id}/punishment/{rule_id}</p>
@ -94,14 +94,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p>
@ -115,7 +115,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the know attack source rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the known attack source rule.</p>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>long_ip_block</strong></p> <ul><li><p><strong>long_ip_block</strong></p>
</li><li><p><strong>long_cookie_block</strong></p> </li><li><p><strong>long_cookie_block</strong></p>
@ -130,14 +130,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -192,6 +192,17 @@
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.1.1.6.1.1 "><p>400</p> <tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.1.1.6.1.1 "><p>400</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p>WAF.00011016</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p>name.duplicate</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.4 "><p>Duplicated name.</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.1.1.6.1.5 "><p>Change the name.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.1.1.6.1.1 "><p>400</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p>WAF.00012001</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.2 "><p>WAF.00012001</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p>invalid.token</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.1.1.6.1.3 "><p>invalid.token</p>

View File

@ -143,7 +143,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>url</p>
@ -159,7 +159,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -171,8 +171,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -181,7 +181,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p>

View File

@ -80,10 +80,10 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Data aggregation interval. If this parameter is not specified, data is displayed by a time range calculated based on parameters <strong>from</strong> and <strong>to</strong>.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Data aggregation interval. Data display time range. For example, If the value is <strong>DAY</strong>, data is displayed by the day. If this parameter is not specified, data is displayed by a time range specified by parameters <strong>from</strong> and <strong>to</strong>.</p>
<ul><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is fewer than or equal to 1 day, the interval is one minute.</p> <ul><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is fewer than or equal to 1 day, the interval is one minute.</p>
</li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 1 day but fewer than or equal to 3 days, the interval is 5 minutes.</p> </li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 1 day but fewer than or equal to 3 days, the interval is 5 minutes.</p>
</li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 3 days but fewer than or equal 7 days, the interval is 10 minutes.</p> </li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 3 days but fewer than or equal to 7 days, the interval is 10 minutes.</p>
</li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 7 days but fewer than or equal to 30 days, the interval is 1 hour.</p> </li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 7 days but fewer than or equal to 30 days, the interval is 1 hour.</p>
</li></ul> </li></ul>
</td> </td>
@ -196,7 +196,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Quantity. Aggregated data is returned.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Quantity. Aggregated data is returned. The <strong>num</strong> field indicates the statistical value between the <strong>time</strong> point and the previous time point.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -1,6 +1,6 @@
<a name="ListCcRules"></a><a name="ListCcRules"></a> <a name="ListCcRules"></a><a name="ListCcRules"></a>
<h1 class="topictitle1">Querying CC Attack Protection Rules</h1> <h1 class="topictitle1">Query the List of CC Attack Protection Rules</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query the list of CC attack protection rules.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query the list of CC attack protection rules.</p>
</div> </div>
<div class="section" id="ListCcRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/cc</p> <div class="section" id="ListCcRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/cc</p>
@ -158,7 +158,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>When the value of mode is 0, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>When the value of <strong>mode</strong> is <strong>0</strong>, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p>
<ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p> <ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p>
</li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p> </li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p>
</li></ul> </li></ul>
@ -195,7 +195,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of <a href="#ListCcRules__response_CcCondition">CcCondition</a> objects</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of <a href="#ListCcRules__response_CcCondition">CcCondition</a> objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rate limit conditions of the CC protection rule. This parameter is mandatory when the CC protection rule is in advanced mode (i.e. the value of <strong>mode</strong> is <strong>1</strong>).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rate limit conditions of the CC attack protection rule. This parameter is mandatory when the CC attack protection rule is in advanced mode (i.e. the value of <strong>mode</strong> is <strong>1</strong>).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>action</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>action</p>
@ -226,7 +226,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>User identifier. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p>
<ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p> <ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
</li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p> </li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
</li></ul> </li></ul>
@ -236,7 +236,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p><a href="#ListCcRules__response_tag_condition">tag_condition</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p><a href="#ListCcRules__response_tag_condition">tag_condition</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>other</strong>. -other: A website visitor is identified by the Referer field (user-defined request source).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>other</strong>. - <strong>other</strong>: A website visitor is identified by the Referer field (user-defined request source).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>limit_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>limit_num</p>
@ -264,14 +264,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Block duration, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Block during, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>total_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>total_num</p>
@ -306,7 +306,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Time the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -199,7 +199,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp when the certificate expire. This parameter is returned in the response body only when the value of host in the URL request is true.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp when the certificate expires (unit: ms). This parameter is returned in the response body only when the value of <strong>host</strong> in the URL request is <strong>true</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>exp_status</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>exp_status</p>
@ -227,6 +227,27 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Domain name associated with the certificate. This parameter is returned in the response body only when the value of host in the URL request is true.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Domain name associated with the certificate. This parameter is returned in the response body only when the value of host in the URL request is true.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Enterprise project ID.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>share_status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Sharing status. This parameter is redundant and can be ignored.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>cert_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Certificate type. This parameter is redundant and can be ignored.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -354,10 +375,9 @@
"items" : [ { "items" : [ {
"id" : "dc443ca4f29c4f7e8d4adaf485be317b", "id" : "dc443ca4f29c4f7e8d4adaf485be317b",
"name" : "demo", "name" : "demo",
"timestamp" : 1643181401751, "certificateid" : "dc443ca4f29c4f7e8d4adaf485be317b,",
"expire_time" : 1650794100000, "certificatename" : "demo,",
"bind_host" : [ ], "timestamp" : 1643181401751
"exp_status" : 2
} ] } ]
}</pre> }</pre>
</div> </div>

View File

@ -1,6 +1,6 @@
<a name="ListCustomRules"></a><a name="ListCustomRules"></a> <a name="ListCustomRules"></a><a name="ListCustomRules"></a>
<h1 class="topictitle1">Querying Precise Protection Rules</h1> <h1 class="topictitle1">Querying the List of Precise Protection Rules</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query the list of precise protection rules.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query the list of precise protection rules.</p>
</div> </div>
<div class="section" id="ListCustomRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/custom</p> <div class="section" id="ListCustomRules__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/custom</p>
@ -257,7 +257,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>

View File

@ -263,7 +263,11 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Protective action</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Protective action. The value can be:</p>
<ul><li><p>log</p>
</li><li><p>block</p>
</li><li><p>captcha</p>
</li></ul>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>request_line</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>request_line</p>
@ -298,7 +302,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The time of the WAF service processing the request.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The time of the WAF service processing the request, in milliseconds.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>region</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>region</p>
@ -319,14 +323,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Time to response</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Backend server response time.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_size</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_size</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Response body size</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Response body size, in bytes.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_body</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_body</p>

View File

@ -174,7 +174,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>AZ ID.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>available_zone ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>arch</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>arch</p>
@ -188,7 +188,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>ECS specification ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>ECS specifications and the dedicated WAF instance specifications. You can view details about the supported specifications on the WAF console.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>vpc_id</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>vpc_id</p>
@ -216,7 +216,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>IPv6 address of the service plane of the dedicated engine</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>IPv6 address of the dedicated WAF instance on the service plane. This parameter is displayed when <strong>ipv6_enable</strong> is set to <strong>true</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>security_group_ids</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>security_group_ids</p>
@ -310,7 +310,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>ID of the ECS hosting the dedicated engine. This parameter is the same as server_id, and will be deleted.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>ID of the ECS housing the dedicated engine. This parameter can be ignored because it is the same as <strong>server_id</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>create_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>create_time</p>
@ -331,7 +331,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Type of the dedicated WAF instance. Its value is always <strong>1</strong>, which means the type of the dedicated WAF instance is <strong>Network Interface</strong>.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Type of the dedicated WAF instance If the type is <strong>Network Interface</strong>, the value is <strong>1</strong>.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -221,7 +221,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p><a href="#ListPolicy__response_ModulexOptions">ModulexOptions</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p><a href="#ListPolicy__response_ModulexOptions">ModulexOptions</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enable intelligent CC protection. This parameter is reserved and can be ignored currently.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Whether to enabling intelligent CC protection. This parameter is reserved and can be ignored currently.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>timestamp</p>
@ -273,7 +273,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enabled any of these checks, keep this parameter enabled first. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enable any of these checks, keep this parameter enabled first. The value can be:</p>
<ul><li><p>true: enabled</p> <ul><li><p>true: enabled</p>
</li><li><p>false: disabled</p> </li><li><p>false: disabled</p>
</li></ul> </li></ul>
@ -293,7 +293,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>JavaScript anti-crawler function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Whether to enable the JavaScript anti-crawler function.</p>
<ul><li><p><strong>true</strong>: Enabled</p> <ul><li><p><strong>true</strong>: Enabled</p>
</li><li><p><strong>false</strong>: Disabled</p> </li><li><p><strong>false</strong>: Disabled</p>
</li></ul> </li></ul>
@ -526,7 +526,7 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p>
<ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p> <ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p>
</li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p> </li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p>
</li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>false</strong>, the Deep Inspection and Header Inspection are disabled.</p> </li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>true</strong>, the Deep Inspection and Header Inspection are disabled.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -589,9 +589,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Protection mode of the global rate limiting function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Protection mode of the global rate limiting function. WAF logs the event only.</p>
<ul><li><p><strong>log</strong>: WAF logs the event only.</p> <ul><li><p><strong>block</strong>: WAF blocks requests.</p>
</li><li><p><strong>block</strong>: WAF blocks requests.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>log</strong></p> <ul><li><p><strong>log</strong></p>
@ -628,8 +627,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -641,8 +639,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -685,8 +682,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -697,9 +693,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection..</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>

View File

@ -232,6 +232,13 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>This parameter includes some extended information about the protected domain name.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>This parameter includes some extended information about the protected domain name.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>vpc_ids</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>ID of the VPC where the dedicated WAF instance locates.</p>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -248,7 +255,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -262,7 +269,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -401,7 +408,8 @@
"access_status" : 0, "access_status" : 0,
"hostid" : "ee896796e1a84f3f85865ae0853d8974", "hostid" : "ee896796e1a84f3f85865ae0853d8974",
"web_tag" : "", "web_tag" : "",
"description" : "" "description" : "",
"vpc_ids" : [ "86ede39b-4cac-4af8-b6ff-377a602979da" ]
} ] } ]
}</pre> }</pre>
</div> </div>

View File

@ -143,14 +143,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>policyid</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>policyid</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Policy ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Policy ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>block_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>block_time</p>
@ -164,21 +164,21 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Type of the know attack source rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Type of the known attack source rule.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>timestamp</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -80,7 +80,11 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>How the queried data is displayed. The data can be displayed by the day or by the minute. For example, if the value is set to DAY, data is displayed by the day. By default, this parameter is not included, and data is displayed by the minute.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p>Data aggregation interval. Data display time range. For example, If the value is <strong>DAY</strong>, data is displayed by the day. If this parameter is not specified, data is displayed by a time range specified by parameters <strong>from</strong> and <strong>to</strong>. - If the time range between <strong>from</strong> and <strong>to</strong> is fewer than or equal to 1 day, the interval is one minute.</p>
<ul><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 1 day but fewer than or equal to 3 days, the interval is 5 minutes.</p>
</li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 3 days but fewer than or equal to 7 days, the interval is 10 minutes.</p>
</li><li><p>If the time range between <strong>from</strong> and <strong>to</strong> is greater than 7 days but fewer than or equal to 30 days, the interval is 1 hour.</p>
</li></ul>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -109,7 +113,7 @@
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>Content-Type</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p>Content-Type</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>Yes</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p>No</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p>String</p>
</td> </td>
@ -194,7 +198,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Quantity. Aggregated data is returned.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Quantity. Aggregated data is returned. The <strong>num</strong> field indicates the statistical value between the <strong>time</strong> point and the previous time point.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -151,7 +151,7 @@
</li><li><p>CC: CC attacks identified</p> </li><li><p>CC: CC attacks identified</p>
</li><li><p>WEB_ATTACK: Attacks blocked against basic web protection</p> </li><li><p>WEB_ATTACK: Attacks blocked against basic web protection</p>
</li><li><p>PRECISE: Attacks blocked against precise protection rules</p> </li><li><p>PRECISE: Attacks blocked against precise protection rules</p>
</li><li><p>TOTAL_ATTACK: Total number of attacks</p> </li><li><p>ATTACK: Total number of attacks</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -159,7 +159,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Quantity</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The value of the statistical data corresponding to the key in the query interval.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -127,6 +127,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ListValueList__response_ValueList">ValueList</a> objects</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ListValueList__response_ValueList">ValueList</a> objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table list</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table list</p>
<p>Array Length: <strong>0 - 10</strong></p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -184,7 +185,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Value of the reference table</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>producer</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>producer</p>

View File

@ -136,7 +136,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>AZ ID.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>available_zone ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p>
@ -150,7 +150,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specification ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specifications and the dedicated WAF instance specifications. You can view details about the supported specifications on the WAF console.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p>
@ -178,7 +178,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the service plane of the dedicated engine</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the dedicated WAF instance on the service plane. This parameter is displayed when <strong>ipv6_enable</strong> is set to <strong>true</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p>
@ -265,7 +265,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS hosting the dedicated engine. This parameter is the same as server_id, and will be deleted.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS housing the dedicated engine. This parameter can be ignored because it is the same as <strong>server_id</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p>
@ -286,7 +286,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance. Its value is always <strong>1</strong>, which means the type of the dedicated WAF instance is <strong>Network Interface</strong>.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance If the type is <strong>Network Interface</strong>, the value is <strong>1</strong>.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -94,7 +94,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p>
@ -110,7 +110,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -122,8 +122,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -132,7 +132,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>

View File

@ -108,7 +108,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of mode is 0, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of <strong>mode</strong> is <strong>0</strong>, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p>
<ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p> <ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p>
</li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p> </li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p>
</li></ul> </li></ul>
@ -145,7 +145,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ShowCcRule__response_CcCondition">CcCondition</a> objects</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ShowCcRule__response_CcCondition">CcCondition</a> objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rate limit conditions of the CC protection rule. This parameter is mandatory when the CC protection rule is in advanced mode (i.e. the value of <strong>mode</strong> is <strong>1</strong>).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rate limit conditions of the CC attack protection rule. This parameter is mandatory when the CC attack protection rule is in advanced mode (i.e. the value of <strong>mode</strong> is <strong>1</strong>).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>action</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>action</p>
@ -176,7 +176,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User identifier. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p>
<ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p> <ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
</li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p> </li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
</li></ul> </li></ul>
@ -186,7 +186,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#ShowCcRule__response_tag_condition">tag_condition</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#ShowCcRule__response_tag_condition">tag_condition</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>other</strong>. -other: A website visitor is identified by the Referer field (user-defined request source).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>other</strong>. - <strong>other</strong>: A website visitor is identified by the Referer field (user-defined request source).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>limit_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>limit_num</p>
@ -214,14 +214,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block duration, in seconds. The value ranges from 0 to 65,535. Specifies the period within which access is blocked. An error page is displayed in this period.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block during, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p>
@ -256,7 +256,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Time the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -358,7 +358,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Action type:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Action type:</p>
<ul><li><p>captcha: Verification code. WAF requires visitors to enter a correct verification code to continue their access to requested page on your website.</p> <ul><li><p><strong>captcha</strong>: Verification code. WAF requires visitors to enter a correct verification code to continue their access to requested page on your website.</p>
</li><li><p><strong>block</strong>: WAF blocks the requests. When <strong>tag_type</strong> is set to <strong>other</strong>, the value can only be <strong>block</strong>.</p> </li><li><p><strong>block</strong>: WAF blocks the requests. When <strong>tag_type</strong> is set to <strong>other</strong>, the value can only be <strong>block</strong>.</p>
</li><li><p><strong>log</strong>: WAF logs the event only.</p> </li><li><p><strong>log</strong>: WAF logs the event only.</p>
</li><li><p><strong>dynamic_block</strong>: In the previous rate limit period, if the request frequency exceeds the value of Rate Limit Frequency, the request is blocked. In the next rate limit period, if the request frequency exceeds the value of Permit Frequency, the request is still blocked. Note: The <strong>dynamic_block</strong> protection action can be set only when the advanced protection mode is enabled for the CC protection rule.</p> </li><li><p><strong>dynamic_block</strong>: In the previous rate limit period, if the request frequency exceeds the value of Rate Limit Frequency, the request is blocked. In the next rate limit period, if the request frequency exceeds the value of Permit Frequency, the request is still blocked. Note: The <strong>dynamic_block</strong> protection action can be set only when the advanced protection mode is enabled for the CC protection rule.</p>

View File

@ -113,7 +113,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expire</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp when the certificate expires (unit: ms).</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
@ -127,7 +127,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ShowCertificate__response_BindHost">BindHost</a> objects</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of <a href="#ShowCertificate__response_BindHost">BindHost</a> objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Domain name associated with the certificate</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Domain name associated with the certificate.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>cert_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Certificate type. This parameter is redundant and can be ignored.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -108,7 +108,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p>
@ -219,7 +219,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>

View File

@ -197,7 +197,11 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Protective action</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Protective action. The value can be:</p>
<ul><li><p>log</p>
</li><li><p>block</p>
</li><li><p>captcha</p>
</li></ul>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>request_line</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>request_line</p>
@ -232,7 +236,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The time of the WAF service processing the request.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>The time of the WAF service processing the request, in milliseconds.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>region</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>region</p>
@ -253,14 +257,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Time to response</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Backend server response time.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_size</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_size</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Response body size</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Response body size, in bytes.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_body</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p>response_body</p>

View File

@ -113,7 +113,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>AZ ID.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>available_zone ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>arch</p>
@ -127,7 +127,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specification ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ECS specifications and the dedicated WAF instance specifications. You can view details about the supported specifications on the WAF console.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>vpc_id</p>
@ -155,7 +155,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the service plane of the dedicated engine</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>IPv6 address of the dedicated WAF instance on the service plane. This parameter is displayed when <strong>ipv6_enable</strong> is set to <strong>true</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>security_group_ids</p>
@ -242,7 +242,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS hosting the dedicated engine. This parameter is the same as server_id, and will be deleted.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>ID of the ECS housing the dedicated engine. This parameter can be ignored because it is the same as <strong>server_id</strong>.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>create_time</p>
@ -263,7 +263,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance. Its value is always <strong>1</strong>, which means the type of the dedicated WAF instance is <strong>Network Interface</strong>.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the dedicated WAF instance If the type is <strong>Network Interface</strong>, the value is <strong>1</strong>.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -169,7 +169,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#ShowPolicy__response_ModulexOptions">ModulexOptions</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p><a href="#ShowPolicy__response_ModulexOptions">ModulexOptions</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Whether to enable intelligent CC protection. This parameter is reserved and can be ignored currently.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Whether to enabling intelligent CC protection. This parameter is reserved and can be ignored currently.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
@ -221,7 +221,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enabled any of these checks, keep this parameter enabled first. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Basic web protection includes many specific checks under Advanced Settings, and there is a specific parameter allocated for each check, for example, common for General Check. To enable any of these checks, keep this parameter enabled first. The value can be:</p>
<ul><li><p>true: enabled</p> <ul><li><p>true: enabled</p>
</li><li><p>false: disabled</p> </li><li><p>false: disabled</p>
</li></ul> </li></ul>
@ -241,7 +241,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>Boolean</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>JavaScript anti-crawler function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Whether to enable the JavaScript anti-crawler function.</p>
<ul><li><p><strong>true</strong>: Enabled</p> <ul><li><p><strong>true</strong>: Enabled</p>
</li><li><p><strong>false</strong>: Disabled</p> </li><li><p><strong>false</strong>: Disabled</p>
</li></ul> </li></ul>
@ -500,7 +500,7 @@
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Protection statuses for advanced settings in basic web protection. By default, this parameter is left blank, and the Deep Inspection and Header Inspection are disabled.</p>
<ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p> <ul><li><p>If <strong>deep_decode</strong> is set to <strong>true</strong>, the Deep Inspection is enabled.</p>
</li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p> </li><li><p>If <strong>check_all_headers</strong> is set to <strong>true</strong>, the Header Inspection is enabled.</p>
</li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>false</strong>, the Deep Inspection and Header Inspection are disabled.</p> </li><li><p>If <strong>deep_decode</strong> and <strong>check_all_headers</strong> are set to <strong>true</strong>, the Deep Inspection and Header Inspection are disabled.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -563,9 +563,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Protection mode of the global rate limiting function.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Protection mode of the global rate limiting function. WAF logs the event only.</p>
<ul><li><p><strong>log</strong>: WAF logs the event only.</p> <ul><li><p><strong>block</strong>: WAF blocks requests.</p>
</li><li><p><strong>block</strong>: WAF blocks requests.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>log</strong></p> <ul><li><p><strong>log</strong></p>
@ -602,8 +601,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent precise protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -615,8 +613,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent precise protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -659,8 +656,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Management mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>auto</strong>: WAF manages automatically generated rules.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>manual</strong>: You can manage rules that are automatically generated by WAF.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>
@ -671,9 +667,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection..</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p>Aging mode of the intelligent CC attack protection.</p>
<ul><li><p><strong>manual</strong>: You can customize the maximum age of the rule.</p> <ul><li><p><strong>auto</strong>: Automatic</p>
</li><li><p><strong>auto</strong>: Automatic</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>auto</strong></p> <ul><li><p><strong>auto</strong></p>

View File

@ -188,7 +188,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Lock status. This parameter is redundant and can be ignored. Default value: 0</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Lock status. This parameter is redundant and can be ignored. Default value: - <strong>0</strong>:</p>
<p>Default: <strong>0</strong></p> <p>Default: <strong>0</strong></p>
</td> </td>
</tr> </tr>
@ -408,7 +408,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Whether to enable PCI 3DS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI 3DS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Once PCI 3DS is enabled, it cannot be disabled. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -422,7 +422,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p>Whether to enable PCI DSS compliance check. This parameter must be used together with <strong>tls</strong> and <strong>cipher</strong>. <strong>tls</strong> must be set to <strong>TLS v1.2</strong>, and <strong>cipher</strong> must be set to <strong>cipher_2</strong>. Note: If PCI DSS compliance check is enabled and the minimum TLS is set to TLS v1.2, the website can be accessed using TLS v1.2, but cannot be accessed using TLS v1.1 or earlier. Before you enable it, ensure that your website services will not be affected. You can ignore it.</p>
<ul><li><p><strong>true</strong>: Enable this check.</p> <ul><li><p><strong>true</strong>: Enable this check.</p>
</li><li><p><strong>false</strong>: Disable this check.</p> </li><li><p><strong>false</strong>: Disable this check.</p>
</li></ul> </li></ul>
@ -448,10 +448,9 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Template type. The value can be:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Template type, the value can be:</p>
<ul><li><p><strong>default</strong>: The default block page is returned when a request is blocked.</p> <ul><li><p><strong>default</strong>: The default block page.</p>
</li><li><p><strong>custom</strong>: Your custom block page is returned when a request is blocked.</p> </li><li><p><strong>custom</strong>: Your custom block page is returned when a request is blocked. The request is redirected to the URL you specify.</p>
</li><li><p><strong>redirect</strong>: The request is redirected to the URL you specify.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -459,14 +458,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p><a href="#ShowPremiumHost__response_CustomPage">CustomPage</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p><a href="#ShowPremiumHost__response_CustomPage">CustomPage</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Custom alarm page</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Custom alarm page.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>redirect_url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p>redirect_url</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Redirection URL</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p>Redirect URL. The root domain name of the redirection address must be the name of the currently protected domain (including a wildcard domain name).${http_host} can be used to indicate the currently protected domain name and port, for example, ${http_host}/error.html.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -492,14 +491,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Content type of alarm page</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Content type of alarm page.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p>content</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p>content</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Page content</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p>Page content.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -94,14 +94,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>policyid</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Policy ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>block_time</p>
@ -115,7 +115,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the know attack source rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Type of the known attack source rule.</p>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>long_ip_block</strong></p> <ul><li><p><strong>long_ip_block</strong></p>
</li><li><p><strong>long_cookie_block</strong></p> </li><li><p><strong>long_cookie_block</strong></p>
@ -130,14 +130,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>timestamp</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Long</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule is created.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Timestamp the rule was created.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>

View File

@ -1,7 +1,7 @@
<a name="ShowValueList"></a><a name="ShowValueList"></a> <a name="ShowValueList"></a><a name="ShowValueList"></a>
<h1 class="topictitle1">Querying a Reference Table</h1> <h1 class="topictitle1">Querying a Reference Table by ID</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query a reference table.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query a reference table by ID.</p>
</div> </div>
<div class="section" id="ShowValueList__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/valuelist/{valuelist_id}</p> <div class="section" id="ShowValueList__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/valuelist/{valuelist_id}</p>
@ -124,14 +124,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Value of the reference table</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Reference table description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>producer</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>producer</p>

View File

@ -1,6 +1,6 @@
<a name="ShowWhiteblackipRule"></a><a name="ShowWhiteblackipRule"></a> <a name="ShowWhiteblackipRule"></a><a name="ShowWhiteblackipRule"></a>
<h1 class="topictitle1">Querying a Blacklist Or Whitelist Rule by ID</h1> <h1 class="topictitle1">Querying a Blacklist or Whitelist Rule by ID</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query a blacklist or whitelist rule by ID.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to query a blacklist or whitelist rule by ID.</p>
</div> </div>
<div class="section" id="ShowWhiteblackipRule__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/whiteblackip/{rule_id}</p> <div class="section" id="ShowWhiteblackipRule__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>GET /v1/{project_id}/waf/policy/{policy_id}/whiteblackip/{rule_id}</p>

View File

@ -1,7 +1,7 @@
<a name="UpdateAntiTamperRuleRefresh"></a><a name="UpdateAntiTamperRuleRefresh"></a> <a name="UpdateAntiTamperRuleRefresh"></a><a name="UpdateAntiTamperRuleRefresh"></a>
<h1 class="topictitle1">Updating the Cache for a Web Tamper Protection Rule</h1> <h1 class="topictitle1">Updating the Cache for a Web Tamper Protection Rule</h1>
<div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to updating the cache for a web tamper protection Rule.</p> <div><div class="section"><h4 class="sectiontitle">Function</h4><p>This API is used to update the cache for a web tamper protection rule</p>
</div> </div>
<div class="section" id="UpdateAntiTamperRuleRefresh__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/antitamper/{rule_id}/refresh</p> <div class="section" id="UpdateAntiTamperRuleRefresh__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p>POST /v1/{project_id}/waf/policy/{policy_id}/antitamper/{rule_id}/refresh</p>

View File

@ -107,7 +107,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>sensitive</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>code</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>code</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -121,8 +121,8 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Content corresponding to the sensitive information type. Multiple options can be set.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Content corresponding to the sensitive information type. Multiple options can be selected.</p>
<ul><li><p>When <strong>category</strong> is set to <strong>code</strong>, the pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p> <ul><li><p>When the value of <strong>category</strong> is <strong>code</strong>, the returned pages that contain the following HTTP response codes will be blocked: 400, 401, 402, 403, 404, 405, 500, 501, 502, 503, 504 and 507.</p>
</li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p> </li><li><p>When <strong>category</strong> is set to <strong>sensitive</strong>, parameters <strong>phone</strong>, <strong>id_card</strong>, and <strong>email</strong> can be set.</p>
</li></ul> </li></ul>
</td> </td>
@ -133,7 +133,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Description.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -154,7 +154,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule ID.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>url</p>
@ -170,7 +170,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Sensitive information type in the information leakage prevention rule.</p>
<ul><li><p><strong>code</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p> <ul><li><p><strong>code</strong>: The rule masks sensitive user information, such as ID code, phone numbers, and email addresses.</p>
</li><li><p><strong>sensitive</strong>: The rule blocks response pages of specified HTTP response code.</p> </li><li><p><strong>sensitive</strong>: The rule blocks returned pages of specified HTTP response code.</p>
</li></ul> </li></ul>
<p>Enumeration values:</p> <p>Enumeration values:</p>
<ul><li><p><strong>code</strong></p> <ul><li><p><strong>code</strong></p>
@ -182,7 +182,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Value</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule content.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>

View File

@ -159,7 +159,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>User identifier. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p>
<ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p> <ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
</li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p> </li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
</li></ul> </li></ul>
@ -207,7 +207,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Block duration, in seconds. The value ranges from 0 to 65,535. Specifies the period within which access is blocked. An error page is displayed in this period.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Block during, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>description</p>
@ -216,7 +216,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -379,7 +379,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p><a href="#UpdateCcRule__request_response">response</a> object</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p><a href="#UpdateCcRule__request_response">response</a> object</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p>Returned page.</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p>Returned page</p>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -483,7 +483,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of mode is 0, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>When the value of <strong>mode</strong> is <strong>0</strong>, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p>
<ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p> <ul><li><p>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p>
</li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p> </li><li><p>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p>
</li></ul> </li></ul>
@ -541,7 +541,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User identifier. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>User tag. This parameter is mandatory when the rate limit mode is set to <strong>user</strong> (cookie or header).</p>
<ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p> <ul><li><p><strong>cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
</li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p> </li><li><p><strong>header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
</li></ul> </li></ul>
@ -579,14 +579,14 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block duration, in seconds. The value ranges from 0 to 65,535. The period within which access is blocked. An error page is displayed in this period.</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Block during, in seconds. The value ranges from 0 to 65,535. Access requests are blocked during the configured block duration, and an error page is displayed.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>description</p>
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>total_num</p>
@ -716,7 +716,7 @@
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Action type:</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p>Action type:</p>
<ul><li><p>captcha: Verification code. WAF requires visitors to enter a correct verification code to continue their access to requested page on your website.</p> <ul><li><p><strong>captcha</strong>: Verification code. WAF requires visitors to enter a correct verification code to continue their access to requested page on your website.</p>
</li><li><p><strong>block</strong>: WAF blocks the requests. When <strong>tag_type</strong> is set to <strong>other</strong>, the value can only be <strong>block</strong>.</p> </li><li><p><strong>block</strong>: WAF blocks the requests. When <strong>tag_type</strong> is set to <strong>other</strong>, the value can only be <strong>block</strong>.</p>
</li><li><p><strong>log</strong>: WAF logs the event only.</p> </li><li><p><strong>log</strong>: WAF logs the event only.</p>
</li><li><p><strong>dynamic_block</strong>: In the previous rate limit period, if the request frequency exceeds the value of Rate Limit Frequency, the request is blocked. In the next rate limit period, if the request frequency exceeds the value of Permit Frequency, the request is still blocked. Note: The <strong>dynamic_block</strong> protection action can be set only when the advanced protection mode is enabled for the CC protection rule.</p> </li><li><p><strong>dynamic_block</strong>: In the previous rate limit period, if the request frequency exceeds the value of Rate Limit Frequency, the request is blocked. In the next rate limit period, if the request frequency exceeds the value of Permit Frequency, the request is still blocked. Note: The <strong>dynamic_block</strong> protection action can be set only when the advanced protection mode is enabled for the CC protection rule.</p>

File diff suppressed because it is too large Load Diff

View File

@ -126,7 +126,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>conditions</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p>conditions</p>
@ -197,7 +197,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>
@ -333,7 +333,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p>Rule description.</p>
</td> </td>
</tr> </tr>
<tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p> <tr><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p>status</p>
@ -432,7 +432,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p> <td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p>String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield</p> <td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p>Subfield:</p>
<ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p> <ul><li><p>When the field type is <strong>url</strong>, <strong>user-agent</strong>, <strong>ip</strong>, <strong>refer</strong>, <strong>request_line</strong>, <strong>method</strong>, or <strong>request</strong>, <strong>index</strong> is not required.</p>
</li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p> </li><li><p>When the field type is <strong>params</strong>, <strong>header</strong>, or <strong>cookie</strong>, and the subfield is customized, the value of <strong>index</strong> is the customized subfield.</p>
</li></ul> </li></ul>

Some files were not shown because too many files have changed in this diff Show More