vmware / dod-compliance-and-automation

Security hardening content for VMware solutions to US Department of Defense standards
Other
153 stars 61 forks source link

[vSphere][8.0][VCSA-80-000303] vCenter SSH enable and disable through CLI #263

Open pstearns opened 4 weeks ago

pstearns commented 4 weeks ago

Is your feature request related to a problem? Please describe.

Currently this one is manual through the VAMI.

Describe the solution you'd like

Automate the remediation through CLI.

Connect-VIServer servername
$body = Initialize-AccessSshSetRequestBody -Enabled $false
Invoke-SetAccessSsh -AccessSshSetRequestBody $body

Describe alternatives you've considered

No response

Additional context

No response

rlakey commented 2 weeks ago

Thanks @pstearns we'll look at getting that added next update.