Azure / Azure/azure-rest-api-specs
Failed to delete Security Center Assessment Policy
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Recently we found service API failed to delete Security Center Assessment Policy with below error. Could you take a look this issue? Thanks.
Request payload:
```
DELETE https://management.azure.com/subscriptions/xx-xx-xxx-xxx/providers/Microsoft.Security/assessmentMetadata/xx-xx-xxx-xxx-xx
```
Error Message:
```
{
"status": {
"value": "Failed",
"localizedValue": "Failed"
},
"subStatus": {
"value": "InternalServerError",
"localizedValue": "Internal Server Error (HTTP Status Code: 500)"
},
"properties": {
"statusCode": "InternalServerError",
"statusMessage": "{\"error\":{\"code\":\"InternalServerError\",\"message\":\"\"}}",
"message": "Microsoft.Security/assessmentMetadata/delete"
}
}
```
Contributor guide
Research direction
Start by reproducing the DELETE request for the Microsoft.Security assessmentMetadata resource and inspect the corresponding Azure REST API specification. Done means determining whether the HTTP 500 is caused by the specification or the service, then recording the required follow-up or specification change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100