Skip to main content

CheckIfSubdomain

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

Checks if a given domain is a subdomain of one of the listed domains.

Script Data#


NameDescription
Script Typepython3
Tagsfilter
Cortex XSOAR Version5.5.0

Inputs#


Argument NameDescription
leftA list of domains to check if they are subdomains of the internal assets.
rightA list of internal assets (for example, mycompany.com).