# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter/v1/vulnerability.proto require 'google/api/annotations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/securitycenter/v1/vulnerability.proto", :syntax => :proto3) do add_message "google.cloud.securitycenter.v1.Vulnerability" do optional :cve, :message, 1, "google.cloud.securitycenter.v1.Cve" end add_message "google.cloud.securitycenter.v1.Cve" do optional :id, :string, 1 repeated :references, :message, 2, "google.cloud.securitycenter.v1.Reference" optional :cvssv3, :message, 3, "google.cloud.securitycenter.v1.Cvssv3" end add_message "google.cloud.securitycenter.v1.Reference" do optional :source, :string, 1 optional :uri, :string, 2 end add_message "google.cloud.securitycenter.v1.Cvssv3" do optional :base_score, :double, 1 optional :attack_vector, :enum, 5, "google.cloud.securitycenter.v1.Cvssv3.AttackVector" optional :attack_complexity, :enum, 6, "google.cloud.securitycenter.v1.Cvssv3.AttackComplexity" optional :privileges_required, :enum, 7, "google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired" optional :user_interaction, :enum, 8, "google.cloud.securitycenter.v1.Cvssv3.UserInteraction" optional :scope, :enum, 9, "google.cloud.securitycenter.v1.Cvssv3.Scope" optional :confidentiality_impact, :enum, 10, "google.cloud.securitycenter.v1.Cvssv3.Impact" optional :integrity_impact, :enum, 11, "google.cloud.securitycenter.v1.Cvssv3.Impact" optional :availability_impact, :enum, 12, "google.cloud.securitycenter.v1.Cvssv3.Impact" end add_enum "google.cloud.securitycenter.v1.Cvssv3.AttackVector" do value :ATTACK_VECTOR_UNSPECIFIED, 0 value :ATTACK_VECTOR_NETWORK, 1 value :ATTACK_VECTOR_ADJACENT, 2 value :ATTACK_VECTOR_LOCAL, 3 value :ATTACK_VECTOR_PHYSICAL, 4 end add_enum "google.cloud.securitycenter.v1.Cvssv3.AttackComplexity" do value :ATTACK_COMPLEXITY_UNSPECIFIED, 0 value :ATTACK_COMPLEXITY_LOW, 1 value :ATTACK_COMPLEXITY_HIGH, 2 end add_enum "google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired" do value :PRIVILEGES_REQUIRED_UNSPECIFIED, 0 value :PRIVILEGES_REQUIRED_NONE, 1 value :PRIVILEGES_REQUIRED_LOW, 2 value :PRIVILEGES_REQUIRED_HIGH, 3 end add_enum "google.cloud.securitycenter.v1.Cvssv3.UserInteraction" do value :USER_INTERACTION_UNSPECIFIED, 0 value :USER_INTERACTION_NONE, 1 value :USER_INTERACTION_REQUIRED, 2 end add_enum "google.cloud.securitycenter.v1.Cvssv3.Scope" do value :SCOPE_UNSPECIFIED, 0 value :SCOPE_UNCHANGED, 1 value :SCOPE_CHANGED, 2 end add_enum "google.cloud.securitycenter.v1.Cvssv3.Impact" do value :IMPACT_UNSPECIFIED, 0 value :IMPACT_HIGH, 1 value :IMPACT_LOW, 2 value :IMPACT_NONE, 3 end end end module Google module Cloud module SecurityCenter module V1 Vulnerability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Vulnerability").msgclass Cve = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cve").msgclass Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Reference").msgclass Cvssv3 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3").msgclass Cvssv3::AttackVector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.AttackVector").enummodule Cvssv3::AttackComplexity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.AttackComplexity").enummodule Cvssv3::PrivilegesRequired = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired").enummodule Cvssv3::UserInteraction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.UserInteraction").enummodule Cvssv3::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.Scope").enummodule Cvssv3::Impact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Cvssv3.Impact").enummodule end end end end