Skip to content

Commit 899f229

Browse files
authored
Merge pull request #7882 from bashahee/preview
Modify documentation in help files.
2 parents 4ad9497 + 347643c commit 899f229

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/ResourceManager/Sql/Commands.Sql/Auditing/AuditingHelpMessages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This parameter is not required.
1616

1717
public const string RetentionInDaysHelpMessage = "The number of retention days for the audit logs.";
1818

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.";
2020

2121
public const string AuditActionHelpMessage =
2222
@"The set of audit actions.

src/ResourceManager/Sql/Commands.Sql/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Current Release
2121
* Fixed issue with using Get-AzureRmSqlDatabaseVulnerabilityAssessment with DotNet core
22+
* Modified documentation of help messages related to SQL Auditing cmdlets.
2223

2324
## Version 4.12.0
2425
* Added new cmdlets for CRUD operations on Azure Sql Database Managed Instance and Azure Sql Managed Database

src/ResourceManager/Sql/Commands.Sql/help/Set-AzureRmSqlDatabaseAuditing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ PS C:\>Set-AzureRmSqlDatabaseAuditing -State Disabled -ResourceGroupName "Resour
5858
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -StorageAccountSubscriptionId "7fe3301d-31d3-4668-af5e-211a890ba6e3"
5959
```
6060

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.
6262
```
6363
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression "statement <> 'select 1'"
6464
```
6565

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.
6767
```
6868
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression ""
6969
```
@@ -167,7 +167,7 @@ Accept wildcard characters: False
167167
```
168168
169169
### -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.
171171
172172
```yaml
173173
Type: System.String

src/ResourceManager/Sql/Commands.Sql/help/Set-AzureRmSqlServerAuditing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ PS C:\>Set-AzureRmSqlServerAuditing -State Disabled -ResourceGroupName "Resource
5757
PS C:\>Set-AzureRmSqlServerAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -StorageAccountSubscriptionId "7fe3301d-31d3-4668-af5e-211a890ba6e3"
5858
```
5959

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.
6161
```
6262
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression "statement <> 'select 1'"
6363
```
6464

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.
6666
```
6767
PS C:\>Set-AzureRmSqlDatabaseAuditing -State Enabled -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -StorageAccountName "Storage22" -DatabaseName "Database01" -PredicateExpression ""
6868
```
@@ -120,7 +120,7 @@ Accept wildcard characters: False
120120
```
121121
122122
### -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.
124124
125125
```yaml
126126
Type: System.String

0 commit comments

Comments
 (0)