ConvertCountryCodeCountryName
Common Scripts Pack.#
This Script is part of theSupported versions
Supported Cortex XSOAR versions: 6.5.0 and later.
Convert country name to country code or country code to country name. Only one of 'country_code' or 'country_name' can be provided. Example: Input: { "country_code": "US" } Output: { "United States" } Another Example: Input: { "country_name": "United States" } Output: { "US" }
#
Script DataName | Description |
---|---|
Script Type | python3 |
Tags | transformer |
Cortex XSOAR Version | 5.0.0 |
#
InputsArgument Name | Description |
---|---|
country_code | Country Code Alpha 2 (Example: US) |
country_name | Country Name |
#
OutputsThere are no outputs for this script.