google-cloud-security_center-v1 0.41.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -1
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +2096 -182
  4. data/lib/google/cloud/security_center/v1/security_center/paths.rb +313 -0
  5. data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +1977 -189
  6. data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +1926 -595
  7. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  8. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +1 -1
  9. data/lib/google/cloud/securitycenter/v1/attack_exposure_pb.rb +46 -0
  10. data/lib/google/cloud/securitycenter/v1/attack_path_pb.rb +49 -0
  11. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +1 -1
  12. data/lib/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module_pb.rb +48 -0
  13. data/lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_pb.rb +50 -0
  14. data/lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors_pb.rb +44 -0
  15. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +1 -1
  16. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +6 -1
  17. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +1 -1
  18. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
  19. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +1 -1
  20. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +1 -1
  21. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +13 -1
  22. data/lib/google/cloud/securitycenter/v1/resource_value_config_pb.rb +50 -0
  23. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +45 -2
  24. data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +54 -0
  25. data/lib/google/cloud/securitycenter/v1/simulation_pb.rb +50 -0
  26. data/lib/google/cloud/securitycenter/v1/valued_resource_pb.rb +46 -0
  27. data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +1 -1
  28. data/proto_docs/google/api/client.rb +14 -10
  29. data/proto_docs/google/api/resource.rb +7 -2
  30. data/proto_docs/google/cloud/securitycenter/v1/attack_exposure.rb +73 -0
  31. data/proto_docs/google/cloud/securitycenter/v1/attack_path.rb +147 -0
  32. data/proto_docs/google/cloud/securitycenter/v1/cloud_armor.rb +6 -6
  33. data/proto_docs/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module.rb +77 -0
  34. data/proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb +88 -0
  35. data/proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors.rb +69 -0
  36. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +50 -0
  37. data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +19 -1
  38. data/proto_docs/google/cloud/securitycenter/v1/mute_config.rb +36 -3
  39. data/proto_docs/google/cloud/securitycenter/v1/resource.rb +223 -0
  40. data/proto_docs/google/cloud/securitycenter/v1/resource_value_config.rb +125 -0
  41. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +626 -87
  42. data/proto_docs/google/cloud/securitycenter/v1/simulation.rb +46 -0
  43. data/proto_docs/google/cloud/securitycenter/v1/valued_resource.rb +86 -0
  44. data/proto_docs/google/cloud/securitycenter/v1/vulnerability.rb +3 -0
  45. metadata +18 -2
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 V1
24
+ # Attack path simulation
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Full resource name of the Simulation:
28
+ # `organizations/123/simulations/456`
29
+ # @!attribute [r] create_time
30
+ # @return [::Google::Protobuf::Timestamp]
31
+ # Output only. Time simulation was created
32
+ # @!attribute [rw] resource_value_configs_metadata
33
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::ResourceValueConfigMetadata>]
34
+ # Resource value configurations' metadata used in this simulation. Maximum of
35
+ # 100.
36
+ # @!attribute [rw] cloud_provider
37
+ # @return [::Google::Cloud::SecurityCenter::V1::CloudProvider]
38
+ # Indicates which cloud provider was used in this simulation.
39
+ class Simulation
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 V1
24
+ # A resource that is determined to have value to a user's system
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Valued resource name, for example,
28
+ # e.g.:
29
+ # `organizations/123/simulations/456/valuedResources/789`
30
+ # @!attribute [rw] resource
31
+ # @return [::String]
32
+ # The
33
+ # [full resource
34
+ # name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
35
+ # of the valued resource.
36
+ # @!attribute [rw] resource_type
37
+ # @return [::String]
38
+ # The [resource
39
+ # type](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
40
+ # of the valued resource.
41
+ # @!attribute [rw] display_name
42
+ # @return [::String]
43
+ # Human-readable name of the valued resource.
44
+ # @!attribute [rw] resource_value
45
+ # @return [::Google::Cloud::SecurityCenter::V1::ValuedResource::ResourceValue]
46
+ # How valuable this resource is.
47
+ # @!attribute [rw] exposed_score
48
+ # @return [::Float]
49
+ # Exposed score for this valued resource. A value of 0 means no exposure was
50
+ # detected exposure.
51
+ # @!attribute [rw] resource_value_configs_used
52
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::ResourceValueConfigMetadata>]
53
+ # List of resource value configurations' metadata used to determine the value
54
+ # of this resource. Maximum of 100.
55
+ class ValuedResource
56
+ include ::Google::Protobuf::MessageExts
57
+ extend ::Google::Protobuf::MessageExts::ClassMethods
58
+
59
+ # How valuable the resource is.
60
+ module ResourceValue
61
+ # The resource value isn't specified.
62
+ RESOURCE_VALUE_UNSPECIFIED = 0
63
+
64
+ # This is a low-value resource.
65
+ RESOURCE_VALUE_LOW = 1
66
+
67
+ # This is a medium-value resource.
68
+ RESOURCE_VALUE_MEDIUM = 2
69
+
70
+ # This is a high-value resource.
71
+ RESOURCE_VALUE_HIGH = 3
72
+ end
73
+ end
74
+
75
+ # Metadata about a ResourceValueConfig. For example, id and name.
76
+ # @!attribute [rw] name
77
+ # @return [::String]
78
+ # Resource value config name
79
+ class ResourceValueConfigMetadata
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -71,6 +71,9 @@ module Google
71
71
  # @return [::Boolean]
72
72
  # Whether or not the vulnerability was zero day when the finding was
73
73
  # published.
74
+ # @!attribute [rw] exploit_release_date
75
+ # @return [::Google::Protobuf::Timestamp]
76
+ # Date the first publicly available exploit or PoC was released.
74
77
  class Cve
75
78
  include ::Google::Protobuf::MessageExts
76
79
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-26 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -87,6 +87,8 @@ files:
87
87
  - lib/google/cloud/securitycenter/v1/access_pb.rb
88
88
  - lib/google/cloud/securitycenter/v1/application_pb.rb
89
89
  - lib/google/cloud/securitycenter/v1/asset_pb.rb
90
+ - lib/google/cloud/securitycenter/v1/attack_exposure_pb.rb
91
+ - lib/google/cloud/securitycenter/v1/attack_path_pb.rb
90
92
  - lib/google/cloud/securitycenter/v1/backup_disaster_recovery_pb.rb
91
93
  - lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
92
94
  - lib/google/cloud/securitycenter/v1/cloud_armor_pb.rb
@@ -97,7 +99,10 @@ files:
97
99
  - lib/google/cloud/securitycenter/v1/contact_details_pb.rb
98
100
  - lib/google/cloud/securitycenter/v1/container_pb.rb
99
101
  - lib/google/cloud/securitycenter/v1/database_pb.rb
102
+ - lib/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module_pb.rb
100
103
  - lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb
104
+ - lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_pb.rb
105
+ - lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors_pb.rb
101
106
  - lib/google/cloud/securitycenter/v1/exfiltration_pb.rb
102
107
  - lib/google/cloud/securitycenter/v1/external_system_pb.rb
103
108
  - lib/google/cloud/securitycenter/v1/file_pb.rb
@@ -120,6 +125,7 @@ files:
120
125
  - lib/google/cloud/securitycenter/v1/organization_settings_pb.rb
121
126
  - lib/google/cloud/securitycenter/v1/process_pb.rb
122
127
  - lib/google/cloud/securitycenter/v1/resource_pb.rb
128
+ - lib/google/cloud/securitycenter/v1/resource_value_config_pb.rb
123
129
  - lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb
124
130
  - lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb
125
131
  - lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb
@@ -127,8 +133,10 @@ files:
127
133
  - lib/google/cloud/securitycenter/v1/security_posture_pb.rb
128
134
  - lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb
129
135
  - lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb
136
+ - lib/google/cloud/securitycenter/v1/simulation_pb.rb
130
137
  - lib/google/cloud/securitycenter/v1/source_pb.rb
131
138
  - lib/google/cloud/securitycenter/v1/toxic_combination_pb.rb
139
+ - lib/google/cloud/securitycenter/v1/valued_resource_pb.rb
132
140
  - lib/google/cloud/securitycenter/v1/vulnerability_pb.rb
133
141
  - proto_docs/README.md
134
142
  - proto_docs/google/api/client.rb
@@ -138,6 +146,8 @@ files:
138
146
  - proto_docs/google/cloud/securitycenter/v1/access.rb
139
147
  - proto_docs/google/cloud/securitycenter/v1/application.rb
140
148
  - proto_docs/google/cloud/securitycenter/v1/asset.rb
149
+ - proto_docs/google/cloud/securitycenter/v1/attack_exposure.rb
150
+ - proto_docs/google/cloud/securitycenter/v1/attack_path.rb
141
151
  - proto_docs/google/cloud/securitycenter/v1/backup_disaster_recovery.rb
142
152
  - proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
143
153
  - proto_docs/google/cloud/securitycenter/v1/cloud_armor.rb
@@ -148,7 +158,10 @@ files:
148
158
  - proto_docs/google/cloud/securitycenter/v1/contact_details.rb
149
159
  - proto_docs/google/cloud/securitycenter/v1/container.rb
150
160
  - proto_docs/google/cloud/securitycenter/v1/database.rb
161
+ - proto_docs/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module.rb
151
162
  - proto_docs/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.rb
163
+ - proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb
164
+ - proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors.rb
152
165
  - proto_docs/google/cloud/securitycenter/v1/exfiltration.rb
153
166
  - proto_docs/google/cloud/securitycenter/v1/external_system.rb
154
167
  - proto_docs/google/cloud/securitycenter/v1/file.rb
@@ -171,14 +184,17 @@ files:
171
184
  - proto_docs/google/cloud/securitycenter/v1/organization_settings.rb
172
185
  - proto_docs/google/cloud/securitycenter/v1/process.rb
173
186
  - proto_docs/google/cloud/securitycenter/v1/resource.rb
187
+ - proto_docs/google/cloud/securitycenter/v1/resource_value_config.rb
174
188
  - proto_docs/google/cloud/securitycenter/v1/run_asset_discovery_response.rb
175
189
  - proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb
176
190
  - proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_module.rb
177
191
  - proto_docs/google/cloud/securitycenter/v1/security_marks.rb
178
192
  - proto_docs/google/cloud/securitycenter/v1/security_posture.rb
179
193
  - proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb
194
+ - proto_docs/google/cloud/securitycenter/v1/simulation.rb
180
195
  - proto_docs/google/cloud/securitycenter/v1/source.rb
181
196
  - proto_docs/google/cloud/securitycenter/v1/toxic_combination.rb
197
+ - proto_docs/google/cloud/securitycenter/v1/valued_resource.rb
182
198
  - proto_docs/google/cloud/securitycenter/v1/vulnerability.rb
183
199
  - proto_docs/google/iam/v1/iam_policy.rb
184
200
  - proto_docs/google/iam/v1/options.rb