Skip to content

Commit 3b71064

Browse files
removed marketing language, better example filter (#13671)
1 parent 358af6f commit 3b71064

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Sql/Sql/help/Set-AzSqlDatabaseAudit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "
5050
PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -BlobStorageTargetState Disabled
5151
```
5252

53-
### Example 3: Enable the blob storage auditing policy of an Azure SQL database with advanced filtering using a T-SQL predicate
53+
### Example 3: Enable the blob storage auditing policy of an Azure SQL database with filtering using a T-SQL predicate
5454
```powershell
55-
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"
55+
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"
5656
```
5757

58-
### Example 4: Remove the advanced filtering setting from the auditing policy of an Azure SQL database
58+
### Example 4: Remove the filtering from the auditing policy of an Azure SQL database
5959
```powershell
6060
PS C:\>Set-AzSqlDatabaseAudit -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -DatabaseName "Database01" -PredicateExpression ""
6161
```

0 commit comments

Comments
 (0)