Azure Defender for SQLAzure Defender for SQL

适用于: Azure SQL 数据库 Azure SQL 托管实例 Azure Synapse Analytics

Azure Defender for SQL 是高级 SQL 安全功能的统一包。Azure Defender for SQL is a unified package for advanced SQL security capabilities. Azure Defender 可用于 Azure SQL 数据库、Azure SQL 托管实例和 Azure Synapse Analytics。Azure Defender is available for Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics. 它包括用于发现和分类敏感数据、呈现和减少潜在数据库漏洞,以及检测可能表明数据库有威胁的异常活动的功能。It includes functionality for discovering and classifying sensitive data, surfacing and mitigating potential database vulnerabilities, and detecting anomalous activities that could indicate a threat to your database. 它提供用于启用和管理这些功能的一个转到位置。It provides a single go-to location for enabling and managing these capabilities.


Azure Defender 提供一组高级 SQL 安全功能,包括 SQL 漏洞评估和高级威胁防护。Azure Defender provides a set of advanced SQL security capabilities, including SQL Vulnerability Assessment and Advanced Threat Protection.

  • 漏洞评估是一项易于配置的服务,可以发现、跟踪并帮助修正潜在的数据库漏洞。Vulnerability Assessment is an easy-to-configure service that can discover, track, and help you remediate potential database vulnerabilities. 它可用于直观查看安全状态,包括解决安全问题的可操作步骤,并可加强数据库的防御工事。It provides visibility into your security state, and it includes actionable steps to resolve security issues and enhance your database fortifications.
  • 高级威胁防护检测异常活动,指出尝试访问或利用数据库的行为异常且可能有害。Advanced Threat Protection detects anomalous activities indicating unusual and potentially harmful attempts to access or exploit your database. 它连续监视数据库中的可疑活动,并针对潜在漏洞、Azure SQL 注入攻击和异常数据库访问模式提供即时安全警报。It continuously monitors your database for suspicious activities, and it provides immediate security alerts on potential vulnerabilities, Azure SQL injection attacks, and anomalous database access patterns. 高级威胁防护警报提供可疑活动的详细信息,并建议如何调查和缓解威胁。Advanced Threat Protection alerts provide details of the suspicious activity and recommend action on how to investigate and mitigate the threat.

启用 Azure Defender for SQL 之后,其包含的所有功能都会启用。Enable Azure Defender for SQL once to enable all these included features. 只需单击一次,即可为 Azure 或 SQL 托管实例中服务器上的所有数据库启用 Azure Defender。With one click, you can enable Azure Defender for all databases on your server in Azure or in your SQL Managed Instance. 需要属于 SQL 安全管理器角色或者数据库或服务器管理员角色才能启用或管理 Azure Defender 设置。Enabling or managing Azure Defender settings requires belonging to the SQL security manager role, or one of the database or server admin roles.

有关 Azure Defender for SQL 定价的详细信息,请参阅 Azure 安全中心定价页For more information about Azure Defender for SQL pricing, see the Azure Security Center pricing page.

Azure Defender 入门Getting started with Azure Defender

可以通过下列步骤开始使用 Azure Defender。The following steps get you started with Azure Defender.

启用 Azure DefenderEnable Azure Defender

可以通过 Azure 门户访问 Azure Defender。Azure Defender can be accessed through the Azure portal. 通过导航到服务器或托管实例的“安全性”标题下的“安全中心”来启用 Azure Defender 。Enable Azure Defender by navigating to Security Center under the Security heading for your server or managed instance.


系统会自动创建一个存储帐户用于存储 漏洞评估 的扫描结果。A storage account is automatically created and configured to store your Vulnerability Assessment scan results. 如果已为同一个资源组和区域中的另一台服务器启用 Azure Defender,则使用现有的存储帐户。If you've already enabled Azure Defender for another server in the same resource group and region, then the existing storage account is used.

Azure Defender 的成本遵循每个节点的 Azure 安全中心标准层级定价,其中节点是整个服务器或托管实例。The cost of Azure Defender is aligned with Azure Security Center standard tier pricing per node, where a node is the entire server or managed instance. 因此,只需支付一次即可使用 Azure Defender 保护服务器或托管实例上的所有数据库。You are thus paying only once for protecting all databases on the server or managed instance with Azure Defender. 你可以从免费试用版开始试用 Azure Defender。You can try Azure Defender out initially with a free trial.

启用 Azure Defender

开始跟踪漏洞和调查威胁警报Start tracking vulnerabilities and investigating threat alerts

单击“漏洞评估”卡,查看和管理漏洞扫描和报告,并跟踪安全状况。Click the Vulnerability Assessment card to view and manage vulnerability scans and reports, and to track your security stature. 如果收到安全警报,请单击“高级威胁防护”卡,查看警报的详细信息,并通过 Azure 安全中心安全警报页面查看 Azure 订阅中所有警报的综合报告。If security alerts have been received, click the Advanced Threat Protection card to view details of the alerts and to see a consolidated report on all alerts in your Azure subscription via the Azure Security Center security alerts page.

管理 Azure Defender 设置Manage Azure Defender settings

若要查看和管理 Azure Defender 设置,请导航到服务器或托管实例的“安全性”标题下的“安全中心” 。To view and manage Azure Defender settings, navigate to Security Center under the Security heading for your server or managed instance. 在此页上,可以启用或禁用 Azure Defender,以及修改整个服务器或托管实例的漏洞评估和高级威胁防护设置。On this page, you can enable or disable Azure Defender, and modify vulnerability assessment and Advanced Threat Protection settings for your entire server or managed instance.


管理数据库的 Azure Defender 设置Manage Azure Defender settings for a database

若要替代特定数据库的 Azure Defender 设置,请在数据库的“安全中心”设置中勾选“在数据库级别启用 Azure Defender for SQL”复选框 。To override Azure Defender settings for a particular database, check the Enable Azure Defender for SQL at the database level checkbox in your database Security Center settings. 仅当有接收单个数据库的单独高级威胁防护警报或漏洞评估结果这一特殊要求时才使用此选项,以代替或补充为服务器或托管实例上的所有数据库接收的警报和结果。Use this option only if you have a particular requirement to receive separate Advanced Threat Protection alerts or vulnerability assessment results for the individual database, in place of or in addition to the alerts and results received for all databases on the server or managed instance.

选中该复选框后,可以配置此数据库的相关设置。Once the checkbox is selected, you can then configure the relevant settings for this database.

在数据库级别启用 Azure Defender

还可以从 Azure Defender 数据库窗格中访问服务器或托管实例的 Azure Defender for SQL 设置。Azure Defender for SQL settings for your server or managed instance can also be reached from the Azure Defender database pane. 在安全中心主窗格中单击“设置”,然后单击“查看 Azure Defender for SQL 服务器设置” 。Click Settings in the main Security Center pane, and then click View Azure Defender for SQL server settings.

后续步骤Next steps