Skip to content

az security task deprecated #28363

Description

@applefacts

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Securityaz securityService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions