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

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/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_uri::String

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

Returns:

  • (::String)

    Required. The CPE URI this vulnerability was found in.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#affected_package::String

Returns Required. The package this vulnerability was found in.

Returns:

  • (::String)

    Required. The package this vulnerability was found in.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#affected_version::Grafeas::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.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#effective_severity::Grafeas::V1::Severity (readonly)

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

Returns:

  • (::Grafeas::V1::Severity)

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



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#file_location::Array<::Grafeas::V1::FileLocation>

Returns The location at which this package was found.

Returns:



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fix_available::Boolean

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

Returns:

  • (::Boolean)

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



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fixed_cpe_uri::String

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.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fixed_package::String

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.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#fixed_version::Grafeas::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.



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#package_type::String

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

Returns:

  • (::String)

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



260
261
262
263
# File 'proto_docs/grafeas/v1/vulnerability.rb', line 260

class PackageIssue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end