IPToHost

Try to get the hostname correlated with the input IP.

python · Common Scripts

Details

IDIPToHost
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775

README

Gets the hostname correlated with the inputed IP address.

Script Data


Name Description
Script Type python
Tags -

Inputs


Argument Name Description
ip The IP address to check.

Outputs


Path Description Type
Endpoint The endpoint object. Unknown
Endpoint.Hostname The endpoint hostname. string
Endpoint.IP The endpoint IP address. string
commonfields:
  id: IPToHost
  version: -1
name: IPToHost
script: ''
type: python
subtype: python3
tags: []
comment: Try to get the hostname correlated with the input IP.
system: true
args:
- name: ip
  required: true
  default: true
  description: The IP to check.
outputs:
- contextPath: Endpoint
  description: The endpoint object.
- contextPath: Endpoint.Hostname
  description: The endpoint hostname.
  type: string
- contextPath: Endpoint.IP
  description: The endpoint IP.
  type: string
scripttarget: 0
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10404775
tests:
- IPToHost - Test