Struct aws_sdk_securityhub::types::ContainerDetails
source · #[non_exhaustive]pub struct ContainerDetails {
pub container_runtime: Option<String>,
pub name: Option<String>,
pub image_id: Option<String>,
pub image_name: Option<String>,
pub launched_at: Option<String>,
pub volume_mounts: Option<Vec<VolumeMount>>,
pub privileged: Option<bool>,
}
Expand description
Container details related to 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.container_runtime: Option<String>
The runtime of the container.
name: Option<String>
The name of the container related to a finding.
image_id: Option<String>
The identifier of the container image related to a finding.
image_name: Option<String>
The name of the container image related to a finding.
launched_at: Option<String>
Indicates when the container started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
volume_mounts: Option<Vec<VolumeMount>>
Provides information about the mounting of a volume in a container.
privileged: Option<bool>
When this parameter is true
, the container is given elevated privileges on the host container instance (similar to the root user).
Implementations§
source§impl ContainerDetails
impl ContainerDetails
sourcepub fn container_runtime(&self) -> Option<&str>
pub fn container_runtime(&self) -> Option<&str>
The runtime of the container.
sourcepub fn image_id(&self) -> Option<&str>
pub fn image_id(&self) -> Option<&str>
The identifier of the container image related to a finding.
sourcepub fn image_name(&self) -> Option<&str>
pub fn image_name(&self) -> Option<&str>
The name of the container image related to a finding.
sourcepub fn launched_at(&self) -> Option<&str>
pub fn launched_at(&self) -> Option<&str>
Indicates when the container started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn volume_mounts(&self) -> &[VolumeMount]
pub fn volume_mounts(&self) -> &[VolumeMount]
Provides information about the mounting of a volume in a container.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .volume_mounts.is_none()
.
sourcepub fn privileged(&self) -> Option<bool>
pub fn privileged(&self) -> Option<bool>
When this parameter is true
, the container is given elevated privileges on the host container instance (similar to the root user).
source§impl ContainerDetails
impl ContainerDetails
sourcepub fn builder() -> ContainerDetailsBuilder
pub fn builder() -> ContainerDetailsBuilder
Creates a new builder-style object to manufacture ContainerDetails
.
Trait Implementations§
source§impl Clone for ContainerDetails
impl Clone for ContainerDetails
source§fn clone(&self) -> ContainerDetails
fn clone(&self) -> ContainerDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContainerDetails
impl Debug for ContainerDetails
source§impl PartialEq for ContainerDetails
impl PartialEq for ContainerDetails
source§fn eq(&self, other: &ContainerDetails) -> bool
fn eq(&self, other: &ContainerDetails) -> bool
self
and other
values to be equal, and is used
by ==
.