# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter/v1/finding.proto require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/securitycenter/v1/access_pb' require 'google/cloud/securitycenter/v1/external_system_pb' require 'google/cloud/securitycenter/v1/iam_binding_pb' require 'google/cloud/securitycenter/v1/indicator_pb' require 'google/cloud/securitycenter/v1/mitre_attack_pb' require 'google/cloud/securitycenter/v1/security_marks_pb' require 'google/cloud/securitycenter/v1/vulnerability_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do add_message "google.cloud.securitycenter.v1.Finding" do optional :name, :string, 1 optional :parent, :string, 2 optional :resource_name, :string, 3 optional :state, :enum, 4, "google.cloud.securitycenter.v1.Finding.State" optional :category, :string, 5 optional :external_uri, :string, 6 map :source_properties, :string, :message, 7, "google.protobuf.Value" optional :security_marks, :message, 8, "google.cloud.securitycenter.v1.SecurityMarks" optional :event_time, :message, 9, "google.protobuf.Timestamp" optional :create_time, :message, 10, "google.protobuf.Timestamp" optional :severity, :enum, 12, "google.cloud.securitycenter.v1.Finding.Severity" optional :canonical_name, :string, 14 optional :mute, :enum, 15, "google.cloud.securitycenter.v1.Finding.Mute" optional :finding_class, :enum, 17, "google.cloud.securitycenter.v1.Finding.FindingClass" optional :indicator, :message, 18, "google.cloud.securitycenter.v1.Indicator" optional :vulnerability, :message, 20, "google.cloud.securitycenter.v1.Vulnerability" optional :mute_update_time, :message, 21, "google.protobuf.Timestamp" map :external_systems, :string, :message, 22, "google.cloud.securitycenter.v1.ExternalSystem" optional :mitre_attack, :message, 25, "google.cloud.securitycenter.v1.MitreAttack" optional :access, :message, 26, "google.cloud.securitycenter.v1.Access" optional :mute_initiator, :string, 28 repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding" optional :next_steps, :string, 40 end add_enum "google.cloud.securitycenter.v1.Finding.State" do value :STATE_UNSPECIFIED, 0 value :ACTIVE, 1 value :INACTIVE, 2 end add_enum "google.cloud.securitycenter.v1.Finding.Severity" do value :SEVERITY_UNSPECIFIED, 0 value :CRITICAL, 1 value :HIGH, 2 value :MEDIUM, 3 value :LOW, 4 end add_enum "google.cloud.securitycenter.v1.Finding.Mute" do value :MUTE_UNSPECIFIED, 0 value :MUTED, 1 value :UNMUTED, 2 value :UNDEFINED, 4 end add_enum "google.cloud.securitycenter.v1.Finding.FindingClass" do value :FINDING_CLASS_UNSPECIFIED, 0 value :THREAT, 1 value :VULNERABILITY, 2 value :MISCONFIGURATION, 3 value :OBSERVATION, 4 value :SCC_ERROR, 5 end end end module Google module Cloud module SecurityCenter module V1 Finding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding").msgclass Finding::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.State").enummodule Finding::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.Severity").enummodule Finding::Mute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.Mute").enummodule Finding::FindingClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Finding.FindingClass").enummodule end end end end