Struct aws_sdk_securityhub::types::ProcessDetails
source · #[non_exhaustive]pub struct ProcessDetails {
pub name: Option<String>,
pub path: Option<String>,
pub pid: Option<i32>,
pub parent_pid: Option<i32>,
pub launched_at: Option<String>,
pub terminated_at: Option<String>,
}Expand description
The details of process-related information about a finding.
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.name: Option<String>The name of the process.
path: Option<String>The path to the process executable.
pid: Option<i32>The process ID.
parent_pid: Option<i32>The parent process ID. This field accepts positive integers between O and 2147483647.
launched_at: Option<String>Indicates when the process was launched.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
terminated_at: Option<String>Indicates when the process was terminated.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
Implementations§
source§impl ProcessDetails
impl ProcessDetails
sourcepub fn parent_pid(&self) -> Option<i32>
pub fn parent_pid(&self) -> Option<i32>
The parent process ID. This field accepts positive integers between O and 2147483647.
sourcepub fn launched_at(&self) -> Option<&str>
pub fn launched_at(&self) -> Option<&str>
Indicates when the process was launched.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn terminated_at(&self) -> Option<&str>
pub fn terminated_at(&self) -> Option<&str>
Indicates when the process was terminated.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
source§impl ProcessDetails
impl ProcessDetails
sourcepub fn builder() -> ProcessDetailsBuilder
pub fn builder() -> ProcessDetailsBuilder
Creates a new builder-style object to manufacture ProcessDetails.
Trait Implementations§
source§impl Clone for ProcessDetails
impl Clone for ProcessDetails
source§fn clone(&self) -> ProcessDetails
fn clone(&self) -> ProcessDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProcessDetails
impl Debug for ProcessDetails
source§impl PartialEq for ProcessDetails
impl PartialEq for ProcessDetails
source§fn eq(&self, other: &ProcessDetails) -> bool
fn eq(&self, other: &ProcessDetails) -> bool
self and other values to be equal, and is used
by ==.