Azure / Azure/PSRule.Rules.Azure

[RULE] Backup for Cloud SQL databases `Microsoft.DBforPostgreSQL/flexibleServers`

Open
#3,086 0 comments 0 reactions 0 assignees View on GitHub
pillar: security rule: postgresql
Dominant language
PowerShell
Stars
447
Forks
109
Avg merge
2d 19h
Merged PRs (30d)
23

Description

### Existing rule

_No response_

### Suggested rule

It's recommended to have all SQL database instances set to enable automated backups. Backups provide a way to restore a Cloud SQL instance to recover lost data or recover from a problem with that instance. Automated backups need to be set for any instance that contains data that should be protected from loss or damage. This recommendation is applicable for SQL Server, PostgreSql, MySql generation 1, and MySql generation 2 instances.

Source: [Ensure that Cloud SQL database instances are configured with automated backups](https://learn.microsoft.com/en-us/azure/defender-for-cloud/recommendations-reference-data#ensure-that-cloud-sql-database-instances-are-configured-with-automated-backups)

- Azure Database for PostgreSQL flexible servers are backed up automatically.

### Pillar

Security

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.