We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3a61f commit b3e10c7Copy full SHA for b3e10c7
2 files changed
x-pack/plugins/security_solution/common/endpoint/data_generators/fleet_agent_generator.ts
@@ -82,6 +82,10 @@ export class FleetAgentGenerator extends BaseDataGenerator<Agent> {
82
action_seq_no: -1,
83
active: true,
84
enrolled_at: now,
85
+ agent: {
86
+ id: this.randomUUID(),
87
+ version: this.randomVersion(),
88
+ },
89
local_metadata: {
90
elastic: {
91
agent: {
x-pack/plugins/security_solution/common/endpoint/data_loaders/index_fleet_agent.ts
@@ -48,6 +48,10 @@ export const indexFleetAgentForHost = async (
48
): Promise<IndexedFleetAgentResponse> => {
49
const agentDoc = fleetAgentGenerator.generateEsHit({
50
_source: {
51
52
+ id: endpointHost.agent.id,
53
+ version: endpointHost.agent.version,
54
55
56
57
0 commit comments