#[non_exhaustive]pub struct Os {Show 13 fields
pub build: Option<String>,
pub country: Option<String>,
pub cpe_name: Option<String>,
pub cpu_bits: Option<i64>,
pub edition: Option<String>,
pub kernel_release: Option<String>,
pub lang: Option<String>,
pub name: Option<String>,
pub sp_name: Option<String>,
pub sp_ver: Option<i64>,
pub type: Option<String>,
pub type_id: Option<i64>,
pub version: Option<String>,
}Expand description
Operating System (OS)
The Operating System (OS) object describes characteristics of an OS, such as Linux or Windows.
[] Category: | Name: os
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.build: Option<String>OS Build
The operating system build number.
optional
country: Option<String>Country
The operating system country code, as defined by the ISO 3166-1 standard (Alpha-2 code).
Note: The two letter country code should be capitalized. For example: US or CA.
optional
cpe_name: Option<String>The product CPE identifier
The Common Platform Enumeration (CPE) name as described by (NIST) For example: cpe:/a:apple:safari:16.2.
optional
cpu_bits: Option<i64>CPU Bits
The cpu architecture, the number of bits used for addressing in memory. For example: 32 or 64.
optional
edition: Option<String>OS Edition
The operating system edition. For example: Professional.
optional
kernel_release: Option<String>Kernel Release
The kernel release of the operating system. On Unix-based systems, this is determined from the uname -r command output, for example “5.15.0-122-generic”.
optional
lang: Option<String>Language
The two letter lower case language codes, as defined by ISO 639-1. For example: en (English), de (German), or fr (French).
optional
name: Option<String>Name
The operating system name.
required
sp_name: Option<String>OS Service Pack
The name of the latest Service Pack.
optional
sp_ver: Option<i64>OS Service Pack Version
The version number of the latest Service Pack.
optional
type: Option<String>Type
The type of the operating system.
optional
type_id: Option<i64>Type ID
The type identifier of the operating system.
required
version: Option<String>Version
The version of the OS running on the device that originated the event. For example: “Windows 10”, “OS X 10.7”, or “iOS 9”.
optional