Skip to content

Commit 1401fe0

Browse files
committed
[Insights] Adding static analysis exceptions for New-X cmdlets that do not support ShouldProcess, but that only create objects in memory
1 parent 46774fc commit 1401fe0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/StaticAnalysis/Exceptions/SignatureIssues.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,8 @@
844844
"Microsoft.Azure.Commands.Insights.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmAlertRuleEmailCommand","New-AzureRmAlertRuleEmail","1","8410","Parameter SendToServiceOwners of cmdlet New-AzureRmAlertRuleEmail does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
845845
"Microsoft.Azure.Commands.Insights.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmAlertRuleWebhookCommand","New-AzureRmAlertRuleWebhook","1","8410","Parameter Properties of cmdlet New-AzureRmAlertRuleWebhook does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
846846
"Microsoft.Azure.Commands.Insights.dll","Microsoft.Azure.Commands.Insights.ActionGroups.NewAzureRmActionGroupReceiverCommand","New-AzureRmActionGroupReceiver","1","8100","New-AzureRmActionGroupReceiver Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
847+
"Microsoft.Azure.Commands.Insights.dll","Microsoft.Azure.Commands.Insights.ActivityLogAlert.NewAzureRmActionGroupCommand","New-AzureRmActionGroup","1","8100","New-AzureRmActionGroup Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
848+
"Microsoft.Azure.Commands.Insights.dll","Microsoft.Azure.Commands.Insights.ActivityLogAlert.NewAzureRmActivityLogAlertConditionCommand","New-AzureRmActivityLogAlertCondition","1","8100","New-AzureRmActivityLogAlertCondition Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
847849
"Microsoft.Azure.Commands.IotHub.dll","Microsoft.Azure.Commands.Management.IotHub.AddAzureRmIotHubKey","Add-AzureRmIotHubKey","1","8410","Parameter Rights of cmdlet Add-AzureRmIotHubKey does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
848850
"Microsoft.Azure.Commands.IotHub.dll","Microsoft.Azure.Commands.Management.IotHub.NewAzureRmIotHub","New-AzureRmIotHub","1","8410","Parameter Units of cmdlet New-AzureRmIotHub does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
849851
"Microsoft.Azure.Commands.IotHub.dll","Microsoft.Azure.Commands.Management.IotHub.NewAzureRmIotHub","New-AzureRmIotHub","1","8410","Parameter Properties of cmdlet New-AzureRmIotHub does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."

0 commit comments

Comments
 (0)