Azure / Azure/azure-cli

az security task deprecated

Open
#28,363 2 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad bug customer-reported Security Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.