Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.96k forks source link

az security task deprecated #28363

Open applefacts opened 7 months ago

applefacts commented 7 months ago

Describe the bug

I believe az security task is deprecated, please confirm as it's pulling outdated and deprecated recommendations

Related command

az security task list --query "[?securityTaskParameters.name=='Enable Security Contact Configuration in Policy']"

Errors

No error but it is not pulling relevant information

Issue script & Debug output

[ { "creationTimeUtc": "2021-11-15T15:53:31.818967+00:00", "id": "/subscriptions//providers/Microsoft.Security/locations/westcentralus/tasks/7f880528-2a40-43d3-b012-2a3d9117f987", "lastStateChangeTimeUtc": "2021-11-15T15:53:31.818967+00:00", "name": "7f880528-2a40-43d3-b012-2a3d9117f987", "securityTaskParameters": { "name": "Enable Security Contact Configuration in Policy", "resourceId": "/subscriptions/", "uniqueKey": "" }, "state": "Active", "subState": "NA", "type": "Microsoft.Security/locations/westcentralus/tasks" } ]

Expected behavior

Marked deprecation notice

Environment Summary

                                                                                                                                               azure-cli                         2.57.0

core 2.57.0 telemetry 1.1.0

Extensions: ai-examples 0.2.5 ml 2.22.0 sentinel 0.2.0 ssh 2.0.2

Dependencies: msal 1.26.0 azure-mgmt-resource 23.1.0b2

Additional context

No response

yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 7 months ago

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