# Generated by the protocol buffer compiler. DO NOT EDIT! # source: grafeas/v1/vulnerability.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/protobuf/timestamp_pb' require 'grafeas/v1/common_pb' require 'grafeas/v1/cvss_pb' require 'grafeas/v1/package_pb' require 'grafeas/v1/severity_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("grafeas/v1/vulnerability.proto", :syntax => :proto3) do add_message "grafeas.v1.VulnerabilityNote" do optional :cvss_score, :float, 1 optional :severity, :enum, 2, "grafeas.v1.Severity" repeated :details, :message, 3, "grafeas.v1.VulnerabilityNote.Detail" optional :cvss_v3, :message, 4, "grafeas.v1.CVSSv3" repeated :windows_details, :message, 5, "grafeas.v1.VulnerabilityNote.WindowsDetail" optional :source_update_time, :message, 6, "google.protobuf.Timestamp" optional :cvss_version, :enum, 7, "grafeas.v1.CVSSVersion" end add_message "grafeas.v1.VulnerabilityNote.Detail" do optional :severity_name, :string, 1 optional :description, :string, 2 optional :package_type, :string, 3 optional :affected_cpe_uri, :string, 4 optional :affected_package, :string, 5 optional :affected_version_start, :message, 6, "grafeas.v1.Version" optional :affected_version_end, :message, 7, "grafeas.v1.Version" optional :fixed_cpe_uri, :string, 8 optional :fixed_package, :string, 9 optional :fixed_version, :message, 10, "grafeas.v1.Version" optional :is_obsolete, :bool, 11 optional :source_update_time, :message, 12, "google.protobuf.Timestamp" optional :source, :string, 13 optional :vendor, :string, 14 end add_message "grafeas.v1.VulnerabilityNote.WindowsDetail" do optional :cpe_uri, :string, 1 optional :name, :string, 2 optional :description, :string, 3 repeated :fixing_kbs, :message, 4, "grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase" end add_message "grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase" do optional :name, :string, 1 optional :url, :string, 2 end add_message "grafeas.v1.VulnerabilityOccurrence" do optional :type, :string, 1 optional :severity, :enum, 2, "grafeas.v1.Severity" optional :cvss_score, :float, 3 optional :cvssv3, :message, 10, "grafeas.v1.CVSS" repeated :package_issue, :message, 4, "grafeas.v1.VulnerabilityOccurrence.PackageIssue" optional :short_description, :string, 5 optional :long_description, :string, 6 repeated :related_urls, :message, 7, "grafeas.v1.RelatedUrl" optional :effective_severity, :enum, 8, "grafeas.v1.Severity" optional :fix_available, :bool, 9 optional :cvss_version, :enum, 11, "grafeas.v1.CVSSVersion" end add_message "grafeas.v1.VulnerabilityOccurrence.PackageIssue" do optional :affected_cpe_uri, :string, 1 optional :affected_package, :string, 2 optional :affected_version, :message, 3, "grafeas.v1.Version" optional :fixed_cpe_uri, :string, 4 optional :fixed_package, :string, 5 optional :fixed_version, :message, 6, "grafeas.v1.Version" optional :fix_available, :bool, 7 optional :package_type, :string, 8 optional :effective_severity, :enum, 9, "grafeas.v1.Severity" repeated :file_location, :message, 10, "grafeas.v1.FileLocation" end end end module Grafeas module V1 VulnerabilityNote = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote").msgclass VulnerabilityNote::Detail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.Detail").msgclass VulnerabilityNote::WindowsDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.WindowsDetail").msgclass VulnerabilityNote::WindowsDetail::KnowledgeBase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase").msgclass VulnerabilityOccurrence = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityOccurrence").msgclass VulnerabilityOccurrence::PackageIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grafeas.v1.VulnerabilityOccurrence.PackageIssue").msgclass end end