diff --git a/src/Sql/Sql/help/Set-AzSqlDatabaseAudit.md b/src/Sql/Sql/help/Set-AzSqlDatabaseAudit.md index 8dea420257cc..bc23cecc7401 100644 --- a/src/Sql/Sql/help/Set-AzSqlDatabaseAudit.md +++ b/src/Sql/Sql/help/Set-AzSqlDatabaseAudit.md @@ -50,12 +50,12 @@ PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName " PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -BlobStorageTargetState Disabled ``` -### Example 3: Enable the blob storage auditing policy of an Azure SQL database with advanced filtering using a T-SQL predicate +### Example 3: Enable the blob storage auditing policy of an Azure SQL database with filtering using a T-SQL predicate ```powershell -PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -PredicateExpression "statement <> 'select 1'" -BlobStorageTargetState Enabled -StorageAccountResourceId "/subscriptions/7fe3301d-31d3-4668-af5e-211a890ba6e3/resourceGroups/resourcegroup01/providers/Microsoft.Storage/storageAccounts/mystorage" +PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -PredicateExpression "schema_name <> 'sys''" -BlobStorageTargetState Enabled -StorageAccountResourceId "/subscriptions/7fe3301d-31d3-4668-af5e-211a890ba6e3/resourceGroups/resourcegroup01/providers/Microsoft.Storage/storageAccounts/mystorage" ``` -### Example 4: Remove the advanced filtering setting from the auditing policy of an Azure SQL database +### Example 4: Remove the filtering from the auditing policy of an Azure SQL database ```powershell PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -PredicateExpression "" ```