Ping
Pings an IP or url address, to verify it's up. Note - On Cortex XSOAR 8 and Cortex XSIAM, the script can run only on a custom engine.
python · Common Scripts
Details
| ID | Ping |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/netutils:1.0.0.11867191 |
| Tags | Utility |
README
Pings an IP or url address, to verify it’s up. Note - On Cortex XSOAR 8 and Cortex XSIAM, the script can run only on a custom engine.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | Utility |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| address | Address to ping |
Outputs
| Path | Description | Type |
|---|---|---|
| Ping.ret_code | Ping return code | number |
| Ping.destination | Ping destination address | string |
| Ping.max_rtt | Ping max round trip time | number |
| Ping.avg_rtt | Ping average round trip time | number |
| Ping.min_rtt | Ping minimum round trip time | number |
| Ping.destination_ip | Ping destination IP | string |
args: - default: true defaultValue: '' description: Address to ping. name: address predefined: [] required: true comment: Pings an IP or url address, to verify it's up. Note - On Cortex XSOAR 8 and Cortex XSIAM, the script can run only on a custom engine. commonfields: {id: Ping, version: -1} enabled: true name: Ping outputs: - {contextPath: Ping.ret_code, description: Ping return code., type: number} - {contextPath: Ping.destination, description: Ping destination address., type: string} - {contextPath: Ping.max_rtt, description: Ping max round trip time., type: number} - {contextPath: Ping.avg_rtt, description: Ping average round trip time., type: number} - {contextPath: Ping.min_rtt, description: Ping minimum round trip time., type: number} - {contextPath: Ping.destination_ip, description: Ping destination IP., type: string} script: '' tags: [Utility] timeout: '0' type: python subtype: python3 dockerimage: demisto/netutils:1.0.0.11867191 tests: [Ping Test Playbook] fromversion: 5.0.0