Azure / Azure/azure-rest-api-specs
[BUG]SecurityInsight: `ThreatIntelligenceIndicator_Get` returns inconsistent response
- 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/265f1bbcb042c0fa85ece9f76ba744beb4bada0f/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-10-01-preview/ThreatIntelligence.json#L156
### API Spec version
2022-10-01
### Describe the bug
After an indicator created by [`ThreatIntelligenceIndicator_Create`](https://github.com/Azure/azure-rest-api-specs/blob/265f1bbcb042c0fa85ece9f76ba744beb4bada0f/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-10-01-preview/ThreatIntelligence.json#L199), the [`ThreatIntelligenceIndicator_Get`](https://github.com/Azure/azure-rest-api-specs/blob/265f1bbcb042c0fa85ece9f76ba744beb4bada0f/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2022-10-01-preview/ThreatIntelligence.json#L156) may return HTTP 404 in a period.
### Expected behavior
The GET request returns actual resource after the creation request finishes.
### Actual behavior
The GET request was returned HTTP 404
### Reproduction Steps
1. call the create API to create a new indicator
2. cal the GET API once the creation call finishes.
### Environment
_No response_
Contributor guide
Research direction
Start with the linked ThreatIntelligence.json specification at the Create and Get operation definitions. Reproduce the sequence described by creating an indicator and immediately requesting it, then compare the documented responses and operation behavior. Done means the specification or related issue captures a verified, consistent outcome for the post-create GET request.
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
- 30/100