Skip to main content

IPNetwork

This Script is part of the Common Scripts Pack.#

Gather information regarding CIDR -

1. Broadcast_address
2. CIDR
3. First_address
4. Last address
5. Max prefix len
6. Num addresses
7. Private
8. Version

Script Data#


NameDescription
Script Typepython3
Tagsip
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
cidrIP/CIDR, e.g. 192.168.0.0/24

Outputs#


PathDescriptionType
Network.CIDRNetwork CIDR.String
Network.Num_addressesNumber of availble addresses in the CIDR.Number
Network.First_addressFirst address in the network CIDR.String
Network.Last_addressLast address in the network CIDR.String
Network.VersionVersion of IP.Number
Network.PrivateTrue if IP is private.Boolean
Network.Max_prefix_lenMax prefix length of CIDR.Number
Network.Broadcast_addressBroadcast address of CIDR.String