Class: Grafeas::V1::VulnerabilityOccurrence::PackageIssue

Inherits:
Object
  • Object
show all
Defined in:
lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#affected_cpe_uriString

Returns Required. The CPE URI this vulnerability was found in.

Returns:

  • (String)

    Required. The CPE URI this vulnerability was found in.



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#affected_packageString

Returns Required. The package this vulnerability was found in.

Returns:

  • (String)

    Required. The package this vulnerability was found in.



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#affected_versionGrafeas::V1::Version

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

Returns:

  • (Grafeas::V1::Version)

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



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#fix_availabletrue, false

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

Returns:

  • (true, false)

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



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#fixed_cpe_uriString

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

Returns:

  • (String)

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



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#fixed_packageString

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

Returns:

  • (String)

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



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end

#fixed_versionGrafeas::V1::Version

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

Returns:

  • (Grafeas::V1::Version)

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



199
# File 'lib/grafeas/v1/doc/grafeas/v1/vulnerability.rb', line 199

class PackageIssue; end