-
Notifications
You must be signed in to change notification settings - Fork 31
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
AdcsCertificationAuthority: Uses login type 8 - plain text password #134
Comments
Closing this as it is a duplicate with #134, and this issue is for a resource that is not in this repo. |
My bad. It was absolutely the correct repo, I thought it was in the module ActiveDirectoryDsc. Sorry about that. Reopened. |
My guess is; You are passing credential (encrypted I assume) in the compiled configuration (the variable Line 691 in fc7d5d1
Do you mean that it is okay that it uses the credentials when calling Set-function, but not okay to use the credential for each run when the configuration is monitored/enforced, when it calls Test-function? Not sure how to avoid using the credentials that are provided in the configuration? 🤔 |
I recommend we use the |
Details of the scenario you tried and the problem that is occurring
We are using DSC resource AdcsCertificationAuthority with an Azure Automation account to run on an Azure Windows Server. Azure Log analytics of the server is showing that each time the DSC script runs there is a plain text password being used by the server (Login type 8).
When I remove the AdcsCertificationAuthority resource no Login Type 8 is logged. This is a security problem for our environment.
Verbose logs showing the problem
Suggested solution to the issue
Unknown
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
PSVersion 5.1.17763.2931
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.2931
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version of the DSC module that was used ('dev' if using current dev branch)
Module version 5.0.0
The text was updated successfully, but these errors were encountered: