Skip to main content

IsUrlPartOfDomain

This Script is part of the Common Scripts Pack.#

Checks if the supplied URLs are in the specified domains.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version5.0.0

Used In#


This script is used in the following playbooks and scripts.

  • PCAP Parsing And Indicator Enrichment

Inputs#


Argument NameDescription
domainsA comma-separated list of domains.
urlsA comma-separated list of URLs.

Outputs#


PathDescriptionType
IsUrlPartOfDomain.URLThe path of the URLs.String
IsUrlPartOfDomain.DomainThe domain checked with the URL.String
IsUrlPartOfDomain.IsInternalWhether the URL is in the domain.Boolean