Azure / Azure/azure-rest-api-specs

`SecurityInsight`: `markingRef` of `ThreatIntelligenceGranularMarkingModel` defined as int32 but get string

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

Description

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

It's defined as int32 but what we get is string.
response
```
"markingRef": "0",
```

Contributor guide

Open the contributing guide

Research direction

Start at specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2023-02-01/ThreatIntelligence.json around line 769 and inspect the ThreatIntelligenceGranularMarkingModel markingRef definition alongside the reported response. Confirm the wire type and update the specification so the declared type matches the returned value; done when the generated API description represents markingRef correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.