Closed ryanrichter94 closed 3 years ago
Just an FYI, there's a typo in the example given:
--package-parameters-sensetive instead of --package-parameters-sensitive
The parameters looks like this:
--install-arguments-sensitive=VALUE --package-parameters-sensitive=VALUE ref https://docs.chocolatey.org/en-us/choco/commands/upgrade
What You Are Seeing?
When running an advanced deployment within CCM passing
--package-parameters-sensitive
they will be shown as plain text within the View Additional Deployment Step Details view. The sensitive package parameters are also written plain text within the dbo.DeploymentSteps table of the CCM DB.What is Expected?
The sensitive package parameters that get passed in an advanced deployment should be left off or obfuscated where shown & written.
How Did You Get This To Happen? (Steps to Reproduce)
Mocked up the following advanced deployment step within CCM:
choco upgrade chocolatey-agent --package-parameters-sensitive="'/Username:MyUsername /EnterPassword=""SuperSecretPassword""'"
Screenshots
References
┆Issue is synchronized with this Gitlab issue by Unito ┆Milestone: 0.7.0