forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
584 lines
50 KiB
HTML
584 lines
50 KiB
HTML
<a name="waf_02_0033"></a><a name="waf_02_0033"></a>
|
|
|
|
<h1 class="topictitle1">Updating a Policy</h1>
|
|
<div id="body10533474"><div class="section" id="waf_02_0033__section32903875"><h4 class="sectiontitle">Function Description</h4><p class="msonormal" id="waf_02_0033__p47905088">This API is used to update a policy.</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0033__section27699421"><h4 class="sectiontitle">URI</h4><ul id="waf_02_0033__ul55106894"><li id="waf_02_0033__li26199998">URI format<p id="waf_02_0033__p34473396"><a name="waf_02_0033__li26199998"></a><a name="li26199998"></a>PUT /v1/{project_id}/waf/policy/{policy_id}</p>
|
|
</li><li id="waf_02_0033__li41825112">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table40881691" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="waf_02_0033__row27363964"><th align="left" class="cellrowborder" valign="top" width="30.930000000000003%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="waf_02_0033__p1888572"><strong id="waf_02_0033__b88125424517">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.62%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="waf_02_0033__p18756616"><strong id="waf_02_0033__b5795643157">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.430000000000001%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="waf_02_0033__p42890953"><strong id="waf_02_0033__b7156945354">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.02%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="waf_02_0033__p51615207"><strong id="waf_02_0033__b87810458514">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row20082249"><td class="cellrowborder" valign="top" width="30.930000000000003%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0033__p16049496">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.62%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0033__p24940795">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.430000000000001%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0033__p6938523">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.02%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0033__p25149471">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row25018650"><td class="cellrowborder" valign="top" width="30.930000000000003%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0033__p13244784">policy_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.62%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0033__p66194590">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.430000000000001%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0033__p60161613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.02%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0033__p41252517">Specifies the policy ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="waf_02_0033__section47968201"><h4 class="sectiontitle">Request</h4><div class="p" id="waf_02_0033__p1438779154218">Request parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table7717485" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="waf_02_0033__row1991232"><th align="left" class="cellrowborder" valign="top" width="25.507449255074494%" id="mcps1.3.3.2.1.2.5.1.1"><p id="waf_02_0033__p27072102"><strong id="waf_02_0033__b79715323817">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.2.1.2.5.1.2"><p id="waf_02_0033__p45356624"><strong id="waf_02_0033__b1162916349811">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.3.2.1.2.5.1.3"><p id="waf_02_0033__p50007910"><strong id="waf_02_0033__b559711350810">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.796020397960206%" id="mcps1.3.3.2.1.2.5.1.4"><p id="waf_02_0033__p24108946"><strong id="waf_02_0033__b15378173617816">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row5609105717527"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0033__p2609257205217">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0033__p5609457105219">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0033__p1660975718525">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0033__p196091757165214">Specifies the policy name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row6667577"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0033__p3202885">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0033__p58107166">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0033__p9060011"><a href="#waf_02_0033__table1231716412312">Table 3</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0033__p62772309">Specifies the protective action after a rule is matched.</p>
|
|
<ul id="waf_02_0033__ul796714441001"><li id="waf_02_0033__li836931317112"><span class="parmvalue" id="waf_02_0033__parmvalue4611266336"><b>block</b></span>: WAF blocks and logs detected attacks.</li><li id="waf_02_0033__li1967844901"><span class="parmvalue" id="waf_02_0033__parmvalue998217444403"><b>log</b></span>: WAF logs detected attacks only.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row57926711"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0033__p61552044">options</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0033__p19659690">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0033__p48931032"><a href="#waf_02_0033__table1272813819259">Table 4</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0033__p3990622">Specifies the protection switches.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row8101641"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0033__p52253166">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0033__p4648068">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0033__p40949234">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0033__p8528528245">Specifies the protection level.</p>
|
|
<ul id="waf_02_0033__ul14533143918414"><li id="waf_02_0033__li1653519392418"><span class="parmvalue" id="waf_02_0033__parmvalue6295174817531"><b>1</b></span>: low</li><li id="waf_02_0033__li155352391947"><span class="parmvalue" id="waf_02_0033__parmvalue4199751195312"><b>2</b></span>: medium</li><li id="waf_02_0033__li6535183919419"><span class="parmvalue" id="waf_02_0033__parmvalue161671854125317"><b>3</b></span>: high</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row55656689"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.3.2.1.2.5.1.1 "><p id="waf_02_0033__p11897923">full_detection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.2 "><p id="waf_02_0033__p24207722">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.3.2.1.2.5.1.3 "><p id="waf_02_0033__p14668494">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.3.2.1.2.5.1.4 "><p id="waf_02_0033__p68421843104420">Specifies the detection mode in Precise Protection.</p>
|
|
<ul id="waf_02_0033__ul02880554511"><li id="waf_02_0033__waf_02_0029_li4804353104611"><strong id="waf_02_0033__waf_02_0029_b1755019491619">true</strong>: full detection. Full detection finishes all threat detections before blocking requests that meet Precise Protection specified conditions.</li><li id="waf_02_0033__waf_02_0029_li318133918612"><strong id="waf_02_0033__waf_02_0029_b17686122792016">false</strong>: instant detection. Instant detection immediately ends threat detection after blocking a request that meets Precise Protection specified conditions.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="waf_02_0033__table1231716412312"></a><a name="table1231716412312"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table1231716412312" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="waf_02_0033__b15690193617516">action</strong></caption><thead align="left"><tr id="waf_02_0033__row153241848236"><th align="left" class="cellrowborder" valign="top" width="25.669999999999998%" id="mcps1.3.3.3.2.5.1.1"><p id="waf_02_0033__p1532615432319"><strong id="waf_02_0033__b1548171141020">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.11%" id="mcps1.3.3.3.2.5.1.2"><p id="waf_02_0033__p16443851111010"><strong id="waf_02_0033__b834323836">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.42%" id="mcps1.3.3.3.2.5.1.3"><p id="waf_02_0033__p333054192311"><strong id="waf_02_0033__b968631291016">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.8%" id="mcps1.3.3.3.2.5.1.4"><p id="waf_02_0033__p193322492311"><strong id="waf_02_0033__b731017134108">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row19763216142319"><td class="cellrowborder" valign="top" width="25.669999999999998%" headers="mcps1.3.3.3.2.5.1.1 "><p id="waf_02_0033__p1576317163239">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.11%" headers="mcps1.3.3.3.2.5.1.2 "><p id="waf_02_0033__p1744365101016">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.42%" headers="mcps1.3.3.3.2.5.1.3 "><p id="waf_02_0033__p117631516182318">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.3.2.5.1.4 "><p id="waf_02_0033__p676312167234">Specifies the protective action.</p>
|
|
<ul id="waf_02_0033__ul16561652183712"><li id="waf_02_0033__li155795220379"><span class="parmvalue" id="waf_02_0033__parmvalue4914141623313"><b>block</b></span>: WAF blocks and logs detected attacks.</li><li id="waf_02_0033__li106513520379"><span class="parmvalue" id="waf_02_0033__parmvalue19924192118429"><b>log</b></span>: WAF logs detected attacks only.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="waf_02_0033__table1272813819259"></a><a name="table1272813819259"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table1272813819259" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="waf_02_0033__b0268184555114">options</strong></caption><thead align="left"><tr id="waf_02_0033__row14733082258"><th align="left" class="cellrowborder" valign="top" width="26.72%" id="mcps1.3.3.4.2.5.1.1"><p id="waf_02_0033__p873817812512"><strong id="waf_02_0033__b199151516191313">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.810000000000002%" id="mcps1.3.3.4.2.5.1.2"><p id="waf_02_0033__p1592724616121"><strong id="waf_02_0033__b79392066">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.67%" id="mcps1.3.3.4.2.5.1.3"><p id="waf_02_0033__p137404817256"><strong id="waf_02_0033__b2899151717133">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="36.8%" id="mcps1.3.3.4.2.5.1.4"><p id="waf_02_0033__p6742198152512"><strong id="waf_02_0033__b19617181812135">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row1177747172812"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p33504133">webattack</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p127091332111218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p29480242">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p2415193218263">Specifies whether Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1778444132612"><li id="waf_02_0033__li1678115440265"><strong id="waf_02_0033__b14855122575611">true</strong>: enabled.</li><li id="waf_02_0033__li1378544482616"><strong id="waf_02_0033__b918233015562">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1577720732819"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p42476939">common</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p481055316127">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p18080074">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p8672433268">Specifies whether General Check in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul4842171218268"><li id="waf_02_0033__li65215555299"><strong id="waf_02_0033__b280074120560">true</strong>: enabled.</li><li id="waf_02_0033__li1558185582916"><strong id="waf_02_0033__b19887154413560">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row8777157112811"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p47260058">crawler</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p10721155171211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p2859499">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p825744922615">Specifies whether the master crawler detection switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul2993535262"><li id="waf_02_0033__li810115342614"><strong id="waf_02_0033__b1433425935617">true</strong>: enabled.</li><li id="waf_02_0033__li7106145312265"><strong id="waf_02_0033__b18741124572">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1177515762814"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p42166705">crawler_engine</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p10709195512127">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p60059924">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p1718417589268">Specifies whether the Search Engine switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul172713111276"><li id="waf_02_0033__li133019142713"><strong id="waf_02_0033__b12530111195715">true</strong>: enabled.</li><li id="waf_02_0033__li632911271"><strong id="waf_02_0033__b1930141717576">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row177751776289"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p55359439">crawler_scanner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p6716185620127">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p54929604">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p20112962">Specifies whether the Scanner switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul851114810278"><li id="waf_02_0033__li55133813278"><strong id="waf_02_0033__b1896092417579">true</strong>: enabled.</li><li id="waf_02_0033__li951619811273"><strong id="waf_02_0033__b8481228115711">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row177577172811"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p25118198">crawler_script</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p1153565915127">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p21308157">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p48239148">Specifies whether the Script Tool switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1296981219278"><li id="waf_02_0033__li1971101217270"><strong id="waf_02_0033__b1253593695719">true</strong>: enabled.</li><li id="waf_02_0033__li1297411292712"><strong id="waf_02_0033__b13949539145714">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1773576281"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p11652645">crawler_other</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p6386110181311">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p4340158">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p16008479">Specifies whether detection of other crawlers in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul8824161782711"><li id="waf_02_0033__li18269173273"><strong id="waf_02_0033__b1793419478579">true</strong>: enabled.</li><li id="waf_02_0033__li15830417112712"><strong id="waf_02_0033__b10645105019576">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1177357102817"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p6261339">webshell</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p844471191314">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p37406470">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p10025242">Specifies whether webshell detection in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul20574202914279"><li id="waf_02_0033__li16574102917275"><strong id="waf_02_0033__b85062213588">true</strong>: enabled.</li><li id="waf_02_0033__li257772972712"><strong id="waf_02_0033__b765618575810">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row47721722816"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p8926362">cc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p155063211311">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p51946711">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p46934044">Specifies whether CC Attack Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul8527033142710"><li id="waf_02_0033__li1252923332710"><strong id="waf_02_0033__b13132191615585">true</strong>: enabled.</li><li id="waf_02_0033__li165321133112714"><strong id="waf_02_0033__b174451719105815">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1977218711283"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p38799072">custom</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p124401646138">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p55717167">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p16796711">Specifies whether Precise Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1043194117270"><li id="waf_02_0033__li74754142718"><strong id="waf_02_0033__b9234142915584">true</strong>: enabled.</li><li id="waf_02_0033__li175084162710"><strong id="waf_02_0033__b621013216587">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row97728782819"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p10468143">whiteblackip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p27561239131">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p42613264">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p29122361">Specifies whether Blacklist and Whitelist is enabled.</p>
|
|
<ul id="waf_02_0033__ul1621718455274"><li id="waf_02_0033__li182183459278"><strong id="waf_02_0033__b201417473597">true</strong>: enabled.</li><li id="waf_02_0033__li1522294592713"><strong id="waf_02_0033__b1814635014598">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row10772157172818"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p51392996">privacy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p148616614139">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p2083177">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p34519671">Specifies whether Data Masking is enabled.</p>
|
|
<ul id="waf_02_0033__ul2712175332710"><li id="waf_02_0033__li157141535274"><strong id="waf_02_0033__b19471458195914">true</strong>: enabled.</li><li id="waf_02_0033__li11717145312278"><strong id="waf_02_0033__b1730613110018">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row14770678287"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p58255435">Ignore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p134123721310">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p21069794">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p28931745">Specifies whether False Alarm Masking is enabled.</p>
|
|
<ul id="waf_02_0033__ul1371357192720"><li id="waf_02_0033__li1671155782712"><strong id="waf_02_0033__b1899131016017">true</strong>: enabled.</li><li id="waf_02_0033__li147415782716"><strong id="waf_02_0033__b16538241701">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row167707717287"><td class="cellrowborder" valign="top" width="26.72%" headers="mcps1.3.3.4.2.5.1.1 "><p id="waf_02_0033__p37316794">antitamper</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.810000000000002%" headers="mcps1.3.3.4.2.5.1.2 "><p id="waf_02_0033__p11474118151317">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.67%" headers="mcps1.3.3.4.2.5.1.3 "><p id="waf_02_0033__p2761443">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="36.8%" headers="mcps1.3.3.4.2.5.1.4 "><p id="waf_02_0033__p22350292">Specifies whether Web Tamper Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul5509133182819"><li id="waf_02_0033__li35108316281"><strong id="waf_02_0033__b25131432708">true</strong>: enabled.</li><li id="waf_02_0033__li15515735289"><strong id="waf_02_0033__b363743520010">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="waf_02_0033__section29060633"><h4 class="sectiontitle">Response</h4><div class="p" id="waf_02_0033__p174591529144218">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table9491078" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter description</caption><thead align="left"><tr id="waf_02_0033__row46156472"><th align="left" class="cellrowborder" valign="top" width="24.490000000000002%" id="mcps1.3.4.2.1.2.4.1.1"><p id="waf_02_0033__p47686789"><strong id="waf_02_0033__b1920825610171">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.349999999999998%" id="mcps1.3.4.2.1.2.4.1.2"><p id="waf_02_0033__p37424690"><strong id="waf_02_0033__b08465771715">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.160000000000004%" id="mcps1.3.4.2.1.2.4.1.3"><p id="waf_02_0033__p11501031"><strong id="waf_02_0033__b33619581179">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row36400421"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p62752954">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p49824491">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p9252002">Specifies the instance ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row16159154"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p33823082">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p55315098">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p51337963">Specifies the policy name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row59388487"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p45738156">options</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p13803141"><a href="#waf_02_0033__table11505121316253">Table 9</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p998516155518">Specifies the protection switches.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row63269396"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p24547423">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p42184251"><a href="#waf_02_0033__table12302141319252">Table 6</a></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p61481167">Specifies the mode of Basic Web Protection.</p>
|
|
<ul id="waf_02_0033__ul056915599376"><li id="waf_02_0033__li115713591378"><span class="parmvalue" id="waf_02_0033__parmvalue196301326173315"><b>block</b></span>: WAF blocks and logs detected attacks.</li><li id="waf_02_0033__li15579259163718"><span class="parmvalue" id="waf_02_0033__parmvalue36621156114210"><b>log</b></span>: WAF logs detected attacks only.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row16459598"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p58159082">level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p13265235">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p43632395506">Specifies the protection level.</p>
|
|
<ul id="waf_02_0033__ul1636483915508"><li id="waf_02_0033__li63662394504"><span class="parmvalue" id="waf_02_0033__parmvalue9836141419111"><b>1</b></span>: low</li><li id="waf_02_0033__li03741339125018"><span class="parmvalue" id="waf_02_0033__parmvalue25941617014"><b>2</b></span>: medium</li><li id="waf_02_0033__li1537953975017"><span class="parmvalue" id="waf_02_0033__parmvalue389952012120"><b>3</b></span>: high</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row6680310"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p4234237">full_detection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p7428908">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p9392123985013">Specifies the detection mode in Precise Protection.</p>
|
|
<ul id="waf_02_0033__ul193934396503"><li id="waf_02_0033__waf_02_0029_li4804353104611_1"><strong id="waf_02_0033__waf_02_0029_b1755019491619_1">true</strong>: full detection. Full detection finishes all threat detections before blocking requests that meet Precise Protection specified conditions.</li><li id="waf_02_0033__waf_02_0029_li318133918612_1"><strong id="waf_02_0033__waf_02_0029_b17686122792016_1">false</strong>: instant detection. Instant detection immediately ends threat detection after blocking a request that meets Precise Protection specified conditions.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row46965394"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p46100558">hosts</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p43157678">Array</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p6111002">Specifies the domain IDs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row54999025"><td class="cellrowborder" valign="top" width="24.490000000000002%" headers="mcps1.3.4.2.1.2.4.1.1 "><p id="waf_02_0033__p25736027">timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.349999999999998%" headers="mcps1.3.4.2.1.2.4.1.2 "><p id="waf_02_0033__p4243462">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.160000000000004%" headers="mcps1.3.4.2.1.2.4.1.3 "><p id="waf_02_0033__p8925879">Specifies the time when a policy is created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="waf_02_0033__table12302141319252"></a><a name="table12302141319252"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table12302141319252" frame="border" border="1" rules="all"><caption><b>Table 6 </b><strong id="waf_02_0033__b186661533185216">action</strong></caption><thead align="left"><tr id="waf_02_0033__row2314171302517"><th align="left" class="cellrowborder" valign="top" width="25.947405259474053%" id="mcps1.3.4.3.2.4.1.1"><p id="waf_02_0033__p1032051318255"><strong id="waf_02_0033__b63501310112017">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.608239176082392%" id="mcps1.3.4.3.2.4.1.2"><p id="waf_02_0033__p73241113172512"><strong id="waf_02_0033__b2398413182017">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.44435556444356%" id="mcps1.3.4.3.2.4.1.3"><p id="waf_02_0033__p733011135258"><strong id="waf_02_0033__b1513212144201">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row1233213135259"><td class="cellrowborder" valign="top" width="25.947405259474053%" headers="mcps1.3.4.3.2.4.1.1 "><p id="waf_02_0033__p1833781332518">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.608239176082392%" headers="mcps1.3.4.3.2.4.1.2 "><p id="waf_02_0033__p1342613132514">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.44435556444356%" headers="mcps1.3.4.3.2.4.1.3 "><p id="waf_02_0033__p1934720136259">Specifies the protective action.</p>
|
|
<ul id="waf_02_0033__ul312751263814"><li id="waf_02_0033__li112913129381"><span class="parmvalue" id="waf_02_0033__parmvalue14879635173313"><b>block</b></span>: WAF blocks and logs detected attacks.</li><li id="waf_02_0033__li613951216383"><span class="parmvalue" id="waf_02_0033__parmvalue21311819124310"><b>log</b></span>: WAF logs detected attacks only.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="waf_02_0033__table11505121316253"></a><a name="table11505121316253"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__table11505121316253" frame="border" border="1" rules="all"><caption><b>Table 7 </b><strong id="waf_02_0033__b201661118532">options</strong></caption><thead align="left"><tr id="waf_02_0033__row2521713172519"><th align="left" class="cellrowborder" valign="top" width="33.086691330866906%" id="mcps1.3.4.4.2.4.1.1"><p id="waf_02_0033__p185240130256"><strong id="waf_02_0033__b7232103042515">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.117288271172878%" id="mcps1.3.4.4.2.4.1.2"><p id="waf_02_0033__p3529161322512"><strong id="waf_02_0033__b334214313259">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.7960203979602%" id="mcps1.3.4.4.2.4.1.3"><p id="waf_02_0033__p11535141362514"><strong id="waf_02_0033__b229832132518">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__row1353713137259"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p15431213102519">webattack</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p125481013152517">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p25532013152516">Specifies whether Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul2556191311257"><li id="waf_02_0033__li12558151332518"><strong id="waf_02_0033__b44394151725">true</strong>: enabled.</li><li id="waf_02_0033__li9564141317259"><strong id="waf_02_0033__b11500151811211">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row75671313192512"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p9571131342518">common</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p20576213202515">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p1258012133259">Specifies whether General Check in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1958241302519"><li id="waf_02_0033__li135865134252"><strong id="waf_02_0033__b786715265220">true</strong>: enabled.</li><li id="waf_02_0033__li959151332511"><strong id="waf_02_0033__b153597303220">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row45967139252"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p1160061315251">crawler</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p66041713182512">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p5608313162513">Specifies whether the master crawler detection switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul19610813112517"><li id="waf_02_0033__li166131213192518"><strong id="waf_02_0033__b6848840528">true</strong>: enabled.</li><li id="waf_02_0033__li7617813152518"><strong id="waf_02_0033__b790310431023">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row3622171318251"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p962641313258">crawler_engine</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p166311113142520">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p1463661313257">Specifies whether the Search Engine switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul7639201322516"><li id="waf_02_0033__li1864351316254"><strong id="waf_02_0033__b55681155228">true</strong>: enabled.</li><li id="waf_02_0033__li156489134257"><strong id="waf_02_0033__b53991959722">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row19652713162519"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p16658101352515">crawler_scanner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p17664413112517">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p26671013142513">Specifies whether the Scanner switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1767181332517"><li id="waf_02_0033__li66741913182520"><strong id="waf_02_0033__b518111157312">true</strong>: enabled.</li><li id="waf_02_0033__li116805132251"><strong id="waf_02_0033__b4595111912319">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row16685191316259"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p1668891302515">crawler_script</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p206948136253">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p1969851314256">Specifies whether the Script Tool switch in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul67001313202519"><li id="waf_02_0033__li16702191318257"><strong id="waf_02_0033__b10724281337">true</strong>: enabled.</li><li id="waf_02_0033__li5707171332515"><strong id="waf_02_0033__b5814633132">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row117121213112510"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p15718613162516">crawler_other</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p072417138253">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p187292013162517">Specifies whether detection of other crawlers in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1173221382514"><li id="waf_02_0033__li57341130254"><strong id="waf_02_0033__b34701642334">true</strong>: enabled.</li><li id="waf_02_0033__li7740151310255"><strong id="waf_02_0033__b24995017314">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row77451413132517"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p67501713152511">webshell</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p1175511138259">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p137591913112511">Specifies whether webshell detection in Basic Web Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul676121320259"><li id="waf_02_0033__li07641713182519"><strong id="waf_02_0033__b92224583320">true</strong>: enabled.</li><li id="waf_02_0033__li9770191318251"><strong id="waf_02_0033__b4761918416">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row87735134252"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p17779813162510">cc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p978461352514">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p7788151312251">Specifies whether CC Attack Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul207901313152517"><li id="waf_02_0033__li10793161312252"><strong id="waf_02_0033__b20685191113416">true</strong>: enabled.</li><li id="waf_02_0033__li177971213152510"><strong id="waf_02_0033__b1277117171543">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row13802111332511"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p1580961312517">custom</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p1681571314255">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p198222135251">Specifies whether Precise Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul082519136253"><li id="waf_02_0033__li582751362518"><strong id="waf_02_0033__b104203381742">true</strong>: enabled.</li><li id="waf_02_0033__li083441319254"><strong id="waf_02_0033__b356804219419">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row5840413142518"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p084571316258">whiteblackip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p584911392518">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p14853613132520">Specifies whether Blacklist and Whitelist is enabled.</p>
|
|
<ul id="waf_02_0033__ul885691362515"><li id="waf_02_0033__li15859121315253"><strong id="waf_02_0033__b102191072006">true</strong>: enabled.</li><li id="waf_02_0033__li286421362516"><strong id="waf_02_0033__b20837111018020">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1786921352519"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p88751213132515">privacy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p1587914130258">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p6884713202519">Specifies whether Data Masking is enabled.</p>
|
|
<ul id="waf_02_0033__ul19886111311257"><li id="waf_02_0033__li158895136251"><strong id="waf_02_0033__b438114527411">true</strong>: enabled.</li><li id="waf_02_0033__li8894151362510"><strong id="waf_02_0033__b470919551344">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row1389841315256"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p690114136259">Ignore</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p13905813172510">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p169091013182513">Specifies whether False Alarm Masking is enabled.</p>
|
|
<ul id="waf_02_0033__ul209121713122518"><li id="waf_02_0033__li39150137259"><strong id="waf_02_0033__b1345620813512">true</strong>: enabled.</li><li id="waf_02_0033__li13920513182517"><strong id="waf_02_0033__b14683415456">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0033__row49261313162514"><td class="cellrowborder" valign="top" width="33.086691330866906%" headers="mcps1.3.4.4.2.4.1.1 "><p id="waf_02_0033__p109301113162513">antitamper</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.117288271172878%" headers="mcps1.3.4.4.2.4.1.2 "><p id="waf_02_0033__p139361713182517">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.7960203979602%" headers="mcps1.3.4.4.2.4.1.3 "><p id="waf_02_0033__p1094031313251">Specifies whether Web Tamper Protection is enabled.</p>
|
|
<ul id="waf_02_0033__ul1594215134253"><li id="waf_02_0033__li3945161352511"><strong id="waf_02_0033__b66121325459">true</strong>: enabled.</li><li id="waf_02_0033__li12949101316257"><strong id="waf_02_0033__b105251834155">false</strong>: disabled.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="waf_02_0033__section2039619368421"><h4 class="sectiontitle">Examples</h4><p id="waf_02_0033__p174119395513">A policy named <strong id="waf_02_0033__b1186622174417">policy_1</strong> is used as an example.</p>
|
|
<ul id="waf_02_0033__ul53119565"><li id="waf_02_0033__li23023115">Request example<pre class="screen" id="waf_02_0033__screen52933061">{
|
|
"name": "policy_1",
|
|
"action": {
|
|
"category": "block"
|
|
},
|
|
"options": {
|
|
"webattack": true,
|
|
"common": true,
|
|
"crawler": true,
|
|
"crawler_engine": true,
|
|
"crawler_scanner": true,
|
|
"crawler_script": true,
|
|
"crawler_other": true,
|
|
"webshell": true,
|
|
"cc": true,
|
|
"custom": true,
|
|
"whiteblackip": true,
|
|
"ignore": true,
|
|
"privacy": true,
|
|
"antitamper": true
|
|
},
|
|
"level": 1,
|
|
"full_detection": false
|
|
}</pre>
|
|
</li></ul>
|
|
<ul id="waf_02_0033__ul942823612429"><li id="waf_02_0033__li042833620421">Response example<pre class="screen" id="waf_02_0033__screen184281236164216">{
|
|
"id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
"name": "policy_1",
|
|
"action": {
|
|
"category": "block"
|
|
},
|
|
"options": {
|
|
"webattack": true,
|
|
"common": true,
|
|
"crawler": true,
|
|
"crawler_engine": true,
|
|
"crawler_scanner": true,
|
|
"crawler_script": true,
|
|
"crawler_other": true,
|
|
"webshell": true,
|
|
"cc": true,
|
|
"custom": true,
|
|
"whiteblackip": true,
|
|
"ignore": true,
|
|
"privacy": true,
|
|
"antitamper": true
|
|
},
|
|
"level": 1,
|
|
"full_detection": false,
|
|
"hosts": [],
|
|
"timestamp": 1499817612
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="waf_02_0033__section60219109"><h4 class="sectiontitle">Status Code</h4><div class="p" id="waf_02_0033__waf_02_0012_a652d4922b7df48fca0a65bc1a38ea5f2"><a href="#waf_02_0033__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0">Table 8</a> describes the normal status code returned by the API.
|
|
<div class="tablenoborder"><a name="waf_02_0033__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><a name="waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0033__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Status code</caption><thead align="left"><tr id="waf_02_0033__waf_02_0012_r3d6e2f205c444705bdbb9daaac74e575"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.6.2.2.2.4.1.1"><p id="waf_02_0033__waf_02_0012_af3c4073076f24eca88d94e3fa1effdc6">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.41%" id="mcps1.3.6.2.2.2.4.1.2"><p id="waf_02_0033__waf_02_0012_en-us_topic_0144911667_p4531342288">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.589999999999996%" id="mcps1.3.6.2.2.2.4.1.3"><p id="waf_02_0033__waf_02_0012_ada185614bba24140995b8123b3e9faa8">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0033__waf_02_0012_rc7b2adc390904a1ba79e303017797786"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.6.2.2.2.4.1.1 "><p id="waf_02_0033__waf_02_0012_a93f3895d44bb4226934cc626ac50e37b">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.41%" headers="mcps1.3.6.2.2.2.4.1.2 "><p id="waf_02_0033__waf_02_0012_en-us_topic_0144911667_p7538425819">OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.6.2.2.2.4.1.3 "><p id="waf_02_0033__waf_02_0012_en-us_topic_0144911667_p369874114414">The request has succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="waf_02_0033__waf_02_0012_en-us_topic_0144911667_p482819399522">For details about error status codes, see <a href="waf_02_0085.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="waf_02_0028.html">Policies</a></div>
|
|
</div>
|
|
</div>
|
|
|