class Google::Apis::OndemandscanningV1beta1::PackageIssue
A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).
Attributes
Required. The [CPE URI](cpe.mitre.org/specification/) this vulnerability was found in. Corresponds to the JSON property `affectedCpeUri` @return [String]
Required. The package this vulnerability was found in. Corresponds to the JSON property `affectedPackage` @return [String]
Version
contains structured information about the version of a package. Corresponds to the JSON property `affectedVersion` @return [Google::Apis::OndemandscanningV1beta1::Version]
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. Corresponds to the JSON property `effectiveSeverity` @return [String]
Output only. Whether a fix is available for this package. Corresponds to the JSON property `fixAvailable` @return [Boolean]
Output only. Whether a fix is available for this package. Corresponds to the JSON property `fixAvailable` @return [Boolean]
The [CPE URI](cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri. Corresponds to the JSON property `fixedCpeUri` @return [String]
The package this vulnerability was fixed in. It is possible for this to be different from the affected_package. Corresponds to the JSON property `fixedPackage` @return [String]
Version
contains structured information about the version of a package. Corresponds to the JSON property `fixedVersion` @return [Google::Apis::OndemandscanningV1beta1::Version]
The type of package (e.g. OS, MAVEN, GO). Corresponds to the JSON property `packageType` @return [String]
Public Class Methods
# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 1605 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 1610 def update!(**args) @affected_cpe_uri = args[:affected_cpe_uri] if args.key?(:affected_cpe_uri) @affected_package = args[:affected_package] if args.key?(:affected_package) @affected_version = args[:affected_version] if args.key?(:affected_version) @effective_severity = args[:effective_severity] if args.key?(:effective_severity) @fix_available = args[:fix_available] if args.key?(:fix_available) @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri) @fixed_package = args[:fixed_package] if args.key?(:fixed_package) @fixed_version = args[:fixed_version] if args.key?(:fixed_version) @package_type = args[:package_type] if args.key?(:package_type) end