Werk #19285 · May 15, 26
Fix Azure usage details crash for missing or empty ResourceType
Previously, the Azure usage details check crashed with a KeyError when the
Azure API returned a cost entry without a ResourceType field, or produced
incorrectly named services when ResourceType was an empty or whitespace-only
string.
The check now handles all these cases gracefully. Entries with a missing,
empty, or whitespace-only ResourceType are grouped under the service
Azure/Costs Unattributed instead of causing an error.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p4All Editions
- 2.4.0p30All Editions