HomeDocumentationAPI Reference
Log In
Documentation
These docs are for v5.7.0. Click to read the latest docs for v5.8.0.

Operating System Data

Data under the operating system keys is collected when you first add a host, or if a previously unseen host was discovered. Each time Sandfly logs into a host to do a scan, the keys in these fields are updated with the latest version the host provides.

{
	"info": {
		"kernel_tainted_state": null,
		"uuid": "",
		"machine_id": "",
		"product_serial": "",
		"uptime_date": "",
		"uptime_days": 0,
		"os_release": {
			"name": "",
			"version": "",
			"id": "",
			"id_like": "",
			"pretty_name": "",
			"version_id": "",
			"version_codename": "",
			"cpe_name": "",
			"build_id": "",
			"variant": "",
			"variant_id": "",
			"home_url": "",
			"documentation_url": "",
			"support_url": "",
			"bug_report_url": "",
			"privacy_policy_url": "",
			"logo": ""
		},
		"selinux_status": {
			"enabled": false,
			"enabled_mls": false,
			"enforce_mode_boot": "",
			"enforce_mode_current": ""
		},
		"selinux_context": "",
		"mounts": null
	},
	"performance": {
		"cpu": {
			"one_min": 0,
			"one_min_core_adjusted": 0,
			"five_min": 0,
			"five_min_core_adjusted": 0,
			"fifteen_min": 0,
			"fifteen_min_core_adjusted": 0,
			"raw": {
				"total": {
					"clk_tck": 0,
					"user": 0,
					"nice": 0,
					"system": 0,
					"idle": 0,
					"iowait": 0,
					"irq": 0,
					"soft_irq": 0,
					"steal": 0,
					"guest": 0,
					"guest_nice": 0,
					"cores": 0,
					"percent_idle": 0,
					"percent_used": 0
				},
				"current": {
					"clk_tck": 0,
					"user": 0,
					"nice": 0,
					"system": 0,
					"idle": 0,
					"iowait": 0,
					"irq": 0,
					"soft_irq": 0,
					"steal": 0,
					"guest": 0,
					"guest_nice": 0,
					"cores": 0,
					"percent_idle": 0,
					"percent_used": 0
				}
			}
		},
		"memory": {
			"total": 0,
			"free": 0,
			"available": 0,
			"swap_total": 0,
			"swap_free": 0,
			"buffers": 0,
			"cached": 0
		}
	},
	"hardware": {
		"cpu": {
			"processor": 0,
			"vendor_id": "",
			"family": 0,
			"model": 0,
			"model_name": "",
			"stepping": 0,
			"microcode": "",
			"mhz": 0,
			"cache_size": 0,
			"physical_id": 0,
			"siblings": 0,
			"core_id": 0,
			"cores": 0,
			"apicid": 0,
			"initial_apicid": 0,
			"fpu": false,
			"fpu_exception": false,
			"id_level": 0,
			"wp": false,
			"flags": null,
			"bugs": null,
			"bogo_mips": 0,
			"cl_flush_size": 0,
			"cache_alignment": 0,
			"address_sizes": null,
			"power_management": "",
			"implementer": "",
			"architecture": 0,
			"variant": "",
			"part": "",
			"revision": 0
		},
		"dmi": {
			"bios_date": "",
			"bios_vendor": "",
			"bios_version": "",
			"chassis_asset_tag": "",
			"chassis_serial": "",
			"chassis_type": "",
			"chassis_vendor": "",
			"chassis_version": "",
			"modalias": "",
			"product_family": "",
			"product_name": "",
			"product_serial": "",
			"product_uuid": "",
			"product_version": "",
			"sys_vendor": ""
		},
		"network": {
			"interfaces": null
		}
	},
	"time": {
		"system_clock_time": "",
		"system_clock_time_unix": 0,
		"sandfly_node_time": "",
		"sandfly_node_time_unix": 0
	}
}