Azure / Azure/azure-rest-api-specs

`SecurityInsight@2022-10-01-preview`: `SecurityMLAnalyticsSettings_List ` sometime return ID in wrong format.

Open
#22,500 1 comment 0 reactions 0 assignees View on GitHub
SecurityInsights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
6k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

some times, the `id` property of items in response lack of workspace name like below. May because the {rg_name} and {workspace_name} are too long?

```
"id": "/subscriptions/{sub_id}/resourceGroups/{rg_name}/providers/Microsoft.OperationalInsights/workspaces//providers/Microsoft.SecurityInsights/securityMLAnalyticsSettings/5020e404-9768-4364-98f6-679940c21362",
```

Contributor guide

Open the contributing guide

Research direction

Start with the SecurityMLAnalyticsSettings_List operation in the SecurityInsight@2022-10-01-preview API specification and compare its response identifiers with the malformed example. Determine why the workspace name is missing from the id, then verify that returned ids consistently include the workspace name.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.