google-apis-securitycenter_v1 0.26.0 → 0.29.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: bc5c1d98d4f0032e024279180985e2145625bd941d8dc45e869d672ba5bd0b9c
4
- data.tar.gz: 5d5e34a1599fe2d74ca704fab13c663b1b94f42ec61d52aded95675affb52a31
3
+ metadata.gz: c63c60599519970aaffa1223a48999217a4990150141ca0f758e1a201838ee4e
4
+ data.tar.gz: fc1ed33d16e58506aff01b8a16410aaca5709a956486ca01450b044a96d35685
5
5
  SHA512:
6
- metadata.gz: 4fb74b6fad085536cc2237b67a6d0dc29b2dc2da871c2da8d8322998526f631806d7e0bac6a2b7388ec59105609263a5705ba49f837290123187e7dccbe7f165
7
- data.tar.gz: 543362886b288ddc14fcd9229348948d655c1cff01456adfba9215bf33e9270988deb924da6290450d2e0036875eeeb163e05a06b222c071ad4acb5ae25276f5
6
+ metadata.gz: 4728f6165ddf8294fe0ceb4ce84ae6e6e3557541dd78a54f1686e75dc24989fc05f2f68e77983bb9f0202ed8a59e0ae24fde885b1c72cb41e0a5b23e107f8402
7
+ data.tar.gz: 24416274b98934140537af497aac524c3a296469b8a1497ae23c62354068c44c3c4a5629ac6a6b05a3dbca48b0b50c5a79207624a0d791e555fcdb560ad4e3e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.29.0 (2022-05-04)
4
+
5
+ * Regenerated from discovery document revision 20220428
6
+
7
+ ### v0.28.0 (2022-04-19)
8
+
9
+ * Regenerated from discovery document revision 20220414
10
+
11
+ ### v0.27.0 (2022-04-12)
12
+
13
+ * Regenerated from discovery document revision 20220408
14
+
3
15
  ### v0.26.0 (2022-04-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220401
@@ -195,8 +195,8 @@ module Google
195
195
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
196
196
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
197
197
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
198
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
199
- # DATA_WRITE logging.
198
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
199
+ # from DATA_WRITE logging.
200
200
  class AuditConfig
201
201
  include Google::Apis::Core::Hashable
202
202
 
@@ -276,7 +276,7 @@ module Google
276
276
  # @return [Google::Apis::SecuritycenterV1::Expr]
277
277
  attr_accessor :condition
278
278
 
279
- # Specifies the principals requesting access for a Cloud Platform resource. `
279
+ # Specifies the principals requesting access for a Google Cloud resource. `
280
280
  # members` can have the following values: * `allUsers`: A special identifier
281
281
  # that represents anyone who is on the internet; with or without a Google
282
282
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -360,6 +360,50 @@ module Google
360
360
  end
361
361
  end
362
362
 
363
+ # Contains information about the IP connection associated with the finding.
364
+ class Connection
365
+ include Google::Apis::Core::Hashable
366
+
367
+ # Destination IP address. Not present for sockets that are listening and not
368
+ # connected.
369
+ # Corresponds to the JSON property `destinationIp`
370
+ # @return [String]
371
+ attr_accessor :destination_ip
372
+
373
+ # Destination port. Not present for sockets that are listening and not connected.
374
+ # Corresponds to the JSON property `destinationPort`
375
+ # @return [Fixnum]
376
+ attr_accessor :destination_port
377
+
378
+ # IANA Internet Protocol Number such as TCP(6) and UDP(17).
379
+ # Corresponds to the JSON property `protocol`
380
+ # @return [String]
381
+ attr_accessor :protocol
382
+
383
+ # Source IP address.
384
+ # Corresponds to the JSON property `sourceIp`
385
+ # @return [String]
386
+ attr_accessor :source_ip
387
+
388
+ # Source port.
389
+ # Corresponds to the JSON property `sourcePort`
390
+ # @return [Fixnum]
391
+ attr_accessor :source_port
392
+
393
+ def initialize(**args)
394
+ update!(**args)
395
+ end
396
+
397
+ # Update properties of this object
398
+ def update!(**args)
399
+ @destination_ip = args[:destination_ip] if args.key?(:destination_ip)
400
+ @destination_port = args[:destination_port] if args.key?(:destination_port)
401
+ @protocol = args[:protocol] if args.key?(:protocol)
402
+ @source_ip = args[:source_ip] if args.key?(:source_ip)
403
+ @source_port = args[:source_port] if args.key?(:source_port)
404
+ end
405
+ end
406
+
363
407
  # CVE stands for Common Vulnerabilities and Exposures. More information: https://
364
408
  # cve.mitre.org
365
409
  class Cve
@@ -575,11 +619,21 @@ module Google
575
619
  # @return [String]
576
620
  attr_accessor :category
577
621
 
622
+ # Contains information about the IP connection associated with the finding.
623
+ # Corresponds to the JSON property `connections`
624
+ # @return [Array<Google::Apis::SecuritycenterV1::Connection>]
625
+ attr_accessor :connections
626
+
578
627
  # The time at which the finding was created in Security Command Center.
579
628
  # Corresponds to the JSON property `createTime`
580
629
  # @return [String]
581
630
  attr_accessor :create_time
582
631
 
632
+ # Contains more detail about the finding.
633
+ # Corresponds to the JSON property `description`
634
+ # @return [String]
635
+ attr_accessor :description
636
+
583
637
  # The time the finding was first detected. If an existing finding is updated,
584
638
  # then this is the time the update occurred. For example, if the finding
585
639
  # represents an open firewall, this property captures the time the detector
@@ -717,7 +771,9 @@ module Google
717
771
  @access = args[:access] if args.key?(:access)
718
772
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
719
773
  @category = args[:category] if args.key?(:category)
774
+ @connections = args[:connections] if args.key?(:connections)
720
775
  @create_time = args[:create_time] if args.key?(:create_time)
776
+ @description = args[:description] if args.key?(:description)
721
777
  @event_time = args[:event_time] if args.key?(:event_time)
722
778
  @external_systems = args[:external_systems] if args.key?(:external_systems)
723
779
  @external_uri = args[:external_uri] if args.key?(:external_uri)
@@ -2910,7 +2966,7 @@ module Google
2910
2966
  include Google::Apis::Core::Hashable
2911
2967
 
2912
2968
  # The set of permissions to check for the `resource`. Permissions with wildcards
2913
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2969
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
2914
2970
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2915
2971
  # Corresponds to the JSON property `permissions`
2916
2972
  # @return [Array<String>]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.29.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 = "20220428"
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
 
@@ -492,6 +498,17 @@ module Google
492
498
  end
493
499
  end
494
500
 
501
+ class Connection
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :destination_ip, as: 'destinationIp'
505
+ property :destination_port, as: 'destinationPort'
506
+ property :protocol, as: 'protocol'
507
+ property :source_ip, as: 'sourceIp'
508
+ property :source_port, as: 'sourcePort'
509
+ end
510
+ end
511
+
495
512
  class Cve
496
513
  # @private
497
514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -542,7 +559,10 @@ module Google
542
559
 
543
560
  property :canonical_name, as: 'canonicalName'
544
561
  property :category, as: 'category'
562
+ collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1::Connection, decorator: Google::Apis::SecuritycenterV1::Connection::Representation
563
+
545
564
  property :create_time, as: 'createTime'
565
+ property :description, as: 'description'
546
566
  property :event_time, as: 'eventTime'
547
567
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
548
568
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.29.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-05-09 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []