Applying STIG/hardening to vCenter via the GUI fails with:
{
"profile": "COMPATIBLE"
}
Output returned.
Fix failed with following error:
{
"error_type": "UNAUTHORIZED",
"messages": [
{
"args": [],
"default_message": "Unable to authorize user",
"id": "vapi.security.authorization.invalid"
}
]
}
vCenter Server 8.x
Error message can be taken at face value, the account being used does not have sufficient privileges.
For applying STIGs or otherwise hardening the vCenter Server application, use the administrator@vsphere.local account.