Skip to content

Commit

Permalink
Remove PSAvoidUsingConvertToSecureStringWithPlainText (#436)
Browse files Browse the repository at this point in the history
- Changes to xActiveDirectory
  - Removed unnecessary Script Analyzer rule overrides from tests.
  • Loading branch information
johlju authored Jul 18, 2019
1 parent ca9fdbe commit 6cc03a6
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 28 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- New-CimCredentialInstance
- Add-TypeAssembly
- New-ADDirectoryContext
- Removed unnecessary Script Analyzer rule overrides from tests.
- Changes to xADManagedServiceAccount
- Added a requirement to README stating "Group Managed Service Accounts
need at least one Windows Server 2012 Domain Controller"
Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADComputer.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param ()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADComputer'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADDomain.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADDomain'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADDomainDefaultPasswordPolicy.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADDomainDefaultPasswordPolicy'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADDomainTrust.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param ()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADDomainTrust'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADGroup.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADGroup'

Expand Down
2 changes: 0 additions & 2 deletions Tests/Unit/MSFT_xADKDSKey.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADKDSKey'

Expand Down
2 changes: 0 additions & 2 deletions Tests/Unit/MSFT_xADManagedServiceAccount.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADManagedServiceAccount'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADObjectEnabledState.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADObjectEnabledState'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xADOrganizationalUnit.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xADOrganizationalUnit'

Expand Down
3 changes: 0 additions & 3 deletions Tests/Unit/MSFT_xWaitForADDomain.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingConvertToSecureStringWithPlainText', '')]
param()

$script:dscModuleName = 'xActiveDirectory'
$script:dscResourceName = 'MSFT_xWaitForADDomain'

Expand Down

0 comments on commit 6cc03a6

Please sign in to comment.