CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThe SQL vulnerability assessment service scans databases for known security vulnerabilities and highlights issues such as misconfigurations, excessive permissions, and unprotected sensitive data.
Set isEnabled
attribute to true
in properties.recurringScans
.
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"name": "example698a1/allowed",
"type": "Microsoft.Sql/servers/vulnerabilityAssessments",
"apiVersion": "2018-06-01-preview",
"properties": {
"storageContainerPath": "[concat(reference(resourceId('Microsoft.Storage/storageAccounts', 'example698')).primaryEndpoints.blob, 'vulnerability-assessment')]",
"storageAccountAccessKey": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', 'example698'), '2018-02-01').keys[0].value]",
"recurringScans": {
"isEnabled": true,
"emailSubscriptionAdmins": true,
"emails": []
}
},
"dependsOn": [
"[concat('Microsoft.Storage/storageAccounts/', 'example698')]",
"[concat('Microsoft.Sql/servers/', 'example698a1', '/securityAlertPolicies/Default')]"
]
}
]
}
Set recurring_scans.enabled
attribute to true
.
resource "azurerm_mssql_server_vulnerability_assessment" "allow" {
server_security_alert_policy_id = azurerm_mssql_server_security_alert_policy.example698a.id
storage_container_path = "${azurerm_storage_account.example698a.primary_blob_endpoint}${azurerm_storage_container.example698a.name}/"
storage_account_access_key = azurerm_storage_account.example698a.primary_access_key
recurring_scans {
enabled = true
email_subscription_admins = true
emails = [
"email@example1.com",
"email@example2.com"
]
}
}