Network.ExternalIpAddress
Type: Client
Identifies the external IP address of the endpoint using an external web service.
Required permissions: NETWORK
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
externalUrl |
string | http://www.myexternalip.com/raw |
The URL of the external IP detection site. |
Source
Defined in artifacts/definitions/Network/ExternalIpAddress.yaml.
name: Network.ExternalIpAddress
description: |
Identifies the external IP address of the endpoint using an external
web service.
required_permissions:
- NETWORK
parameters:
- name: externalUrl
default: http://www.myexternalip.com/raw
description: The URL of the external IP detection site.
sources:
- precondition: SELECT * from info()
query: |
SELECT Content as IP from http_client(url=externalUrl)