Open applefacts opened 7 months ago
I believe az security task is deprecated, please confirm as it's pulling outdated and deprecated recommendations
az security task list --query "[?securityTaskParameters.name=='Enable Security Contact Configuration in Policy']"
No error but it is not pulling relevant information
[ { "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" } ]
Marked deprecation notice
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
No response
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @zivraf.
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
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