google-apis-securitycenter_v1beta2 0.5.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/securitycenter_v1beta2/classes.rb +217 -0
- data/lib/google/apis/securitycenter_v1beta2/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1beta2/representations.rb +87 -0
- data/lib/google/apis/securitycenter_v1beta2.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a76784e622bfb3b2c8c7450dacb97ef96f66e79977565c027636a541153b6ef
|
4
|
+
data.tar.gz: bf578552f9610f25401443f496ae0913b49c9c71418065e3961a08ab75a49764
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b937fd4101cd5d3e35f761cc7f9f42a5c0fd9a5ca708fbd0c37bd87d3f00353d26725cd005bf2e132bea6ab1696d34dc4af7716ddc1c13ad0bd9d2f03200151
|
7
|
+
data.tar.gz: 35aca49e864ff828ac2b56a044e66da7c2433ceded94ac7cc6ab6b6861ed781a72f999474136bbb825e5c6a3feec2b2dcb3d8bdbb330749e32090e6fec3cfc37
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.9.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
|
7
|
+
### v0.8.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210820
|
10
|
+
|
11
|
+
### v0.7.0 (2021-07-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210716
|
14
|
+
|
15
|
+
### v0.6.0 (2021-06-29)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.4.0
|
18
|
+
|
3
19
|
### v0.5.0 (2021-06-24)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210527
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Securitycenter service in particular.)
|
67
67
|
|
@@ -100,6 +100,116 @@ module Google
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
+
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
104
|
+
# cve.mitre.org
|
105
|
+
class Cve
|
106
|
+
include Google::Apis::Core::Hashable
|
107
|
+
|
108
|
+
# Common Vulnerability Scoring System version 3.
|
109
|
+
# Corresponds to the JSON property `cvssv3`
|
110
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Cvssv3]
|
111
|
+
attr_accessor :cvssv3
|
112
|
+
|
113
|
+
# The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
114
|
+
# Corresponds to the JSON property `id`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :id
|
117
|
+
|
118
|
+
# Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/
|
119
|
+
# cvename.cgi?name=CVE-2021-34527
|
120
|
+
# Corresponds to the JSON property `references`
|
121
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Reference>]
|
122
|
+
attr_accessor :references
|
123
|
+
|
124
|
+
def initialize(**args)
|
125
|
+
update!(**args)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Update properties of this object
|
129
|
+
def update!(**args)
|
130
|
+
@cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
|
131
|
+
@id = args[:id] if args.key?(:id)
|
132
|
+
@references = args[:references] if args.key?(:references)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# Common Vulnerability Scoring System version 3.
|
137
|
+
class Cvssv3
|
138
|
+
include Google::Apis::Core::Hashable
|
139
|
+
|
140
|
+
# This metric describes the conditions beyond the attacker's control that must
|
141
|
+
# exist in order to exploit the vulnerability.
|
142
|
+
# Corresponds to the JSON property `attackComplexity`
|
143
|
+
# @return [String]
|
144
|
+
attr_accessor :attack_complexity
|
145
|
+
|
146
|
+
# Base Metrics Represents the intrinsic characteristics of a vulnerability that
|
147
|
+
# are constant over time and across user environments. This metric reflects the
|
148
|
+
# context by which vulnerability exploitation is possible.
|
149
|
+
# Corresponds to the JSON property `attackVector`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :attack_vector
|
152
|
+
|
153
|
+
# This metric measures the impact to the availability of the impacted component
|
154
|
+
# resulting from a successfully exploited vulnerability.
|
155
|
+
# Corresponds to the JSON property `availabilityImpact`
|
156
|
+
# @return [String]
|
157
|
+
attr_accessor :availability_impact
|
158
|
+
|
159
|
+
# The base score is a function of the base metric scores.
|
160
|
+
# Corresponds to the JSON property `baseScore`
|
161
|
+
# @return [Float]
|
162
|
+
attr_accessor :base_score
|
163
|
+
|
164
|
+
# This metric measures the impact to the confidentiality of the information
|
165
|
+
# resources managed by a software component due to a successfully exploited
|
166
|
+
# vulnerability.
|
167
|
+
# Corresponds to the JSON property `confidentialityImpact`
|
168
|
+
# @return [String]
|
169
|
+
attr_accessor :confidentiality_impact
|
170
|
+
|
171
|
+
# This metric measures the impact to integrity of a successfully exploited
|
172
|
+
# vulnerability.
|
173
|
+
# Corresponds to the JSON property `integrityImpact`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :integrity_impact
|
176
|
+
|
177
|
+
# This metric describes the level of privileges an attacker must possess before
|
178
|
+
# successfully exploiting the vulnerability.
|
179
|
+
# Corresponds to the JSON property `privilegesRequired`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :privileges_required
|
182
|
+
|
183
|
+
# The Scope metric captures whether a vulnerability in one vulnerable component
|
184
|
+
# impacts resources in components beyond its security scope.
|
185
|
+
# Corresponds to the JSON property `scope`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :scope
|
188
|
+
|
189
|
+
# This metric captures the requirement for a human user, other than the attacker,
|
190
|
+
# to participate in the successful compromise of the vulnerable component.
|
191
|
+
# Corresponds to the JSON property `userInteraction`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :user_interaction
|
194
|
+
|
195
|
+
def initialize(**args)
|
196
|
+
update!(**args)
|
197
|
+
end
|
198
|
+
|
199
|
+
# Update properties of this object
|
200
|
+
def update!(**args)
|
201
|
+
@attack_complexity = args[:attack_complexity] if args.key?(:attack_complexity)
|
202
|
+
@attack_vector = args[:attack_vector] if args.key?(:attack_vector)
|
203
|
+
@availability_impact = args[:availability_impact] if args.key?(:availability_impact)
|
204
|
+
@base_score = args[:base_score] if args.key?(:base_score)
|
205
|
+
@confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
|
206
|
+
@integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
|
207
|
+
@privileges_required = args[:privileges_required] if args.key?(:privileges_required)
|
208
|
+
@scope = args[:scope] if args.key?(:scope)
|
209
|
+
@user_interaction = args[:user_interaction] if args.key?(:user_interaction)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
103
213
|
# Details of a subscription.
|
104
214
|
class Details
|
105
215
|
include Google::Apis::Core::Hashable
|
@@ -218,6 +328,19 @@ module Google
|
|
218
328
|
# @return [String]
|
219
329
|
attr_accessor :external_uri
|
220
330
|
|
331
|
+
# The class of the finding.
|
332
|
+
# Corresponds to the JSON property `findingClass`
|
333
|
+
# @return [String]
|
334
|
+
attr_accessor :finding_class
|
335
|
+
|
336
|
+
# Represents what's commonly known as an Indicator of compromise (IoC) in
|
337
|
+
# computer forensics. This is an artifact observed on a network or in an
|
338
|
+
# operating system that, with high confidence, indicates a computer intrusion.
|
339
|
+
# Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
|
340
|
+
# Corresponds to the JSON property `indicator`
|
341
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Indicator]
|
342
|
+
attr_accessor :indicator
|
343
|
+
|
221
344
|
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
222
345
|
# design/resource_names#relative_resource_name Example: "organizations/`
|
223
346
|
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
@@ -269,6 +392,11 @@ module Google
|
|
269
392
|
# @return [String]
|
270
393
|
attr_accessor :state
|
271
394
|
|
395
|
+
# Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
396
|
+
# Corresponds to the JSON property `vulnerability`
|
397
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Vulnerability]
|
398
|
+
attr_accessor :vulnerability
|
399
|
+
|
272
400
|
def initialize(**args)
|
273
401
|
update!(**args)
|
274
402
|
end
|
@@ -280,6 +408,8 @@ module Google
|
|
280
408
|
@create_time = args[:create_time] if args.key?(:create_time)
|
281
409
|
@event_time = args[:event_time] if args.key?(:event_time)
|
282
410
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
411
|
+
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
412
|
+
@indicator = args[:indicator] if args.key?(:indicator)
|
283
413
|
@name = args[:name] if args.key?(:name)
|
284
414
|
@parent = args[:parent] if args.key?(:parent)
|
285
415
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -287,6 +417,7 @@ module Google
|
|
287
417
|
@severity = args[:severity] if args.key?(:severity)
|
288
418
|
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
289
419
|
@state = args[:state] if args.key?(:state)
|
420
|
+
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
290
421
|
end
|
291
422
|
end
|
292
423
|
|
@@ -355,6 +486,11 @@ module Google
|
|
355
486
|
class GoogleCloudSecuritycenterV1Resource
|
356
487
|
include Google::Apis::Core::Hashable
|
357
488
|
|
489
|
+
# The human readable name of the resource.
|
490
|
+
# Corresponds to the JSON property `displayName`
|
491
|
+
# @return [String]
|
492
|
+
attr_accessor :display_name
|
493
|
+
|
358
494
|
# Output only. Contains a Folder message for each folder in the assets ancestry.
|
359
495
|
# The first folder is the deepest nested folder, and the last folder is the
|
360
496
|
# folder directly under the Organization.
|
@@ -388,18 +524,25 @@ module Google
|
|
388
524
|
# @return [String]
|
389
525
|
attr_accessor :project_display_name
|
390
526
|
|
527
|
+
# The full resource type of the resource.
|
528
|
+
# Corresponds to the JSON property `type`
|
529
|
+
# @return [String]
|
530
|
+
attr_accessor :type
|
531
|
+
|
391
532
|
def initialize(**args)
|
392
533
|
update!(**args)
|
393
534
|
end
|
394
535
|
|
395
536
|
# Update properties of this object
|
396
537
|
def update!(**args)
|
538
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
397
539
|
@folders = args[:folders] if args.key?(:folders)
|
398
540
|
@name = args[:name] if args.key?(:name)
|
399
541
|
@parent = args[:parent] if args.key?(:parent)
|
400
542
|
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
401
543
|
@project = args[:project] if args.key?(:project)
|
402
544
|
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
545
|
+
@type = args[:type] if args.key?(:type)
|
403
546
|
end
|
404
547
|
end
|
405
548
|
|
@@ -753,6 +896,60 @@ module Google
|
|
753
896
|
end
|
754
897
|
end
|
755
898
|
|
899
|
+
# Represents what's commonly known as an Indicator of compromise (IoC) in
|
900
|
+
# computer forensics. This is an artifact observed on a network or in an
|
901
|
+
# operating system that, with high confidence, indicates a computer intrusion.
|
902
|
+
# Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
|
903
|
+
class Indicator
|
904
|
+
include Google::Apis::Core::Hashable
|
905
|
+
|
906
|
+
# List of domains associated to the Finding.
|
907
|
+
# Corresponds to the JSON property `domains`
|
908
|
+
# @return [Array<String>]
|
909
|
+
attr_accessor :domains
|
910
|
+
|
911
|
+
# List of ip addresses associated to the Finding.
|
912
|
+
# Corresponds to the JSON property `ipAddresses`
|
913
|
+
# @return [Array<String>]
|
914
|
+
attr_accessor :ip_addresses
|
915
|
+
|
916
|
+
def initialize(**args)
|
917
|
+
update!(**args)
|
918
|
+
end
|
919
|
+
|
920
|
+
# Update properties of this object
|
921
|
+
def update!(**args)
|
922
|
+
@domains = args[:domains] if args.key?(:domains)
|
923
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
# Additional Links
|
928
|
+
class Reference
|
929
|
+
include Google::Apis::Core::Hashable
|
930
|
+
|
931
|
+
# Source of the reference e.g. NVD
|
932
|
+
# Corresponds to the JSON property `source`
|
933
|
+
# @return [String]
|
934
|
+
attr_accessor :source
|
935
|
+
|
936
|
+
# Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?
|
937
|
+
# name=CVE-2021-34527.
|
938
|
+
# Corresponds to the JSON property `uri`
|
939
|
+
# @return [String]
|
940
|
+
attr_accessor :uri
|
941
|
+
|
942
|
+
def initialize(**args)
|
943
|
+
update!(**args)
|
944
|
+
end
|
945
|
+
|
946
|
+
# Update properties of this object
|
947
|
+
def update!(**args)
|
948
|
+
@source = args[:source] if args.key?(:source)
|
949
|
+
@uri = args[:uri] if args.key?(:uri)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
756
953
|
# Resource capturing the settings for Security Center.
|
757
954
|
class SecurityCenterSettings
|
758
955
|
include Google::Apis::Core::Hashable
|
@@ -918,6 +1115,26 @@ module Google
|
|
918
1115
|
end
|
919
1116
|
end
|
920
1117
|
|
1118
|
+
# Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
|
1119
|
+
class Vulnerability
|
1120
|
+
include Google::Apis::Core::Hashable
|
1121
|
+
|
1122
|
+
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
1123
|
+
# cve.mitre.org
|
1124
|
+
# Corresponds to the JSON property `cve`
|
1125
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Cve]
|
1126
|
+
attr_accessor :cve
|
1127
|
+
|
1128
|
+
def initialize(**args)
|
1129
|
+
update!(**args)
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Update properties of this object
|
1133
|
+
def update!(**args)
|
1134
|
+
@cve = args[:cve] if args.key?(:cve)
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
921
1138
|
# Resource capturing the settings for the Web Security Scanner service.
|
922
1139
|
class WebSecurityScannerSettings
|
923
1140
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class Cve
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Cvssv3
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class Details
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -118,6 +130,18 @@ module Google
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class Indicator
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class Reference
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
121
145
|
class SecurityCenterSettings
|
122
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
147
|
|
@@ -142,6 +166,12 @@ module Google
|
|
142
166
|
include Google::Apis::Core::JsonObjectSupport
|
143
167
|
end
|
144
168
|
|
169
|
+
class Vulnerability
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
145
175
|
class WebSecurityScannerSettings
|
146
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
177
|
|
@@ -168,6 +198,32 @@ module Google
|
|
168
198
|
end
|
169
199
|
end
|
170
200
|
|
201
|
+
class Cve
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
property :cvssv3, as: 'cvssv3', class: Google::Apis::SecuritycenterV1beta2::Cvssv3, decorator: Google::Apis::SecuritycenterV1beta2::Cvssv3::Representation
|
205
|
+
|
206
|
+
property :id, as: 'id'
|
207
|
+
collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation
|
208
|
+
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
class Cvssv3
|
213
|
+
# @private
|
214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
215
|
+
property :attack_complexity, as: 'attackComplexity'
|
216
|
+
property :attack_vector, as: 'attackVector'
|
217
|
+
property :availability_impact, as: 'availabilityImpact'
|
218
|
+
property :base_score, as: 'baseScore'
|
219
|
+
property :confidentiality_impact, as: 'confidentialityImpact'
|
220
|
+
property :integrity_impact, as: 'integrityImpact'
|
221
|
+
property :privileges_required, as: 'privilegesRequired'
|
222
|
+
property :scope, as: 'scope'
|
223
|
+
property :user_interaction, as: 'userInteraction'
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
171
227
|
class Details
|
172
228
|
# @private
|
173
229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -196,6 +252,9 @@ module Google
|
|
196
252
|
property :create_time, as: 'createTime'
|
197
253
|
property :event_time, as: 'eventTime'
|
198
254
|
property :external_uri, as: 'externalUri'
|
255
|
+
property :finding_class, as: 'findingClass'
|
256
|
+
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
|
257
|
+
|
199
258
|
property :name, as: 'name'
|
200
259
|
property :parent, as: 'parent'
|
201
260
|
property :resource_name, as: 'resourceName'
|
@@ -204,6 +263,8 @@ module Google
|
|
204
263
|
property :severity, as: 'severity'
|
205
264
|
hash :source_properties, as: 'sourceProperties'
|
206
265
|
property :state, as: 'state'
|
266
|
+
property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::Vulnerability::Representation
|
267
|
+
|
207
268
|
end
|
208
269
|
end
|
209
270
|
|
@@ -229,6 +290,7 @@ module Google
|
|
229
290
|
class GoogleCloudSecuritycenterV1Resource
|
230
291
|
# @private
|
231
292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :display_name, as: 'displayName'
|
232
294
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta2::Folder, decorator: Google::Apis::SecuritycenterV1beta2::Folder::Representation
|
233
295
|
|
234
296
|
property :name, as: 'name'
|
@@ -236,6 +298,7 @@ module Google
|
|
236
298
|
property :parent_display_name, as: 'parentDisplayName'
|
237
299
|
property :project, as: 'project'
|
238
300
|
property :project_display_name, as: 'projectDisplayName'
|
301
|
+
property :type, as: 'type'
|
239
302
|
end
|
240
303
|
end
|
241
304
|
|
@@ -323,6 +386,22 @@ module Google
|
|
323
386
|
end
|
324
387
|
end
|
325
388
|
|
389
|
+
class Indicator
|
390
|
+
# @private
|
391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
+
collection :domains, as: 'domains'
|
393
|
+
collection :ip_addresses, as: 'ipAddresses'
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
class Reference
|
398
|
+
# @private
|
399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
400
|
+
property :source, as: 'source'
|
401
|
+
property :uri, as: 'uri'
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
326
405
|
class SecurityCenterSettings
|
327
406
|
# @private
|
328
407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -363,6 +442,14 @@ module Google
|
|
363
442
|
end
|
364
443
|
end
|
365
444
|
|
445
|
+
class Vulnerability
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::Cve, decorator: Google::Apis::SecuritycenterV1beta2::Cve::Representation
|
449
|
+
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
366
453
|
class WebSecurityScannerSettings
|
367
454
|
# @private
|
368
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta2'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.9.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|