azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzSecurityTask RecommendationType is not consistent

Open ThomasAnnerel opened this issue 6 years ago • 3 comments

Strange that the RecommendationType is actually more a description instead of a type.

Here you find some live examples: Example on Descriptions:

  • Diagnostic logs in Service Bus should be enabled
  • Remote debugging should be turned off for API App.
  • DDoS Protection Standard should be enabled Example on Types
  • EncryptionOnVm Al these values come from the RecommendationTYpe

I would expect to have 2 variable returning from Az.Security Get-AzSecurityTask RecommendationType: containing a small unique string like EncryptionOnVm RecommendationDescription: Containing the explanation

ThomasAnnerel avatar Jan 24 '20 07:01 ThomasAnnerel

Thanks for your suggestion. Forward it to security team.

dingmeng-xue avatar Jan 24 '20 15:01 dingmeng-xue

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc

ghost avatar Jan 24 '20 15:01 ghost

The tasks API is pending deprecation. Please use assessment API instead (https://docs.microsoft.com/en-us/rest/api/securitycenter/assessments/get)

omerchechik avatar Oct 15 '20 13:10 omerchechik