google-apis-securitycenter_v1 0.38.0 → 0.39.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: 3521814e5d9bd424dab2b96c70aa05df203d1da5d30d108e0e8af019cd9f7037
4
- data.tar.gz: 1be423f96ab440c4f28d3b2bc6ea4b12539fde2a57024292944270bb5438c37f
3
+ metadata.gz: d1fca40659a52cd9c54836520de223e3ee069a03c8c1944886a7f222165c1ace
4
+ data.tar.gz: 60690f507c37062f4ca0974c00366000bd6a2d22819746cee0bc0a41f8193661
5
5
  SHA512:
6
- metadata.gz: df4e68120823bac056a399cba5a2450ccedfc694f890c03bb4eab1dbef45e0b42022d5aaab52ea423f766c22af961011f47ab8247ed26c1d5d3d147299510d4b
7
- data.tar.gz: 83c176841ae442563a0340909c2357f570aff12eef8d104977172549b673c12b7bdff16aab363c0ada755bea4b964e52a297408ff75b40b3083711f34656ccdc
6
+ metadata.gz: 3e213a7fe2c6ccf887a6d3b453e45d630ba8fad1aca1d0c11f460173e30fd51e609aeabd4875ce38cdc4149e41ba031a48a3328ea22d7a7ffb23f60f13888c5b
7
+ data.tar.gz: 355e2f93d669ac63faa43652859f2c7b079b587c751a9b3ef07bf63e9a822f6beb0ad91f6006b85e516f3ac2f76bee757e01de95ebbfe41049ae23e0c048992b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.39.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+
3
7
  ### v0.38.0 (2022-08-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20220728
@@ -377,25 +377,28 @@ module Google
377
377
  # anyone who is authenticated with a Google account or a service account. * `
378
378
  # user:`emailid``: An email address that represents a specific Google account.
379
379
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
380
- # address that represents a service account. For example, `my-other-app@appspot.
381
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
382
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
383
- # `uniqueid``: An email address (plus unique identifier) representing a user
384
- # that has been recently deleted. For example, `alice@example.com?uid=
385
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
386
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
387
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
388
- # identifier) representing a service account that has been recently deleted. For
389
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
390
- # If the service account is undeleted, this value reverts to `serviceAccount:`
391
- # emailid`` and the undeleted service account retains the role in the binding. *
392
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
393
- # identifier) representing a Google group that has been recently deleted. For
394
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
395
- # recovered, this value reverts to `group:`emailid`` and the recovered group
396
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
397
- # primary) that represents all the users of that domain. For example, `google.
398
- # com` or `example.com`.
380
+ # address that represents a Google service account. For example, `my-other-app@
381
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
382
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
383
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
384
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
385
+ # . * `group:`emailid``: An email address that represents a Google group. For
386
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
387
+ # email address (plus unique identifier) representing a user that has been
388
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
389
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
390
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
391
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
392
+ # representing a service account that has been recently deleted. For example, `
393
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
394
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
395
+ # and the undeleted service account retains the role in the binding. * `deleted:
396
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
397
+ # representing a Google group that has been recently deleted. For example, `
398
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
399
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
400
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
401
+ # all the users of that domain. For example, `google.com` or `example.com`.
399
402
  # Corresponds to the JSON property `members`
400
403
  # @return [Array<String>]
401
404
  attr_accessor :members
@@ -725,6 +728,57 @@ module Google
725
728
  end
726
729
  end
727
730
 
731
+ # Represents database access information, such as queries. A database may be a
732
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
733
+ # Spanner instances), or the database instance itself. Some database resources
734
+ # may not have the full resource name populated because these resource types are
735
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
736
+ # cases only the display name will be provided.
737
+ class Database
738
+ include Google::Apis::Core::Hashable
739
+
740
+ # The human readable name of the database the user connected to.
741
+ # Corresponds to the JSON property `displayName`
742
+ # @return [String]
743
+ attr_accessor :display_name
744
+
745
+ # The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
746
+ # change).
747
+ # Corresponds to the JSON property `grantees`
748
+ # @return [Array<String>]
749
+ attr_accessor :grantees
750
+
751
+ # The full resource name of the database the user connected to, if it is
752
+ # supported by CAI. (https://google.aip.dev/122#full-resource-names)
753
+ # Corresponds to the JSON property `name`
754
+ # @return [String]
755
+ attr_accessor :name
756
+
757
+ # The SQL statement associated with the relevant access.
758
+ # Corresponds to the JSON property `query`
759
+ # @return [String]
760
+ attr_accessor :query
761
+
762
+ # The username used to connect to the DB. This may not necessarily be an IAM
763
+ # principal, and has no required format.
764
+ # Corresponds to the JSON property `userName`
765
+ # @return [String]
766
+ attr_accessor :user_name
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @display_name = args[:display_name] if args.key?(:display_name)
775
+ @grantees = args[:grantees] if args.key?(:grantees)
776
+ @name = args[:name] if args.key?(:name)
777
+ @query = args[:query] if args.key?(:query)
778
+ @user_name = args[:user_name] if args.key?(:user_name)
779
+ end
780
+ end
781
+
728
782
  # Memory hash detection contributing to the binary family match.
729
783
  class Detection
730
784
  include Google::Apis::Core::Hashable
@@ -1018,6 +1072,16 @@ module Google
1018
1072
  # @return [String]
1019
1073
  attr_accessor :create_time
1020
1074
 
1075
+ # Represents database access information, such as queries. A database may be a
1076
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
1077
+ # Spanner instances), or the database instance itself. Some database resources
1078
+ # may not have the full resource name populated because these resource types are
1079
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
1080
+ # cases only the display name will be provided.
1081
+ # Corresponds to the JSON property `database`
1082
+ # @return [Google::Apis::SecuritycenterV1::Database]
1083
+ attr_accessor :database
1084
+
1021
1085
  # Contains more detail about the finding.
1022
1086
  # Corresponds to the JSON property `description`
1023
1087
  # @return [String]
@@ -1182,6 +1246,7 @@ module Google
1182
1246
  @contacts = args[:contacts] if args.key?(:contacts)
1183
1247
  @containers = args[:containers] if args.key?(:containers)
1184
1248
  @create_time = args[:create_time] if args.key?(:create_time)
1249
+ @database = args[:database] if args.key?(:database)
1185
1250
  @description = args[:description] if args.key?(:description)
1186
1251
  @event_time = args[:event_time] if args.key?(:event_time)
1187
1252
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220728"
25
+ REVISION = "20220809"
26
26
  end
27
27
  end
28
28
  end
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class Database
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class Detection
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -726,6 +732,17 @@ module Google
726
732
  end
727
733
  end
728
734
 
735
+ class Database
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :display_name, as: 'displayName'
739
+ collection :grantees, as: 'grantees'
740
+ property :name, as: 'name'
741
+ property :query, as: 'query'
742
+ property :user_name, as: 'userName'
743
+ end
744
+ end
745
+
729
746
  class Detection
730
747
  # @private
731
748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -804,6 +821,8 @@ module Google
804
821
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
805
822
 
806
823
  property :create_time, as: 'createTime'
824
+ property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
825
+
807
826
  property :description, as: 'description'
808
827
  property :event_time, as: 'eventTime'
809
828
  property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
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.38.0
4
+ version: 0.39.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-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.39.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: []