DT

This automation allows the usage of DT scripts within playbooks transformers.

python · Filters And Transformers

Details

IDDT
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagstransformer general

README

This automation allows the usage of DT scripts within playbooks transformers.

Script Data


Name Description
Script Type python3
Tags transformer, general
Cortex XSOAR Version 5.0.0

Inputs


Argument Name Description
value The value to perform the transformation on.
dt DT expression.

Outputs


There are no outputs for this script.

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401

args = demisto.args()
value = args["value"]
dt = args["dt"]

res = demisto.dt(value, dt)
return_results(encode_string_results(res))