Struct aws_sdk_imagebuilder::types::ImageScanFinding
source · #[non_exhaustive]pub struct ImageScanFinding {Show 14 fields
pub aws_account_id: Option<String>,
pub image_build_version_arn: Option<String>,
pub image_pipeline_arn: Option<String>,
pub type: Option<String>,
pub description: Option<String>,
pub title: Option<String>,
pub remediation: Option<Remediation>,
pub severity: Option<String>,
pub first_observed_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub inspector_score: Option<f64>,
pub inspector_score_details: Option<InspectorScoreDetails>,
pub package_vulnerability_details: Option<PackageVulnerabilityDetails>,
pub fix_available: Option<String>,
}
Expand description
Contains details about a vulnerability scan 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.aws_account_id: Option<String>
The Amazon Web Services account ID that's associated with the finding.
image_build_version_arn: Option<String>
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
image_pipeline_arn: Option<String>
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
type: Option<String>
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.
description: Option<String>
The description of the finding.
title: Option<String>
The title of the finding.
remediation: Option<Remediation>
An object that contains the details about how to remediate the finding.
severity: Option<String>
The severity of the finding.
first_observed_at: Option<DateTime>
The date and time when the finding was first observed.
updated_at: Option<DateTime>
The timestamp when the finding was last updated.
inspector_score: Option<f64>
The score that Amazon Inspector assigned for the finding.
inspector_score_details: Option<InspectorScoreDetails>
An object that contains details of the Amazon Inspector score.
package_vulnerability_details: Option<PackageVulnerabilityDetails>
An object that contains the details of a package vulnerability finding.
fix_available: Option<String>
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
Implementations§
source§impl ImageScanFinding
impl ImageScanFinding
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The Amazon Web Services account ID that's associated with the finding.
sourcepub fn image_build_version_arn(&self) -> Option<&str>
pub fn image_build_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
sourcepub fn image_pipeline_arn(&self) -> Option<&str>
pub fn image_pipeline_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY
that apply to output images, and excludes other types.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the finding.
sourcepub fn remediation(&self) -> Option<&Remediation>
pub fn remediation(&self) -> Option<&Remediation>
An object that contains the details about how to remediate the finding.
sourcepub fn first_observed_at(&self) -> Option<&DateTime>
pub fn first_observed_at(&self) -> Option<&DateTime>
The date and time when the finding was first observed.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp when the finding was last updated.
sourcepub fn inspector_score(&self) -> Option<f64>
pub fn inspector_score(&self) -> Option<f64>
The score that Amazon Inspector assigned for the finding.
sourcepub fn inspector_score_details(&self) -> Option<&InspectorScoreDetails>
pub fn inspector_score_details(&self) -> Option<&InspectorScoreDetails>
An object that contains details of the Amazon Inspector score.
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 fix_available(&self) -> Option<&str>
pub fn fix_available(&self) -> Option<&str>
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
source§impl ImageScanFinding
impl ImageScanFinding
sourcepub fn builder() -> ImageScanFindingBuilder
pub fn builder() -> ImageScanFindingBuilder
Creates a new builder-style object to manufacture ImageScanFinding
.
Trait Implementations§
source§impl Clone for ImageScanFinding
impl Clone for ImageScanFinding
source§fn clone(&self) -> ImageScanFinding
fn clone(&self) -> ImageScanFinding
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageScanFinding
impl Debug for ImageScanFinding
source§impl PartialEq for ImageScanFinding
impl PartialEq for ImageScanFinding
source§fn eq(&self, other: &ImageScanFinding) -> bool
fn eq(&self, other: &ImageScanFinding) -> bool
self
and other
values to be equal, and is used
by ==
.