Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Credscanfix] Fixed secrets exposure in example documentation #25580

Merged
merged 7 commits into from
Jul 23, 2024

Conversation

lijinpei2008
Copy link
Contributor

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

azure-client-tools-bot-prd bot commented Jul 18, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ADDomainServices
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Aks
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Set-AzAksClusterCredential 1 3 Unassigned_Variable Set-AzAksClusterCredential -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzAksClusterCredential 1 3 Unassigned_Variable Set-AzAksClusterCredential -Name $Name is a null-valued parameter value. -Name Assign value for $Name.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Set-AzAksClusterCredential 1 3 Unassigned_Variable Set-AzAksClusterCredential -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzAksClusterCredential 1 3 Unassigned_Variable Set-AzAksClusterCredential -Name $Name is a null-valued parameter value. -Name Assign value for $Name.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ApiManagement
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.App
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.AppComplianceAutomation
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Automation
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Batch
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Get-AzBatchCertificate 1 1 Unassigned_Variable Get-AzBatchCertificate -BatchContext $Context is a null-valued parameter value. -BatchContext Assign value for $Context.
⚠️ Get-AzBatchCertificate 2 1 Unassigned_Variable Get-AzBatchCertificate -BatchContext $Context is a null-valued parameter value. -BatchContext Assign value for $Context.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Get-AzBatchCertificate 1 1 Unassigned_Variable Get-AzBatchCertificate -BatchContext $Context is a null-valued parameter value. -BatchContext Assign value for $Context.
⚠️ Get-AzBatchCertificate 2 1 Unassigned_Variable Get-AzBatchCertificate -BatchContext $Context is a null-valued parameter value. -BatchContext Assign value for $Context.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Az.Compute
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Help Example Check
❌PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Invoke-AzVMReimage 2 2 Unassigned_Variable Invoke-AzVMReimage -CustomData $CustomData is a null-valued parameter value. -CustomData Assign value for $CustomData.
⚠️ Invoke-AzVMReimage 2 2 Mismatched_Parameter_Value_Type Invoke-AzVMReimage -AdminPassword $SecurePassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ New-AzVmssConfig 1 1 Unassigned_Variable New-AzVmssConfig -Location $Loc is a null-valued parameter value. -Location Assign value for $Loc.
⚠️ New-AzVmssConfig 1 1 Unassigned_Variable New-AzVmssConfig -NetworkInterfaceConfiguration $NetCfg is a null-valued parameter value. -NetworkInterfaceConfiguration Assign value for $NetCfg.
⚠️ New-AzVmssConfig 1 2 Unassigned_Variable Add-AzVmssNetworkInterfaceConfiguration -IPConfiguration $IPCfg is a null-valued parameter value. -IPConfiguration Assign value for $IPCfg.
⚠️ New-AzVmssConfig 1 3 Unassigned_Variable Set-AzVmssOsProfile -AdminUsername $adminUsername is a null-valued parameter value. -AdminUsername Assign value for $adminUsername.
⚠️ New-AzVmssConfig 1 3 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $AdminPassword is a null-valued parameter value. -AdminPassword Assign value for $AdminPassword.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceOffer $ImgRef.Offer is a null-valued parameter value. -ImageReferenceOffer Assign value for $ImgRef.Offer.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceSku $ImgRef.Skus is a null-valued parameter value. -ImageReferenceSku Assign value for $ImgRef.Skus.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceVersion $ImgRef.Version is a null-valued parameter value. -ImageReferenceVersion Assign value for $ImgRef.Version.
⚠️ New-AzVmssConfig 1 6 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferencePublisher $ImgRef.PublisherName is a null-valued parameter value. -ImageReferencePublisher Assign value for $ImgRef.PublisherName.
⚠️ New-AzVmssConfig 1 6 Unassigned_Variable Set-AzVmssStorageProfile -VhdContainer $VHDContainer is a null-valued parameter value. -VhdContainer Assign value for $VHDContainer.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -ComponentName $AUCComponentName is a null-valued parameter value. -ComponentName Assign value for $AUCComponentName.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -Content $AUCContent is a null-valued parameter value. -Content Assign value for $AUCContent.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -PassName $AUCPassName is a null-valued parameter value. -PassName Assign value for $AUCPassName.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -SettingName $AUCSetting is a null-valued parameter value. -SettingName Assign value for $AUCSetting.
⚠️ New-AzVmssConfig 1 9 Unassigned_Variable New-AzVmss -ResourceGroupName $RGName is a null-valued parameter value. -ResourceGroupName Assign value for $RGName.
⚠️ New-AzVmssConfig 1 9 Unassigned_Variable New-AzVmss -Name $VMSSName is a null-valued parameter value. -Name Assign value for $VMSSName.
⚠️ New-AzVmssConfig 4 18 Unassigned_Variable New-AzStorageAccount -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 18 Unassigned_Variable New-AzStorageAccount -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 19 Unassigned_Variable Get-AzStorageAccount -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 23 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 23 Unassigned_Variable New-AzVirtualNetwork -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 24 Unassigned_Variable Get-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 30 Unassigned_Variable New-AzVmssConfig -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 32 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $password is a null-valued parameter value. -AdminPassword Assign value for $password.
⚠️ New-AzVmssConfig 4 37 Unassigned_Variable New-AzVmss -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 39 Unassigned_Variable Get-AzVmss -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 5 36 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $adminPassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Set-AzDiskSecurityProfile 2 11 Unassigned_Variable New-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 17 Unassigned_Variable Get-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 23 Unassigned_Variable New-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 24 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 27 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 28 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 35 Unassigned_Variable New-AzDisk -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 36 Unassigned_Variable Get-AzDisk -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 3 Unassigned_Variable New-AzResourceGroup -Name $ResourceGroupName is a null-valued parameter value. -Name Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 10 Unassigned_Variable New-Object -[-ArgumentList] ($user, $securePassword) is a null-valued parameter value. ($user, $securePassword) Assign value for ($user, $securePassword).
⚠️ Set-AzVMOSDisk 5 13 Unassigned_Variable New-AzKeyVault -Name $keyVaultName is a null-valued parameter value. -Name Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 13 Unassigned_Variable New-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 16 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 16 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 22 Unassigned_Variable Add-AzKeyVaultKey -VaultName $kvname is a null-valued parameter value. -VaultName Assign value for $kvname.
⚠️ Set-AzVMOSDisk 5 25 Unassigned_Variable Get-AzKeyVault -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 25 Unassigned_Variable Get-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 26 Unassigned_Variable Get-AzKeyVaultKey -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 30 Unassigned_Variable New-AzDiskEncryptionSetConfig -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 31 Unassigned_Variable New-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 31 Unassigned_Variable New-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 33 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMOSDisk 5 33 Unassigned_Variable Get-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 36 Unassigned_Variable Get-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 36 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 38 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 38 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 40 Unassigned_Variable New-AzVMConfig -VMName $VMName is a null-valued parameter value. -VMName Assign value for $VMName.
⚠️ Set-AzVMOSDisk 5 41 Unassigned_Variable Set-AzVMOperatingSystem -ComputerName $computerName is a null-valued parameter value. -ComputerName Assign value for $computerName.
⚠️ Set-AzVMOSDisk 5 44 Unassigned_Variable New-AzVirtualNetworkSubnetConfig -Name ($subnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($subnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -Name ($vnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($vnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 46 Unassigned_Variable Get-AzVirtualNetwork -Name ($vnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($vnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 46 Unassigned_Variable Get-AzVirtualNetwork -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -Name ($pubIpPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($pubIpPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -DomainNameLabel $domainNameLabel2 is a null-valued parameter value. -DomainNameLabel Assign value for $domainNameLabel2.
⚠️ Set-AzVMOSDisk 5 49 Unassigned_Variable Get-AzPublicIpAddress -Name ($pubIpPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($pubIpPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 49 Unassigned_Variable Get-AzPublicIpAddress -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -Name ($nicPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($nicPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 52 Unassigned_Variable Get-AzNetworkInterface -Name ($nicPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($nicPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 52 Unassigned_Variable Get-AzNetworkInterface -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 62 Unassigned_Variable New-AzVM -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 62 Unassigned_Variable New-AzVM -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 63 Unassigned_Variable Get-AzVm -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 63 Unassigned_Variable Get-AzVm -Name $vmname is a null-valued parameter value. -Name Assign value for $vmname.
Set-AzVMSecurityProfile 2 25 Capitalization_Conventions_Violated Set-AzVmSecurityProfile doesn't follow the Capitalization Conventions. Set-AzVmSecurityProfile -VM $VirtualMachine -SecurityType $SecurityType Check the Capitalization Conventions. Suggest format: Set-AzVMSecurityProfile
Set-AzVMSecurityProfile 2 26 Capitalization_Conventions_Violated Set-AzVmUefi doesn't follow the Capitalization Conventions. Set-AzVmUefi -VM $VirtualMachine -EnableVtpm $true -EnableSecureBoot $true Check the Capitalization Conventions. Suggest format: Set-AzVMUefi
Set-AzVMSecurityProfile 2 32 Capitalization_Conventions_Violated Get-AzVm doesn't follow the Capitalization Conventions. Get-AzVm -ResourceGroupName $rgname -Name $vmname Check the Capitalization Conventions. Suggest format: Get-AzVM
⚠️ Set-AzVMSecurityProfile 2 8 Unassigned_Variable New-Object -[-ArgumentList] ($user, $securePassword) is a null-valued parameter value. ($user, $securePassword) Assign value for ($user, $securePassword).
⚠️ Set-AzVMSecurityProfile 2 12 Unassigned_Variable New-AzVMConfig -VMName $VMName is a null-valued parameter value. -VMName Assign value for $VMName.
⚠️ Set-AzVMSecurityProfile 2 15 Unassigned_Variable New-AzVirtualNetworkSubnetConfig -Name $SubnetName is a null-valued parameter value. -Name Assign value for $SubnetName.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -Name $NetworkName is a null-valued parameter value. -Name Assign value for $NetworkName.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -Name $PublicIPAddressName is a null-valued parameter value. -Name Assign value for $PublicIPAddressName.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -Name $NICName is a null-valued parameter value. -Name Assign value for $NICName.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 19 Unassigned_Variable Set-AzVMOperatingSystem -ComputerName $ComputerName is a null-valued parameter value. -ComputerName Assign value for $ComputerName.
⚠️ Set-AzVMSecurityProfile 2 31 Unassigned_Variable New-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 31 Unassigned_Variable New-AzVM -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 32 Unassigned_Variable Get-AzVm -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 32 Unassigned_Variable Get-AzVm -Name $vmname is a null-valued parameter value. -Name Assign value for $vmname.
⚠️ Set-AzVmssOsProfile 1 1 Unassigned_Variable New-AzVmssConfig -Location $Loc is a null-valued parameter value. -Location Assign value for $Loc.
⚠️ Set-AzVmssOsProfile 1 1 Unassigned_Variable New-AzVmssConfig -NetworkInterfaceConfiguration $NetCfg is a null-valued parameter value. -NetworkInterfaceConfiguration Assign value for $NetCfg.
⚠️ Set-AzVmssOsProfile 1 2 Unassigned_Variable Set-AzVmssOsProfile -AdminUsername $AdminUsername is a null-valued parameter value. -AdminUsername Assign value for $AdminUsername.
⚠️ Set-AzVmssOsProfile 1 2 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $AdminPassword is a null-valued parameter value. -AdminPassword Assign value for $AdminPassword.
⚠️ Set-AzVmssOsProfile 2 113 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $cred.Password is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Set-AzVmssSecurityProfile 2 40 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $adminPassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Update-AzVM 1 1 Unassigned_Variable Update-AzVM -VM $VirtualMachine is a null-valued parameter value. -VM Assign value for $VirtualMachine.
⚠️ Update-AzVM 2 13 Unassigned_Variable New-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Update-AzVM 2 16 Unassigned_Variable Update-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
❌Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Invoke-AzVMReimage 2 2 Unassigned_Variable Invoke-AzVMReimage -CustomData $CustomData is a null-valued parameter value. -CustomData Assign value for $CustomData.
⚠️ Invoke-AzVMReimage 2 2 Mismatched_Parameter_Value_Type Invoke-AzVMReimage -AdminPassword $SecurePassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ New-AzVmssConfig 1 1 Unassigned_Variable New-AzVmssConfig -Location $Loc is a null-valued parameter value. -Location Assign value for $Loc.
⚠️ New-AzVmssConfig 1 1 Unassigned_Variable New-AzVmssConfig -NetworkInterfaceConfiguration $NetCfg is a null-valued parameter value. -NetworkInterfaceConfiguration Assign value for $NetCfg.
⚠️ New-AzVmssConfig 1 2 Unassigned_Variable Add-AzVmssNetworkInterfaceConfiguration -IPConfiguration $IPCfg is a null-valued parameter value. -IPConfiguration Assign value for $IPCfg.
⚠️ New-AzVmssConfig 1 3 Unassigned_Variable Set-AzVmssOsProfile -AdminUsername $adminUsername is a null-valued parameter value. -AdminUsername Assign value for $adminUsername.
⚠️ New-AzVmssConfig 1 3 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $AdminPassword is a null-valued parameter value. -AdminPassword Assign value for $AdminPassword.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceOffer $ImgRef.Offer is a null-valued parameter value. -ImageReferenceOffer Assign value for $ImgRef.Offer.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceSku $ImgRef.Skus is a null-valued parameter value. -ImageReferenceSku Assign value for $ImgRef.Skus.
⚠️ New-AzVmssConfig 1 5 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferenceVersion $ImgRef.Version is a null-valued parameter value. -ImageReferenceVersion Assign value for $ImgRef.Version.
⚠️ New-AzVmssConfig 1 6 Unassigned_Variable Set-AzVmssStorageProfile -ImageReferencePublisher $ImgRef.PublisherName is a null-valued parameter value. -ImageReferencePublisher Assign value for $ImgRef.PublisherName.
⚠️ New-AzVmssConfig 1 6 Unassigned_Variable Set-AzVmssStorageProfile -VhdContainer $VHDContainer is a null-valued parameter value. -VhdContainer Assign value for $VHDContainer.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -ComponentName $AUCComponentName is a null-valued parameter value. -ComponentName Assign value for $AUCComponentName.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -Content $AUCContent is a null-valued parameter value. -Content Assign value for $AUCContent.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -PassName $AUCPassName is a null-valued parameter value. -PassName Assign value for $AUCPassName.
⚠️ New-AzVmssConfig 1 7 Unassigned_Variable Add-AzVmssAdditionalUnattendContent -SettingName $AUCSetting is a null-valued parameter value. -SettingName Assign value for $AUCSetting.
⚠️ New-AzVmssConfig 1 9 Unassigned_Variable New-AzVmss -ResourceGroupName $RGName is a null-valued parameter value. -ResourceGroupName Assign value for $RGName.
⚠️ New-AzVmssConfig 1 9 Unassigned_Variable New-AzVmss -Name $VMSSName is a null-valued parameter value. -Name Assign value for $VMSSName.
⚠️ New-AzVmssConfig 4 18 Unassigned_Variable New-AzStorageAccount -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 18 Unassigned_Variable New-AzStorageAccount -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 19 Unassigned_Variable Get-AzStorageAccount -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 23 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 23 Unassigned_Variable New-AzVirtualNetwork -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 24 Unassigned_Variable Get-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 30 Unassigned_Variable New-AzVmssConfig -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ New-AzVmssConfig 4 32 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $password is a null-valued parameter value. -AdminPassword Assign value for $password.
⚠️ New-AzVmssConfig 4 37 Unassigned_Variable New-AzVmss -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 4 39 Unassigned_Variable Get-AzVmss -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ New-AzVmssConfig 5 36 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $adminPassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Set-AzDiskSecurityProfile 2 11 Unassigned_Variable New-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 17 Unassigned_Variable Get-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 23 Unassigned_Variable New-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 24 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 27 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 28 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 35 Unassigned_Variable New-AzDisk -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzDiskSecurityProfile 2 36 Unassigned_Variable Get-AzDisk -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 3 Unassigned_Variable New-AzResourceGroup -Name $ResourceGroupName is a null-valued parameter value. -Name Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 10 Unassigned_Variable New-Object -[-ArgumentList] ($user, $securePassword) is a null-valued parameter value. ($user, $securePassword) Assign value for ($user, $securePassword).
⚠️ Set-AzVMOSDisk 5 13 Unassigned_Variable New-AzKeyVault -Name $keyVaultName is a null-valued parameter value. -Name Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 13 Unassigned_Variable New-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 16 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 16 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 22 Unassigned_Variable Add-AzKeyVaultKey -VaultName $kvname is a null-valued parameter value. -VaultName Assign value for $kvname.
⚠️ Set-AzVMOSDisk 5 25 Unassigned_Variable Get-AzKeyVault -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 25 Unassigned_Variable Get-AzKeyVault -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 26 Unassigned_Variable Get-AzKeyVaultKey -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 30 Unassigned_Variable New-AzDiskEncryptionSetConfig -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 31 Unassigned_Variable New-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 31 Unassigned_Variable New-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 33 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMOSDisk 5 33 Unassigned_Variable Get-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 36 Unassigned_Variable Get-AzDiskEncryptionSet -Name $desName is a null-valued parameter value. -Name Assign value for $desName.
⚠️ Set-AzVMOSDisk 5 36 Unassigned_Variable Get-AzDiskEncryptionSet -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 38 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Set-AzVMOSDisk 5 38 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 40 Unassigned_Variable New-AzVMConfig -VMName $VMName is a null-valued parameter value. -VMName Assign value for $VMName.
⚠️ Set-AzVMOSDisk 5 41 Unassigned_Variable Set-AzVMOperatingSystem -ComputerName $computerName is a null-valued parameter value. -ComputerName Assign value for $computerName.
⚠️ Set-AzVMOSDisk 5 44 Unassigned_Variable New-AzVirtualNetworkSubnetConfig -Name ($subnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($subnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -Name ($vnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($vnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 45 Unassigned_Variable New-AzVirtualNetwork -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 46 Unassigned_Variable Get-AzVirtualNetwork -Name ($vnetPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($vnetPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 46 Unassigned_Variable Get-AzVirtualNetwork -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -Name ($pubIpPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($pubIpPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 48 Unassigned_Variable New-AzPublicIpAddress -DomainNameLabel $domainNameLabel2 is a null-valued parameter value. -DomainNameLabel Assign value for $domainNameLabel2.
⚠️ Set-AzVMOSDisk 5 49 Unassigned_Variable Get-AzPublicIpAddress -Name ($pubIpPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($pubIpPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 49 Unassigned_Variable Get-AzPublicIpAddress -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -Name ($nicPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($nicPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 51 Unassigned_Variable New-AzNetworkInterface -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 52 Unassigned_Variable Get-AzNetworkInterface -Name ($nicPrefix + $ResourceGroupName) is a null-valued parameter value. -Name Assign value for ($nicPrefix + $ResourceGroupName).
⚠️ Set-AzVMOSDisk 5 52 Unassigned_Variable Get-AzNetworkInterface -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 62 Unassigned_Variable New-AzVM -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 62 Unassigned_Variable New-AzVM -Location $loc is a null-valued parameter value. -Location Assign value for $loc.
⚠️ Set-AzVMOSDisk 5 63 Unassigned_Variable Get-AzVm -ResourceGroupName $ResourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $ResourceGroupName.
⚠️ Set-AzVMOSDisk 5 63 Unassigned_Variable Get-AzVm -Name $vmname is a null-valued parameter value. -Name Assign value for $vmname.
Set-AzVMSecurityProfile 2 25 Capitalization_Conventions_Violated Set-AzVmSecurityProfile doesn't follow the Capitalization Conventions. Set-AzVmSecurityProfile -VM $VirtualMachine -SecurityType $SecurityType Check the Capitalization Conventions. Suggest format: Set-AzVMSecurityProfile
Set-AzVMSecurityProfile 2 26 Capitalization_Conventions_Violated Set-AzVmUefi doesn't follow the Capitalization Conventions. Set-AzVmUefi -VM $VirtualMachine -EnableVtpm $true -EnableSecureBoot $true Check the Capitalization Conventions. Suggest format: Set-AzVMUefi
Set-AzVMSecurityProfile 2 32 Capitalization_Conventions_Violated Get-AzVm doesn't follow the Capitalization Conventions. Get-AzVm -ResourceGroupName $rgname -Name $vmname Check the Capitalization Conventions. Suggest format: Get-AzVM
⚠️ Set-AzVMSecurityProfile 2 8 Unassigned_Variable New-Object -[-ArgumentList] ($user, $securePassword) is a null-valued parameter value. ($user, $securePassword) Assign value for ($user, $securePassword).
⚠️ Set-AzVMSecurityProfile 2 12 Unassigned_Variable New-AzVMConfig -VMName $VMName is a null-valued parameter value. -VMName Assign value for $VMName.
⚠️ Set-AzVMSecurityProfile 2 15 Unassigned_Variable New-AzVirtualNetworkSubnetConfig -Name $SubnetName is a null-valued parameter value. -Name Assign value for $SubnetName.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -Name $NetworkName is a null-valued parameter value. -Name Assign value for $NetworkName.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 16 Unassigned_Variable New-AzVirtualNetwork -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -Name $PublicIPAddressName is a null-valued parameter value. -Name Assign value for $PublicIPAddressName.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 17 Unassigned_Variable New-AzPublicIpAddress -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -Name $NICName is a null-valued parameter value. -Name Assign value for $NICName.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 18 Unassigned_Variable New-AzNetworkInterface -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 19 Unassigned_Variable Set-AzVMOperatingSystem -ComputerName $ComputerName is a null-valued parameter value. -ComputerName Assign value for $ComputerName.
⚠️ Set-AzVMSecurityProfile 2 31 Unassigned_Variable New-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 31 Unassigned_Variable New-AzVM -Location $LocationName is a null-valued parameter value. -Location Assign value for $LocationName.
⚠️ Set-AzVMSecurityProfile 2 32 Unassigned_Variable Get-AzVm -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Set-AzVMSecurityProfile 2 32 Unassigned_Variable Get-AzVm -Name $vmname is a null-valued parameter value. -Name Assign value for $vmname.
⚠️ Set-AzVmssOsProfile 1 1 Unassigned_Variable New-AzVmssConfig -Location $Loc is a null-valued parameter value. -Location Assign value for $Loc.
⚠️ Set-AzVmssOsProfile 1 1 Unassigned_Variable New-AzVmssConfig -NetworkInterfaceConfiguration $NetCfg is a null-valued parameter value. -NetworkInterfaceConfiguration Assign value for $NetCfg.
⚠️ Set-AzVmssOsProfile 1 2 Unassigned_Variable Set-AzVmssOsProfile -AdminUsername $AdminUsername is a null-valued parameter value. -AdminUsername Assign value for $AdminUsername.
⚠️ Set-AzVmssOsProfile 1 2 Unassigned_Variable Set-AzVmssOsProfile -AdminPassword $AdminPassword is a null-valued parameter value. -AdminPassword Assign value for $AdminPassword.
⚠️ Set-AzVmssOsProfile 2 113 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $cred.Password is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Set-AzVmssSecurityProfile 2 40 Mismatched_Parameter_Value_Type Set-AzVmssOsProfile -AdminPassword $adminPassword is not an expected parameter value type. -AdminPassword Use correct parameter value type. Expected Type is string. Now the type is securestring.(Command).
⚠️ Update-AzVM 1 1 Unassigned_Variable Update-AzVM -VM $VirtualMachine is a null-valued parameter value. -VM Assign value for $VirtualMachine.
⚠️ Update-AzVM 2 13 Unassigned_Variable New-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
⚠️ Update-AzVM 2 16 Unassigned_Variable Update-AzVM -ResourceGroupName $rgname is a null-valued parameter value. -ResourceGroupName Assign value for $rgname.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ConnectedKubernetes
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.ContainerInstance
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzContainerGroup 2 3 Mismatched_Parameter_Value_Type New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type. -SecureValue Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 4 3 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 5 3 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 6 2 Mismatched_Parameter_Value_Type New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type. -AzureFileStorageAccountKey Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroupImageRegistryCredentialObject 1 2 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroupVolumeObject 1 2 Mismatched_Parameter_Value_Type New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type. -AzureFileStorageAccountKey Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerInstanceEnvironmentVariableObject 2 2 Mismatched_Parameter_Value_Type New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type. -SecureValue Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzContainerGroup 2 3 Mismatched_Parameter_Value_Type New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type. -SecureValue Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 4 3 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 5 3 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroup 6 2 Mismatched_Parameter_Value_Type New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type. -AzureFileStorageAccountKey Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroupImageRegistryCredentialObject 1 2 Mismatched_Parameter_Value_Type New-AzContainerGroupImageRegistryCredentialObject -Password $pwd is not an expected parameter value type. -Password Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerGroupVolumeObject 1 2 Mismatched_Parameter_Value_Type New-AzContainerGroupVolumeObject -AzureFileStorageAccountKey $pwd is not an expected parameter value type. -AzureFileStorageAccountKey Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzContainerInstanceEnvironmentVariableObject 2 2 Mismatched_Parameter_Value_Type New-AzContainerInstanceEnvironmentVariableObject -SecureValue $pwd is not an expected parameter value type. -SecureValue Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.DataMigration
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzDataMigrationFileShare 1 1 Unassigned_Variable New-AzDataMigrationFileShare -Path $fileSharePath is a null-valued parameter value. -Path Assign value for $fileSharePath.
⚠️ New-AzDataMigrationFileShare 1 1 Unassigned_Variable New-AzDataMigrationFileShare -Credential $fileShareCred is a null-valued parameter value. -Credential Assign value for $fileShareCred.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzDataMigrationFileShare 1 1 Unassigned_Variable New-AzDataMigrationFileShare -Path $fileSharePath is a null-valued parameter value. -Path Assign value for $fileSharePath.
⚠️ New-AzDataMigrationFileShare 1 1 Unassigned_Variable New-AzDataMigrationFileShare -Credential $fileShareCred is a null-valued parameter value. -Credential Assign value for $fileShareCred.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.DeviceProvisioningServices
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.HanaOnAzure
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzSapMonitorProviderInstance 1 2 Mismatched_Parameter_Value_Type New-AzSapMonitorProviderInstance -HanaDatabasePassword $pwd is not an expected parameter value type. -HanaDatabasePassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzSapMonitorProviderInstance 1 2 Mismatched_Parameter_Value_Type New-AzSapMonitorProviderInstance -HanaDatabasePassword $pwd is not an expected parameter value type. -HanaDatabasePassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.HDInsight
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzHDInsightCluster 9 47 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightCluster 11 27 Unassigned_Variable New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. -SubnetId Assign value for $subnetId.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzHDInsightCluster 9 47 Mismatched_Parameter_Value_Type New-AzHDInsightCluster -SecurityProfile $config.SecurityProfile is not an expected parameter value type. -SecurityProfile Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.HDInsight.Models.AzureHDInsightSecurityProfile. Now the type is .(Command).
⚠️ New-AzHDInsightCluster 11 27 Unassigned_Variable New-AzHDInsightIPConfiguration -SubnetId $subnetId is a null-valued parameter value. -SubnetId Assign value for $subnetId.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Az.KeyVault
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
❌Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Add-AzKeyVaultKey 8 1 Unassigned_Variable Add-AzKeyVaultKey -VaultName $vaultName is a null-valued parameter value. -VaultName Assign value for $vaultName.
⚠️ Add-AzKeyVaultKey 8 1 Unassigned_Variable Add-AzKeyVaultKey -Name $keyName is a null-valued parameter value. -Name Assign value for $keyName.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -Name $keyVaultName is a null-valued parameter value. -Name Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -Location $location is a null-valued parameter value. -Location Assign value for $location.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName.
⚠️ Add-AzKeyVaultKey 10 3 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 3 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName.
⚠️ Add-AzKeyVaultKey 10 6 Unassigned_Variable Add-AzKeyVaultKey -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 6 Unassigned_Variable Add-AzKeyVaultKey -Name $keyName is a null-valued parameter value. -Name Assign value for $keyName.
❌Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Add-AzKeyVaultKey 8 1 Unassigned_Variable Add-AzKeyVaultKey -VaultName $vaultName is a null-valued parameter value. -VaultName Assign value for $vaultName.
⚠️ Add-AzKeyVaultKey 8 1 Unassigned_Variable Add-AzKeyVaultKey -Name $keyName is a null-valued parameter value. -Name Assign value for $keyName.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -Name $keyVaultName is a null-valued parameter value. -Name Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -Location $location is a null-valued parameter value. -Location Assign value for $location.
⚠️ Add-AzKeyVaultKey 10 1 Unassigned_Variable New-AzKeyVault -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName.
⚠️ Add-AzKeyVaultKey 10 3 Unassigned_Variable Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 3 Unassigned_Variable Set-AzKeyVaultAccessPolicy -ResourceGroupName $resourceGroupName is a null-valued parameter value. -ResourceGroupName Assign value for $resourceGroupName.
⚠️ Add-AzKeyVaultKey 10 6 Unassigned_Variable Add-AzKeyVaultKey -VaultName $keyVaultName is a null-valued parameter value. -VaultName Assign value for $keyVaultName.
⚠️ Add-AzKeyVaultKey 10 6 Unassigned_Variable Add-AzKeyVaultKey -Name $keyName is a null-valued parameter value. -Name Assign value for $keyName.
Get-AzKeyVaultSecret 9 2 Invalid_Cmdlet Install-Module is not a valid command name. Install-Module Microsoft.PowerShell.SecretManagement -Repository PSGallery -AllowPrerelease Check the spell of Install-Module.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.MySql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Test-AzMySqlFlexibleServerConnect 4 1 Unassigned_Variable Test-AzMySqlFlexibleServerConnect -AdministratorLoginPassword $password is a null-valued parameter value. -AdministratorLoginPassword Assign value for $password.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Test-AzMySqlFlexibleServerConnect 4 1 Unassigned_Variable Test-AzMySqlFlexibleServerConnect -AdministratorLoginPassword $password is a null-valued parameter value. -AdministratorLoginPassword Assign value for $password.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Network
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzVirtualNetworkGateway 2 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -Name $clientRootCertName is a null-valued parameter value. -Name Assign value for $clientRootCertName.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -PublicCertData $samplePublicCertData is a null-valued parameter value. -PublicCertData Assign value for $samplePublicCertData.
⚠️ New-AzVirtualNetworkGateway 4 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ Set-AzApplicationGatewaySslCertificate 2 3 Unassigned_Variable Set-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW is a null-valued parameter value. -ApplicationGateway Assign value for $AppGW.
⚠️ Set-AzApplicationGatewaySslCertificate 3 3 Unassigned_Variable Set-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW is a null-valued parameter value. -ApplicationGateway Assign value for $AppGW.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzVirtualNetworkGateway 2 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -Name $clientRootCertName is a null-valued parameter value. -Name Assign value for $clientRootCertName.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -PublicCertData $samplePublicCertData is a null-valued parameter value. -PublicCertData Assign value for $samplePublicCertData.
⚠️ New-AzVirtualNetworkGateway 4 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ Set-AzApplicationGatewaySslCertificate 2 3 Unassigned_Variable Set-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW is a null-valued parameter value. -ApplicationGateway Assign value for $AppGW.
⚠️ Set-AzApplicationGatewaySslCertificate 3 3 Unassigned_Variable Set-AzApplicationGatewaySslCertificate -ApplicationGateway $AppGW is a null-valued parameter value. -ApplicationGateway Assign value for $AppGW.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.NetworkCloud
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.NotificationHubs
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.PostgreSql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Test-AzPostgreSqlFlexibleServerConnect 4 1 Unassigned_Variable Test-AzPostgreSqlFlexibleServerConnect -AdministratorLoginPassword $password is a null-valued parameter value. -AdministratorLoginPassword Assign value for $password.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Test-AzPostgreSqlFlexibleServerConnect 4 1 Unassigned_Variable Test-AzPostgreSqlFlexibleServerConnect -AdministratorLoginPassword $password is a null-valued parameter value. -AdministratorLoginPassword Assign value for $password.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Qumulo
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Resources
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -DisplayName $uname is a null-valued parameter value. -DisplayName Assign value for $uname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -MailNickname $nickname is a null-valued parameter value. -MailNickname Assign value for $nickname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -UserPrincipalName $upn is a null-valued parameter value. -UserPrincipalName Assign value for $upn.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -DisplayName $uname is a null-valued parameter value. -DisplayName Assign value for $uname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -MailNickname $nickname is a null-valued parameter value. -MailNickname Assign value for $nickname.
⚠️ New-AzADUser 2 2 Unassigned_Variable New-AzADUser -UserPrincipalName $upn is a null-valued parameter value. -UserPrincipalName Assign value for $upn.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.ServiceFabric
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Add-AzServiceFabricNodeType 1 2 Mismatched_Parameter_Value_Type Add-AzServiceFabricNodeType -VmPassword $pwd is not an expected parameter value type. -VmPassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ Add-AzServiceFabricNodeType 2 5 Mismatched_Parameter_Value_Type Add-AzServiceFabricNodeType -VmPassword $pwd is not an expected parameter value type. -VmPassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzServiceFabricCluster 1 9 Unassigned_Variable New-AzServiceFabricCluster -CertificatePassword $pass is a null-valued parameter value. -CertificatePassword Assign value for $pass.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ Add-AzServiceFabricNodeType 1 2 Mismatched_Parameter_Value_Type Add-AzServiceFabricNodeType -VmPassword $pwd is not an expected parameter value type. -VmPassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ Add-AzServiceFabricNodeType 2 5 Mismatched_Parameter_Value_Type Add-AzServiceFabricNodeType -VmPassword $pwd is not an expected parameter value type. -VmPassword Use correct parameter value type. Expected Type is securestring. Now the type is System.Object.(Static).
⚠️ New-AzServiceFabricCluster 1 9 Unassigned_Variable New-AzServiceFabricCluster -CertificatePassword $pass is a null-valued parameter value. -CertificatePassword Assign value for $pass.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Sql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.SqlVirtualMachine
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Synapse
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzSynapseWorkspace 6 1 Unassigned_Variable New-AzSynapseWorkspace -SqlAdministratorLoginCredential $creds is a null-valued parameter value. -SqlAdministratorLoginCredential Assign value for $creds.
⚠️ New-AzSynapseWorkspace 6 1 Unassigned_Variable New-AzSynapseWorkspace -EncryptionKeyIdentifier $identifier is a null-valued parameter value. -EncryptionKeyIdentifier Assign value for $identifier.
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzSynapseWorkspace 6 1 Unassigned_Variable New-AzSynapseWorkspace -SqlAdministratorLoginCredential $creds is a null-valued parameter value. -SqlAdministratorLoginCredential Assign value for $creds.
⚠️ New-AzSynapseWorkspace 6 1 Unassigned_Variable New-AzSynapseWorkspace -EncryptionKeyIdentifier $identifier is a null-valued parameter value. -EncryptionKeyIdentifier Assign value for $identifier.
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.TimeSeriesInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.VMware
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows

@lijinpei2008
Copy link
Contributor Author

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly VeryEarly assigned VeryEarly and unassigned VeryEarly Jul 23, 2024
@Nickcandy Nickcandy merged commit f06d524 into credscanfix Jul 23, 2024
8 of 12 checks passed
@lijinpei2008 lijinpei2008 deleted the jinpei/credscanfix/97 branch July 23, 2024 09:15
VeryEarly pushed a commit that referenced this pull request Jul 28, 2024
* [Credscanfix] Hiden Client Secret (#25535)

* Hiden Client Secret

* update changelog

* update changelog

* Move ConnectedKubernetes to credscanfix (#25542)

* Move DataBox to credscanfix (#25543)

* Move Qumulo to credscanfix (#25544)

* Move DataMigration to credscanfix (#25545)

* Move Workloads to credscanfix (#25546)

* Move NetworkCloud to credscanfix (#25547)

* Move DevCenter to credscanfix (#25548)

* Credscan issue fixing part of joyer (#25552)

* Migrate Sphere from generation to credscanfix (#25541)

* Move Sphere to credscanfix

* Update ChangeLog.md

* Update ChangeLog.md

* Update ChangeLog.md

* Update required Az.Accounts version

---------

Co-authored-by: NanxiangLiu <[email protected]>
Co-authored-by: JoyerJin <[email protected]>

* [Credscanfix] Fixed secrets exposure in example documentation (#25580)

* Fixed secrets exposure in example documentation

* update ConvertTo-SecureString examples and update changelog

* Fixed secrets exposure in example documentation

* update

* update

* update

* update

* remove changelog of credscan

* remove changelog of credscan

* remove changelog of credscan

* remove general secret

---------

Co-authored-by: lijinpei2008 <[email protected]>
Co-authored-by: Azure PowerShell <[email protected]>
Co-authored-by: JoyerJin <[email protected]>
github-actions bot pushed a commit that referenced this pull request Jul 28, 2024
* [Credscanfix] Hiden Client Secret (#25535)

* Hiden Client Secret

* update changelog

* update changelog

* Move ConnectedKubernetes to credscanfix (#25542)

* Move DataBox to credscanfix (#25543)

* Move Qumulo to credscanfix (#25544)

* Move DataMigration to credscanfix (#25545)

* Move Workloads to credscanfix (#25546)

* Move NetworkCloud to credscanfix (#25547)

* Move DevCenter to credscanfix (#25548)

* Credscan issue fixing part of joyer (#25552)

* Migrate Sphere from generation to credscanfix (#25541)

* Move Sphere to credscanfix

* Update ChangeLog.md

* Update ChangeLog.md

* Update ChangeLog.md

* Update required Az.Accounts version

---------

Co-authored-by: NanxiangLiu <[email protected]>
Co-authored-by: JoyerJin <[email protected]>

* [Credscanfix] Fixed secrets exposure in example documentation (#25580)

* Fixed secrets exposure in example documentation

* update ConvertTo-SecureString examples and update changelog

* Fixed secrets exposure in example documentation

* update

* update

* update

* update

* remove changelog of credscan

* remove changelog of credscan

* remove changelog of credscan

* remove general secret

---------

Co-authored-by: lijinpei2008 <[email protected]>
Co-authored-by: Azure PowerShell <[email protected]>
Co-authored-by: JoyerJin <[email protected]>
@VeryEarly VeryEarly mentioned this pull request Aug 5, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants