google-apis-securitycenter_v1beta1 0.24.0 → 0.25.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 766d773689a7a3d04c233ebe3095215bc513420bec037af3e5022ad7060a1948
4
- data.tar.gz: a310f86e83ee6f5214e93e8a0f4028ec0d8cfdd91395ec5e925561d2f706068e
3
+ metadata.gz: 368c8f34c534e6157ef620b05ea3b9e94365553342a81b7976a6a70208ee596c
4
+ data.tar.gz: 8b77bac62ee582a37954dc633d2b393a6a754115765cb7b9148362ffab27ccbb
5
5
  SHA512:
6
- metadata.gz: b98c46d1a059d8750a954828a67088890821c6f7f513597c42b91951e2e0ce2067dd0025a408b6c4e25d46e6c54876251ada72f3c5c1212d666f41c64d1b693e
7
- data.tar.gz: 016f682810a3e7126174f631beba2f3b4e40e9fa30e12e0f8dd041e84a0cdc2722ded513a0c2d4a62c6ae9f1f7ab20c5de16cedd2fdef08f6994adf9b2e424d4
6
+ metadata.gz: f2092b36793d69945598f3cdcb4d38961fd9606a333e158e174c0f683e3ba80454874146c9d37d6fddf175b38b86d9234db6952c1a28209989b72394df110b6b
7
+ data.tar.gz: 73168c8ecc2494d7e4830235f9cff3eb4f11d1f5eb5bce51624e57738e6a197778f72f73fced2a81554300512a69d14c3430efd99679a5fe1214dff502f78045
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-04-19)
4
+
5
+ * Regenerated from discovery document revision 20220414
6
+
3
7
  ### v0.24.0 (2022-04-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220408
@@ -314,6 +314,50 @@ module Google
314
314
  end
315
315
  end
316
316
 
317
+ # Contains information about the IP connection associated with the finding.
318
+ class Connection
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # Destination IP address. Not present for sockets that are listening and not
322
+ # connected.
323
+ # Corresponds to the JSON property `destinationIp`
324
+ # @return [String]
325
+ attr_accessor :destination_ip
326
+
327
+ # Destination port. Not present for sockets that are listening and not connected.
328
+ # Corresponds to the JSON property `destinationPort`
329
+ # @return [Fixnum]
330
+ attr_accessor :destination_port
331
+
332
+ # IANA Internet Protocol Number such as TCP(6) and UDP(17).
333
+ # Corresponds to the JSON property `protocol`
334
+ # @return [String]
335
+ attr_accessor :protocol
336
+
337
+ # Source IP address.
338
+ # Corresponds to the JSON property `sourceIp`
339
+ # @return [String]
340
+ attr_accessor :source_ip
341
+
342
+ # Source port.
343
+ # Corresponds to the JSON property `sourcePort`
344
+ # @return [Fixnum]
345
+ attr_accessor :source_port
346
+
347
+ def initialize(**args)
348
+ update!(**args)
349
+ end
350
+
351
+ # Update properties of this object
352
+ def update!(**args)
353
+ @destination_ip = args[:destination_ip] if args.key?(:destination_ip)
354
+ @destination_port = args[:destination_port] if args.key?(:destination_port)
355
+ @protocol = args[:protocol] if args.key?(:protocol)
356
+ @source_ip = args[:source_ip] if args.key?(:source_ip)
357
+ @source_port = args[:source_port] if args.key?(:source_port)
358
+ end
359
+ end
360
+
317
361
  # CVE stands for Common Vulnerabilities and Exposures. More information: https://
318
362
  # cve.mitre.org
319
363
  class Cve
@@ -529,11 +573,21 @@ module Google
529
573
  # @return [String]
530
574
  attr_accessor :category
531
575
 
576
+ # Contains information about the IP connection associated with the finding.
577
+ # Corresponds to the JSON property `connections`
578
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Connection>]
579
+ attr_accessor :connections
580
+
532
581
  # The time at which the finding was created in Security Command Center.
533
582
  # Corresponds to the JSON property `createTime`
534
583
  # @return [String]
535
584
  attr_accessor :create_time
536
585
 
586
+ # Contains more detail about the finding.
587
+ # Corresponds to the JSON property `description`
588
+ # @return [String]
589
+ attr_accessor :description
590
+
537
591
  # The time the finding was first detected. If an existing finding is updated,
538
592
  # then this is the time the update occurred. For example, if the finding
539
593
  # represents an open firewall, this property captures the time the detector
@@ -671,7 +725,9 @@ module Google
671
725
  @access = args[:access] if args.key?(:access)
672
726
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
673
727
  @category = args[:category] if args.key?(:category)
728
+ @connections = args[:connections] if args.key?(:connections)
674
729
  @create_time = args[:create_time] if args.key?(:create_time)
730
+ @description = args[:description] if args.key?(:description)
675
731
  @event_time = args[:event_time] if args.key?(:event_time)
676
732
  @external_systems = args[:external_systems] if args.key?(:external_systems)
677
733
  @external_uri = args[:external_uri] if args.key?(:external_uri)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.25.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 = "20220408"
25
+ REVISION = "20220414"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class Connection
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Cve
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -444,6 +450,17 @@ module Google
444
450
  end
445
451
  end
446
452
 
453
+ class Connection
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :destination_ip, as: 'destinationIp'
457
+ property :destination_port, as: 'destinationPort'
458
+ property :protocol, as: 'protocol'
459
+ property :source_ip, as: 'sourceIp'
460
+ property :source_port, as: 'sourcePort'
461
+ end
462
+ end
463
+
447
464
  class Cve
448
465
  # @private
449
466
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -494,7 +511,10 @@ module Google
494
511
 
495
512
  property :canonical_name, as: 'canonicalName'
496
513
  property :category, as: 'category'
514
+ collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta1::Connection, decorator: Google::Apis::SecuritycenterV1beta1::Connection::Representation
515
+
497
516
  property :create_time, as: 'createTime'
517
+ property :description, as: 'description'
498
518
  property :event_time, as: 'eventTime'
499
519
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
500
520
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.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-18 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []