Skip to content

Commit 7145216

Browse files
[SecuritySolution - Endpoint]: update payload for metadata and policy response tests (#71084)
[SecuritySolution - Endpoint]: update payload for metadata and policy response tests
1 parent f9da7af commit 7145216

File tree

2 files changed

+144
-9
lines changed

2 files changed

+144
-9
lines changed

x-pack/test/functional/es_archives/endpoint/metadata/api_feature/data.json

Lines changed: 144 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
}
1717
},
1818
"Endpoint": {
19+
"status": "enrolled",
1920
"policy": {
2021
"applied": {
2122
"name": "Default",
@@ -25,11 +26,23 @@
2526
}
2627
},
2728
"event": {
28-
"created": 1579881969541
29+
"created": 1579881969541,
30+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d14",
31+
"kind": "metric",
32+
"category": [
33+
"host"
34+
],
35+
"type": [
36+
"info"
37+
],
38+
"module": "endpoint",
39+
"action": "endpoint_metadata",
40+
"dataset": "endpoint.metadata"
2941
},
3042
"host": {
3143
"architecture": "x86",
3244
"hostname": "cadmann-4.example.com",
45+
"name": "cadmann-4.example.com",
3346
"id": "1fb3e58f-6ab0-4406-9d2a-91911207a712",
3447
"ip": [
3548
"10.192.213.130",
@@ -43,6 +56,8 @@
4356
"os": {
4457
"full": "Windows 10",
4558
"name": "windows 10.0",
59+
"platform": "Windows",
60+
"family": "Windows",
4661
"version": "10.0",
4762
"Ext": {
4863
"variant" : "Windows Pro"
@@ -71,6 +86,7 @@
7186
}
7287
},
7388
"Endpoint": {
89+
"status": "enrolled",
7490
"policy": {
7591
"applied": {
7692
"name": "Default",
@@ -80,11 +96,23 @@
8096
}
8197
},
8298
"event": {
83-
"created": 1579881969541
99+
"created": 1579881969541,
100+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d15",
101+
"kind": "metric",
102+
"category": [
103+
"host"
104+
],
105+
"type": [
106+
"info"
107+
],
108+
"module": "endpoint",
109+
"action": "endpoint_metadata",
110+
"dataset": "endpoint.metadata"
84111
},
85112
"host": {
86113
"architecture": "x86_64",
87114
"hostname": "thurlow-9.example.com",
115+
"name": "thurlow-9.example.com",
88116
"id": "2f735e3d-be14-483b-9822-bad06e9045ca",
89117
"ip": [
90118
"10.46.229.234"
@@ -97,6 +125,8 @@
97125
"os": {
98126
"full": "Windows Server 2016",
99127
"name": "windows 10.0",
128+
"platform": "Windows",
129+
"family": "Windows",
100130
"version": "10.0",
101131
"Ext": {
102132
"variant" : "Windows Server"
@@ -125,6 +155,7 @@
125155
}
126156
},
127157
"Endpoint": {
158+
"status": "enrolled",
128159
"policy": {
129160
"applied": {
130161
"name": "Default",
@@ -134,10 +165,22 @@
134165
}
135166
},
136167
"event": {
137-
"created": 1579881969541
168+
"created": 1579881969541,
169+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d16",
170+
"kind": "metric",
171+
"category": [
172+
"host"
173+
],
174+
"type": [
175+
"info"
176+
],
177+
"module": "endpoint",
178+
"action": "endpoint_metadata",
179+
"dataset": "endpoint.metadata"
138180
},
139181
"host": {
140182
"hostname": "rezzani-7.example.com",
183+
"name": "rezzani-7.example.com",
141184
"id": "fc0ff548-feba-41b6-8367-65e8790d0eaf",
142185
"ip": [
143186
"10.101.149.26",
@@ -149,6 +192,8 @@
149192
"os": {
150193
"full": "Windows 10",
151194
"name": "windows 10.0",
195+
"platform": "Windows",
196+
"family": "Windows",
152197
"version": "10.0",
153198
"Ext": {
154199
"variant" : "Windows Pro"
@@ -177,6 +222,7 @@
177222
}
178223
},
179224
"Endpoint": {
225+
"status": "enrolled",
180226
"policy": {
181227
"applied": {
182228
"name": "Default",
@@ -186,11 +232,23 @@
186232
}
187233
},
188234
"event": {
189-
"created": 1579878369541
235+
"created": 1579878369541,
236+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d18",
237+
"kind": "metric",
238+
"category": [
239+
"host"
240+
],
241+
"type": [
242+
"info"
243+
],
244+
"module": "endpoint",
245+
"action": "endpoint_metadata",
246+
"dataset": "endpoint.metadata"
190247
},
191248
"host": {
192249
"architecture": "x86",
193250
"hostname": "cadmann-4.example.com",
251+
"name": "cadmann-4.example.com",
194252
"id": "1fb3e58f-6ab0-4406-9d2a-91911207a712",
195253
"ip": [
196254
"10.192.213.130",
@@ -204,6 +262,8 @@
204262
"os": {
205263
"full": "Windows Server 2016",
206264
"name": "windows 10.0",
265+
"platform": "Windows",
266+
"family": "Windows",
207267
"version": "10.0",
208268
"Ext": {
209269
"variant" : "Windows Server 2016"
@@ -232,6 +292,7 @@
232292
}
233293
},
234294
"Endpoint": {
295+
"status": "enrolled",
235296
"policy": {
236297
"applied": {
237298
"name": "Default",
@@ -241,10 +302,22 @@
241302
}
242303
},
243304
"event": {
244-
"created": 1579878369541
305+
"created": 1579878369541,
306+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d19",
307+
"kind": "metric",
308+
"category": [
309+
"host"
310+
],
311+
"type": [
312+
"info"
313+
],
314+
"module": "endpoint",
315+
"action": "endpoint_metadata",
316+
"dataset": "endpoint.metadata"
245317
},
246318
"host": {
247319
"hostname": "thurlow-9.example.com",
320+
"name": "thurlow-9.example.com",
248321
"id": "2f735e3d-be14-483b-9822-bad06e9045ca",
249322
"ip": [
250323
"10.46.229.234"
@@ -257,6 +330,8 @@
257330
"os": {
258331
"full": "Windows Server 2012",
259332
"name": "windows 6.2",
333+
"platform": "Windows",
334+
"family": "Windows",
260335
"version": "6.2",
261336
"Ext": {
262337
"variant" : "Windows Server 2012"
@@ -285,6 +360,7 @@
285360
}
286361
},
287362
"Endpoint": {
363+
"status": "enrolled",
288364
"policy": {
289365
"applied": {
290366
"name": "With Eventing",
@@ -294,11 +370,23 @@
294370
}
295371
},
296372
"event": {
297-
"created": 1579878369541
373+
"created": 1579878369541,
374+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d39",
375+
"kind": "metric",
376+
"category": [
377+
"host"
378+
],
379+
"type": [
380+
"info"
381+
],
382+
"module": "endpoint",
383+
"action": "endpoint_metadata",
384+
"dataset": "endpoint.metadata"
298385
},
299386
"host": {
300387
"architecture": "x86",
301388
"hostname": "rezzani-7.example.com",
389+
"name": "rezzani-7.example.com",
302390
"id": "fc0ff548-feba-41b6-8367-65e8790d0eaf",
303391
"ip": [
304392
"10.101.149.26",
@@ -310,6 +398,8 @@
310398
"os": {
311399
"full": "Windows Server 2012",
312400
"name": "windows 6.2",
401+
"platform": "Windows",
402+
"family": "Windows",
313403
"version": "6.2",
314404
"Ext": {
315405
"variant" : "Windows Server 2012"
@@ -338,6 +428,7 @@
338428
}
339429
},
340430
"Endpoint": {
431+
"status": "enrolled",
341432
"policy": {
342433
"applied": {
343434
"name": "With Eventing",
@@ -347,10 +438,22 @@
347438
}
348439
},
349440
"event": {
350-
"created": 1579874769541
441+
"created": 1579874769541,
442+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d31",
443+
"kind": "metric",
444+
"category": [
445+
"host"
446+
],
447+
"type": [
448+
"info"
449+
],
450+
"module": "endpoint",
451+
"action": "endpoint_metadata",
452+
"dataset": "endpoint.metadata"
351453
},
352454
"host": {
353455
"hostname": "cadmann-4.example.com",
456+
"name": "cadmann-4.example.com",
354457
"id": "1fb3e58f-6ab0-4406-9d2a-91911207a712",
355458
"ip": [
356459
"10.192.213.130",
@@ -364,6 +467,8 @@
364467
"os": {
365468
"full": "Windows Server 2012R2",
366469
"name": "windows 6.3",
470+
"platform": "Windows",
471+
"family": "Windows",
367472
"version": "6.3",
368473
"Ext": {
369474
"variant" : "Windows Server 2012 R2"
@@ -392,6 +497,7 @@
392497
}
393498
},
394499
"Endpoint": {
500+
"status": "enrolled",
395501
"policy": {
396502
"applied": {
397503
"name": "Default",
@@ -401,10 +507,22 @@
401507
}
402508
},
403509
"event": {
404-
"created": 1579874769541
510+
"created": 1579874769541,
511+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d23",
512+
"kind": "metric",
513+
"category": [
514+
"host"
515+
],
516+
"type": [
517+
"info"
518+
],
519+
"module": "endpoint",
520+
"action": "endpoint_metadata",
521+
"dataset": "endpoint.metadata"
405522
},
406523
"host": {
407524
"hostname": "thurlow-9.example.com",
525+
"name": "thurlow-9.example.com",
408526
"id": "2f735e3d-be14-483b-9822-bad06e9045ca",
409527
"ip": [
410528
"10.46.229.234"
@@ -417,6 +535,8 @@
417535
"os": {
418536
"full": "Windows Server 2012R2",
419537
"name": "windows 6.3",
538+
"platform": "Windows",
539+
"family": "Windows",
420540
"version": "6.3",
421541
"Ext": {
422542
"variant" : "Windows Server 2012 R2"
@@ -445,6 +565,7 @@
445565
}
446566
},
447567
"Endpoint": {
568+
"status": "enrolled",
448569
"policy": {
449570
"applied": {
450571
"name": "With Eventing",
@@ -454,11 +575,23 @@
454575
}
455576
},
456577
"event": {
457-
"created": 1579874769541
578+
"created": 1579874769541,
579+
"id": "32f5fda2-48e4-4fae-b89e-a18038294d35",
580+
"kind": "metric",
581+
"category": [
582+
"host"
583+
],
584+
"type": [
585+
"info"
586+
],
587+
"module": "endpoint",
588+
"action": "endpoint_metadata",
589+
"dataset": "endpoint.metadata"
458590
},
459591
"host": {
460592
"architecture": "x86",
461593
"hostname": "rezzani-7.example.com",
594+
"name": "rezzani-7.example.com",
462595
"id": "fc0ff548-feba-41b6-8367-65e8790d0eaf",
463596
"ip": [
464597
"10.101.149.26",
@@ -471,6 +604,8 @@
471604
"full": "Windows Server 2012",
472605
"name": "windows 6.2",
473606
"version": "6.2",
607+
"platform": "Windows",
608+
"family": "Windows",
474609
"Ext": {
475610
"variant" : "Windows Server 2012"
476611
}
222 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)