CheckIfSubdomain

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

python · Filters And Transformers

Details

IDCheckIfSubdomain
Languagepython
From Version5.5.0
Docker Imagedemisto/python3:3.12.13.10404775
Tagsfilter

README

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

Script Data


Name Description
Script Type python3
Tags filter
Cortex XSOAR Version 5.5.0

Inputs


Argument Name Description
left A list of domains to check if they are subdomains of the internal assets.
right A list of internal assets (for example, mycompany.com).
commonfields:
  id: CheckIfSubdomain
  version: -1
name: CheckIfSubdomain
script: ''
type: python
tags:
- filter
comment: Checks whether a given domain is a subdomain of one of the listed domains.
enabled: true
args:
- name: left
  required: true
  isArray: true
  description: A list of domains to check if they are subdomains of the internal assets.
- name: right
  required: true
  isArray: true
  description: A list of internal assets (for example, mycompany.com).
scripttarget: 0
isllm: false
subtype: python3
dockerimage: demisto/python3:3.12.13.10404775
runas: DBotWeakRole
fromversion: 5.5.0
tests:
- CheckIfSubdomain_Test