Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove PSAvoidUsingConvertToSecureStringWithPlainText #436

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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