github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/pkg/fanal/artifact/local/testdata/misconfig/azurearm/passed/src/deploy.json (about)

     1  {
     2    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
     3    "contentVersion": "1.0.0.0",
     4    "parameters": {
     5      "storageAccountType": {
     6        "type": "string",
     7        "defaultValue": "Standard_LRS",
     8        "allowedValues": [
     9          "Standard_LRS",
    10          "Standard_GRS",
    11          "Standard_ZRS",
    12          "Premium_LRS"
    13        ],
    14        "metadata": {
    15          "description": "Storage Account type"
    16        }
    17      },
    18      "location": {
    19        "type": "string",
    20        "defaultValue": "[resourceGroup().location]",
    21        "metadata": {
    22          "description": "Location for all resources."
    23        }
    24      }
    25    },
    26    "variables": {
    27      "storageAccountName": "[concat('store', uniquestring(resourceGroup().id))]"
    28    },
    29    "resources": [
    30      {
    31        "type": "Microsoft.Storage/storageAccounts",
    32        "name": "[variables('storageAccountName')]",
    33        "location": "[parameters('location')]",
    34        "apiVersion": "2018-07-01",
    35        "sku": {
    36          "name": "[parameters('storageAccountType')]"
    37        },
    38        "kind": "StorageV2",
    39        "properties": {}
    40      }
    41    ],
    42    "outputs": {
    43      "storageAccountName": {
    44        "type": "string",
    45        "value": "[variables('storageAccountName')]"
    46      }
    47    }
    48  }