IsRFC1918Address
A filter that receives a single IPv4 address string as an input and determines whether it is in the private RFC-1918 address space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). For more information, see https://en.wikipedia.org/wiki/Private_network
python · Filters And Transformers
Details
| ID | IsRFC1918Address |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/netutils:1.0.0.11867191 |
| Tags | filter |
README
A filter that receives a single IPv4 address string as an input and determines whether it is in the private RFC-1918 address space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). For more information, see https://en.wikipedia.org/wiki/Private_network
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | filter |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| value | The IPv4 address to check. |
| left | The IPv4 address to check (can be used instead of the value argument). |
Outputs
There are no outputs for this script.
commonfields: id: IsRFC1918Address version: -1 name: IsRFC1918Address script: '' type: python subtype: python3 tags: - filter comment: A filter that receives a single IPv4 address string as an input and determines whether it is in the private RFC-1918 address space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). For more information, see https://en.wikipedia.org/wiki/Private_network enabled: true args: - name: value default: true description: The IPv4 address to check. - name: left description: The IPv4 address to check (can be used instead of the value argument). scripttarget: 0 isllm: false dockerimage: demisto/netutils:1.0.0.11867191 runas: DBotWeakRole tests: - IsRFC1918-Test fromversion: 5.0.0