Struct aws_sdk_ecr::types::EnhancedImageScanFinding
source · #[non_exhaustive]pub struct EnhancedImageScanFinding {Show 15 fields
pub aws_account_id: Option<String>,
pub description: Option<String>,
pub finding_arn: Option<String>,
pub first_observed_at: Option<DateTime>,
pub last_observed_at: Option<DateTime>,
pub package_vulnerability_details: Option<PackageVulnerabilityDetails>,
pub remediation: Option<Remediation>,
pub resources: Option<Vec<Resource>>,
pub score: f64,
pub score_details: Option<ScoreDetails>,
pub severity: Option<String>,
pub status: Option<String>,
pub title: Option<String>,
pub type: Option<String>,
pub updated_at: Option<DateTime>,
}
Expand description
The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.
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.aws_account_id: Option<String>
The Amazon Web Services account ID associated with the image.
description: Option<String>
The description of the finding.
finding_arn: Option<String>
The Amazon Resource Number (ARN) of the finding.
first_observed_at: Option<DateTime>
The date and time that the finding was first observed.
last_observed_at: Option<DateTime>
The date and time that the finding was last observed.
package_vulnerability_details: Option<PackageVulnerabilityDetails>
An object that contains the details of a package vulnerability finding.
remediation: Option<Remediation>
An object that contains the details about how to remediate a finding.
resources: Option<Vec<Resource>>
Contains information on the resources involved in a finding.
score: f64
The Amazon Inspector score given to the finding.
score_details: Option<ScoreDetails>
An object that contains details of the Amazon Inspector score.
severity: Option<String>
The severity of the finding.
status: Option<String>
The status of the finding.
title: Option<String>
The title of the finding.
type: Option<String>
The type of the finding.
updated_at: Option<DateTime>
The date and time the finding was last updated at.
Implementations§
source§impl EnhancedImageScanFinding
impl EnhancedImageScanFinding
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the image.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the finding.
sourcepub fn finding_arn(&self) -> Option<&str>
pub fn finding_arn(&self) -> Option<&str>
The Amazon Resource Number (ARN) of the finding.
sourcepub fn first_observed_at(&self) -> Option<&DateTime>
pub fn first_observed_at(&self) -> Option<&DateTime>
The date and time that the finding was first observed.
sourcepub fn last_observed_at(&self) -> Option<&DateTime>
pub fn last_observed_at(&self) -> Option<&DateTime>
The date and time that the finding was last observed.
sourcepub fn package_vulnerability_details(
&self
) -> Option<&PackageVulnerabilityDetails>
pub fn package_vulnerability_details( &self ) -> Option<&PackageVulnerabilityDetails>
An object that contains the details of a package vulnerability finding.
sourcepub fn remediation(&self) -> Option<&Remediation>
pub fn remediation(&self) -> Option<&Remediation>
An object that contains the details about how to remediate a finding.
sourcepub fn resources(&self) -> &[Resource]
pub fn resources(&self) -> &[Resource]
Contains information on the resources involved in a finding.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
sourcepub fn score_details(&self) -> Option<&ScoreDetails>
pub fn score_details(&self) -> Option<&ScoreDetails>
An object that contains details of the Amazon Inspector score.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the finding was last updated at.
source§impl EnhancedImageScanFinding
impl EnhancedImageScanFinding
sourcepub fn builder() -> EnhancedImageScanFindingBuilder
pub fn builder() -> EnhancedImageScanFindingBuilder
Creates a new builder-style object to manufacture EnhancedImageScanFinding
.
Trait Implementations§
source§impl Clone for EnhancedImageScanFinding
impl Clone for EnhancedImageScanFinding
source§fn clone(&self) -> EnhancedImageScanFinding
fn clone(&self) -> EnhancedImageScanFinding
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnhancedImageScanFinding
impl Debug for EnhancedImageScanFinding
source§impl PartialEq for EnhancedImageScanFinding
impl PartialEq for EnhancedImageScanFinding
source§fn eq(&self, other: &EnhancedImageScanFinding) -> bool
fn eq(&self, other: &EnhancedImageScanFinding) -> bool
self
and other
values to be equal, and is used
by ==
.