Skip to main content

EmailDomainWhitelist

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

Accepts an array of domains as an allow list, and a list of email addresses. The script then filters out any email address whose domain is not in the allow list. The filtered list will be returned as an array.

Script Data#


NameDescription
Script Typepython3
Tagstransformer, general, entirelist
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueAn array of email addresses to be filtered by domain.
domain_listAn array of domains to allow list.

Outputs#


There are no outputs for this script.