diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e22798e4..9df7cc1fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - SqlSetup - Fixed integration tests for SQL Server 2016 and SQL Server 2017. +- SqlServerDsc + - Fixed Issue# 1712 CredScan password false-positive ## [15.1.1] - 2021-02-12 diff --git a/source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 b/source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 index 4c655edcb..c3faf6178 100644 --- a/source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 +++ b/source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1 @@ -1386,8 +1386,8 @@ function Restart-ReportingServicesService .EXAMPLE Invoke-Query -SQLServer Server1 -SQLInstanceName MSSQLSERVER -Database MyDatabase ` - -Query "select * from MyTable where password = 'Pa\ssw0rd1' and password = 'secret passphrase'" ` - -WithResults -RedactText @('Pa\sSw0rd1','Secret PassPhrase') -Verbose + -Query "select * from MyTable where password = 'PlaceholderPa\ssw0rd1' and password = 'placeholder secret passphrase'" ` + -WithResults -RedactText @('PlaceholderPa\sSw0rd1','Placeholder Secret PassPhrase') -Verbose #> function Invoke-Query