Azure / Azure/azure-rest-api-specs
firewall_policy (2020-03-01): `FirewallPolicyNatRuleActionType` is defined as `DNAT` while service returns `Dnat`
Open
bug
Network - Firewall
Service Attention
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
(At least) In version 2020-03-01, the `FirewallPolicyNatRuleActionType` enum allows accept `DNAT`, while the response of that attribute is `Dnat`. This causes some unnecessary diff for IaC tool (such as terraform).
To make the API idempotent, suggest to return the `FirewallPolicyNatRuleActionType` unchanged.
Contributor guide
Research direction
Locate the version 2020-03-01 firewall_policy specification and inspect the FirewallPolicyNatRuleActionType enum. Compare the accepted DNAT value with the service's Dnat response, then verify that the specification preserves the service casing and avoids an IaC diff.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100