Fixing Security - Array is stored directly sonar reported issue in cloud controller.