class Google::Apis::OndemandscanningV1::PackageIssue

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

Attributes

affected_cpe_uri[RW]

Required. The [CPE URI](cpe.mitre.org/specification/) this vulnerability was found in. Corresponds to the JSON property `affectedCpeUri` @return [String]

affected_package[RW]

Required. The package this vulnerability was found in. Corresponds to the JSON property `affectedPackage` @return [String]

affected_version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property `affectedVersion` @return [Google::Apis::OndemandscanningV1::Version]

effective_severity[RW]

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]

fix_available[RW]

Output only. Whether a fix is available for this package. Corresponds to the JSON property `fixAvailable` @return [Boolean]

fix_available?[RW]

Output only. Whether a fix is available for this package. Corresponds to the JSON property `fixAvailable` @return [Boolean]

fixed_cpe_uri[RW]

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]

fixed_package[RW]

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]

fixed_version[RW]

Version contains structured information about the version of a package. Corresponds to the JSON property `fixedVersion` @return [Google::Apis::OndemandscanningV1::Version]

package_type[RW]

The type of package (e.g. OS, MAVEN, GO). Corresponds to the JSON property `packageType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/ondemandscanning_v1/classes.rb, line 1605
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1/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