Azure / Azure/azure-rest-api-specs

Filtering by name

Open
#28,207 0 comments 0 reactions 0 assignees View on GitHub
customer-reported Mgmt question SecurityInsights Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

### API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2023-11-01/Incidents.json

### API Spec version

2023-11-01

### Question/Query

When issuing a Get request to https://management.azure.com/subscriptions/XYZ/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/incidents?api-version=2023-11-01&$filter=name eq 'XYZ'

using the $filter to filter by "name", I am coming up empty:
![image](https://github.com/Azure/azure-rest-api-specs/assets/20712316/56ac52bb-befa-4bba-bf9c-b3be7a5926ed)
But I know 1000% the guid I am using here: $filter=name eq 'XYZ' is an actual sentinel incident guid, because I am getting the guid from the sentinel incident link itself. any ideas why I am coming up empty?

### Environment

Using the "Try it" button here: https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list?view=rest-securityinsights-2023-11-01&tabs=HTTP

on a Windows 11 computer.
Also get the same results on POSTMAN

Contributor guide

Open the contributing guide

Research direction

Start with specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2023-11-01/Incidents.json and compare its incident properties with the documented list endpoint and the reported $filter=name request. Verify whether name is a supported filter field and whether the service behavior matches the specification. Done means the supported filtering behavior is established and the specification or guidance accurately reflects it.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.