EmailDomainWhitelist
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.
python · Filters And Transformers
Details
| ID | EmailDomainWhitelist |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
| Tags | transformer general entirelist |
README
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
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | transformer, general, entirelist |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| value | An array of email addresses to be filtered by domain. |
| domain_list | An array of domains to allow list. |
Outputs
There are no outputs for this script.
commonfields: id: EmailDomainWhitelist version: -1 name: EmailDomainWhitelist script: '' type: python subtype: python3 tags: - transformer - general - entirelist comment: 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. enabled: true args: - name: value required: true description: An array of email addresses to be filtered by domain. isArray: true - name: domain_list required: true description: An array of domains to allow list. isArray: true scripttarget: 0 isllm: false dockerimage: demisto/python3:3.12.13.10404775 runas: DBotWeakRole tests: - No test - unit test fromversion: 5.0.0