Skip to content

Commit b1df348

Browse files
committed
Update suppression files
1 parent e12a085 commit b1df348

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

tools/StaticAnalysis/Exceptions/Az.Sql/BreakingChangeIssues.csv

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@
2323
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.RemoveSqlServerAuditing","Remove-AzSqlServerAuditing","0","1000","The cmdlet 'Remove-AzSqlServerAuditing' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Remove-AzSqlServerAuditing' back to the module, or add an alias to the original cmdlet name."
2424
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.SetAzureSqlDatabaseAuditingPolicy","Set-AzSqlDatabaseAuditingPolicy","0","1000","The cmdlet 'Set-AzSqlDatabaseAuditingPolicy' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Set-AzSqlDatabaseAuditingPolicy' back to the module, or add an alias to the original cmdlet name."
2525
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.SetAzureSqlServerAuditingPolicy","Set-AzSqlServerAuditingPolicy","0","1000","The cmdlet 'Set-AzSqlServerAuditingPolicy' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Set-AzSqlServerAuditingPolicy' back to the module, or add an alias to the original cmdlet name."
26-
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.UseAzureSqlServerAuditingPolicy","Use-AzSqlServerAuditingPolicy","0","1000","The cmdlet 'Use-AzSqlServerAuditingPolicy' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Use-AzSqlServerAuditingPolicy' back to the module, or add an alias to the original cmdlet name."
26+
"Microsoft.Azure.Commands.Sql.dll","Microsoft.Azure.Commands.Sql.Auditing.Cmdlet.UseAzureSqlServerAuditingPolicy","Use-AzSqlServerAuditingPolicy","0","1000","The cmdlet 'Use-AzSqlServerAuditingPolicy' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Use-AzSqlServerAuditingPolicy' back to the module, or add an alias to the original cmdlet name."
27+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.UpdateAzureSqlDatabaseVulnerabilityAssessmentSettings","Update-AzSqlDatabaseVulnerabilityAssessmentSettings","0","2020","The cmdlet 'Update-AzSqlDatabaseVulnerabilityAssessmentSettings' no longer supports the type 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentSettingsModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentSettingsModel'."
28+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentScan.ConvertAzureSqlDatabaseVulnerabilityAssessmentScan","Convert-AzSqlDatabaseVulnerabilityAssessmentScan","0","2020","The cmdlet 'Convert-AzSqlDatabaseVulnerabilityAssessmentScan' no longer supports the type 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanRecordModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanRecordModel'."
29+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentScan.GetAzureSqlDatabaseVulnerabilityAssessmentScanRecord","Get-AzSqlDatabaseVulnerabilityAssessmentScanRecord","0","3030","The generic type for 'property Errors' has been changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanErrorModel]' to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.VulnerabilityAssessmentScanErrorModel]'. ","Change the generic type for 'property Errors' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanErrorModel]'."
30+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentScan.StartAzureSqlDatabaseVulnerabilityAssessmentScan","Start-AzSqlDatabaseVulnerabilityAssessmentScan","0","3030","The generic type for 'property Errors' has been changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanErrorModel]' to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.VulnerabilityAssessmentScanErrorModel]'. ","Change the generic type for 'property Errors' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentScanErrorModel]'."
31+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentRuleBaseline.ClearSqlDatabaseVulnerabilityAssessmentRuleBaseline","Clear-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline","0","3030","The generic type for 'property BaselineResult' has been changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]' to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.VulnerabilityAssessmentRuleBaselineRowModel]'. ","Change the generic type for 'property BaselineResult' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]'."
32+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentRuleBaseline.GetAzureSqlDatabaseVulnerabilityAssessmentRuleBaseline","Get-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline","0","3030","The generic type for 'property BaselineResult' has been changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]' to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.VulnerabilityAssessmentRuleBaselineRowModel]'. ","Change the generic type for 'property BaselineResult' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]'."
33+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentRuleBaseline.SetAzureSqlDatabaseVulnerabilityAssessmentRuleBaseline","Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline","0","3030","The generic type for 'property BaselineResult' has been changed from 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]' to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.VulnerabilityAssessmentRuleBaselineRowModel]'. ","Change the generic type for 'property BaselineResult' back to 'System.Collections.Generic.IList`1[Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineRowModel]'."
34+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Cmdlet.VulnerabilityAssessmentRuleBaseline.SetAzureSqlDatabaseVulnerabilityAssessmentRuleBaseline","Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline","0","2020","The cmdlet 'Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline' no longer supports the type 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineModel' for parameter 'InputObject'.","Change the type for parameter 'InputObject' back to 'Microsoft.Azure.Commands.Sql.VulnerabilityAssessment.Model.DatabaseVulnerabilityAssessmentRuleBaselineModel'."

tools/StaticAnalysis/Exceptions/Az.Sql/SignatureIssues.csv

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,9 @@
210210
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.TransparentDataEncryption.Cmdlet.AddAzureRmSqlServerTransparentDataEncryptionCertificate","Add-AzSqlServerTransparentDataEncryptionCertificate","2","8200","Add-AzSqlServerTransparentDataEncryptionCertificate changes the confirm impact. Please ensure that the change in ConfirmImpact is justified","Verify that ConfirmImpact is changed appropriately by the cmdlet. It is very rare for a cmdlet to change the ConfirmImpact."
211211
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.GetAzureSqlDatabaseVulnerabilityAssessmentSettings","Get-AzSqlDatabaseVulnerabilityAssessmentSettings","1","8400","Get-AzSqlDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
212212
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.ClearSqlDatabaseVulnerabilityAssessmentSettings","Clear-AzSqlDatabaseVulnerabilityAssessmentSettings","1","8400","Clear-AzSqlDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
213-
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.UpdateAzureSqlDatabaseVulnerabilityAssessmentSettings","Update-AzSqlDatabaseVulnerabilityAssessmentSettings","1","8400","Update-AzSqlDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
213+
"Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.UpdateAzureSqlDatabaseVulnerabilityAssessmentSettings","Update-AzSqlDatabaseVulnerabilityAssessmentSettings","1","8400","Update-AzSqlDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
214+
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
215+
"c:\workspace\powershell\artifacts\Debug\Az.Sql\Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.ClearSqlManagedDatabaseVulnerabilityAssessmentSettings","Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings","1","8400","Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlInstanceDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
216+
"c:\workspace\powershell\artifacts\Debug\Az.Sql\Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.GetAzureSqlManagedDatabaseVulnerabilityAssessmentSettings","Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings","1","8400","Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlInstanceDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
217+
"c:\workspace\powershell\artifacts\Debug\Az.Sql\Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.UpdateAzureSqlManagedDatabaseVulnerabilityAssessmentSettings","Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings","1","8400","Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings uses the noun 'AzSqlInstanceDatabaseVulnerabilityAssessmentSettings', which does not follow the enforced naming convention of using a singular noun for a cmdlet name.","Consider using a singular noun for the cmdlet name."
218+
"c:\workspace\powershell\artifacts\Debug\Az.Sql\Microsoft.Azure.PowerShell.Cmdlets.Sql.dll","Microsoft.Azure.Commands.Sql.VulnerabilityAssessmentSettings.Cmdlet.UpdateAzureSqlManagedDatabaseVulnerabilityAssessmentSettings","Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings","1","8410","Parameter EmailAdmins of cmdlet Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSettings 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)