Interface Vulnerability.DetailOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Vulnerability.Detail, Vulnerability.Detail.Builder
Enclosing class:
Vulnerability

public static interface Vulnerability.DetailOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCpeUri

      String getCpeUri()
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Returns:
      The cpeUri.
    • getCpeUriBytes

      com.google.protobuf.ByteString getCpeUriBytes()
       Required. The CPE URI in
       [cpe format](https://cpe.mitre.org/specification/) in which the
       vulnerability manifests. Examples include distro or storage location for
       vulnerable jar.
       
      string cpe_uri = 1;
      Returns:
      The bytes for cpeUri.
    • getPackage

      String getPackage()
       Required. The name of the package where the vulnerability was found.
       
      string package = 2;
      Returns:
      The package.
    • getPackageBytes

      com.google.protobuf.ByteString getPackageBytes()
       Required. The name of the package where the vulnerability was found.
       
      string package = 2;
      Returns:
      The bytes for package.
    • hasMinAffectedVersion

      boolean hasMinAffectedVersion()
       The min version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version min_affected_version = 3;
      Returns:
      Whether the minAffectedVersion field is set.
    • getMinAffectedVersion

      Version getMinAffectedVersion()
       The min version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version min_affected_version = 3;
      Returns:
      The minAffectedVersion.
    • getMinAffectedVersionOrBuilder

      VersionOrBuilder getMinAffectedVersionOrBuilder()
       The min version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version min_affected_version = 3;
    • hasMaxAffectedVersion

      boolean hasMaxAffectedVersion()
       The max version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version max_affected_version = 4;
      Returns:
      Whether the maxAffectedVersion field is set.
    • getMaxAffectedVersion

      Version getMaxAffectedVersion()
       The max version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version max_affected_version = 4;
      Returns:
      The maxAffectedVersion.
    • getMaxAffectedVersionOrBuilder

      VersionOrBuilder getMaxAffectedVersionOrBuilder()
       The max version of the package in which the vulnerability exists.
       
      .grafeas.v1beta1.package.Version max_affected_version = 4;
    • getSeverityName

      String getSeverityName()
       The severity (eg: distro assigned severity) for this vulnerability.
       
      string severity_name = 5;
      Returns:
      The severityName.
    • getSeverityNameBytes

      com.google.protobuf.ByteString getSeverityNameBytes()
       The severity (eg: distro assigned severity) for this vulnerability.
       
      string severity_name = 5;
      Returns:
      The bytes for severityName.
    • getDescription

      String getDescription()
       A vendor-specific description of this note.
       
      string description = 6;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       A vendor-specific description of this note.
       
      string description = 6;
      Returns:
      The bytes for description.
    • hasFixedLocation

      boolean hasFixedLocation()
       The fix for this specific package version.
       
      .grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
      Returns:
      Whether the fixedLocation field is set.
    • getFixedLocation

      VulnerabilityLocation getFixedLocation()
       The fix for this specific package version.
       
      .grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
      Returns:
      The fixedLocation.
    • getFixedLocationOrBuilder

      VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
       The fix for this specific package version.
       
      .grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 7;
    • getPackageType

      String getPackageType()
       The type of package; whether native or non native(ruby gems, node.js
       packages etc).
       
      string package_type = 8;
      Returns:
      The packageType.
    • getPackageTypeBytes

      com.google.protobuf.ByteString getPackageTypeBytes()
       The type of package; whether native or non native(ruby gems, node.js
       packages etc).
       
      string package_type = 8;
      Returns:
      The bytes for packageType.
    • getIsObsolete

      boolean getIsObsolete()
       Whether this detail is obsolete. Occurrences are expected not to point to
       obsolete details.
       
      bool is_obsolete = 9;
      Returns:
      The isObsolete.
    • hasSourceUpdateTime

      boolean hasSourceUpdateTime()
       The time this information was last changed at the source. This is an
       upstream timestamp from the underlying information source - e.g. Ubuntu
       security tracker.
       
      .google.protobuf.Timestamp source_update_time = 10;
      Returns:
      Whether the sourceUpdateTime field is set.
    • getSourceUpdateTime

      com.google.protobuf.Timestamp getSourceUpdateTime()
       The time this information was last changed at the source. This is an
       upstream timestamp from the underlying information source - e.g. Ubuntu
       security tracker.
       
      .google.protobuf.Timestamp source_update_time = 10;
      Returns:
      The sourceUpdateTime.
    • getSourceUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getSourceUpdateTimeOrBuilder()
       The time this information was last changed at the source. This is an
       upstream timestamp from the underlying information source - e.g. Ubuntu
       security tracker.
       
      .google.protobuf.Timestamp source_update_time = 10;