Skip to main content

Base64Decode

This Script is part of the Filters And Transformers Pack.#

Decodes an input in Base64 format.

Script Data#


NameDescription
Script Typepython3
TagsUtility, transformer, string
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueThe value to decode in Base64 format.

Outputs#


PathDescriptionType
Base64.decodedThe decoded output in Base64 format.string
Base64.originalValueThe passed value that was decoded.string

Script Examples#

Example command#

!Base64Decode value=VGhpcyBpcyBhIHRlc3Q

Context Example#

{
"Base64": {
"decoded": "This is a test",
"originalValue": "VGhpcyBpcyBhIHRlc3Q"
}
}