microsoft / PowerStig

STIG Automation
https://www.powershellgallery.com/packages/PowerSTIG
Other
541 stars 116 forks source link

V-221596 for Chrome #1215

Closed kwygant closed 9 months ago

kwygant commented 1 year ago

The registry path for the setting is incorrect.

Current path: HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome Current Value Name: AutoplayAllowlist

Correct Path: HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\AutoplayAllowlist Correct Value Name(s): 1,2, etc

If importing the Chrome admx files and setting the urls in the STIG checklist manually, the following keys values are created [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\AutoplayAllowlist] "1"="[.]mil" "2"="[.]gov"

Once the reg path is fixed, there will still be the issue of the multiple string values getting created as a single multistring value. See https://github.com/microsoft/PowerStig/issues/1214

erjenkin commented 1 year ago

In my testing, I think we should be able to leverage a single value name "1" and a comma separated list for this setting, I will have a PR in a bit to fix this issue. Thanks for finding.

image

Eric