lib/google/cloud/osconfig/v1alpha/vulnerability_pb.rb in google-cloud-os_config-v1alpha-0.2.2 vs lib/google/cloud/osconfig/v1alpha/vulnerability_pb.rb in google-cloud-os_config-v1alpha-0.3.0
- old
+ new
@@ -1,8 +1,9 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/osconfig/v1alpha/vulnerability.proto
+require 'google/api/annotations_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/timestamp_pb'
require 'google/protobuf'
@@ -17,10 +18,11 @@
optional :details, :message, 1, "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details"
repeated :installed_inventory_item_ids, :string, 2
repeated :available_inventory_item_ids, :string, 3
optional :create_time, :message, 4, "google.protobuf.Timestamp"
optional :update_time, :message, 5, "google.protobuf.Timestamp"
+ repeated :items, :message, 6, "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item"
end
add_message "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details" do
optional :cve, :string, 1
optional :cvss_v2_score, :float, 2
optional :cvss_v3, :message, 3, "google.cloud.osconfig.v1alpha.CVSSv3"
@@ -28,11 +30,18 @@
optional :description, :string, 5
repeated :references, :message, 6, "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference"
end
add_message "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference" do
optional :url, :string, 1
+ optional :source, :string, 2
end
+ add_message "google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item" do
+ optional :installed_inventory_item_id, :string, 1
+ optional :available_inventory_item_id, :string, 2
+ optional :fixed_cpe_uri, :string, 3
+ optional :upstream_fix, :string, 4
+ end
add_message "google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest" do
optional :name, :string, 1
end
add_message "google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest" do
optional :parent, :string, 1
@@ -100,9 +109,10 @@
module V1alpha
VulnerabilityReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.VulnerabilityReport").msgclass
VulnerabilityReport::Vulnerability = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability").msgclass
VulnerabilityReport::Vulnerability::Details = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details").msgclass
VulnerabilityReport::Vulnerability::Details::Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference").msgclass
+ VulnerabilityReport::Vulnerability::Item = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item").msgclass
GetVulnerabilityReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetVulnerabilityReportRequest").msgclass
ListVulnerabilityReportsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListVulnerabilityReportsRequest").msgclass
ListVulnerabilityReportsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse").msgclass
CVSSv3 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.CVSSv3").msgclass
CVSSv3::AttackVector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.CVSSv3.AttackVector").enummodule