lib/google/cloud/securitycenter/v1/finding_pb.rb in google-cloud-security_center-v1-0.8.1 vs lib/google/cloud/securitycenter/v1/finding_pb.rb in google-cloud-security_center-v1-0.9.0
- old
+ new
@@ -1,17 +1,18 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/securitycenter/v1/finding.proto
-require 'google/protobuf'
-
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/securitycenter/v1/indicator_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/api/annotations_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
@@ -25,9 +26,10 @@
optional :create_time, :message, 10, "google.protobuf.Timestamp"
optional :severity, :enum, 12, "google.cloud.securitycenter.v1.Finding.Severity"
optional :canonical_name, :string, 14
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"
end
add_enum "google.cloud.securitycenter.v1.Finding.State" do
value :STATE_UNSPECIFIED, 0
value :ACTIVE, 1
value :INACTIVE, 2