File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
src/ResourceManager/Sql/Commands.Sql Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ This parameter is not required.
16
16
17
17
public const string RetentionInDaysHelpMessage = "The number of retention days for the audit logs." ;
18
18
19
- public const string PredicateExpressionHelpMessage = "The statement of the Where Clause used to filter audit logs." ;
19
+ public const string PredicateExpressionHelpMessage = "The T-SQL predicate (WHERE clause) used to filter audit logs." ;
20
20
21
21
public const string AuditActionHelpMessage =
22
22
@"The set of audit actions.
Original file line number Diff line number Diff line change 19
19
-->
20
20
## Current Release
21
21
* Fixed issue with using Get-AzureRmSqlDatabaseVulnerabilityAssessment with DotNet core
22
+ * Modified documentation of help messages related to SQL Auditing cmdlets.
22
23
23
24
## Version 4.12.0
24
25
* Added new cmdlets for CRUD operations on Azure Sql Database Managed Instance and Azure Sql Managed Database
Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ PS C:\>Set-AzureRmSqlDatabaseAuditing -State Disabled -ResourceGroupName "Resour
58
58
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -StorageAccountSubscriptionId "7fe3301d-31d3-4668-af5e-211a890ba6e3"
59
59
```
60
60
61
- ### Example 4: Enable the extended auditing policy of an Azure SQL database
61
+ ### Example 4: Enable the auditing policy of an Azure SQL database with advanced filtering using a T-SQL predicate.
62
62
```
63
63
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression "statement <> 'select 1'"
64
64
```
65
65
66
- ### Example 5: Remove the extended auditing policy of an Azure SQL database, and set an auditing policy instead of it .
66
+ ### Example 5: Remove the advanced filtering setting from the auditing policy of an Azure SQL database.
67
67
```
68
68
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression ""
69
69
```
@@ -167,7 +167,7 @@ Accept wildcard characters: False
167
167
` ` `
168
168
169
169
### -PredicateExpression
170
- The statement of the Where Clause used to filter audit logs.
170
+ The T-SQL predicate (WHERE clause) used to filter audit logs.
171
171
172
172
` ` ` yaml
173
173
Type : System.String
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ PS C:\>Set-AzureRmSqlServerAuditing -State Disabled -ResourceGroupName "Resource
57
57
PS C:\>Set-AzureRmSqlServerAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -StorageAccountSubscriptionId "7fe3301d-31d3-4668-af5e-211a890ba6e3"
58
58
```
59
59
60
- ### Example 4: Enable the extended auditing policy of an Azure SQL database
60
+ ### Example 4: Enable the auditing policy of an Azure SQL server with advanced filtering using a T-SQL predicate.
61
61
```
62
62
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression "statement <> 'select 1'"
63
63
```
64
64
65
- ### Example 5: Remove the extended auditing policy of an Azure SQL database, and set an auditing policy instead of it .
65
+ ### Example 5: Remove the advanced filtering setting from the auditing policy of an Azure SQL server .
66
66
```
67
67
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression ""
68
68
```
@@ -120,7 +120,7 @@ Accept wildcard characters: False
120
120
` ` `
121
121
122
122
### -PredicateExpression
123
- The statement of the Where Clause used to filter audit logs.
123
+ The T-SQL predicate (WHERE clause) used to filter audit logs.
124
124
125
125
` ` ` yaml
126
126
Type : System.String
You can’t perform that action at this time.
0 commit comments