In everyday work in building environments based on vRealize Automation I have many tasks related to refining the environment, based on VMware documentation I decided to write a script to check and set the appropriate values on the environment. The script is in the develop phase but you can slowly use it in production environments. Here in the attachment you can see the script as well as the log that is created during hardening.
also here you can see the document on the basis of which hardening was made, after collecting the most important information from the official VMware documentation
https://docs.vmware.com/en/vRealize-Automation/7.5/vrealize-automation-75-hardening.pdf