Skip to content

Commit 605bc02

Browse files
authored
Update policy.html
update override-rules and ip-address-lists
1 parent 2397377 commit 605bc02

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

content/includes/nap-waf/policy.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2856,13 +2856,13 @@ <h2 id="policy/ip-address-lists">ip-address-lists</h2>
28562856
<td><dl>
28572857
<dt>Specifies how the system responds to blocking requests sent from this IP address list.</dt>
28582858
<dd><ul>
2859-
<li><strong>Policy Default:</strong> Specifies that the Policy Blocking Settings will be used for requests from this IP address list.</li>
2859+
<li><strong>Policy Default:</strong> Specifies that thepolicy enforcementMode will be used for requests from this IP address list.</li>
28602860
<li><strong>Never Block:</strong> Specifies that the system does not block requests sent from this IP address list, even if your security policy is configured to block all traffic.</li>
28612861
<li><strong>Always Block:</strong> Specifies that the system blocks requests sent from this IP address list.</li>
28622862
</ul>
28632863
</dd>
28642864
</dl>
2865-
<p>Optional</p></td>
2865+
<p>Optional, if absent Policy Default is used.</p></td>
28662866
<td><ul>
28672867
<li>always</li>
28682868
<li>never</li>
@@ -2878,13 +2878,13 @@ <h2 id="policy/ip-address-lists">ip-address-lists</h2>
28782878
<tr class="odd">
28792879
<td><a href="#policy/ip-address-lists/ipAddresses">ipAddresses</a></td>
28802880
<td>array of objects</td>
2881-
<td>Specifies the IP addresses.</td>
2881+
<td>Specifies the IP addresses. Use CIDR notation for subnet definition.</td>
28822882
<td></td>
28832883
</tr>
28842884
<tr class="even">
28852885
<td><code>matchOrder</code></td>
28862886
<td>integer</td>
2887-
<td>Specifies the order index for IP Address List matching. If unspecified, the order is implicitly as the lists appear in the policy. IP Address Groups with a lower matchOrder will be checked for a match prior to items with higher matchOrder.</td>
2887+
<td>Specifies the order matching index between different IP Address Lists. If unspecified, the order is implicitly as the lists appear in the policy. IP Address Lists with a lower matchOrder will be checked for a match prior to items with higher matchOrder.</td>
28882888
<td></td>
28892889
</tr>
28902890
<tr class="odd">
@@ -2896,13 +2896,13 @@ <h2 id="policy/ip-address-lists">ip-address-lists</h2>
28962896
<tr class="even">
28972897
<td><code>neverLogRequests</code></td>
28982898
<td>boolean</td>
2899-
<td>Specifies when enabled that the system does not log requests or responses sent from this IP address list, even if the traffic is illegal, and even if your security policy is configured to log all traffic.</td>
2899+
<td>Specifies when enabled that the system does not log requests or responses sent from this IP address list, even if the traffic is illegal, and even if your security policy is configured to log all traffic. Optional, if absent default value is false.</td>
29002900
<td></td>
29012901
</tr>
29022902
<tr class="odd">
29032903
<td><code>setGeolocation</code></td>
29042904
<td>string</td>
2905-
<td>Specifies a geolocation to be associated for this IP address list. Optional</td>
2905+
<td>Specifies a geolocation to be associated for this IP address list. This will force the IP addresses in the list to be considered as though they are in that geolocation. This applies to blocking via "disallowed-geolocations" and to logging. Optional</td>
29062906
<td></td>
29072907
</tr>
29082908
</tbody>
@@ -2927,7 +2927,7 @@ <h3 id="policy/ip-address-lists/ipAddresses">ipAddresses</h3>
29272927
<tr class="odd">
29282928
<td><code>ipAddress</code></td>
29292929
<td>string</td>
2930-
<td></td>
2930+
<td>Specifies the IP address. Use CIDR notation for subnet definition.</td>
29312931
<td></td>
29322932
</tr>
29332933
</tbody>
@@ -3694,7 +3694,7 @@ <h2 id="policy/override-rules">override-rules</h2>
36943694
<p>Request Attributes:</p>
36953695
<blockquote>
36963696
<ul>
3697-
<li><strong>clientIp</strong>: Client IP address in canonical IPv4 or IPv6 format. Use CIDR notation for subnet definition. Example: <em>192.168.1.2</em> or <em>fd00:1::/48</em>. If <em>trustXff</em> (X-Forwarded-For) is enabled in the containing policy, then the value is taken from the configured header (XFF or other). The only supported boolean function for the clientIP attribute is <em>matches</em>.</li>
3697+
<li><strong>clientIp</strong>: Client IP address in canonical IPv4 or IPv6 format or ip-address-list. Use CIDR notation for subnet definition. Example: <em>192.168.1.2</em> or <em>fd00:1::/48</em>. If <em>trustXff</em> (X-Forwarded-For) is enabled in the containing policy, then the value is taken from the configured header (XFF or other). The only supported boolean function for the clientIP attribute is <em>matches</em>.</li>
36983698
<li><strong>host</strong>: The value of the Host header</li>
36993699
<li><strong>method</strong>: The HTTP method in the request</li>
37003700
<li><strong>uri</strong>: The URI (path part) of the request</li>
@@ -3705,7 +3705,7 @@ <h2 id="policy/override-rules">override-rules</h2>
37053705
<li><strong>headers['&lt;name&gt;']</strong>: (map-type) The value of the specified header name. Example: "headers['Accept'].startsWith('application')"</li>
37063706
</ul>
37073707
</blockquote>
3708-
<p><strong>Note</strong>: The "headers['&lt;name&gt;']" attribute does not support 'Cookie' as a header name.</p></td>
3708+
<p><strong>Note</strong>: The "headers['&lt;name&gt;']" attribute does not support 'Cookie' as a header name. Attribute "clientIp" supports using "ipAddressLists" in condition: "clientIp.matches(ipAddressLists['<name>'])</p></td>
37093709
<td></td>
37103710
</tr>
37113711
<tr class="odd">

0 commit comments

Comments
 (0)