Invoke ADCAddAppfwprofilexmldosurlbinding - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCAddAppfwprofilexmldosurlbinding

SYNOPSIS

Add Application Firewall configuration Object.

SYNTAX

Invoke-ADCAddAppfwprofilexmldosurlbinding [-Name] <String> [[-Comment] <String>] [[-State] <String>]
 [[-Xmldosurl] <String>] [[-Xmlmaxelementdepthcheck] <String>] [[-Xmlmaxelementdepth] <Double>]
 [[-Xmlmaxelementnamelengthcheck] <String>] [[-Xmlmaxelementnamelength] <Double>]
 [[-Xmlmaxelementscheck] <String>] [[-Xmlmaxelements] <Double>] [[-Xmlmaxelementchildrencheck] <String>]
 [[-Xmlmaxelementchildren] <Double>] [[-Xmlmaxnodescheck] <String>] [[-Xmlmaxnodes] <Double>]
 [[-Xmlmaxattributescheck] <String>] [[-Xmlmaxattributes] <Double>]
 [[-Xmlmaxattributenamelengthcheck] <String>] [[-Xmlmaxattributenamelength] <Double>]
 [[-Xmlmaxattributevaluelengthcheck] <String>] [[-Xmlmaxattributevaluelength] <Double>]
 [[-Xmlmaxchardatalengthcheck] <String>] [[-Xmlmaxchardatalength] <Double>] [[-Xmlmaxfilesizecheck] <String>]
 [[-Xmlmaxfilesize] <Double>] [[-Xmlminfilesizecheck] <String>] [[-Xmlminfilesize] <Double>]
 [[-Xmlblockpi] <String>] [[-Xmlblockdtd] <String>] [[-Xmlblockexternalentities] <String>]
 [[-Xmlmaxentityexpansionscheck] <String>] [[-Xmlmaxentityexpansions] <Double>]
 [[-Xmlmaxentityexpansiondepthcheck] <String>] [[-Xmlmaxentityexpansiondepth] <Double>]
 [[-Xmlmaxnamespacescheck] <String>] [[-Xmlmaxnamespaces] <Double>] [[-Xmlmaxnamespaceurilengthcheck] <String>]
 [[-Xmlmaxnamespaceurilength] <Double>] [[-Xmlsoaparraycheck] <String>] [[-Xmlmaxsoaparraysize] <Double>]
 [[-Xmlmaxsoaparrayrank] <Double>] [[-Isautodeployed] <String>] [[-Resourceid] <String>] [[-Ruletype] <String>]
 [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Binding object showing the xmldosurl that can be bound to appfwprofile.

EXAMPLES

EXAMPLE 1

Invoke-ADCAddAppfwprofilexmldosurlbinding -name <string>

An example how to add appfwprofile_xmldosurl_binding configuration Object(s).

PARAMETERS

-Name

Name of the profile to which to bind an exemption or rule.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Comment

Any comments about the purpose of profile, or other useful information about the profile.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-State

Enabled. Possible values = ENABLED, DISABLED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmldosurl

XML DoS URL regular expression length.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementdepthcheck

State if XML Max element depth check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementdepth

Maximum nesting (depth) of XML elements. This check protects against documents that have excessive hierarchy depths.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementnamelengthcheck

State if XML Max element name length check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementnamelength

Specify the longest name of any element (including the expanded namespace) to protect against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementscheck

State if XML Max elements check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelements

Specify the maximum number of XML elements allowed. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementchildrencheck

State if XML Max element children check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxelementchildren

Specify the maximum number of children allowed per XML element. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 13
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnodescheck

State if XML Max nodes check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnodes

Specify the maximum number of XML nodes. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 15
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributescheck

State if XML Max attributes check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributes

Specify maximum number of attributes per XML element. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 17
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributenamelengthcheck

State if XML Max attribute name length check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 18
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributenamelength

Specify the longest name of any XML attribute. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 19
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributevaluelengthcheck

State if XML Max atribute value length is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 20
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxattributevaluelength

Specify the longest value of any XML attribute. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 21
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxchardatalengthcheck

State if XML Max CDATA length check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 22
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxchardatalength

Specify the maximum size of CDATA. Protects against overflow attacks and large quantities of unparsed data within XML messages.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 23
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxfilesizecheck

State if XML Max file size check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 24
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxfilesize

Specify the maximum size of XML messages. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 25
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlminfilesizecheck

State if XML Min file size check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 26
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlminfilesize

Enforces minimum message size.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 27
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlblockpi

State if XML Block PI is ON or OFF. Protects resources from denial of service attacks as SOAP messages cannot have processing instructions (PI) in messages. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 28
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlblockdtd

State if XML DTD is ON or OFF. Protects against recursive Document Type Declaration (DTD) entity expansion attacks. Also, SOAP messages cannot have DTDs in messages. . Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 29
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlblockexternalentities

State if XML Block External Entities Check is ON or OFF. Protects against XML External Entity (XXE) attacks that force applications to parse untrusted external entities (sources) in XML documents. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 30
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxentityexpansionscheck

State if XML Max Entity Expansions Check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 31
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxentityexpansions

Specify maximum allowed number of entity expansions. Protects aganist Entity Expansion Attack.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 32
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxentityexpansiondepthcheck

State if XML Max Entity Expansions Depth Check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 33
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxentityexpansiondepth

Specify maximum entity expansion depth. Protects aganist Entity Expansion Attack.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 34
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnamespacescheck

State if XML Max namespaces check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 35
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnamespaces

Specify maximum number of active namespaces. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 36
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnamespaceurilengthcheck

State if XML Max namespace URI length check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 37
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxnamespaceurilength

Specify the longest URI of any XML namespace. Protects against overflow attacks.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 38
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlsoaparraycheck

State if XML SOAP Array check is ON or OFF. Possible values = ON, OFF

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 39
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxsoaparraysize

XML Max Total SOAP Array Size. Protects against SOAP Array Abuse attack.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 40
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Xmlmaxsoaparrayrank

XML Max Individual SOAP Array Rank. This is the dimension of the SOAP array.

Type: Double
Parameter Sets: (All)
Aliases:

Required: False
Position: 41
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Isautodeployed

Is the rule auto deployed by dynamic profile ?. Possible values = AUTODEPLOYED, NOTAUTODEPLOYED

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 42
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Resourceid

A "id" that identifies the rule.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 43
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Ruletype

Specifies rule type of binding. Possible values = ALLOW, DENY

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 44
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Return details about the created appfwprofile_xmldosurl_binding item.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCAddAppfwprofilexmldosurlbinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/appfw/appfwprofile_xmldosurl_binding/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️