Skip to main content
Version: 2.0.1 (preview)

Test-AzdoOrganizationTaskRestrictionsShellTaskArgumentValidation

SYNOPSISโ€‹

Returns a boolean depending on the configuration.

SYNTAXโ€‹

Test-AzdoOrganizationTaskRestrictionsShellTaskArgumentValidation [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTIONโ€‹

Checks the status if the Enable shell tasks arguments validation setting that validates argument parameters for built-in shell tasks to check for inputs that can inject commands into scripts. The check ensures that the shell correctly executes characters like semicolons, quotes, and parentheses.

https://learn.microsoft.com/en-us/azure/devops/pipelines/security/inputs?view=azure-devops#shellTasksValidation

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-AzdoOrganizationTaskRestrictionsShellTaskArgumentValidation

Returns a boolean depending on the configuration.

PARAMETERSโ€‹

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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โ€‹

System.Booleanโ€‹

NOTESโ€‹

https://maester.dev/docs/commands/Test-AzdoOrganizationTaskRestrictionsShellTaskArgumentValidation