google-cloud-security_center-v2 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/security_center/v2/version.rb +1 -1
  3. data/lib/google/cloud/securitycenter/v2/affected_resources_pb.rb +42 -0
  4. data/lib/google/cloud/securitycenter/v2/ai_model_pb.rb +43 -0
  5. data/lib/google/cloud/securitycenter/v2/chokepoint_pb.rb +42 -0
  6. data/lib/google/cloud/securitycenter/v2/file_pb.rb +3 -1
  7. data/lib/google/cloud/securitycenter/v2/finding_pb.rb +15 -1
  8. data/lib/google/cloud/securitycenter/v2/group_membership_pb.rb +1 -1
  9. data/lib/google/cloud/securitycenter/v2/ip_rules_pb.rb +49 -0
  10. data/lib/google/cloud/securitycenter/v2/job_pb.rb +45 -0
  11. data/lib/google/cloud/securitycenter/v2/mitre_attack_pb.rb +1 -1
  12. data/lib/google/cloud/securitycenter/v2/network_pb.rb +42 -0
  13. data/lib/google/cloud/securitycenter/v2/notification_config_pb.rb +3 -1
  14. data/lib/google/cloud/securitycenter/v2/process_pb.rb +1 -1
  15. data/lib/google/cloud/securitycenter/v2/resource_pb.rb +2 -1
  16. data/lib/google/cloud/securitycenter/v2/securitycenter_service_pb.rb +6 -1
  17. data/lib/google/cloud/securitycenter/v2/vertex_ai_pb.rb +44 -0
  18. data/lib/google/cloud/securitycenter/v2/vulnerability_pb.rb +2 -1
  19. data/proto_docs/google/cloud/securitycenter/v2/affected_resources.rb +35 -0
  20. data/proto_docs/google/cloud/securitycenter/v2/ai_model.rb +65 -0
  21. data/proto_docs/google/cloud/securitycenter/v2/chokepoint.rb +39 -0
  22. data/proto_docs/google/cloud/securitycenter/v2/disk.rb +1 -1
  23. data/proto_docs/google/cloud/securitycenter/v2/file.rb +33 -0
  24. data/proto_docs/google/cloud/securitycenter/v2/finding.rb +29 -1
  25. data/proto_docs/google/cloud/securitycenter/v2/group_membership.rb +3 -0
  26. data/proto_docs/google/cloud/securitycenter/v2/ip_rules.rb +122 -0
  27. data/proto_docs/google/cloud/securitycenter/v2/job.rb +65 -0
  28. data/proto_docs/google/cloud/securitycenter/v2/mitre_attack.rb +215 -2
  29. data/proto_docs/google/cloud/securitycenter/v2/network.rb +36 -0
  30. data/proto_docs/google/cloud/securitycenter/v2/notification_config.rb +4 -0
  31. data/proto_docs/google/cloud/securitycenter/v2/process.rb +4 -0
  32. data/proto_docs/google/cloud/securitycenter/v2/resource.rb +3 -3
  33. data/proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb +28 -0
  34. data/proto_docs/google/cloud/securitycenter/v2/vertex_ai.rb +68 -0
  35. data/proto_docs/google/cloud/securitycenter/v2/vulnerability.rb +26 -0
  36. metadata +16 -2
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module SecurityCenter
23
+ module V2
24
+ # Vertex AI-related information associated with the finding.
25
+ # @!attribute [rw] datasets
26
+ # @return [::Array<::Google::Cloud::SecurityCenter::V2::VertexAi::Dataset>]
27
+ # Datasets associated with the finding.
28
+ # @!attribute [rw] pipelines
29
+ # @return [::Array<::Google::Cloud::SecurityCenter::V2::VertexAi::Pipeline>]
30
+ # Pipelines associated with the finding.
31
+ class VertexAi
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+
35
+ # Vertex AI dataset associated with the finding.
36
+ # @!attribute [rw] name
37
+ # @return [::String]
38
+ # Resource name of the dataset, e.g.
39
+ # projects/\\{project}/locations/\\{location}/datasets/2094040236064505856
40
+ # @!attribute [rw] display_name
41
+ # @return [::String]
42
+ # The user defined display name of dataset, e.g. plants-dataset
43
+ # @!attribute [rw] source
44
+ # @return [::String]
45
+ # Data source, such as a BigQuery source URI, e.g.
46
+ # bq://scc-nexus-test.AIPPtest.gsod
47
+ class Dataset
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+
52
+ # Vertex AI training pipeline associated with the finding.
53
+ # @!attribute [rw] name
54
+ # @return [::String]
55
+ # Resource name of the pipeline, e.g.
56
+ # projects/\\{project}/locations/\\{location}/trainingPipelines/5253428229225578496
57
+ # @!attribute [rw] display_name
58
+ # @return [::String]
59
+ # The user-defined display name of pipeline, e.g. plants-classification
60
+ class Pipeline
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
@@ -35,6 +35,18 @@ module Google
35
35
  # @!attribute [rw] security_bulletin
36
36
  # @return [::Google::Cloud::SecurityCenter::V2::SecurityBulletin]
37
37
  # The security bulletin is relevant to this finding.
38
+ # @!attribute [rw] provider_risk_score
39
+ # @return [::Integer]
40
+ # Provider provided risk_score based on multiple factors. The higher the risk
41
+ # score, the more risky the vulnerability is.
42
+ # @!attribute [rw] reachable
43
+ # @return [::Boolean]
44
+ # Represents whether the vulnerability is reachable (detected via static
45
+ # analysis)
46
+ # @!attribute [rw] cwes
47
+ # @return [::Array<::Google::Cloud::SecurityCenter::V2::Cwe>]
48
+ # Represents one or more Common Weakness Enumeration (CWE) information on
49
+ # this vulnerability.
38
50
  class Vulnerability
39
51
  include ::Google::Protobuf::MessageExts
40
52
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -333,6 +345,20 @@ module Google
333
345
  include ::Google::Protobuf::MessageExts
334
346
  extend ::Google::Protobuf::MessageExts::ClassMethods
335
347
  end
348
+
349
+ # CWE stands for Common Weakness Enumeration. Information about this weakness,
350
+ # as described by [CWE](https://cwe.mitre.org/).
351
+ # @!attribute [rw] id
352
+ # @return [::String]
353
+ # The CWE identifier, e.g. CWE-94
354
+ # @!attribute [rw] references
355
+ # @return [::Array<::Google::Cloud::SecurityCenter::V2::Reference>]
356
+ # Any reference to the details on the CWE, for example,
357
+ # https://cwe.mitre.org/data/definitions/94.html
358
+ class Cwe
359
+ include ::Google::Protobuf::MessageExts
360
+ extend ::Google::Protobuf::MessageExts::ClassMethods
361
+ end
336
362
  end
337
363
  end
338
364
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -78,11 +78,14 @@ files:
78
78
  - lib/google/cloud/security_center/v2/security_center/rest/service_stub.rb
79
79
  - lib/google/cloud/security_center/v2/version.rb
80
80
  - lib/google/cloud/securitycenter/v2/access_pb.rb
81
+ - lib/google/cloud/securitycenter/v2/affected_resources_pb.rb
82
+ - lib/google/cloud/securitycenter/v2/ai_model_pb.rb
81
83
  - lib/google/cloud/securitycenter/v2/application_pb.rb
82
84
  - lib/google/cloud/securitycenter/v2/attack_exposure_pb.rb
83
85
  - lib/google/cloud/securitycenter/v2/attack_path_pb.rb
84
86
  - lib/google/cloud/securitycenter/v2/backup_disaster_recovery_pb.rb
85
87
  - lib/google/cloud/securitycenter/v2/bigquery_export_pb.rb
88
+ - lib/google/cloud/securitycenter/v2/chokepoint_pb.rb
86
89
  - lib/google/cloud/securitycenter/v2/cloud_armor_pb.rb
87
90
  - lib/google/cloud/securitycenter/v2/cloud_dlp_data_profile_pb.rb
88
91
  - lib/google/cloud/securitycenter/v2/cloud_dlp_inspection_pb.rb
@@ -103,6 +106,8 @@ files:
103
106
  - lib/google/cloud/securitycenter/v2/group_membership_pb.rb
104
107
  - lib/google/cloud/securitycenter/v2/iam_binding_pb.rb
105
108
  - lib/google/cloud/securitycenter/v2/indicator_pb.rb
109
+ - lib/google/cloud/securitycenter/v2/ip_rules_pb.rb
110
+ - lib/google/cloud/securitycenter/v2/job_pb.rb
106
111
  - lib/google/cloud/securitycenter/v2/kernel_rootkit_pb.rb
107
112
  - lib/google/cloud/securitycenter/v2/kubernetes_pb.rb
108
113
  - lib/google/cloud/securitycenter/v2/label_pb.rb
@@ -110,6 +115,7 @@ files:
110
115
  - lib/google/cloud/securitycenter/v2/log_entry_pb.rb
111
116
  - lib/google/cloud/securitycenter/v2/mitre_attack_pb.rb
112
117
  - lib/google/cloud/securitycenter/v2/mute_config_pb.rb
118
+ - lib/google/cloud/securitycenter/v2/network_pb.rb
113
119
  - lib/google/cloud/securitycenter/v2/notebook_pb.rb
114
120
  - lib/google/cloud/securitycenter/v2/notification_config_pb.rb
115
121
  - lib/google/cloud/securitycenter/v2/notification_message_pb.rb
@@ -125,6 +131,7 @@ files:
125
131
  - lib/google/cloud/securitycenter/v2/source_pb.rb
126
132
  - lib/google/cloud/securitycenter/v2/toxic_combination_pb.rb
127
133
  - lib/google/cloud/securitycenter/v2/valued_resource_pb.rb
134
+ - lib/google/cloud/securitycenter/v2/vertex_ai_pb.rb
128
135
  - lib/google/cloud/securitycenter/v2/vulnerability_pb.rb
129
136
  - proto_docs/README.md
130
137
  - proto_docs/google/api/client.rb
@@ -133,11 +140,14 @@ files:
133
140
  - proto_docs/google/api/resource.rb
134
141
  - proto_docs/google/api/routing.rb
135
142
  - proto_docs/google/cloud/securitycenter/v2/access.rb
143
+ - proto_docs/google/cloud/securitycenter/v2/affected_resources.rb
144
+ - proto_docs/google/cloud/securitycenter/v2/ai_model.rb
136
145
  - proto_docs/google/cloud/securitycenter/v2/application.rb
137
146
  - proto_docs/google/cloud/securitycenter/v2/attack_exposure.rb
138
147
  - proto_docs/google/cloud/securitycenter/v2/attack_path.rb
139
148
  - proto_docs/google/cloud/securitycenter/v2/backup_disaster_recovery.rb
140
149
  - proto_docs/google/cloud/securitycenter/v2/bigquery_export.rb
150
+ - proto_docs/google/cloud/securitycenter/v2/chokepoint.rb
141
151
  - proto_docs/google/cloud/securitycenter/v2/cloud_armor.rb
142
152
  - proto_docs/google/cloud/securitycenter/v2/cloud_dlp_data_profile.rb
143
153
  - proto_docs/google/cloud/securitycenter/v2/cloud_dlp_inspection.rb
@@ -158,6 +168,8 @@ files:
158
168
  - proto_docs/google/cloud/securitycenter/v2/group_membership.rb
159
169
  - proto_docs/google/cloud/securitycenter/v2/iam_binding.rb
160
170
  - proto_docs/google/cloud/securitycenter/v2/indicator.rb
171
+ - proto_docs/google/cloud/securitycenter/v2/ip_rules.rb
172
+ - proto_docs/google/cloud/securitycenter/v2/job.rb
161
173
  - proto_docs/google/cloud/securitycenter/v2/kernel_rootkit.rb
162
174
  - proto_docs/google/cloud/securitycenter/v2/kubernetes.rb
163
175
  - proto_docs/google/cloud/securitycenter/v2/label.rb
@@ -165,6 +177,7 @@ files:
165
177
  - proto_docs/google/cloud/securitycenter/v2/log_entry.rb
166
178
  - proto_docs/google/cloud/securitycenter/v2/mitre_attack.rb
167
179
  - proto_docs/google/cloud/securitycenter/v2/mute_config.rb
180
+ - proto_docs/google/cloud/securitycenter/v2/network.rb
168
181
  - proto_docs/google/cloud/securitycenter/v2/notebook.rb
169
182
  - proto_docs/google/cloud/securitycenter/v2/notification_config.rb
170
183
  - proto_docs/google/cloud/securitycenter/v2/notification_message.rb
@@ -179,6 +192,7 @@ files:
179
192
  - proto_docs/google/cloud/securitycenter/v2/source.rb
180
193
  - proto_docs/google/cloud/securitycenter/v2/toxic_combination.rb
181
194
  - proto_docs/google/cloud/securitycenter/v2/valued_resource.rb
195
+ - proto_docs/google/cloud/securitycenter/v2/vertex_ai.rb
182
196
  - proto_docs/google/cloud/securitycenter/v2/vulnerability.rb
183
197
  - proto_docs/google/iam/v1/iam_policy.rb
184
198
  - proto_docs/google/iam/v1/options.rb
@@ -210,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
224
  - !ruby/object:Gem::Version
211
225
  version: '0'
212
226
  requirements: []
213
- rubygems_version: 3.6.8
227
+ rubygems_version: 3.6.9
214
228
  specification_version: 4
215
229
  summary: Security Command Center API provides access to temporal views of assets and
216
230
  findings within an organization.