Skip to main content

AzureFindAvailableNSGPriorities

This Script is part of the Azure Enrichment and Remediation Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This script takes in a list of numbers that represent Azure priorities for NSG rules, a target priority number, and a number available priorities to return available priorities from the provided list.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version6.5.0

Used In#


This script is used in the following playbooks and scripts.

  • Azure - Network Security Group Remediation

Inputs#


Argument NameDescriptionMandatory
target_rule_priorityThe NSG priority to start finding available priorities from. The target priority cannot be 100.True
number_of_available_priorities_to_retrieveThe number of priorities that are available to be returned. (limit: 5)True
list_of_priorities_from_rulesThe list of priorities from rules in an Azure Network Security Group. (limit: 995)True

Outputs#


Context PathDescriptionType
AvailableAzureNSGPrioritiesList of numbers that represent available Azure NSG prioritiesUnknown