google-apis-securitycenter_v1beta1 0.35.0 → 0.38.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: abb885709aa24a75bd7676c0323c5383caad796dac8347161def09bf42e64341
4
+ data.tar.gz: 1601b9c9c97c98c4cd235ce148decfd432173f048e5b54bd8ca4da3342618565
5
5
  SHA512:
6
- metadata.gz: 9a51ce91eb735e1e6fbc4e5f32d77ff2daaf3e038ffa519de943eae4b4016413c18e95dfeef3768dbedf67d7f9c7fd3a281f602e97bf911527cc9a232d8fb9fb
7
- data.tar.gz: 8dead1295e9f2b2a4710b613d60bb8ed63ef7c9d27634759761ddaff7f28f673dc1fb3cf0950001a61a59a31152d6594baa227bbccb53f18f3cc2179e9216405
6
+ metadata.gz: edf3f930e5dc6fb02448a866a612109d4eb345f9832d259dd923ae94c7adc11cf6fa629df5040454a33a983b9b9535498e614561fd166159ed0dbbf0b0963a93
7
+ data.tar.gz: 21fa19a29b2bcbb62cdf1c49e55ea74b6a35561ba35139aff3a8af45641e0c5bdaa116b11a6a5031d6565046df70d9d959201045787c9b444762a4d3b0d58a68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.38.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220825
6
+
7
+ ### v0.37.0 (2022-08-25)
8
+
9
+ * Regenerated from discovery document revision 20220824
10
+
11
+ ### v0.36.0 (2022-08-10)
12
+
13
+ * Regenerated from discovery document revision 20220809
14
+
3
15
  ### v0.35.0 (2022-08-02)
4
16
 
5
17
  * Regenerated from discovery document revision 20220728
@@ -54,8 +54,8 @@ module Google
54
54
  # A string representing the principal_subject associated with the identity. As
55
55
  # compared to `principal_email`, supports principals that aren't associated with
56
56
  # email addresses, such as third party principals. For most identities, the
57
- # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
58
- # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
57
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
58
+ # subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
59
59
  # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
60
60
  # identity pool name`[`subject`]`
61
61
  # Corresponds to the JSON property `principalSubject`
@@ -351,28 +351,33 @@ module Google
351
351
  # members` can have the following values: * `allUsers`: A special identifier
352
352
  # that represents anyone who is on the internet; with or without a Google
353
353
  # account. * `allAuthenticatedUsers`: A special identifier that represents
354
- # anyone who is authenticated with a Google account or a service account. * `
355
- # user:`emailid``: An email address that represents a specific Google account.
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`.
354
+ # anyone who is authenticated with a Google account or a service account. Does
355
+ # not include identities that come from external identity providers (IdPs)
356
+ # through identity federation. * `user:`emailid``: An email address that
357
+ # represents a specific Google account. For example, `alice@example.com` . * `
358
+ # serviceAccount:`emailid``: An email address that represents a Google service
359
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
360
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
361
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
362
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
363
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
364
+ # email address that represents a Google group. For example, `admins@example.com`
365
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
366
+ # identifier) representing a user that has been recently deleted. For example, `
367
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
368
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
369
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
370
+ # address (plus unique identifier) representing a service account that has been
371
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
372
+ # 123456789012345678901`. If the service account is undeleted, this value
373
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
374
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
375
+ # An email address (plus unique identifier) representing a Google group that has
376
+ # been recently deleted. For example, `admins@example.com?uid=
377
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
378
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
379
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
380
+ # of that domain. For example, `google.com` or `example.com`.
376
381
  # Corresponds to the JSON property `members`
377
382
  # @return [Array<String>]
378
383
  attr_accessor :members
@@ -679,6 +684,57 @@ module Google
679
684
  end
680
685
  end
681
686
 
687
+ # Represents database access information, such as queries. A database may be a
688
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
689
+ # Spanner instances), or the database instance itself. Some database resources
690
+ # may not have the full resource name populated because these resource types are
691
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
692
+ # cases only the display name will be provided.
693
+ class Database
694
+ include Google::Apis::Core::Hashable
695
+
696
+ # The human readable name of the database the user connected to.
697
+ # Corresponds to the JSON property `displayName`
698
+ # @return [String]
699
+ attr_accessor :display_name
700
+
701
+ # The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
702
+ # change).
703
+ # Corresponds to the JSON property `grantees`
704
+ # @return [Array<String>]
705
+ attr_accessor :grantees
706
+
707
+ # The full resource name of the database the user connected to, if it is
708
+ # supported by CAI. (https://google.aip.dev/122#full-resource-names)
709
+ # Corresponds to the JSON property `name`
710
+ # @return [String]
711
+ attr_accessor :name
712
+
713
+ # The SQL statement associated with the relevant access.
714
+ # Corresponds to the JSON property `query`
715
+ # @return [String]
716
+ attr_accessor :query
717
+
718
+ # The username used to connect to the DB. This may not necessarily be an IAM
719
+ # principal, and has no required format.
720
+ # Corresponds to the JSON property `userName`
721
+ # @return [String]
722
+ attr_accessor :user_name
723
+
724
+ def initialize(**args)
725
+ update!(**args)
726
+ end
727
+
728
+ # Update properties of this object
729
+ def update!(**args)
730
+ @display_name = args[:display_name] if args.key?(:display_name)
731
+ @grantees = args[:grantees] if args.key?(:grantees)
732
+ @name = args[:name] if args.key?(:name)
733
+ @query = args[:query] if args.key?(:query)
734
+ @user_name = args[:user_name] if args.key?(:user_name)
735
+ end
736
+ end
737
+
682
738
  # Memory hash detection contributing to the binary family match.
683
739
  class Detection
684
740
  include Google::Apis::Core::Hashable
@@ -956,7 +1012,7 @@ module Google
956
1012
  # contacts that pertain. Please refer to: https://cloud.google.com/resource-
957
1013
  # manager/docs/managing-notification-contacts#notification-categories ` "
958
1014
  # security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
959
- # person2@company.com" ` ] `
1015
+ # person2@company.com" ` ] ` `
960
1016
  # Corresponds to the JSON property `contacts`
961
1017
  # @return [Hash<String,Google::Apis::SecuritycenterV1beta1::ContactDetails>]
962
1018
  attr_accessor :contacts
@@ -972,6 +1028,16 @@ module Google
972
1028
  # @return [String]
973
1029
  attr_accessor :create_time
974
1030
 
1031
+ # Represents database access information, such as queries. A database may be a
1032
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
1033
+ # Spanner instances), or the database instance itself. Some database resources
1034
+ # may not have the full resource name populated because these resource types are
1035
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
1036
+ # cases only the display name will be provided.
1037
+ # Corresponds to the JSON property `database`
1038
+ # @return [Google::Apis::SecuritycenterV1beta1::Database]
1039
+ attr_accessor :database
1040
+
975
1041
  # Contains more detail about the finding.
976
1042
  # Corresponds to the JSON property `description`
977
1043
  # @return [String]
@@ -1136,6 +1202,7 @@ module Google
1136
1202
  @contacts = args[:contacts] if args.key?(:contacts)
1137
1203
  @containers = args[:containers] if args.key?(:containers)
1138
1204
  @create_time = args[:create_time] if args.key?(:create_time)
1205
+ @database = args[:database] if args.key?(:database)
1139
1206
  @description = args[:description] if args.key?(:description)
1140
1207
  @event_time = args[:event_time] if args.key?(:event_time)
1141
1208
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
@@ -2386,7 +2453,7 @@ module Google
2386
2453
  # @return [Array<Google::Apis::SecuritycenterV1beta1::ProcessSignature>]
2387
2454
  attr_accessor :signatures
2388
2455
 
2389
- # The list of URIs associated to the Findings
2456
+ # The list of URIs associated to the Findings.
2390
2457
  # Corresponds to the JSON property `uris`
2391
2458
  # @return [Array<String>]
2392
2459
  attr_accessor :uris
@@ -3264,7 +3331,7 @@ module Google
3264
3331
  class ServiceAccountDelegationInfo
3265
3332
  include Google::Apis::Core::Hashable
3266
3333
 
3267
- # The email address of a Google account. .
3334
+ # The email address of a Google account.
3268
3335
  # Corresponds to the JSON property `principalEmail`
3269
3336
  # @return [String]
3270
3337
  attr_accessor :principal_email
@@ -3272,8 +3339,8 @@ module Google
3272
3339
  # A string representing the principal_subject associated with the identity. As
3273
3340
  # compared to `principal_email`, supports principals that aren't associated with
3274
3341
  # email addresses, such as third party principals. For most identities, the
3275
- # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
3276
- # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
3342
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
3343
+ # subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
3277
3344
  # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
3278
3345
  # identity pool name`[`subject`]`
3279
3346
  # Corresponds to the JSON property `principalSubject`
@@ -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.38.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 = "20220825"
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.38.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-09-05 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.38.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: []