github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/scanners/azure/arm/parser/testdata/postgres.json (about) 1 { 2 "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", 3 "contentVersion": "1.0.0.0", 4 "metadata": { 5 "_generator": { 6 "name": "bicep", 7 "version": "0.10.61.36676", 8 "templateHash": "8074447630975889785" 9 } 10 }, 11 "resources": [ 12 { 13 "type": "Microsoft.DBforPostgreSQL/servers", 14 "apiVersion": "2017-12-01", 15 "name": "myPostgreSQLServer", 16 "location": "westus", 17 "identity": { 18 "type": "SystemAssigned" 19 }, 20 "properties": { 21 "administratorLogin": "myadmin", 22 "administratorLoginPassword": "myadminpassword", 23 "version": "9.6", 24 "sslEnforcement": "Enabled", 25 "storageProfile": { 26 "storageMB": 5120 27 }, 28 "createMode": "Default", 29 "minimalTlsVersion": "1.2", 30 "publicNetworkAccess": "Enabled", 31 "FirewallRules": [ 32 { 33 "name": "AllowAllAzureIps", 34 "startIpAddress": "0.0.0.0/0" 35 } 36 ] 37 } 38 }, 39 { 40 "type": "Microsoft.DBforPostgreSQL/servers/configurations", 41 "apiVersion": "2017-12-01", 42 "name": "[format('{0}/{1}', 'myPostgreSQLServer', 'connection_throttling')]", 43 "properties": { 44 "value": "OFF" 45 }, 46 "dependsOn": [ 47 "[resourceId('Microsoft.DBforPostgreSQL/servers', 'myPostgreSQLServer')]" 48 ] 49 }, 50 { 51 "type": "Microsoft.DBforPostgreSQL/servers/configurations", 52 "apiVersion": "2017-12-01", 53 "name": "[format('{0}/{1}', 'myPostgreSQLServer', 'log_checkpoints')]", 54 "properties": { 55 "value": "OFF" 56 }, 57 "dependsOn": [ 58 "[resourceId('Microsoft.DBforPostgreSQL/servers', 'myPostgreSQLServer')]" 59 ] 60 }, 61 { 62 "type": "Microsoft.DBforPostgreSQL/servers/configurations", 63 "apiVersion": "2017-12-01", 64 "name": "[format('{0}/{1}', 'myPostgreSQLServer', 'log_connections')]", 65 "properties": { 66 "value": "OFF" 67 }, 68 "dependsOn": [ 69 "[resourceId('Microsoft.DBforPostgreSQL/servers', 'myPostgreSQLServer')]" 70 ] 71 } 72 ] 73 }