output/20260723_081532/govviz/ALZ_20260723_081601/Enterprise-Scale/src/resources/Microsoft.Authorization/policySetDefinitions/Enforce-Guardrails-PostgreSQL.json

{
    "name": "Enforce-Guardrails-PostgreSQL",
    "type": "Microsoft.Authorization/policySetDefinitions",
    "apiVersion": "2023-04-01",
    "scope": null,
    "properties": {
        "policyType": "Custom",
        "displayName": "Enforce recommended guardrails for PostgreSQL",
        "description": "This policy initiative is a group of policies that ensures PostgreSQL is compliant per regulated Landing Zones.",
        "metadata": {
            "version": "1.1.0",
            "category": "PostgreSQL",
            "source": "https://github.com/Azure/Enterprise-Scale/",
            "alzCloudEnvironments": [
                "AzureCloud",
                "AzureChinaCloud",
                "AzureUSGovernment"
            ]
        },
        "parameters": {
            "postgreSqlAdvThreatProtection": {
                "type": "string",
                "defaultValue": "DeployIfNotExists",
                "allowedValues": [
                    "DeployIfNotExists",
                    "Disabled"
                ]
            }
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/db048e65-913c-49f9-bb5f-1084184671d3",
                "policyDefinitionReferenceId": "Dine-PostgreSql-Adv-Threat-Protection",
                "definitionVersion": "1.*.*",
                "groupNames": [],
                "parameters": {
                    "effect": {
                        "value": "[[parameters('postgreSqlAdvThreatProtection')]"
                    }
                }
            }
        ],
        "policyDefinitionGroups": null
    }
}