Skip to content

Commit

Permalink
SqlServerDsc: Issue 1712: CredScan password fix (#1716)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericscheffler committed Aug 27, 2021
1 parent 96edad6 commit 2bc90f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bc90f3

Please sign in to comment.