Modifier

Partager via


New-AzFirewallThreatIntelWhitelist

Create a new threat intelligence allowlist for Azure Firewall

Syntax

New-AzFirewallThreatIntelWhitelist
   [-FQDN <String[]>]
   [-IpAddress <String[]>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzFirewallThreatIntelWhitelist cmdlet creates a threat intel allowlist object, which can be used when creating or setting an Azure Firewall.

Examples

Example 1

New-AzFirewallThreatIntelWhitelist -IpAddress @("2.2.2.2", "3.3.3.3") -FQDN @("bing.com", "yammer.com")

This example creates a threat intel allowlist containing a FQDN allowlist of two entries and an Ip address allowlist of two entries

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FQDN

The FQDNs of the Threat Intel allowlist

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IpAddress

The IP Addresses of the Threat Intel allowlist

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSAzureFirewallThreatIntelWhitelist