Skip to main content

block-url

This Script is part of the Aggregated Scripts Pack.#

Supported versions

Available on Cortex XSOAR (versions 6.10.0 and later) and Cortex XSIAM.

Blocks a list of URLs in supported integrations.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.10.0

Inputs#


Argument NameDescription
url_listA comma-separated list of URLs to block. The scheme is stripped before the URL is submitted to the firewall.
brandsWhich integration brands to run the command for. If not provided, the command will run for all available integrations.
For multi-select provide a comma-separated list.
rule_nameThe name of the security rule which will be created in the relevant products.
url_categoryThe name of the PAN-OS custom URL category which holds the blocked URLs.
url_filtering_profileThe name of the PAN-OS URL Filtering security profile which blocks the custom URL category.
log_forwarding_nameThe Panorama log forwarding object name. Indicates what type of Log Forwarding setting will be specified in the PAN-OS custom rules.
tagThe designated tag name for the objects the script creates.
auto_commitWhether to commit the new rule.
verboseWhether to retrieve a human-readable entry for every command or only the final result. True retrieves a human-readable entry for every command. False retrieves a human-readable entry only for the final result.
commit_job_idThe commit job ID to use in polling commands (automatically filled by polling).
push_job_idThe push job ID to use in polling commands (automatically filled by polling).

Outputs#


PathDescriptionType
BlockURLResults.URLThe URL that was requested to be blocked, as it was supplied.String
BlockURLResults.SubmittedURLThe normalized URL that was submitted to the brand. Empty when the URL was rejected before submission.String
BlockURLResults.BrandThe name of the brand that was executed.String
BlockURLResults.ResultThe result of the action, Success, Failed or Skipped.String
BlockURLResults.MessageA message concerning the result of the action.String
BlockURLResults.RuleNameThe name of the security rule that blocks the URL.String
BlockURLResults.URLCategoryThe name of the custom URL category that holds the URL.String
BlockURLResults.JobIDThe ID of the PAN-OS commit job.String