google-apis-securitycenter_v1beta1 0.35.0 → 0.36.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: b3959070d956e84f8da770051e65b7a13e2ff060ff07e9d307564df46e0911f8
4
- data.tar.gz: f176641c6014cfc73c8986ede87e1535821a8f7d18cb182ebb30aa068774dd1d
3
+ metadata.gz: f80f66b9e52bdb4a3b3c473f50e9a977037fad35964e4169d89dece9e690723e
4
+ data.tar.gz: 77346e56c89f4eb83a516ed2099cbbcdcd9a20cc59fcedaada20fd4120b5ea68
5
5
  SHA512:
6
- metadata.gz: 9a51ce91eb735e1e6fbc4e5f32d77ff2daaf3e038ffa519de943eae4b4016413c18e95dfeef3768dbedf67d7f9c7fd3a281f602e97bf911527cc9a232d8fb9fb
7
- data.tar.gz: 8dead1295e9f2b2a4710b613d60bb8ed63ef7c9d27634759761ddaff7f28f673dc1fb3cf0950001a61a59a31152d6594baa227bbccb53f18f3cc2179e9216405
6
+ metadata.gz: 6b30a13fa41d6b1cb74179d385edf24f6080af537e2962c195ff20edb3f0c4fa4ad20c4c8815c765220c6edade4b3f94bce10792a825b63b9176e664f72e031b
7
+ data.tar.gz: ca4faff8d5c46dce6d8b684585c452351571c85b5c4938b72f00f2da62e11b6dad185c4f66d35be9f7585bf523f6a407196dfd8bff4be2273ea9e0cd204fd8b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.36.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+
3
7
  ### v0.35.0 (2022-08-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20220728
@@ -354,25 +354,28 @@ module Google
354
354
  # anyone who is authenticated with a Google account or a service account. * `
355
355
  # user:`emailid``: An email address that represents a specific Google account.
356
356
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
357
- # address that represents a service account. For example, `my-other-app@appspot.
358
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
359
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
360
- # `uniqueid``: An email address (plus unique identifier) representing a user
361
- # that has been recently deleted. For example, `alice@example.com?uid=
362
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
363
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
364
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
365
- # identifier) representing a service account that has been recently deleted. For
366
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
367
- # If the service account is undeleted, this value reverts to `serviceAccount:`
368
- # emailid`` and the undeleted service account retains the role in the binding. *
369
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
370
- # identifier) representing a Google group that has been recently deleted. For
371
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
372
- # recovered, this value reverts to `group:`emailid`` and the recovered group
373
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
374
- # primary) that represents all the users of that domain. For example, `google.
375
- # com` or `example.com`.
357
+ # address that represents a Google service account. For example, `my-other-app@
358
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
359
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
360
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
361
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
362
+ # . * `group:`emailid``: An email address that represents a Google group. For
363
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
364
+ # email address (plus unique identifier) representing a user that has been
365
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
366
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
367
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
368
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
369
+ # representing a service account that has been recently deleted. For example, `
370
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
371
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
372
+ # and the undeleted service account retains the role in the binding. * `deleted:
373
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
374
+ # representing a Google group that has been recently deleted. For example, `
375
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
376
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
377
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
378
+ # all the users of that domain. For example, `google.com` or `example.com`.
376
379
  # Corresponds to the JSON property `members`
377
380
  # @return [Array<String>]
378
381
  attr_accessor :members
@@ -679,6 +682,57 @@ module Google
679
682
  end
680
683
  end
681
684
 
685
+ # Represents database access information, such as queries. A database may be a
686
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
687
+ # Spanner instances), or the database instance itself. Some database resources
688
+ # may not have the full resource name populated because these resource types are
689
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
690
+ # cases only the display name will be provided.
691
+ class Database
692
+ include Google::Apis::Core::Hashable
693
+
694
+ # The human readable name of the database the user connected to.
695
+ # Corresponds to the JSON property `displayName`
696
+ # @return [String]
697
+ attr_accessor :display_name
698
+
699
+ # The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
700
+ # change).
701
+ # Corresponds to the JSON property `grantees`
702
+ # @return [Array<String>]
703
+ attr_accessor :grantees
704
+
705
+ # The full resource name of the database the user connected to, if it is
706
+ # supported by CAI. (https://google.aip.dev/122#full-resource-names)
707
+ # Corresponds to the JSON property `name`
708
+ # @return [String]
709
+ attr_accessor :name
710
+
711
+ # The SQL statement associated with the relevant access.
712
+ # Corresponds to the JSON property `query`
713
+ # @return [String]
714
+ attr_accessor :query
715
+
716
+ # The username used to connect to the DB. This may not necessarily be an IAM
717
+ # principal, and has no required format.
718
+ # Corresponds to the JSON property `userName`
719
+ # @return [String]
720
+ attr_accessor :user_name
721
+
722
+ def initialize(**args)
723
+ update!(**args)
724
+ end
725
+
726
+ # Update properties of this object
727
+ def update!(**args)
728
+ @display_name = args[:display_name] if args.key?(:display_name)
729
+ @grantees = args[:grantees] if args.key?(:grantees)
730
+ @name = args[:name] if args.key?(:name)
731
+ @query = args[:query] if args.key?(:query)
732
+ @user_name = args[:user_name] if args.key?(:user_name)
733
+ end
734
+ end
735
+
682
736
  # Memory hash detection contributing to the binary family match.
683
737
  class Detection
684
738
  include Google::Apis::Core::Hashable
@@ -972,6 +1026,16 @@ module Google
972
1026
  # @return [String]
973
1027
  attr_accessor :create_time
974
1028
 
1029
+ # Represents database access information, such as queries. A database may be a
1030
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
1031
+ # Spanner instances), or the database instance itself. Some database resources
1032
+ # may not have the full resource name populated because these resource types are
1033
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
1034
+ # cases only the display name will be provided.
1035
+ # Corresponds to the JSON property `database`
1036
+ # @return [Google::Apis::SecuritycenterV1beta1::Database]
1037
+ attr_accessor :database
1038
+
975
1039
  # Contains more detail about the finding.
976
1040
  # Corresponds to the JSON property `description`
977
1041
  # @return [String]
@@ -1136,6 +1200,7 @@ module Google
1136
1200
  @contacts = args[:contacts] if args.key?(:contacts)
1137
1201
  @containers = args[:containers] if args.key?(:containers)
1138
1202
  @create_time = args[:create_time] if args.key?(:create_time)
1203
+ @database = args[:database] if args.key?(:database)
1139
1204
  @description = args[:description] if args.key?(:description)
1140
1205
  @event_time = args[:event_time] if args.key?(:event_time)
1141
1206
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.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
 
@@ -678,6 +684,17 @@ module Google
678
684
  end
679
685
  end
680
686
 
687
+ class Database
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :display_name, as: 'displayName'
691
+ collection :grantees, as: 'grantees'
692
+ property :name, as: 'name'
693
+ property :query, as: 'query'
694
+ property :user_name, as: 'userName'
695
+ end
696
+ end
697
+
681
698
  class Detection
682
699
  # @private
683
700
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -756,6 +773,8 @@ module Google
756
773
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
757
774
 
758
775
  property :create_time, as: 'createTime'
776
+ property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta1::Database, decorator: Google::Apis::SecuritycenterV1beta1::Database::Representation
777
+
759
778
  property :description, as: 'description'
760
779
  property :event_time, as: 'eventTime'
761
780
  property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta1::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta1::Exfiltration::Representation
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.35.0
4
+ version: 0.36.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.36.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: []