diff --git a/lib/services/sqlManagement2/lib/models/databaseSecurityAlertPolicy.js b/lib/services/sqlManagement2/lib/models/databaseSecurityAlertPolicy.js index 15281a9d29..fa640a2222 100644 --- a/lib/services/sqlManagement2/lib/models/databaseSecurityAlertPolicy.js +++ b/lib/services/sqlManagement2/lib/models/databaseSecurityAlertPolicy.js @@ -28,7 +28,7 @@ class DatabaseSecurityAlertPolicy extends models['ProxyResource'] { * @member {string} [disabledAlerts] Specifies the semicolon-separated list * of alerts that are disabled, or empty string to disable no alerts. * Possible values: Sql_Injection; Sql_Injection_Vulnerability; - * Access_Anomaly; Usage_Anomaly. + * Access_Anomaly; Data_Exfiltration; Unsafe_Action. * @member {string} [emailAddresses] Specifies the semicolon-separated list * of e-mail addresses to which the alert is sent. * @member {string} [emailAccountAdmins] Specifies that the alert is sent to diff --git a/lib/services/sqlManagement2/lib/models/index.d.ts b/lib/services/sqlManagement2/lib/models/index.d.ts index 10036dc72d..07044a3357 100644 --- a/lib/services/sqlManagement2/lib/models/index.d.ts +++ b/lib/services/sqlManagement2/lib/models/index.d.ts @@ -174,7 +174,7 @@ export interface ServerConnectionPolicy extends ProxyResource { * @member {string} [disabledAlerts] Specifies the semicolon-separated list of * alerts that are disabled, or empty string to disable no alerts. Possible * values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly; - * Usage_Anomaly. + * Data_Exfiltration; Unsafe_Action. * @member {string} [emailAddresses] Specifies the semicolon-separated list of * e-mail addresses to which the alert is sent. * @member {string} [emailAccountAdmins] Specifies that the alert is sent to @@ -2943,7 +2943,7 @@ export interface ServerDnsAliasAcquisition { * enabled or disabled. Possible values include: 'New', 'Enabled', 'Disabled' * @member {array} [disabledAlerts] Specifies an array of alerts that are * disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, - * Access_Anomaly + * Access_Anomaly, Data_Exfiltration, Unsafe_Action * @member {array} [emailAddresses] Specifies an array of e-mail addresses to * which the alert is sent. * @member {boolean} [emailAccountAdmins] Specifies that the alert is sent to diff --git a/lib/services/sqlManagement2/lib/models/serverSecurityAlertPolicy.js b/lib/services/sqlManagement2/lib/models/serverSecurityAlertPolicy.js index 4d2415060c..51a8322dd0 100644 --- a/lib/services/sqlManagement2/lib/models/serverSecurityAlertPolicy.js +++ b/lib/services/sqlManagement2/lib/models/serverSecurityAlertPolicy.js @@ -24,7 +24,7 @@ class ServerSecurityAlertPolicy extends models['ProxyResource'] { * enabled or disabled. Possible values include: 'New', 'Enabled', 'Disabled' * @member {array} [disabledAlerts] Specifies an array of alerts that are * disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, - * Access_Anomaly + * Access_Anomaly, Data_Exfiltration, Unsafe_Action * @member {array} [emailAddresses] Specifies an array of e-mail addresses to * which the alert is sent. * @member {boolean} [emailAccountAdmins] Specifies that the alert is sent to diff --git a/lib/services/sqlManagement2/lib/operations/databaseThreatDetectionPolicies.js b/lib/services/sqlManagement2/lib/operations/databaseThreatDetectionPolicies.js index 59c3cd9e03..ba77c2a177 100644 --- a/lib/services/sqlManagement2/lib/operations/databaseThreatDetectionPolicies.js +++ b/lib/services/sqlManagement2/lib/operations/databaseThreatDetectionPolicies.js @@ -193,7 +193,8 @@ function _get(resourceGroupName, serverName, databaseName, options, callback) { * @param {string} [parameters.disabledAlerts] Specifies the * semicolon-separated list of alerts that are disabled, or empty string to * disable no alerts. Possible values: Sql_Injection; - * Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. + * Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; + * Unsafe_Action. * * @param {string} [parameters.emailAddresses] Specifies the * semicolon-separated list of e-mail addresses to which the alert is sent. @@ -527,7 +528,8 @@ class DatabaseThreatDetectionPolicies { * @param {string} [parameters.disabledAlerts] Specifies the * semicolon-separated list of alerts that are disabled, or empty string to * disable no alerts. Possible values: Sql_Injection; - * Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. + * Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; + * Unsafe_Action. * * @param {string} [parameters.emailAddresses] Specifies the * semicolon-separated list of e-mail addresses to which the alert is sent. @@ -600,7 +602,8 @@ class DatabaseThreatDetectionPolicies { * @param {string} [parameters.disabledAlerts] Specifies the * semicolon-separated list of alerts that are disabled, or empty string to * disable no alerts. Possible values: Sql_Injection; - * Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. + * Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; + * Unsafe_Action. * * @param {string} [parameters.emailAddresses] Specifies the * semicolon-separated list of e-mail addresses to which the alert is sent. diff --git a/lib/services/sqlManagement2/lib/operations/index.d.ts b/lib/services/sqlManagement2/lib/operations/index.d.ts index 5ed60905f1..478fc2343b 100644 --- a/lib/services/sqlManagement2/lib/operations/index.d.ts +++ b/lib/services/sqlManagement2/lib/operations/index.d.ts @@ -1419,7 +1419,8 @@ export interface DatabaseThreatDetectionPolicies { * @param {string} [parameters.disabledAlerts] Specifies the * semicolon-separated list of alerts that are disabled, or empty string to * disable no alerts. Possible values: Sql_Injection; - * Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. + * Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; + * Unsafe_Action. * * @param {string} [parameters.emailAddresses] Specifies the * semicolon-separated list of e-mail addresses to which the alert is sent. @@ -1480,7 +1481,8 @@ export interface DatabaseThreatDetectionPolicies { * @param {string} [parameters.disabledAlerts] Specifies the * semicolon-separated list of alerts that are disabled, or empty string to * disable no alerts. Possible values: Sql_Injection; - * Sql_Injection_Vulnerability; Access_Anomaly; Usage_Anomaly. + * Sql_Injection_Vulnerability; Access_Anomaly; Data_Exfiltration; + * Unsafe_Action. * * @param {string} [parameters.emailAddresses] Specifies the * semicolon-separated list of e-mail addresses to which the alert is sent. @@ -25884,7 +25886,8 @@ export interface ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -25932,7 +25935,8 @@ export interface ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -26000,7 +26004,8 @@ export interface ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -26048,7 +26053,8 @@ export interface ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. diff --git a/lib/services/sqlManagement2/lib/operations/serverSecurityAlertPolicies.js b/lib/services/sqlManagement2/lib/operations/serverSecurityAlertPolicies.js index 8113085939..dbe17f3e64 100644 --- a/lib/services/sqlManagement2/lib/operations/serverSecurityAlertPolicies.js +++ b/lib/services/sqlManagement2/lib/operations/serverSecurityAlertPolicies.js @@ -180,7 +180,8 @@ function _get(resourceGroupName, serverName, options, callback) { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -286,7 +287,8 @@ function _createOrUpdate(resourceGroupName, serverName, parameters, options, cal * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -581,7 +583,8 @@ class ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -641,7 +644,8 @@ class ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -724,7 +728,8 @@ class ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. @@ -784,7 +789,8 @@ class ServerSecurityAlertPolicies { * * @param {array} [parameters.disabledAlerts] Specifies an array of alerts that * are disabled. Allowed values are: Sql_Injection, - * Sql_Injection_Vulnerability, Access_Anomaly + * Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, + * Unsafe_Action * * @param {array} [parameters.emailAddresses] Specifies an array of e-mail * addresses to which the alert is sent. diff --git a/lib/services/sqlManagement2/package.json b/lib/services/sqlManagement2/package.json index 004e51c885..02fb5c8a77 100644 --- a/lib/services/sqlManagement2/package.json +++ b/lib/services/sqlManagement2/package.json @@ -2,7 +2,7 @@ "name": "azure-arm-sql", "author": "Microsoft Corporation", "description": "SqlManagementClient Library with typescript type definitions for node", - "version": "5.0.0", + "version": "5.0.1", "dependencies": { "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5"