google-cloud-security_center-v2 1.1.1 → 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 +23 -15
@@ -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.1.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -13,22 +13,16 @@ dependencies:
13
13
  name: gapic-common
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ">="
17
- - !ruby/object:Gem::Version
18
- version: 0.25.0
19
- - - "<"
16
+ - - "~>"
20
17
  - !ruby/object:Gem::Version
21
- version: 2.a
18
+ version: '1.0'
22
19
  type: :runtime
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
22
  requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: 0.25.0
29
- - - "<"
23
+ - - "~>"
30
24
  - !ruby/object:Gem::Version
31
- version: 2.a
25
+ version: '1.0'
32
26
  - !ruby/object:Gem::Dependency
33
27
  name: google-cloud-errors
34
28
  requirement: !ruby/object:Gem::Requirement
@@ -49,14 +43,14 @@ dependencies:
49
43
  requirements:
50
44
  - - "~>"
51
45
  - !ruby/object:Gem::Version
52
- version: '1.1'
46
+ version: '1.11'
53
47
  type: :runtime
54
48
  prerelease: false
55
49
  version_requirements: !ruby/object:Gem::Requirement
56
50
  requirements:
57
51
  - - "~>"
58
52
  - !ruby/object:Gem::Version
59
- version: '1.1'
53
+ version: '1.11'
60
54
  description: Security Command Center API provides access to temporal views of assets
61
55
  and findings within an organization. Note that google-cloud-security_center-v2 is
62
56
  a version-specific client library. For most uses, we recommend installing the main
@@ -84,11 +78,14 @@ files:
84
78
  - lib/google/cloud/security_center/v2/security_center/rest/service_stub.rb
85
79
  - lib/google/cloud/security_center/v2/version.rb
86
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
87
83
  - lib/google/cloud/securitycenter/v2/application_pb.rb
88
84
  - lib/google/cloud/securitycenter/v2/attack_exposure_pb.rb
89
85
  - lib/google/cloud/securitycenter/v2/attack_path_pb.rb
90
86
  - lib/google/cloud/securitycenter/v2/backup_disaster_recovery_pb.rb
91
87
  - lib/google/cloud/securitycenter/v2/bigquery_export_pb.rb
88
+ - lib/google/cloud/securitycenter/v2/chokepoint_pb.rb
92
89
  - lib/google/cloud/securitycenter/v2/cloud_armor_pb.rb
93
90
  - lib/google/cloud/securitycenter/v2/cloud_dlp_data_profile_pb.rb
94
91
  - lib/google/cloud/securitycenter/v2/cloud_dlp_inspection_pb.rb
@@ -109,6 +106,8 @@ files:
109
106
  - lib/google/cloud/securitycenter/v2/group_membership_pb.rb
110
107
  - lib/google/cloud/securitycenter/v2/iam_binding_pb.rb
111
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
112
111
  - lib/google/cloud/securitycenter/v2/kernel_rootkit_pb.rb
113
112
  - lib/google/cloud/securitycenter/v2/kubernetes_pb.rb
114
113
  - lib/google/cloud/securitycenter/v2/label_pb.rb
@@ -116,6 +115,7 @@ files:
116
115
  - lib/google/cloud/securitycenter/v2/log_entry_pb.rb
117
116
  - lib/google/cloud/securitycenter/v2/mitre_attack_pb.rb
118
117
  - lib/google/cloud/securitycenter/v2/mute_config_pb.rb
118
+ - lib/google/cloud/securitycenter/v2/network_pb.rb
119
119
  - lib/google/cloud/securitycenter/v2/notebook_pb.rb
120
120
  - lib/google/cloud/securitycenter/v2/notification_config_pb.rb
121
121
  - lib/google/cloud/securitycenter/v2/notification_message_pb.rb
@@ -131,6 +131,7 @@ files:
131
131
  - lib/google/cloud/securitycenter/v2/source_pb.rb
132
132
  - lib/google/cloud/securitycenter/v2/toxic_combination_pb.rb
133
133
  - lib/google/cloud/securitycenter/v2/valued_resource_pb.rb
134
+ - lib/google/cloud/securitycenter/v2/vertex_ai_pb.rb
134
135
  - lib/google/cloud/securitycenter/v2/vulnerability_pb.rb
135
136
  - proto_docs/README.md
136
137
  - proto_docs/google/api/client.rb
@@ -139,11 +140,14 @@ files:
139
140
  - proto_docs/google/api/resource.rb
140
141
  - proto_docs/google/api/routing.rb
141
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
142
145
  - proto_docs/google/cloud/securitycenter/v2/application.rb
143
146
  - proto_docs/google/cloud/securitycenter/v2/attack_exposure.rb
144
147
  - proto_docs/google/cloud/securitycenter/v2/attack_path.rb
145
148
  - proto_docs/google/cloud/securitycenter/v2/backup_disaster_recovery.rb
146
149
  - proto_docs/google/cloud/securitycenter/v2/bigquery_export.rb
150
+ - proto_docs/google/cloud/securitycenter/v2/chokepoint.rb
147
151
  - proto_docs/google/cloud/securitycenter/v2/cloud_armor.rb
148
152
  - proto_docs/google/cloud/securitycenter/v2/cloud_dlp_data_profile.rb
149
153
  - proto_docs/google/cloud/securitycenter/v2/cloud_dlp_inspection.rb
@@ -164,6 +168,8 @@ files:
164
168
  - proto_docs/google/cloud/securitycenter/v2/group_membership.rb
165
169
  - proto_docs/google/cloud/securitycenter/v2/iam_binding.rb
166
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
167
173
  - proto_docs/google/cloud/securitycenter/v2/kernel_rootkit.rb
168
174
  - proto_docs/google/cloud/securitycenter/v2/kubernetes.rb
169
175
  - proto_docs/google/cloud/securitycenter/v2/label.rb
@@ -171,6 +177,7 @@ files:
171
177
  - proto_docs/google/cloud/securitycenter/v2/log_entry.rb
172
178
  - proto_docs/google/cloud/securitycenter/v2/mitre_attack.rb
173
179
  - proto_docs/google/cloud/securitycenter/v2/mute_config.rb
180
+ - proto_docs/google/cloud/securitycenter/v2/network.rb
174
181
  - proto_docs/google/cloud/securitycenter/v2/notebook.rb
175
182
  - proto_docs/google/cloud/securitycenter/v2/notification_config.rb
176
183
  - proto_docs/google/cloud/securitycenter/v2/notification_message.rb
@@ -185,6 +192,7 @@ files:
185
192
  - proto_docs/google/cloud/securitycenter/v2/source.rb
186
193
  - proto_docs/google/cloud/securitycenter/v2/toxic_combination.rb
187
194
  - proto_docs/google/cloud/securitycenter/v2/valued_resource.rb
195
+ - proto_docs/google/cloud/securitycenter/v2/vertex_ai.rb
188
196
  - proto_docs/google/cloud/securitycenter/v2/vulnerability.rb
189
197
  - proto_docs/google/iam/v1/iam_policy.rb
190
198
  - proto_docs/google/iam/v1/options.rb
@@ -209,14 +217,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
217
  requirements:
210
218
  - - ">="
211
219
  - !ruby/object:Gem::Version
212
- version: '3.0'
220
+ version: '3.1'
213
221
  required_rubygems_version: !ruby/object:Gem::Requirement
214
222
  requirements:
215
223
  - - ">="
216
224
  - !ruby/object:Gem::Version
217
225
  version: '0'
218
226
  requirements: []
219
- rubygems_version: 3.6.8
227
+ rubygems_version: 3.6.9
220
228
  specification_version: 4
221
229
  summary: Security Command Center API provides access to temporal views of assets and
222
230
  findings within an organization.