mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
win_iis_webapppool: stop any passwords from being returned (#33931)
This commit is contained in:
@@ -305,9 +305,11 @@ foreach ($element in $elements) {
|
||||
|
||||
foreach ($attribute in $attribute_collection) {
|
||||
$attribute_name = $attribute.Name
|
||||
$attribute_value = $attribute_parent.$attribute_name
|
||||
if ($attribute_name -notlike "*password*") {
|
||||
$attribute_value = $attribute_parent.$attribute_name
|
||||
|
||||
$result.info.$element.Add($attribute_name, $attribute_value)
|
||||
$result.info.$element.Add($attribute_name, $attribute_value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user