FormatURL
This Script is part of the Common Scripts Pack.#
Supported versions
Supported Cortex XSOAR versions: 5.5.0 and later.
Strips, unquotes and unescapes URLs. If the URL is a Proofpoint or ATP URL, extracts its redirect URL. If more than one URL is passed to the formatter, the separator must be a pipe ("|").
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | indicator-format |
| Cortex XSOAR Version | 5.5.0 |
Inputs#
| Argument Name | Description |
|---|---|
| input | A pipe (" |
Outputs#
| Path | Description | Type |
|---|---|---|
| URL | URL formatted. | String |
Script Example#
!FormatURL input=https://urldefense.proofpoint.com/v2/url?u=https-3A__example.com_something.html