google-apis-securitycenter_v1beta2 0.20.0 → 0.21.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: 6d9202a65a6f018a466ceafe0455f31ebdb2f0d7f47d0ba1bfd9510537454271
4
- data.tar.gz: 3aa59aed39276766409c779f87cbd01a47986dfc84130c1da78030390a142d1e
3
+ metadata.gz: 76ac0c76b3d5960371fd319998b75b6f7dd26736e2c80f903ff8b7064cf6fc54
4
+ data.tar.gz: dcd7f0c2eb895ca230d35bf612a3517d34913eebd1de2f045148e5515d1859ea
5
5
  SHA512:
6
- metadata.gz: 7f7fb26c8f9ef6086e0be2ef4ec07fc9e1a3363df9c0d73b465ac988585e21e36205eaa586e023742f0d7961e9f6fadff202bd6bfcd1b0065f2e5edf75fdd9a8
7
- data.tar.gz: 4ab2c35a2460f8a01c9833e5b7a7680eb78624fbbc061cbd291beeb132a2ad299e1f53580e2cdfbc4cf1fb489e8a8bb4499fff12dcf976bab320693a26f70de4
6
+ metadata.gz: 0bb02b4b3925e6a1e84ecf9f9a404816b12b69f22b2f0cbe5ab62a42fd1d9e88db156fc56ee8d81e14bdb2cc12354704f3083cf5a775ef9909bbdb1a9f898061
7
+ data.tar.gz: 74b19783bbd02311c9dc69b64a4d088f360eaceb23bb31855baaa4b9ef0541ca5c8bc8cc59e136e5afcb08a5bfaeba9f177dddee497c22e3a549d38a2cb447e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.21.0 (2022-04-19)
4
+
5
+ * Regenerated from discovery document revision 20220414
6
+
3
7
  ### v0.20.0 (2022-04-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220401
@@ -99,6 +99,50 @@ module Google
99
99
  end
100
100
  end
101
101
 
102
+ # Contains information about the IP connection associated with the finding.
103
+ class Connection
104
+ include Google::Apis::Core::Hashable
105
+
106
+ # Destination IP address. Not present for sockets that are listening and not
107
+ # connected.
108
+ # Corresponds to the JSON property `destinationIp`
109
+ # @return [String]
110
+ attr_accessor :destination_ip
111
+
112
+ # Destination port. Not present for sockets that are listening and not connected.
113
+ # Corresponds to the JSON property `destinationPort`
114
+ # @return [Fixnum]
115
+ attr_accessor :destination_port
116
+
117
+ # IANA Internet Protocol Number such as TCP(6) and UDP(17).
118
+ # Corresponds to the JSON property `protocol`
119
+ # @return [String]
120
+ attr_accessor :protocol
121
+
122
+ # Source IP address.
123
+ # Corresponds to the JSON property `sourceIp`
124
+ # @return [String]
125
+ attr_accessor :source_ip
126
+
127
+ # Source port.
128
+ # Corresponds to the JSON property `sourcePort`
129
+ # @return [Fixnum]
130
+ attr_accessor :source_port
131
+
132
+ def initialize(**args)
133
+ update!(**args)
134
+ end
135
+
136
+ # Update properties of this object
137
+ def update!(**args)
138
+ @destination_ip = args[:destination_ip] if args.key?(:destination_ip)
139
+ @destination_port = args[:destination_port] if args.key?(:destination_port)
140
+ @protocol = args[:protocol] if args.key?(:protocol)
141
+ @source_ip = args[:source_ip] if args.key?(:source_ip)
142
+ @source_port = args[:source_port] if args.key?(:source_port)
143
+ end
144
+ end
145
+
102
146
  # Resource capturing the settings for the Container Threat Detection service.
103
147
  class ContainerThreatDetectionSettings
104
148
  include Google::Apis::Core::Hashable
@@ -369,11 +413,21 @@ module Google
369
413
  # @return [String]
370
414
  attr_accessor :category
371
415
 
416
+ # Contains information about the IP connection associated with the finding.
417
+ # Corresponds to the JSON property `connections`
418
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Connection>]
419
+ attr_accessor :connections
420
+
372
421
  # The time at which the finding was created in Security Command Center.
373
422
  # Corresponds to the JSON property `createTime`
374
423
  # @return [String]
375
424
  attr_accessor :create_time
376
425
 
426
+ # Contains more detail about the finding.
427
+ # Corresponds to the JSON property `description`
428
+ # @return [String]
429
+ attr_accessor :description
430
+
377
431
  # The time the finding was first detected. If an existing finding is updated,
378
432
  # then this is the time the update occurred. For example, if the finding
379
433
  # represents an open firewall, this property captures the time the detector
@@ -511,7 +565,9 @@ module Google
511
565
  @access = args[:access] if args.key?(:access)
512
566
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
513
567
  @category = args[:category] if args.key?(:category)
568
+ @connections = args[:connections] if args.key?(:connections)
514
569
  @create_time = args[:create_time] if args.key?(:create_time)
570
+ @description = args[:description] if args.key?(:description)
515
571
  @event_time = args[:event_time] if args.key?(:event_time)
516
572
  @external_systems = args[:external_systems] if args.key?(:external_systems)
517
573
  @external_uri = args[:external_uri] if args.key?(:external_uri)
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220401"
25
+ REVISION = "20220414"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class Connection
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class ContainerThreatDetectionSettings
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -259,6 +265,17 @@ module Google
259
265
  end
260
266
  end
261
267
 
268
+ class Connection
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :destination_ip, as: 'destinationIp'
272
+ property :destination_port, as: 'destinationPort'
273
+ property :protocol, as: 'protocol'
274
+ property :source_ip, as: 'sourceIp'
275
+ property :source_port, as: 'sourcePort'
276
+ end
277
+ end
278
+
262
279
  class ContainerThreatDetectionSettings
263
280
  # @private
264
281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -325,7 +342,10 @@ module Google
325
342
 
326
343
  property :canonical_name, as: 'canonicalName'
327
344
  property :category, as: 'category'
345
+ collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::Connection, decorator: Google::Apis::SecuritycenterV1beta2::Connection::Representation
346
+
328
347
  property :create_time, as: 'createTime'
348
+ property :description, as: 'description'
329
349
  property :event_time, as: 'eventTime'
330
350
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation
331
351
 
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.20.0
4
+ version: 0.21.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-25 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.21.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: []