Azure / Azure/azure-rest-api-specs
[Security]ComplianceResults_List Operation will get an incorrect response
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
* Package: Azure.ResourceManager.SecurityCenter
* Path: specification\security\resource-manager\Microsoft.Security\stable\2017-08-01\complianceResults.json
* Operation: ComplianceResults_List
List ComplianceResults, if the response value count >10, will get
```
{
"value":[
.......... // ten objects
],
"nextLink": "_dynamic"
}
```
it returns an incorrect next page URI and then throws `Azure.RequestFailedException : The api-version query parameter (?api-version=) is required for all requests.`
Contributor guide
Research direction
Start by inspecting specification\security\resource-manager\Microsoft.Security\stable\2017-08-01\complianceResults.json and the ComplianceResults_List operation. Reproduce a response with more than ten values and trace the generated next-page URI; done means the URI preserves the required api-version query parameter and the next request succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100