Azure / PSRule.Rules.Azure

Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
https://azure.github.io/PSRule.Rules.Azure/
MIT License
383 stars 84 forks source link

[RULE] CosmosDB continuous backup mode #2954

Closed jeanchg closed 1 month ago

jeanchg commented 1 month ago

Existing rule

No response

Suggested rule

As per APRL recommendation, configuring Cosmos DB's backup to always on, offers protection against data mishaps. Continuous mode allows for self-serve restoration to a pre-mishap point, unlike periodic mode which requires contacting Microsoft support, leading to longer restore times.

Resource Type: Microsoft.DocumentDb/databaseAccounts

Pillar

Reliability

Additional context

Continuous backup with point in time restore feature in Azure Cosmos DB | Microsoft Learn