google-apis-securitycenter_v1beta2 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b57c224ec8fe98ce184907f04289e8ad04dfb700206dd468a9dc8951f0f6f73
4
- data.tar.gz: fa1a0988aeb2d8f76fcebb3ca8677eed07422fad78ccddcf7d6ce2ad0e91a7d5
3
+ metadata.gz: 83e8e08ccb7ccaede9e2a8951a08950086095d547cfe662bec6ae7192460ba9b
4
+ data.tar.gz: 3046f9aa5245c50f8e4961a8c82e95de653529452ff8b839d0e44b484dad8b13
5
5
  SHA512:
6
- metadata.gz: cbaf4e72fd1cee1df778076029662aae54020965fd98d0c78a08b7e739724407ca7d4cffac1e2dd3f883d5641886f1e424e3f74f44ece903014bc6e5948e25f6
7
- data.tar.gz: ae7f50eeb96f655d9656876314f4877d9a3c8b1f128b2e5fa297dda1ba9fe66ff088a392435ee64ca43b84099c760b6ff84dc9fd8f93cbc9eb533b2fc907d875
6
+ metadata.gz: f26aa432918cf7e3f8006a49f3398fcc5a86dd3d602cb35a638f7c05996fb19e0968285d83b019d6cc2d757137b9c65e75e29b3f9176e71b1e9fae7dca63456a
7
+ data.tar.gz: 983b5b043c42f6401bc2223fd0bc93a181e1a9b5fd655ce350e20275783ea0950e70c8f73280fd15860804e046e8bf31d55794204d5f390064077f9e27f0746f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.11.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211207
6
+
3
7
  ### v0.10.0 (2021-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20211112
@@ -22,6 +22,57 @@ module Google
22
22
  module Apis
23
23
  module SecuritycenterV1beta2
24
24
 
25
+ # Represents an access event.
26
+ class Access
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Caller's IP address, such as "1.1.1.1".
30
+ # Corresponds to the JSON property `callerIp`
31
+ # @return [String]
32
+ attr_accessor :caller_ip
33
+
34
+ # Represents a geographical location for a given access.
35
+ # Corresponds to the JSON property `callerIpGeo`
36
+ # @return [Google::Apis::SecuritycenterV1beta2::Geolocation]
37
+ attr_accessor :caller_ip_geo
38
+
39
+ # The method that the service account called, e.g. "SetIamPolicy".
40
+ # Corresponds to the JSON property `methodName`
41
+ # @return [String]
42
+ attr_accessor :method_name
43
+
44
+ # Associated email, such as "foo@google.com".
45
+ # Corresponds to the JSON property `principalEmail`
46
+ # @return [String]
47
+ attr_accessor :principal_email
48
+
49
+ # This is the API service that the service account made a call to, e.g. "iam.
50
+ # googleapis.com"
51
+ # Corresponds to the JSON property `serviceName`
52
+ # @return [String]
53
+ attr_accessor :service_name
54
+
55
+ # What kind of user agent is associated, e.g. operating system shells, embedded
56
+ # or stand-alone applications, etc.
57
+ # Corresponds to the JSON property `userAgentFamily`
58
+ # @return [String]
59
+ attr_accessor :user_agent_family
60
+
61
+ def initialize(**args)
62
+ update!(**args)
63
+ end
64
+
65
+ # Update properties of this object
66
+ def update!(**args)
67
+ @caller_ip = args[:caller_ip] if args.key?(:caller_ip)
68
+ @caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo)
69
+ @method_name = args[:method_name] if args.key?(:method_name)
70
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
71
+ @service_name = args[:service_name] if args.key?(:service_name)
72
+ @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
73
+ end
74
+ end
75
+
25
76
  # Configuration of a module.
26
77
  class Config
27
78
  include Google::Apis::Core::Hashable
@@ -291,6 +342,11 @@ module Google
291
342
  class Finding
292
343
  include Google::Apis::Core::Hashable
293
344
 
345
+ # Represents an access event.
346
+ # Corresponds to the JSON property `access`
347
+ # @return [Google::Apis::SecuritycenterV1beta2::Access]
348
+ attr_accessor :access
349
+
294
350
  # The canonical name of the finding. It's either "organizations/`organization_id`
295
351
  # /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
296
352
  # source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
@@ -347,6 +403,12 @@ module Google
347
403
  # @return [Google::Apis::SecuritycenterV1beta2::Indicator]
348
404
  attr_accessor :indicator
349
405
 
406
+ # MITRE ATT&CK tactics and techniques related to this finding. See: https://
407
+ # attack.mitre.org
408
+ # Corresponds to the JSON property `mitreAttack`
409
+ # @return [Google::Apis::SecuritycenterV1beta2::MitreAttack]
410
+ attr_accessor :mitre_attack
411
+
350
412
  # Indicates the mute state of a finding (either unspecified, muted, unmuted or
351
413
  # undefined).
352
414
  # Corresponds to the JSON property `mute`
@@ -427,6 +489,7 @@ module Google
427
489
 
428
490
  # Update properties of this object
429
491
  def update!(**args)
492
+ @access = args[:access] if args.key?(:access)
430
493
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
431
494
  @category = args[:category] if args.key?(:category)
432
495
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -435,6 +498,7 @@ module Google
435
498
  @external_uri = args[:external_uri] if args.key?(:external_uri)
436
499
  @finding_class = args[:finding_class] if args.key?(:finding_class)
437
500
  @indicator = args[:indicator] if args.key?(:indicator)
501
+ @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
438
502
  @mute = args[:mute] if args.key?(:mute)
439
503
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
440
504
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
@@ -475,6 +539,38 @@ module Google
475
539
  end
476
540
  end
477
541
 
542
+ # Represents a geographical location for a given access.
543
+ class Geolocation
544
+ include Google::Apis::Core::Hashable
545
+
546
+ # A CLDR.
547
+ # Corresponds to the JSON property `regionCode`
548
+ # @return [String]
549
+ attr_accessor :region_code
550
+
551
+ def initialize(**args)
552
+ update!(**args)
553
+ end
554
+
555
+ # Update properties of this object
556
+ def update!(**args)
557
+ @region_code = args[:region_code] if args.key?(:region_code)
558
+ end
559
+ end
560
+
561
+ # The response to a BulkMute request. Contains the LRO information.
562
+ class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
563
+ include Google::Apis::Core::Hashable
564
+
565
+ def initialize(**args)
566
+ update!(**args)
567
+ end
568
+
569
+ # Update properties of this object
570
+ def update!(**args)
571
+ end
572
+ end
573
+
478
574
  # Representation of third party SIEM/SOAR fields within SCC.
479
575
  class GoogleCloudSecuritycenterV1ExternalSystem
480
576
  include Google::Apis::Core::Hashable
@@ -1072,6 +1168,56 @@ module Google
1072
1168
  end
1073
1169
  end
1074
1170
 
1171
+ # MITRE ATT&CK tactics and techniques related to this finding. See: https://
1172
+ # attack.mitre.org
1173
+ class MitreAttack
1174
+ include Google::Apis::Core::Hashable
1175
+
1176
+ # Additional MITRE ATT&CK tactics related to this finding, if any.
1177
+ # Corresponds to the JSON property `additionalTactics`
1178
+ # @return [Array<String>]
1179
+ attr_accessor :additional_tactics
1180
+
1181
+ # Additional MITRE ATT&CK techniques related to this finding, if any, along with
1182
+ # any of their respective parent techniques.
1183
+ # Corresponds to the JSON property `additionalTechniques`
1184
+ # @return [Array<String>]
1185
+ attr_accessor :additional_techniques
1186
+
1187
+ # The MITRE ATT&CK tactic most closely represented by this finding, if any.
1188
+ # Corresponds to the JSON property `primaryTactic`
1189
+ # @return [String]
1190
+ attr_accessor :primary_tactic
1191
+
1192
+ # The MITRE ATT&CK technique most closely represented by this finding, if any.
1193
+ # primary_techniques is a repeated field because there are multiple levels of
1194
+ # MITRE ATT&CK techniques. If the technique most closely represented by this
1195
+ # finding is a sub-technique (e.g. SCANNING_IP_BLOCKS), both the sub-technique
1196
+ # and its parent technique(s) will be listed (e.g. SCANNING_IP_BLOCKS,
1197
+ # ACTIVE_SCANNING).
1198
+ # Corresponds to the JSON property `primaryTechniques`
1199
+ # @return [Array<String>]
1200
+ attr_accessor :primary_techniques
1201
+
1202
+ # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
1203
+ # Corresponds to the JSON property `version`
1204
+ # @return [String]
1205
+ attr_accessor :version
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @additional_tactics = args[:additional_tactics] if args.key?(:additional_tactics)
1214
+ @additional_techniques = args[:additional_techniques] if args.key?(:additional_techniques)
1215
+ @primary_tactic = args[:primary_tactic] if args.key?(:primary_tactic)
1216
+ @primary_techniques = args[:primary_techniques] if args.key?(:primary_techniques)
1217
+ @version = args[:version] if args.key?(:version)
1218
+ end
1219
+ end
1220
+
1075
1221
  # Additional Links
1076
1222
  class Reference
1077
1223
  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.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211112"
25
+ REVISION = "20211207"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module SecuritycenterV1beta2
24
24
 
25
+ class Access
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Config
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -70,6 +76,18 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class Geolocation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GoogleCloudSecuritycenterV1ExternalSystem
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -148,6 +166,12 @@ module Google
148
166
  include Google::Apis::Core::JsonObjectSupport
149
167
  end
150
168
 
169
+ class MitreAttack
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
151
175
  class Reference
152
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
177
 
@@ -190,6 +214,19 @@ module Google
190
214
  include Google::Apis::Core::JsonObjectSupport
191
215
  end
192
216
 
217
+ class Access
218
+ # @private
219
+ class Representation < Google::Apis::Core::JsonRepresentation
220
+ property :caller_ip, as: 'callerIp'
221
+ property :caller_ip_geo, as: 'callerIpGeo', class: Google::Apis::SecuritycenterV1beta2::Geolocation, decorator: Google::Apis::SecuritycenterV1beta2::Geolocation::Representation
222
+
223
+ property :method_name, as: 'methodName'
224
+ property :principal_email, as: 'principalEmail'
225
+ property :service_name, as: 'serviceName'
226
+ property :user_agent_family, as: 'userAgentFamily'
227
+ end
228
+ end
229
+
193
230
  class Config
194
231
  # @private
195
232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -259,6 +296,8 @@ module Google
259
296
  class Finding
260
297
  # @private
261
298
  class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::Access, decorator: Google::Apis::SecuritycenterV1beta2::Access::Representation
300
+
262
301
  property :canonical_name, as: 'canonicalName'
263
302
  property :category, as: 'category'
264
303
  property :create_time, as: 'createTime'
@@ -269,6 +308,8 @@ module Google
269
308
  property :finding_class, as: 'findingClass'
270
309
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
271
310
 
311
+ property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
312
+
272
313
  property :mute, as: 'mute'
273
314
  property :mute_initiator, as: 'muteInitiator'
274
315
  property :mute_update_time, as: 'muteUpdateTime'
@@ -293,6 +334,19 @@ module Google
293
334
  end
294
335
  end
295
336
 
337
+ class Geolocation
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :region_code, as: 'regionCode'
341
+ end
342
+ end
343
+
344
+ class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ end
348
+ end
349
+
296
350
  class GoogleCloudSecuritycenterV1ExternalSystem
297
351
  # @private
298
352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -435,6 +489,17 @@ module Google
435
489
  end
436
490
  end
437
491
 
492
+ class MitreAttack
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ collection :additional_tactics, as: 'additionalTactics'
496
+ collection :additional_techniques, as: 'additionalTechniques'
497
+ property :primary_tactic, as: 'primaryTactic'
498
+ collection :primary_techniques, as: 'primaryTechniques'
499
+ property :version, as: 'version'
500
+ end
501
+ end
502
+
438
503
  class Reference
439
504
  # @private
440
505
  class Representation < Google::Apis::Core::JsonRepresentation
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.10.0
4
+ version: 0.11.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-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.11.0
62
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: []