IPCalcReturnAddressIANAAllocation

An automation script to return address IANA information.

python · Community Common Scripts

Details

IDIPCalcReturnAddressIANAAllocation
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.11879924

README

An automation script to return address IANA information

Script Data


Name Description
Script Type python3
Tags  
Cortex XSOAR Version 6.0.0

Inputs


Argument Name Description
ip_address Address to use

Outputs


Path Description Type
IPCalc.IP.Allocation.allocation IANA IP allocation type String
IPCalc.IP.Allocation.address Address String

Script Example

!IPCalcReturnAddressIANAAllocation ip_address=1.1.1.1

Context Example

{
    "IPCalc": {
        "IP": {
            "Allocation": {
                "address": "1.1.1.1",
                "allocation": "global"
            }
        }
    }
}

Human Readable Output

Iana Allocation

address allocation
1.1.1.1 global
args:
- description: Address to use.
  name: ip_address
  required: true
comment: An automation script to return address IANA information.
commonfields:
  id: IPCalcReturnAddressIANAAllocation
  version: -1
name: IPCalcReturnAddressIANAAllocation
outputs:
- contextPath: IPCalc.IP.Allocation.allocation
  description: IANA IP allocation type.
  type: String
- contextPath: IPCalc.IP.Allocation.address
  description: Address.
  type: String
script: '-'
subtype: python3
timeout: '0'
type: python
dockerimage: demisto/python3:3.12.13.11879924
tests:
- No tests
fromversion: 6.0.0