Enum usiem::events::field::SiemField[][src]

pub enum SiemField {
    Text(Cow<'static, str>),
    IP(SiemIp),
    Domain(String),
    User(String),
    AssetID(String),
    U32(u32),
    U64(u64),
    I64(i64),
    F64(f64),
    Date(i64),
}

Variants

Text(Cow<'static, str>)

A basic String field

Tuple Fields of Text

0: Cow<'static, str>
IP(SiemIp)

IPv4 or IPv6

Tuple Fields of IP

0: SiemIp
Domain(String)

Tuple Fields of Domain

0: String
User(String)

Tuple Fields of User

0: String
AssetID(String)

This is a special field. Uniquely identifies an asset like a system, a computer or a mobile phone. Reason: the network is dynamic, the IP address is not fixed certain devices and the hostname of a system can be changed.

This field should be used with a dataset to recover information about an asset during the enchance phase: Getting the IP address, the users logged in the system or another information.

Can be multiple AssetsID associated with the same event because multiple virtual machines can be running in the same asset.

Tuple Fields of AssetID

0: String
U32(u32)

unsigned number with 32 bits

Tuple Fields of U32

0: u32
U64(u64)

unsigned number with 64 bits

Tuple Fields of U64

0: u64
I64(i64)

signed number with 64 bits

Tuple Fields of I64

0: i64
F64(f64)

decimal number with 64 bits

Tuple Fields of F64

0: f64
Date(i64)

A date in a decimal number format with 64 bits

Tuple Fields of Date

0: i64

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.