Azure / Azure/azure-rest-api-specs

[Security] AdvancedThreatProtection_Get returns out of date value

Open
#25,232 0 comments 0 reactions 0 assignees View on GitHub
Security Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

the `get` operation returns old value some times after an `AdvancedThreatPRotection_Create` called some times.

e.g.:
request1: `AdvancedThreatProtection_Create` with `isEnabled` set to `false`
request2: `AdvancedThreatProtection_Create` with `isEnabled` set to `true`
request3: `AdvancedThreatProtection_Get` on the same resource, we might get `false`

swagger path: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/security/resource-manager/Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json

Contributor guide

Open the contributing guide

Research direction

Start with specification/security/resource-manager/Microsoft.Security/stable/2019-01-01/advancedThreatProtectionSettings.json and compare the documented AdvancedThreatProtection_Create and AdvancedThreatProtection_Get operations. The report describes a possibly stale service response but does not identify a repository change, test, or clear definition of done; confirm whether the API specification can represent the issue before proceeding.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.