Struct aws_sdk_securityhub::types::SoftwarePackage
source · #[non_exhaustive]pub struct SoftwarePackage {
pub name: Option<String>,
pub version: Option<String>,
pub epoch: Option<String>,
pub release: Option<String>,
pub architecture: Option<String>,
pub package_manager: Option<String>,
pub file_path: Option<String>,
pub fixed_in_version: Option<String>,
pub remediation: Option<String>,
pub source_layer_hash: Option<String>,
pub source_layer_arn: Option<String>,
}Expand description
Information about a software package.
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 software package.
version: Option<String>The version of the software package.
epoch: Option<String>The epoch of the software package.
release: Option<String>The release of the software package.
architecture: Option<String>The architecture used for the software package.
package_manager: Option<String>The source of the package.
file_path: Option<String>The file system path to the package manager inventory file.
fixed_in_version: Option<String>The version of the software package in which the vulnerability has been resolved.
remediation: Option<String>Describes the actions a customer can take to resolve the vulnerability in the software package.
source_layer_hash: Option<String>The source layer hash of the vulnerable package.
source_layer_arn: Option<String>The Amazon Resource Name (ARN) of the source layer.
Implementations§
source§impl SoftwarePackage
impl SoftwarePackage
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The architecture used for the software package.
sourcepub fn package_manager(&self) -> Option<&str>
pub fn package_manager(&self) -> Option<&str>
The source of the package.
sourcepub fn file_path(&self) -> Option<&str>
pub fn file_path(&self) -> Option<&str>
The file system path to the package manager inventory file.
sourcepub fn fixed_in_version(&self) -> Option<&str>
pub fn fixed_in_version(&self) -> Option<&str>
The version of the software package in which the vulnerability has been resolved.
sourcepub fn remediation(&self) -> Option<&str>
pub fn remediation(&self) -> Option<&str>
Describes the actions a customer can take to resolve the vulnerability in the software package.
sourcepub fn source_layer_hash(&self) -> Option<&str>
pub fn source_layer_hash(&self) -> Option<&str>
The source layer hash of the vulnerable package.
sourcepub fn source_layer_arn(&self) -> Option<&str>
pub fn source_layer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the source layer.
source§impl SoftwarePackage
impl SoftwarePackage
sourcepub fn builder() -> SoftwarePackageBuilder
pub fn builder() -> SoftwarePackageBuilder
Creates a new builder-style object to manufacture SoftwarePackage.
Trait Implementations§
source§impl Clone for SoftwarePackage
impl Clone for SoftwarePackage
source§fn clone(&self) -> SoftwarePackage
fn clone(&self) -> SoftwarePackage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SoftwarePackage
impl Debug for SoftwarePackage
source§impl PartialEq for SoftwarePackage
impl PartialEq for SoftwarePackage
source§fn eq(&self, other: &SoftwarePackage) -> bool
fn eq(&self, other: &SoftwarePackage) -> bool
self and other values to be equal, and is used
by ==.