Test-AzdoArtifactsExternalPackageProtectionToken
SYNOPSISโ
Returns a boolean depending on the configuration.
SYNTAXโ
Test-AzdoArtifactsExternalPackageProtectionToken [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTIONโ
Checks the policy for additional security for your private feeds by limiting access to externally sourced packages when internally sourced packages are already present. This provides a new layer of security, which prevents malicious packages from a public registry being inadvertently consumed. These changes will not affect any package versions that are already in use or cached in your feed.
https://devblogs.microsoft.com/devops/changes-to-azure-artifact-upstream-behavior
EXAMPLESโ
EXAMPLE 1โ
Test-AzdoArtifactsExternalPackageProtectionToken
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โ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-AzdoArtifactsExternalPackageProtectionToken