pub struct PackageIssue {
    pub affected_cpe_uri: Option<String>,
    pub affected_package: Option<String>,
    pub affected_version: Option<Version>,
    pub effective_severity: Option<String>,
    pub fix_available: Option<bool>,
    pub fixed_cpe_uri: Option<String>,
    pub fixed_package: Option<String>,
    pub fixed_version: Option<Version>,
    pub package_type: Option<String>,
}
Expand description

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

This type is not used in any activity, and only used as part of another schema.

Fields

affected_cpe_uri: Option<String>

Required. The CPE URI this vulnerability was found in.

affected_package: Option<String>

Required. The package this vulnerability was found in.

affected_version: Option<Version>

Required. The version of the package that is installed on the resource affected by this vulnerability.

effective_severity: Option<String>

Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.

fix_available: Option<bool>

Output only. Whether a fix is available for this package.

fixed_cpe_uri: Option<String>

The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.

fixed_package: Option<String>

The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.

fixed_version: Option<Version>

Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.

package_type: Option<String>

The type of package (e.g. OS, MAVEN, GO).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more