Werk #19285: Fix Azure usage details crash for missing or empty ResourceType
| Component | Checks & agents | ||||||
| Title | Fix Azure usage details crash for missing or empty ResourceType | ||||||
| Date | May 15, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
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.