onceover 3.19.1 → 3.19.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 645e450894eb3599a076f3c32c94ad73f88ad9177bb739e7ae56964bdeab1d22
4
- data.tar.gz: 3ff596aa3b7a2be1edf18c9407a8fefe61b354e3dfb6a9fe4ef95f1a3e0c59d0
3
+ metadata.gz: b79a11b26d7a5dda46fa393b735200513381906e01ec25c4b79a86a8d4661671
4
+ data.tar.gz: 33db007020dbaf216fcbfe243295e14a98915f532b8e50d1e8568265a7ca6727
5
5
  SHA512:
6
- metadata.gz: 5ec23df5e72580ffa318b881def6a89f0fa336e11476dd9ce37ebdd3611976dfb26a0b48e3395f1e6d0c031fb63aaf517efcf9c7523c199115efafb2ecbae095
7
- data.tar.gz: 3b505e9c89887b0656d197066d36b75004b2a899eed3941c93948c2349623412a6b78036af38e02eecac1a3f7131870be8027299337b807621363304f467f228
6
+ metadata.gz: f02b8c494b5185124e21b47aba9c2618bb3f6a08f7b2de6a9e70e48ef018ae8528d00aee814b7712ec7a2b5b9a72616f79400882171086f0f96fa0d9ff0a0e58
7
+ data.tar.gz: 6f1a0e0ea544f357514fbb56328b3a494caaf7e3dc33b96812766bd866ced3503b399a8aca1480ff6a253fef79e5284d4a27e1ecef4800eddf2ac54520286f82
@@ -190,7 +190,14 @@ class Onceover
190
190
  all_facts = []
191
191
  logger.debug "Reading factsets"
192
192
  @facts_files.each do |file|
193
- all_facts << read_facts(file)[key]
193
+ facts_from_file = read_facts(file)
194
+ # Facter 4 removed the top level key 'values' and, instead, puts facts
195
+ # at the top level. The conditional below accounts for this.
196
+ if (key.eql?('values') and facts_from_file.has_key?('values')) or !key.eql?('values')
197
+ all_facts << facts_from_file[key]
198
+ else
199
+ all_facts << facts_from_file
200
+ end
194
201
  end
195
202
  if filter
196
203
  # Allow us to pass a hash of facts to filter by
@@ -201,11 +208,7 @@ class Onceover
201
208
  filter.each do |filter_fact,value|
202
209
  matches << keypair_is_in_hash(hash,filter_fact,value)
203
210
  end
204
- if matches.include? false
205
- false
206
- else
207
- true
208
- end
211
+ !matches.include? false
209
212
  end
210
213
  end
211
214
  return all_facts
@@ -626,11 +629,7 @@ class Onceover
626
629
  else
627
630
  matches << false
628
631
  end
629
- if matches.include? false
630
- false
631
- else
632
- true
633
- end
632
+ !matches.include? false
634
633
  end
635
634
 
636
635
  def get_classes(dir)
data/onceover.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "onceover"
7
- s.version = "3.19.1"
7
+ s.version = "3.19.2"
8
8
  s.authors = ["Dylan Ratcliffe"]
9
9
  s.email = ["dylan.ratcliffe@puppet.com"]
10
10
  s.homepage = "https://github.com/dylanratcliffe/onceover"
@@ -0,0 +1,1091 @@
1
+ {
2
+ "os": {
3
+ "architecture": "amd64",
4
+ "release": {
5
+ "full": "10.0",
6
+ "major": "10",
7
+ "minor": "0"
8
+ },
9
+ "distro": {
10
+ "id": "Debian",
11
+ "codename": "buster",
12
+ "description": "Debian GNU/Linux 10 (buster)",
13
+ "release": {
14
+ "full": "10.0",
15
+ "major": "10",
16
+ "minor": "0"
17
+ }
18
+ },
19
+ "hardware": "x86_64",
20
+ "selinux": {
21
+ "enabled": false
22
+ },
23
+ "family": "Debian",
24
+ "name": "Debian"
25
+ },
26
+ "augeas": {
27
+ "version": "1.12.0"
28
+ },
29
+ "partitions": {
30
+ "/dev/mapper/localhost--vg-swap_1": {
31
+ "size_bytes": 4294967296,
32
+ "size": "4.00 GiB",
33
+ "filesystem": "swap",
34
+ "uuid": "e1d39dbf-07b1-40f3-bb00-61c373ff3679"
35
+ },
36
+ "/dev/mapper/localhost--vg-root": {
37
+ "size_bytes": 16919822336,
38
+ "size": "15.76 GiB",
39
+ "filesystem": "ext3",
40
+ "uuid": "d5e15cec-ac09-49ac-a7e9-69a0b4d3bd7a",
41
+ "mount": "/"
42
+ },
43
+ "/dev/sda2": {
44
+ "size_bytes": 1024,
45
+ "size": "1.00 KiB"
46
+ },
47
+ "/dev/sda5": {
48
+ "size_bytes": 21216886784,
49
+ "size": "19.76 GiB",
50
+ "filesystem": "LVM2_member",
51
+ "uuid": "PnWAEL-Qhls-LcWt-U7Rd-Odiy-U0k8-8fNFXY",
52
+ "partuuid": "4b9f600f-05"
53
+ },
54
+ "/dev/sda1": {
55
+ "size_bytes": 254803968,
56
+ "size": "243.00 MiB",
57
+ "filesystem": "ext2",
58
+ "uuid": "6e570548-0c10-405c-abbb-2325c6c85912",
59
+ "partuuid": "4b9f600f-01",
60
+ "mount": "/boot"
61
+ }
62
+ },
63
+ "mountpoints": {
64
+ "/dev": {
65
+ "device": "udev",
66
+ "filesystem": "devtmpfs",
67
+ "options": [
68
+ "rw",
69
+ "nosuid",
70
+ "relatime",
71
+ "size=2004744k",
72
+ "nr_inodes=501186",
73
+ "mode=755"
74
+ ],
75
+ "size_bytes": 2052857856,
76
+ "available_bytes": 2052857856,
77
+ "used_bytes": 0,
78
+ "capacity": "0%",
79
+ "size": "1.91 GiB",
80
+ "available": "1.91 GiB",
81
+ "used": "0 bytes"
82
+ },
83
+ "/dev/pts": {
84
+ "device": "devpts",
85
+ "filesystem": "devpts",
86
+ "options": [
87
+ "rw",
88
+ "nosuid",
89
+ "noexec",
90
+ "relatime",
91
+ "gid=5",
92
+ "mode=620",
93
+ "ptmxmode=000"
94
+ ],
95
+ "size_bytes": 0,
96
+ "available_bytes": 0,
97
+ "used_bytes": 0,
98
+ "capacity": "100%",
99
+ "size": "0 bytes",
100
+ "available": "0 bytes",
101
+ "used": "0 bytes"
102
+ },
103
+ "/run": {
104
+ "device": "tmpfs",
105
+ "filesystem": "tmpfs",
106
+ "options": [
107
+ "rw",
108
+ "nosuid",
109
+ "noexec",
110
+ "relatime",
111
+ "size=404128k",
112
+ "mode=755"
113
+ ],
114
+ "size_bytes": 413827072,
115
+ "available_bytes": 408092672,
116
+ "used_bytes": 5734400,
117
+ "capacity": "1.39%",
118
+ "size": "394.66 MiB",
119
+ "available": "389.19 MiB",
120
+ "used": "5.47 MiB"
121
+ },
122
+ "/": {
123
+ "device": "/dev/mapper/localhost--vg-root",
124
+ "filesystem": "ext3",
125
+ "options": [
126
+ "rw",
127
+ "relatime",
128
+ "errors=remount-ro"
129
+ ],
130
+ "size_bytes": 16586805248,
131
+ "available_bytes": 14209556480,
132
+ "used_bytes": 1531260928,
133
+ "capacity": "9.73%",
134
+ "size": "15.45 GiB",
135
+ "available": "13.23 GiB",
136
+ "used": "1.43 GiB"
137
+ },
138
+ "/dev/shm": {
139
+ "device": "tmpfs",
140
+ "filesystem": "tmpfs",
141
+ "options": [
142
+ "rw",
143
+ "nosuid",
144
+ "nodev"
145
+ ],
146
+ "size_bytes": 2069123072,
147
+ "available_bytes": 2069123072,
148
+ "used_bytes": 0,
149
+ "capacity": "0%",
150
+ "size": "1.93 GiB",
151
+ "available": "1.93 GiB",
152
+ "used": "0 bytes"
153
+ },
154
+ "/run/lock": {
155
+ "device": "tmpfs",
156
+ "filesystem": "tmpfs",
157
+ "options": [
158
+ "rw",
159
+ "nosuid",
160
+ "nodev",
161
+ "noexec",
162
+ "relatime",
163
+ "size=5120k"
164
+ ],
165
+ "size_bytes": 5242880,
166
+ "available_bytes": 5242880,
167
+ "used_bytes": 0,
168
+ "capacity": "0%",
169
+ "size": "5.00 MiB",
170
+ "available": "5.00 MiB",
171
+ "used": "0 bytes"
172
+ },
173
+ "/sys/fs/cgroup": {
174
+ "device": "tmpfs",
175
+ "filesystem": "tmpfs",
176
+ "options": [
177
+ "ro",
178
+ "nosuid",
179
+ "nodev",
180
+ "noexec",
181
+ "mode=755"
182
+ ],
183
+ "size_bytes": 2069123072,
184
+ "available_bytes": 2069123072,
185
+ "used_bytes": 0,
186
+ "capacity": "0%",
187
+ "size": "1.93 GiB",
188
+ "available": "1.93 GiB",
189
+ "used": "0 bytes"
190
+ },
191
+ "/dev/mqueue": {
192
+ "device": "mqueue",
193
+ "filesystem": "mqueue",
194
+ "options": [
195
+ "rw",
196
+ "relatime"
197
+ ],
198
+ "size_bytes": 0,
199
+ "available_bytes": 0,
200
+ "used_bytes": 0,
201
+ "capacity": "100%",
202
+ "size": "0 bytes",
203
+ "available": "0 bytes",
204
+ "used": "0 bytes"
205
+ },
206
+ "/dev/hugepages": {
207
+ "device": "hugetlbfs",
208
+ "filesystem": "hugetlbfs",
209
+ "options": [
210
+ "rw",
211
+ "relatime",
212
+ "pagesize=2M"
213
+ ],
214
+ "size_bytes": 0,
215
+ "available_bytes": 0,
216
+ "used_bytes": 0,
217
+ "capacity": "100%",
218
+ "size": "0 bytes",
219
+ "available": "0 bytes",
220
+ "used": "0 bytes"
221
+ },
222
+ "/boot": {
223
+ "device": "/dev/sda1",
224
+ "filesystem": "ext2",
225
+ "options": [
226
+ "rw",
227
+ "relatime",
228
+ "block_validity",
229
+ "barrier",
230
+ "user_xattr",
231
+ "acl"
232
+ ],
233
+ "size_bytes": 246755328,
234
+ "available_bytes": 183791616,
235
+ "used_bytes": 50224128,
236
+ "capacity": "21.46%",
237
+ "size": "235.32 MiB",
238
+ "available": "175.28 MiB",
239
+ "used": "47.90 MiB"
240
+ },
241
+ "/run/user/0": {
242
+ "device": "tmpfs",
243
+ "filesystem": "tmpfs",
244
+ "options": [
245
+ "rw",
246
+ "nosuid",
247
+ "nodev",
248
+ "relatime",
249
+ "size=404124k",
250
+ "mode=700"
251
+ ],
252
+ "size_bytes": 413822976,
253
+ "available_bytes": 413822976,
254
+ "used_bytes": 0,
255
+ "capacity": "0%",
256
+ "size": "394.65 MiB",
257
+ "available": "394.65 MiB",
258
+ "used": "0 bytes"
259
+ }
260
+ },
261
+ "virtual": "vmware",
262
+ "disks": {
263
+ "sr0": {
264
+ "model": "VMware IDE CDR00",
265
+ "size_bytes": 1073741312,
266
+ "size": "1.00 GiB",
267
+ "vendor": "NECVMWar",
268
+ "type": "hdd"
269
+ },
270
+ "sda": {
271
+ "model": "Virtual disk",
272
+ "size_bytes": 21474836480,
273
+ "size": "20.00 GiB",
274
+ "vendor": "VMware",
275
+ "type": "hdd"
276
+ }
277
+ },
278
+ "kernelversion": "4.19.0",
279
+ "ssh": {
280
+ "rsa": {
281
+ "fingerprints": {
282
+ "sha1": "SSHFP 1 1 05576cc92738720d76248d148747cfa8f32712ff",
283
+ "sha256": "SSHFP 1 2 aed61463793821b34ee97afcb8934c5aa13a473e6dd26a61fda080261c01def0"
284
+ },
285
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDdoV7A+ji8joSrg4YUCTdFtLt+4Nphb9wBNDlLVdaD03SLXtyFt3vydtKzNjXRPzCSurb96Sfi32hmxHFrimLKMltBuZj0AlLEHlCnYCHDAlgL7cllqxqv5+s0b32cbhmwLx6ghaNk6XDc7hmCZuovnr4b4pHC2mka8P9gl1osb6dTRfsEZiLm3qu1fxMlJU4adS05u1uHAdcX32KF8ty1Q1s9EygwcLfmJOeKTxdA/D4axkuuLuGP48U0KO+ld4tHHb9yVVWKdhoCL3WSMYH7tMA3NRTbsbdEehEvbjQPQprZHk6uCuqcbh7Ua/L8i5/oVCH4FpTF3a+gQeN9wpLj",
286
+ "type": "ssh-rsa"
287
+ },
288
+ "ecdsa": {
289
+ "fingerprints": {
290
+ "sha1": "SSHFP 3 1 108a7a47d204732b908ebb2aa553f797ae85a495",
291
+ "sha256": "SSHFP 3 2 bcaa6eb722707b5a1cb7732f64b4aa303037c24c96731ffa9eb107a062562fb7"
292
+ },
293
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBL9WhxtGZBEre40NnExVbI5PBO8uqcIoeqFeDdgr3GItFUKNJaTKJnroImYyiU+GP6pPnyW3wsy9rAENm6AfzsY=",
294
+ "type": "ecdsa-sha2-nistp256"
295
+ },
296
+ "ed25519": {
297
+ "fingerprints": {
298
+ "sha1": "SSHFP 4 1 0701e1636d201ea085c317968e75f26003244255",
299
+ "sha256": "SSHFP 4 2 c8379fec233379a68aa6086d8aa6c1dbd8db39fef95fb5fa8a7cee2b60c27dc7"
300
+ },
301
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIJgYWtJU2Dn1mY0wpKIZHfUNb+0BMDTXl+cNciltzpQ3",
302
+ "type": "ssh-ed25519"
303
+ }
304
+ },
305
+ "networking": {
306
+ "scope6": "link",
307
+ "mtu": 1500,
308
+ "ip6": "fe80::250:56ff:fe9a:521a",
309
+ "mac": "00:50:56:9a:52:1a",
310
+ "fqdn": "foo.example.com",
311
+ "netmask6": "ffff:ffff:ffff:ffff::",
312
+ "primary": "ens192",
313
+ "network": "10.16.112.0",
314
+ "netmask": "255.255.240.0",
315
+ "domain": "example.com",
316
+ "dhcp": "10.32.22.9",
317
+ "network6": "fe80::",
318
+ "interfaces": {
319
+ "lo": {
320
+ "bindings": [
321
+ {
322
+ "address": "127.0.0.1",
323
+ "netmask": "255.0.0.0",
324
+ "network": "127.0.0.0"
325
+ }
326
+ ],
327
+ "bindings6": [
328
+ {
329
+ "address": "::1",
330
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
331
+ "network": "::1",
332
+ "scope6": "host"
333
+ }
334
+ ],
335
+ "mtu": 65536,
336
+ "ip": "127.0.0.1",
337
+ "netmask": "255.0.0.0",
338
+ "network": "127.0.0.0",
339
+ "ip6": "::1",
340
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
341
+ "network6": "::1",
342
+ "scope6": "host"
343
+ },
344
+ "ens192": {
345
+ "mac": "00:50:56:9a:52:1a",
346
+ "bindings": [
347
+ {
348
+ "address": "10.16.124.235",
349
+ "netmask": "255.255.240.0",
350
+ "network": "10.16.112.0"
351
+ }
352
+ ],
353
+ "bindings6": [
354
+ {
355
+ "address": "fe80::250:56ff:fe9a:521a",
356
+ "netmask": "ffff:ffff:ffff:ffff::",
357
+ "network": "fe80::",
358
+ "scope6": "link"
359
+ }
360
+ ],
361
+ "mtu": 1500,
362
+ "dhcp": "10.32.22.9",
363
+ "ip": "10.16.124.235",
364
+ "netmask": "255.255.240.0",
365
+ "network": "10.16.112.0",
366
+ "ip6": "fe80::250:56ff:fe9a:521a",
367
+ "netmask6": "ffff:ffff:ffff:ffff::",
368
+ "network6": "fe80::",
369
+ "scope6": "link"
370
+ }
371
+ },
372
+ "hostname": "foo",
373
+ "ip": "10.16.124.235"
374
+ },
375
+ "timezone": "PST",
376
+ "filesystems": "ext2,ext3,ext4",
377
+ "is_virtual": true,
378
+ "processors": {
379
+ "isa": "unknown",
380
+ "physicalcount": 1,
381
+ "models": [
382
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
383
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
384
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
385
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz"
386
+ ],
387
+ "speed": "2.29 GHz",
388
+ "count": 4
389
+ },
390
+ "dmi": {
391
+ "board": {
392
+ "serial_number": "None",
393
+ "manufacturer": "Intel Corporation",
394
+ "product": "440BX Desktop Reference Platform"
395
+ },
396
+ "chassis": {
397
+ "type": "Other",
398
+ "asset_tag": "No Asset Tag"
399
+ },
400
+ "manufacturer": "VMware, Inc.",
401
+ "product": {
402
+ "name": "VMware Virtual Platform",
403
+ "serial_number": "VMware-42 1a af ad 81 f1 50 f3-13 72 c0 e5 63 24 c6 28",
404
+ "uuid": "adaf1a42-f181-f350-1372-c0e56324c628"
405
+ },
406
+ "bios": {
407
+ "vendor": "Phoenix Technologies LTD",
408
+ "release_date": "12/12/2018",
409
+ "version": "6.00"
410
+ }
411
+ },
412
+ "load_averages": {
413
+ "1m": 0.02,
414
+ "5m": 0.05,
415
+ "15m": 0.02
416
+ },
417
+ "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
418
+ "identity": {
419
+ "uid": 0,
420
+ "user": "root",
421
+ "gid": 0,
422
+ "group": "root",
423
+ "privileged": true
424
+ },
425
+ "kernelmajversion": "4.19",
426
+ "kernelrelease": "4.19.0-5-amd64",
427
+ "system_uptime": {
428
+ "days": 0,
429
+ "seconds": 287,
430
+ "hours": 0,
431
+ "uptime": "0:04 hours"
432
+ },
433
+ "facterversion": "4.0.52",
434
+ "ruby": {
435
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.7.0",
436
+ "platform": "x86_64-linux",
437
+ "version": "2.7.2"
438
+ },
439
+ "fips_enabled": false,
440
+ "hypervisors": {
441
+ "vmware": {
442
+ "version": "ESXi 6.7"
443
+ },
444
+ "ldom": {
445
+ "domain_name": "foo"
446
+ }
447
+ },
448
+ "memory": {
449
+ "system": {
450
+ "total": "3.85 GiB",
451
+ "total_bytes": 4138246144,
452
+ "used_bytes": 440221696,
453
+ "capacity": "10.64%",
454
+ "available_bytes": 3698024448,
455
+ "available": "3.44 GiB",
456
+ "used": "419.83 MiB"
457
+ },
458
+ "swap": {
459
+ "total": "4.00 GiB",
460
+ "total_bytes": 4294963200,
461
+ "used_bytes": 0,
462
+ "capacity": "0.00%",
463
+ "available_bytes": 4294963200,
464
+ "available": "4.00 GiB",
465
+ "used": "0 bytes"
466
+ }
467
+ },
468
+ "kernel": "Linux",
469
+ "puppetversion": "7.5.0",
470
+ "debian_kernel": "#1 SMP Debian 4.19.37-5 (2019-06-19)\n",
471
+ "who2bug": [],
472
+ "puppet_cert_paths": {
473
+ "confdir": "/etc/puppetlabs/puppet",
474
+ "ssldir": "/etc/puppetlabs/puppet/ssl",
475
+ "cert_dir": "/etc/puppetlabs/puppet/ssl/certs",
476
+ "ca_path": "/etc/puppetlabs/puppet/ssl/certs/ca.pem",
477
+ "client_cert_path": "/etc/puppetlabs/puppet/ssl/certs/.pem",
478
+ "client_key_path": "/etc/puppetlabs/puppet/ssl/private_keys/.pem"
479
+ },
480
+ "puppet_files_dir_present": false,
481
+ "puppet_ssldir": "/etc/puppetlabs/puppet/ssl",
482
+ "puppet_digest_algorithm": "sha256",
483
+ "puppet_config": "/etc/puppetlabs/puppet/puppet.conf",
484
+ "puppet_stringify_facts": false,
485
+ "mco_confdir": "/etc/mcollective/etc",
486
+ "context": "",
487
+ "puppet_inventory_metadata": {
488
+ "packages": {
489
+ "collection_enabled": false,
490
+ "last_collection_time": "0.0s"
491
+ }
492
+ },
493
+ "meltdown": {
494
+ "CVE-2017-5753": {
495
+ "CVE": "2017-5753",
496
+ "description": "SPECTRE VARIANT 1",
497
+ "vulnerable": false,
498
+ "info": {
499
+ "hardware": "Mitigation: __user pointer sanitization"
500
+ }
501
+ },
502
+ "CVE-2017-5715": {
503
+ "CVE": "2017-5715",
504
+ "description": "SPECTRE VARIANT 2",
505
+ "vulnerable": false,
506
+ "info": {
507
+ "hardware": "Full retpoline + IBPB are mitigating the vulnerability"
508
+ }
509
+ },
510
+ "CVE-2017-5754": {
511
+ "CVE": "2017-5754",
512
+ "description": "MELTDOWN",
513
+ "vulnerable": false,
514
+ "info": {
515
+ "hardware": "Mitigation: PTI"
516
+ }
517
+ },
518
+ "CVE-2018-3640": {
519
+ "CVE": "2018-3640",
520
+ "description": "VARIANT 3A",
521
+ "vulnerable": false,
522
+ "info": {
523
+ "hardware": "your CPU microcode mitigates the vulnerability"
524
+ }
525
+ },
526
+ "CVE-2018-3639": {
527
+ "CVE": "2018-3639",
528
+ "description": "VARIANT 4",
529
+ "vulnerable": false,
530
+ "info": {
531
+ "hardware": "Mitigation: Speculative Store Bypass disabled via prctl and seccomp"
532
+ }
533
+ },
534
+ "CVE-2018-3615": {
535
+ "CVE": "2018-3615",
536
+ "description": "L1TF SGX",
537
+ "vulnerable": false,
538
+ "info": {
539
+ "hardware": "your CPU vendor reported your CPU model as not vulnerable"
540
+ }
541
+ },
542
+ "CVE-2018-3620": {
543
+ "CVE": "2018-3620",
544
+ "description": "L1TF OS",
545
+ "vulnerable": false,
546
+ "info": {
547
+ "hardware": "Mitigation: PTE Inversion"
548
+ }
549
+ },
550
+ "CVE-2018-3646": {
551
+ "CVE": "2018-3646",
552
+ "description": "L1TF VMM",
553
+ "vulnerable": false,
554
+ "info": {
555
+ "hardware": "this system is not running a hypervisor"
556
+ }
557
+ },
558
+ "CVE-2018-12126": {
559
+ "CVE": "2018-12126",
560
+ "description": "MSBDS",
561
+ "vulnerable": false,
562
+ "info": {
563
+ "hardware": "Mitigation: Clear CPU buffers; SMT Host state unknown"
564
+ }
565
+ },
566
+ "CVE-2018-12130": {
567
+ "CVE": "2018-12130",
568
+ "description": "MFBDS",
569
+ "vulnerable": false,
570
+ "info": {
571
+ "hardware": "Mitigation: Clear CPU buffers; SMT Host state unknown"
572
+ }
573
+ },
574
+ "CVE-2018-12127": {
575
+ "CVE": "2018-12127",
576
+ "description": "MLPDS",
577
+ "vulnerable": false,
578
+ "info": {
579
+ "hardware": "Mitigation: Clear CPU buffers; SMT Host state unknown"
580
+ }
581
+ },
582
+ "CVE-2019-11091": {
583
+ "CVE": "2019-11091",
584
+ "description": "MDSUM",
585
+ "vulnerable": false,
586
+ "info": {
587
+ "hardware": "Mitigation: Clear CPU buffers; SMT Host state unknown"
588
+ }
589
+ }
590
+ },
591
+ "package_provider": "apt",
592
+ "current_environment": "production",
593
+ "puppet_agent_pid": 2614,
594
+ "windows_java_temp": "\\tmp",
595
+ "lvm_support": true,
596
+ "lvm_vgs": 1,
597
+ "lvm_vg_0": "localhost-vg",
598
+ "lvm_vg_localhost-vg_pvs": "/dev/sda5",
599
+ "lvm_pvs": 1,
600
+ "lvm_pv_0": "/dev/sda5",
601
+ "jenkins_plugins": "",
602
+ "python_release": "2.7",
603
+ "python2_release": "2.7",
604
+ "python3_release": "3.7",
605
+ "os_maj_version": "10",
606
+ "is_pe": false,
607
+ "aio_agent_version": "7.4.1.59",
608
+ "vcsrepo_svn_ver": "",
609
+ "number_string": "",
610
+ "apt_reboot_required": false,
611
+ "function": "",
612
+ "aio_agent_build": "7.4.1.59.g5d5199a8a",
613
+ "python_version": "2.7.16",
614
+ "python2_version": "2.7.16",
615
+ "python3_version": "3.7.3",
616
+ "mongodb_is_master": "not_installed",
617
+ "is_valid_hostname": false,
618
+ "iptables_version": "1.8.2",
619
+ "mysql_server_id": 23180442,
620
+ "staging_http_get": "curl",
621
+ "whereami": "pdx",
622
+ "platform_tag": "debian-10-amd64",
623
+ "puppetserver_installed": false,
624
+ "env_temp_variable": "/tmp",
625
+ "docker_home_dirs": {
626
+ "root": "/root",
627
+ "daemon": "/usr/sbin",
628
+ "bin": "/bin",
629
+ "sys": "/dev",
630
+ "sync": "/bin",
631
+ "games": "/usr/games",
632
+ "man": "/var/cache/man",
633
+ "lp": "/var/spool/lpd",
634
+ "mail": "/var/mail",
635
+ "news": "/var/spool/news",
636
+ "uucp": "/var/spool/uucp",
637
+ "proxy": "/bin",
638
+ "www-data": "/var/www",
639
+ "backup": "/var/backups",
640
+ "list": "/var/list",
641
+ "irc": "/var/run/ircd",
642
+ "gnats": "/var/lib/gnats",
643
+ "nobody": "/nonexistent",
644
+ "_apt": "/nonexistent",
645
+ "systemd-timesync": "/run/systemd",
646
+ "systemd-network": "/run/systemd",
647
+ "systemd-resolve": "/run/systemd",
648
+ "messagebus": "/nonexistent",
649
+ "sshd": "/run/sshd",
650
+ "ntp": "/nonexistent",
651
+ "systemd-coredump": "/"
652
+ },
653
+ "apt_has_updates": true,
654
+ "apt_has_dist_updates": true,
655
+ "apt_package_updates": [
656
+ "base-files",
657
+ "ncurses-bin",
658
+ "libperl5.28",
659
+ "perl",
660
+ "perl-base",
661
+ "perl-modules-5.28",
662
+ "bzip2",
663
+ "libbz2-1.0",
664
+ "ncurses-base",
665
+ "libnss-systemd",
666
+ "libsystemd0",
667
+ "libpam-systemd",
668
+ "systemd",
669
+ "udev",
670
+ "libudev1",
671
+ "systemd-sysv",
672
+ "dbus",
673
+ "libdbus-1-3",
674
+ "libexpat1",
675
+ "libjson-c3",
676
+ "libssl1.1",
677
+ "libcryptsetup12",
678
+ "libidn2-0",
679
+ "libp11-kit0",
680
+ "libgnutls30",
681
+ "libzstd1",
682
+ "libapt-pkg5.0",
683
+ "libapt-inst2.0",
684
+ "apt",
685
+ "apt-utils",
686
+ "gpgv",
687
+ "initramfs-tools-core",
688
+ "initramfs-tools",
689
+ "libext2fs2",
690
+ "e2fsprogs",
691
+ "cron",
692
+ "console-setup-linux",
693
+ "console-setup",
694
+ "keyboard-configuration",
695
+ "python2.7",
696
+ "python2.7-minimal",
697
+ "libpython2.7-stdlib",
698
+ "libpython2.7-minimal",
699
+ "libncurses6",
700
+ "libtinfo6",
701
+ "libncursesw6",
702
+ "libsqlite3-0",
703
+ "python3.7",
704
+ "libpython3.7-stdlib",
705
+ "python3.7-minimal",
706
+ "libpython3.7-minimal",
707
+ "tzdata",
708
+ "iproute2",
709
+ "iputils-ping",
710
+ "libicu63",
711
+ "libxml2",
712
+ "bind9-host",
713
+ "libbind9-161",
714
+ "libisccfg163",
715
+ "libisccc161",
716
+ "libdns1104",
717
+ "libisc1100",
718
+ "libcom-err2",
719
+ "libgssapi-krb5-2",
720
+ "libkrb5-3",
721
+ "libkrb5support0",
722
+ "libk5crypto3",
723
+ "liblwres161",
724
+ "file",
725
+ "libmagic1",
726
+ "libmagic-mgc",
727
+ "krb5-locales",
728
+ "libsasl2-modules-db",
729
+ "libsasl2-2",
730
+ "libldap-common",
731
+ "libldap-2.4-2",
732
+ "ncurses-term",
733
+ "openssh-sftp-server",
734
+ "openssh-server",
735
+ "openssh-client",
736
+ "reportbug",
737
+ "gpgsm",
738
+ "gpg-wks-server",
739
+ "gpg-wks-client",
740
+ "gnupg-utils",
741
+ "gpg-agent",
742
+ "gpg",
743
+ "gnupg-l10n",
744
+ "dirmngr",
745
+ "gnupg",
746
+ "gpgconf",
747
+ "python-apt-common",
748
+ "python3-apt",
749
+ "python3-reportbug",
750
+ "openssl",
751
+ "ca-certificates",
752
+ "libnghttp2-14",
753
+ "curl",
754
+ "libcurl4",
755
+ "distro-info-data",
756
+ "fuse",
757
+ "libfuse2",
758
+ "libefivar1",
759
+ "libefiboot1",
760
+ "grub-pc",
761
+ "grub2-common",
762
+ "grub-pc-bin",
763
+ "libfreetype6",
764
+ "grub-common",
765
+ "libcurl3-gnutls",
766
+ "libisc-export1100",
767
+ "libdns-export1104",
768
+ "libglib2.0-0",
769
+ "libglib2.0-data",
770
+ "rake",
771
+ "libruby2.5",
772
+ "libsasl2-modules",
773
+ "libss2",
774
+ "libx11-data",
775
+ "libx11-6",
776
+ "libxslt1.1",
777
+ "linux-libc-dev",
778
+ "open-vm-tools",
779
+ "patch",
780
+ "rubygems-integration",
781
+ "ruby2.5",
782
+ "sudo",
783
+ "unzip"
784
+ ],
785
+ "apt_package_dist_updates": [
786
+ "base-files",
787
+ "ncurses-bin",
788
+ "libperl5.28",
789
+ "perl",
790
+ "perl-base",
791
+ "perl-modules-5.28",
792
+ "bzip2",
793
+ "libbz2-1.0",
794
+ "ncurses-base",
795
+ "libnss-systemd",
796
+ "libsystemd0",
797
+ "libpam-systemd",
798
+ "systemd",
799
+ "udev",
800
+ "libudev1",
801
+ "systemd-sysv",
802
+ "dbus",
803
+ "libdbus-1-3",
804
+ "libexpat1",
805
+ "libjson-c3",
806
+ "libssl1.1",
807
+ "libcryptsetup12",
808
+ "libidn2-0",
809
+ "libp11-kit0",
810
+ "libgnutls30",
811
+ "libzstd1",
812
+ "libapt-pkg5.0",
813
+ "libapt-inst2.0",
814
+ "apt",
815
+ "apt-utils",
816
+ "gpgv",
817
+ "initramfs-tools-core",
818
+ "initramfs-tools",
819
+ "libext2fs2",
820
+ "e2fsprogs",
821
+ "cron",
822
+ "console-setup-linux",
823
+ "console-setup",
824
+ "keyboard-configuration",
825
+ "python2.7",
826
+ "python2.7-minimal",
827
+ "libpython2.7-stdlib",
828
+ "libpython2.7-minimal",
829
+ "libncurses6",
830
+ "libtinfo6",
831
+ "libncursesw6",
832
+ "libsqlite3-0",
833
+ "python3.7",
834
+ "libpython3.7-stdlib",
835
+ "python3.7-minimal",
836
+ "libpython3.7-minimal",
837
+ "tzdata",
838
+ "iproute2",
839
+ "iputils-ping",
840
+ "libicu63",
841
+ "libxml2",
842
+ "bind9-host",
843
+ "libbind9-161",
844
+ "libisccfg163",
845
+ "libisccc161",
846
+ "libdns1104",
847
+ "libisc1100",
848
+ "libcom-err2",
849
+ "libgssapi-krb5-2",
850
+ "libkrb5-3",
851
+ "libkrb5support0",
852
+ "libk5crypto3",
853
+ "liblwres161",
854
+ "file",
855
+ "libmagic1",
856
+ "libmagic-mgc",
857
+ "krb5-locales",
858
+ "libsasl2-modules-db",
859
+ "libsasl2-2",
860
+ "libldap-common",
861
+ "libldap-2.4-2",
862
+ "ncurses-term",
863
+ "openssh-sftp-server",
864
+ "openssh-server",
865
+ "openssh-client",
866
+ "reportbug",
867
+ "gpgsm",
868
+ "gpg-wks-server",
869
+ "gpg-wks-client",
870
+ "gnupg-utils",
871
+ "gpg-agent",
872
+ "gpg",
873
+ "gnupg-l10n",
874
+ "dirmngr",
875
+ "gnupg",
876
+ "gpgconf",
877
+ "python-apt-common",
878
+ "python3-apt",
879
+ "python3-reportbug",
880
+ "openssl",
881
+ "ca-certificates",
882
+ "libnghttp2-14",
883
+ "curl",
884
+ "libcurl4",
885
+ "distro-info-data",
886
+ "fuse",
887
+ "libfuse2",
888
+ "libefivar1",
889
+ "libefiboot1",
890
+ "grub-pc",
891
+ "grub2-common",
892
+ "grub-pc-bin",
893
+ "libfreetype6",
894
+ "grub-common",
895
+ "libcurl3-gnutls",
896
+ "libisc-export1100",
897
+ "libdns-export1104",
898
+ "libglib2.0-0",
899
+ "libglib2.0-data",
900
+ "rake",
901
+ "libruby2.5",
902
+ "libsasl2-modules",
903
+ "libss2",
904
+ "libx11-data",
905
+ "libx11-6",
906
+ "libxslt1.1",
907
+ "linux-image-4.19.0-14-amd64",
908
+ "linux-image-amd64",
909
+ "linux-libc-dev",
910
+ "open-vm-tools",
911
+ "patch",
912
+ "rubygems-integration",
913
+ "ruby2.5",
914
+ "sudo",
915
+ "unzip"
916
+ ],
917
+ "apt_package_security_updates": [
918
+ "libexpat1",
919
+ "libjson-c3",
920
+ "libssl1.1",
921
+ "libidn2-0",
922
+ "libp11-kit0",
923
+ "libzstd1",
924
+ "libapt-pkg5.0",
925
+ "libapt-inst2.0",
926
+ "apt",
927
+ "apt-utils",
928
+ "libicu63",
929
+ "bind9-host",
930
+ "libbind9-161",
931
+ "libisccfg163",
932
+ "libisccc161",
933
+ "libdns1104",
934
+ "libisc1100",
935
+ "libgssapi-krb5-2",
936
+ "libkrb5-3",
937
+ "libkrb5support0",
938
+ "libk5crypto3",
939
+ "liblwres161",
940
+ "krb5-locales",
941
+ "libsasl2-modules-db",
942
+ "libsasl2-2",
943
+ "libldap-common",
944
+ "libldap-2.4-2",
945
+ "python-apt-common",
946
+ "python3-apt",
947
+ "openssl",
948
+ "libnghttp2-14",
949
+ "curl",
950
+ "libcurl4",
951
+ "grub-pc",
952
+ "grub2-common",
953
+ "grub-pc-bin",
954
+ "libfreetype6",
955
+ "grub-common",
956
+ "libcurl3-gnutls",
957
+ "libisc-export1100",
958
+ "libdns-export1104",
959
+ "libsasl2-modules",
960
+ "linux-libc-dev",
961
+ "patch",
962
+ "sudo"
963
+ ],
964
+ "apt_package_security_dist_updates": [
965
+ "libexpat1",
966
+ "libjson-c3",
967
+ "libssl1.1",
968
+ "libidn2-0",
969
+ "libp11-kit0",
970
+ "libzstd1",
971
+ "libapt-pkg5.0",
972
+ "libapt-inst2.0",
973
+ "apt",
974
+ "apt-utils",
975
+ "libicu63",
976
+ "bind9-host",
977
+ "libbind9-161",
978
+ "libisccfg163",
979
+ "libisccc161",
980
+ "libdns1104",
981
+ "libisc1100",
982
+ "libgssapi-krb5-2",
983
+ "libkrb5-3",
984
+ "libkrb5support0",
985
+ "libk5crypto3",
986
+ "liblwres161",
987
+ "krb5-locales",
988
+ "libsasl2-modules-db",
989
+ "libsasl2-2",
990
+ "libldap-common",
991
+ "libldap-2.4-2",
992
+ "python-apt-common",
993
+ "python3-apt",
994
+ "openssl",
995
+ "libnghttp2-14",
996
+ "curl",
997
+ "libcurl4",
998
+ "grub-pc",
999
+ "grub2-common",
1000
+ "grub-pc-bin",
1001
+ "libfreetype6",
1002
+ "grub-common",
1003
+ "libcurl3-gnutls",
1004
+ "libisc-export1100",
1005
+ "libdns-export1104",
1006
+ "libsasl2-modules",
1007
+ "linux-image-4.19.0-14-amd64",
1008
+ "linux-image-amd64",
1009
+ "linux-libc-dev",
1010
+ "patch",
1011
+ "sudo"
1012
+ ],
1013
+ "apt_updates": 128,
1014
+ "apt_dist_updates": 130,
1015
+ "apt_security_updates": 45,
1016
+ "apt_security_dist_updates": 47,
1017
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
1018
+ "puppet_environmentpath": "/etc/puppetlabs/code/environments",
1019
+ "puppet_server": "pe-infranext-prod.infc-aws.puppet.net",
1020
+ "systemd": true,
1021
+ "systemd_version": "241",
1022
+ "systemd_internal_services": {
1023
+ "systemd-boot-check-no-failures.service": "disabled",
1024
+ "systemd-fsck-root.service": "enabled-runtime",
1025
+ "systemd-networkd-wait-online.service": "disabled",
1026
+ "systemd-networkd.service": "disabled",
1027
+ "systemd-resolved.service": "disabled",
1028
+ "systemd-time-wait-sync.service": "disabled",
1029
+ "systemd-timesyncd.service": "enabled"
1030
+ },
1031
+ "network_nexthop_ip": "10.16.112.1",
1032
+ "network_primary_interface": "ens192",
1033
+ "network_primary_ip": "10.16.124.235",
1034
+ "prometheus_alert_manager_running": false,
1035
+ "stage": "crusade",
1036
+ "haszfs": false,
1037
+ "apt_update_last_success": 1615413102,
1038
+ "virt_libvirt": false,
1039
+ "classification": {
1040
+ "hostname": "marital-crusade",
1041
+ "parts": [
1042
+ "marital",
1043
+ "",
1044
+ "",
1045
+ "",
1046
+ "crusade",
1047
+ ""
1048
+ ],
1049
+ "version": 0,
1050
+ "group": "marital",
1051
+ "function": "",
1052
+ "number": "",
1053
+ "number_string": "",
1054
+ "context": "",
1055
+ "stage": "crusade",
1056
+ "id": ""
1057
+ },
1058
+ "ip6tables_version": "1.8.2",
1059
+ "root_home": "/root",
1060
+ "primary_ip": "10.16.124.235",
1061
+ "primary_iface": "eth0",
1062
+ "group": "marital",
1063
+ "function_number": "",
1064
+ "platform_symlink_writable": true,
1065
+ "service_provider": "systemd",
1066
+ "pe_patch": {
1067
+ "package_updates": [],
1068
+ "package_update_count": 0,
1069
+ "missing_update_kbs": [],
1070
+ "security_package_updates": [],
1071
+ "security_package_update_count": 0,
1072
+ "blackouts": {},
1073
+ "pinned_packages": [],
1074
+ "last_run": {},
1075
+ "patch_group": "",
1076
+ "reboot_override": "default",
1077
+ "reboots": {
1078
+ "reboot_required": "unknown"
1079
+ },
1080
+ "block_patching_on_warnings": "false",
1081
+ "warnings": {
1082
+ "update_file": "Update file not found, update information invalid",
1083
+ "security_update_file": "Security update file not found, update information invalid"
1084
+ },
1085
+ "blocked": false,
1086
+ "blocked_reasons": []
1087
+ },
1088
+ "domain": "example.com",
1089
+ "fqdn": "foo.example.com",
1090
+ "hostname": "foo"
1091
+ }