Skip to content

Commit 6fdd5fa

Browse files
authored
TCR-755: Update Imunify360 CLI Documentation for --by-country-code Argument
1 parent 9122364 commit 6fdd5fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/command_line_interface/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Optional arguments for the commands:
100100

101101
| | |
102102
|-----------|-|
103-
|<span class="notranslate">`--by-country-code [country_code]`</span>|Filters output by country code.<br>Requires valid country code as argument.<br> Find valid country codes [here](https://www.nationsonline.org/oneworld/country_code_list.htm) in column ISO ALPHA-2 CODE.|
103+
|<span class="notranslate">`--by-country-code [country_code]`</span>|Filters output by country code.<br>Requires valid country code as argument.<br> Find valid country codes [here](https://www.iso.org/obp/ui/#search/code/) in column ISO ALPHA-2 CODE.|
104104
|<span class="notranslate">`--by-ip [ip_address]`</span>|Filters output by abuser's IP or by subnet in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#IPv4_CIDR_blocks).<br>Example: <span class="notranslate">`--by-ip 1.2.3.0/24`</span>.|
105105
|<span class="notranslate">`--by-list`</span>|Can be:<br><ul><li><span class="notranslate">gray (Gray List)</span></li><li><span class="notranslate">white (White List)</span></li><li><span class="notranslate">black (Black List)</span></li></ul>Filters output based on the list type.<br>Example: <span class="notranslate">`--by-list black`</span>.|
106106
|<span class="notranslate">`--by-comment`</span>|Filters output by comment.|
@@ -770,7 +770,7 @@ Option can be one or few of the optional arguments listed above and one more.
770770
|-|-|
771771
|<span class="notranslate">`--order-by [ORDER_BY [ORDER_BY ...]]`</span>|Sorting order.|
772772
|<span class="notranslate">`--limit`</span>|Limits the output with specified number of IPs.<br>Must be a number greater than zero. By default, equals 50.|
773-
|<span class="notranslate">`--by-country-code [country_code]`</span>|Filters output by country code.<br>Requires valid country code as argument.<br>Find valid country codes<br>in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#IPv4_CIDR_blocks) in column ISO ALPHA-2 CODE.|
773+
|<span class="notranslate">`--by-country-code [country_code]`</span>|Filters output by country code.<br>Requires valid country code as argument.<br>Find valid country codes<br>in [CIDR notation](https://www.iso.org/obp/ui/#search/code/) in column ISO ALPHA-2 CODE.|
774774
|<span class="notranslate">`--period [period]`</span>|Timeframe.<br>Allows to specify the amount of time starting from the current day.<br>Should be greater than (or equal to) 1 minute.<br>Can be specified in format:<ul><li><span class="notranslate">`<int>m`</span> – minutes, example <span class="notranslate">` --period 30m`</span></li><li><span class="notranslate">`<int>h`</span> – hours, example <span class="notranslate">`--period 4h`</span></li><li><span class="notranslate">`<int>d`</span> – days, example <span class="notranslate">`--period 7d`</span></li><li><span class="notranslate">`today`</span> – for today, example <span class="notranslate">`--period today`</span></li><li><span class="notranslate">`yesterday`</span> – for yesterday, example <span class="notranslate">`--period yesterday`</span></li></ul>For example, <span class="notranslate">` --period 5d`</span> will return a list of incidents for 5 days. |
775775
|<span class="notranslate">`--since [timestamp]`</span>|allows to set start time to filter the list of incidents by period|
776776
|<span class="notranslate">`--to [timestamp]`</span>|allows to set finish time to filter the list of incidents by period|
@@ -968,7 +968,7 @@ imunify360-agent ip-list local list [--options] <value>
968968
|-|-|
969969
|<span class="notranslate">`--by-ip BY_IP`</span>|Filters output by abuser's IP or by subnet in CIDR notation.|
970970
|<span class="notranslate">`--purpose [PURPOSE ...]`</span>|IP List purpose can be:<br> `white` - do not block these IPs. <br>`drop` - deny access on the network level (DROP packets via iptables, and respond with 403 on web ports even when the request comes through a proxy). <br> `captcha` - deny access on the network level for all non-web ports, show a Splash Screen challenge page on web ports. <br> `splashscreen` - check the visitor's browser before allowing access to websites.|
971-
|<span class="notranslate">`-by-country-code BY_COUNTRY_CODE`</span>|Filters output by country code. Requires valid country code as argument. Find valid country codes here [www.nationsonline.org/oneworld/country_code_list.htm](https://www.nationsonline.org/oneworld/country_code_list.htm) in column ISO ALPHA-2 CODE.|
971+
|<span class="notranslate">`-by-country-code BY_COUNTRY_CODE`</span>|Filters output by country code. Requires valid country code as argument. Find [valid country codes here](https://www.iso.org/obp/ui/#search/code/) in column ISO ALPHA-2 CODE.|
972972
|<span class="notranslate">`--by-comment BY_COMMENT`</span>|Filters output by comment|
973973
|<span class="notranslate">`--limit LIMIT`</span>|Limits the output with specified number of incidents|
974974
|<span class="notranslate">`--offset OFFSET`</span>|Offset for pagination|

0 commit comments

Comments
 (0)