Package io.grafeas.v1

Interface VulnerabilityNoteOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    VulnerabilityNote, VulnerabilityNote.Builder

    public interface VulnerabilityNoteOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCvssScore

        float getCvssScore()
         The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
         where 0 indicates low severity and 10 indicates high severity.
         
        float cvss_score = 1;
        Returns:
        The cvssScore.
      • getSeverityValue

        int getSeverityValue()
         The note provider assigned severity of this vulnerability.
         
        .grafeas.v1.Severity severity = 2;
        Returns:
        The enum numeric value on the wire for severity.
      • getSeverity

        Severity getSeverity()
         The note provider assigned severity of this vulnerability.
         
        .grafeas.v1.Severity severity = 2;
        Returns:
        The severity.
      • getDetailsList

        List<VulnerabilityNote.Detail> getDetailsList()
         Details of all known distros and packages affected by this vulnerability.
         
        repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
      • getDetails

        VulnerabilityNote.Detail getDetails​(int index)
         Details of all known distros and packages affected by this vulnerability.
         
        repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
      • getDetailsCount

        int getDetailsCount()
         Details of all known distros and packages affected by this vulnerability.
         
        repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
      • getDetailsOrBuilderList

        List<? extends VulnerabilityNote.DetailOrBuilder> getDetailsOrBuilderList()
         Details of all known distros and packages affected by this vulnerability.
         
        repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
      • getDetailsOrBuilder

        VulnerabilityNote.DetailOrBuilder getDetailsOrBuilder​(int index)
         Details of all known distros and packages affected by this vulnerability.
         
        repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
      • hasCvssV3

        boolean hasCvssV3()
         The full description of the CVSSv3 for this vulnerability.
         
        .grafeas.v1.CVSSv3 cvss_v3 = 4;
        Returns:
        Whether the cvssV3 field is set.
      • getCvssV3

        CVSSv3 getCvssV3()
         The full description of the CVSSv3 for this vulnerability.
         
        .grafeas.v1.CVSSv3 cvss_v3 = 4;
        Returns:
        The cvssV3.
      • getCvssV3OrBuilder

        CVSSv3OrBuilder getCvssV3OrBuilder()
         The full description of the CVSSv3 for this vulnerability.
         
        .grafeas.v1.CVSSv3 cvss_v3 = 4;
      • getWindowsDetailsList

        List<VulnerabilityNote.WindowsDetail> getWindowsDetailsList()
         Windows details get their own format because the information format and
         model don't match a normal detail. Specifically Windows updates are done as
         patches, thus Windows vulnerabilities really are a missing package, rather
         than a package being at an incorrect version.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
      • getWindowsDetails

        VulnerabilityNote.WindowsDetail getWindowsDetails​(int index)
         Windows details get their own format because the information format and
         model don't match a normal detail. Specifically Windows updates are done as
         patches, thus Windows vulnerabilities really are a missing package, rather
         than a package being at an incorrect version.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
      • getWindowsDetailsCount

        int getWindowsDetailsCount()
         Windows details get their own format because the information format and
         model don't match a normal detail. Specifically Windows updates are done as
         patches, thus Windows vulnerabilities really are a missing package, rather
         than a package being at an incorrect version.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
      • getWindowsDetailsOrBuilderList

        List<? extends VulnerabilityNote.WindowsDetailOrBuilder> getWindowsDetailsOrBuilderList()
         Windows details get their own format because the information format and
         model don't match a normal detail. Specifically Windows updates are done as
         patches, thus Windows vulnerabilities really are a missing package, rather
         than a package being at an incorrect version.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
      • getWindowsDetailsOrBuilder

        VulnerabilityNote.WindowsDetailOrBuilder getWindowsDetailsOrBuilder​(int index)
         Windows details get their own format because the information format and
         model don't match a normal detail. Specifically Windows updates are done as
         patches, thus Windows vulnerabilities really are a missing package, rather
         than a package being at an incorrect version.
         
        repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;
      • 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 = 6;
        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 = 6;
        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 = 6;
      • getCvssVersionValue

        int getCvssVersionValue()
         CVSS version used to populate cvss_score and severity.
         
        .grafeas.v1.CVSSVersion cvss_version = 7;
        Returns:
        The enum numeric value on the wire for cvssVersion.
      • getCvssVersion

        CVSSVersion getCvssVersion()
         CVSS version used to populate cvss_score and severity.
         
        .grafeas.v1.CVSSVersion cvss_version = 7;
        Returns:
        The cvssVersion.
      • hasCvssV2

        boolean hasCvssV2()
         The full description of the v2 CVSS for this vulnerability.
         
        .grafeas.v1.CVSS cvss_v2 = 8;
        Returns:
        Whether the cvssV2 field is set.
      • getCvssV2

        CVSS getCvssV2()
         The full description of the v2 CVSS for this vulnerability.
         
        .grafeas.v1.CVSS cvss_v2 = 8;
        Returns:
        The cvssV2.
      • getCvssV2OrBuilder

        CVSSOrBuilder getCvssV2OrBuilder()
         The full description of the v2 CVSS for this vulnerability.
         
        .grafeas.v1.CVSS cvss_v2 = 8;