Details
| ID | IsUrlPartOfDomain |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
README
Checks if the supplied URLs are in the specified domains.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Cortex XSOAR Version | 5.0.0 |
Used In
This script is used in the following playbooks and scripts.
- PCAP Parsing And Indicator Enrichment
Inputs
| Argument Name | Description |
|---|---|
| domains | A comma-separated list of domains. |
| urls | A comma-separated list of URLs. |
Outputs
| Path | Description | Type |
|---|---|---|
| IsUrlPartOfDomain.URL | The path of the URLs. | String |
| IsUrlPartOfDomain.Domain | The domain checked with the URL. | String |
| IsUrlPartOfDomain.IsInternal | Whether the URL is in the domain. | Boolean |
args: - description: A comma-separated list of domains. isArray: true name: domains required: true - description: A comma-separated list of URLs. isArray: true name: urls required: true comment: Checks if the supplied URLs are in the specified domains. commonfields: id: IsUrlPartOfDomain version: -1 name: IsUrlPartOfDomain outputs: - contextPath: IsUrlPartOfDomain.URL description: The path of the URLs. type: String - contextPath: IsUrlPartOfDomain.Domain description: The domain checked with the URL. type: String - contextPath: IsUrlPartOfDomain.IsInternal description: Whether the URL is in the domain. type: Boolean script: '-' subtype: python3 timeout: '0' type: python dockerimage: demisto/python3:3.12.13.10404775 tests: - IsUrlPartOfDomain Test fromversion: 5.0.0