Invoke ADCAddAppfwprofilecmdinjectionbinding - j81blog/J81.ADCToolkit GitHub Wiki
Add Application Firewall configuration Object.
Invoke-ADCAddAppfwprofilecmdinjectionbinding [-Name] <String> [[-Cmdinjection] <String>]
[[-Formactionurl_cmd] <String>] [[-Isregex_cmd] <String>] [[-As_scan_location_cmd] <String>]
[[-As_value_type_cmd] <String>] [[-As_value_expr_cmd] <String>] [[-Isvalueregex_cmd] <String>]
[[-Comment] <String>] [[-State] <String>] [[-Isautodeployed] <String>] [[-Resourceid] <String>]
[[-Ruletype] <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Binding object showing the cmdinjection that can be bound to appfwprofile.
Invoke-ADCAddAppfwprofilecmdinjectionbinding -name <string>
An example how to add appfwprofile_cmdinjection_binding configuration Object(s).
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: FalseName of the relaxed web form field/header/cookie.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe web form action URL.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIs the relaxed web form field name/header/cookie a regular expression?. Possible values = REGEX, NOTREGEX
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseLocation of command injection exception - form field, header or cookie. Possible values = FORMFIELD, HEADER, COOKIE
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseType of the relaxed web form value. Possible values = Keyword, SpecialString
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe web form/header/cookie value expression.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIs the web form field/header/cookie value a regular expression?. Possible values = REGEX, NOTREGEX
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAny comments about the purpose of profile, or other useful information about the profile.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseEnabled. Possible values = ENABLED, DISABLED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIs the rule auto deployed by dynamic profile ?. Possible values = AUTODEPLOYED, NOTAUTODEPLOYED
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA "id" that identifies the rule.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies rule type of binding. Possible values = ALLOW, DENY
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseReturn details about the created appfwprofile_cmdinjection_binding item.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseShows 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: FalsePrompts 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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
File Name : Invoke-ADCAddAppfwprofilecmdinjectionbinding Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/appfw/appfwprofile_cmdinjection_binding/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.