(see repro steps for details)
When specifying something other than “_auto” for Cluster in DefaultEngine.ini, FUbaHordeAgentManager will use the default value of FClusterInfo.ClusterId which is “default” rather than the user-specified configuration value.
Lots of ways to fix this. Here is one:
==== //uf/lyra-56/Engine/Source/Developer/UbaCoordinatorHorde/Private/UbaHordeAgentManager.cpp#2 (text) ====
[Content removed]9 @@
ClusterInfo = Future.Get().Value;
UE_CLOG(!ClusterInfo.ClusterId.IsEmpty(), LogUbaHorde, Verbose, TEXT("Received resolved cluster ID from Horde: %s"), *ClusterInfo.ClusterId);
}
+ else {
+ ClusterInfo.ClusterId = Config.HordeCluster;
+ }
// Request Horde machine for UBA agent
TSharedPtr<FUbaHordeMetaClient::HordeMachinePromise, ESPMode::ThreadSafe> Promise = HordeMetaClient->RequestMachine(HordeRequestJsonBody, *ClusterInfo.ClusterId);
Just looking to confirm this looks like a good/safe change to make before we roll it out.