google-apis-securitycenter_v1beta2 0.29.0 → 0.32.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: 01ef3fa2e07dc299e1a75fba7fd5d5e6e6aec6a895262392daa91c5627a5b096
4
- data.tar.gz: ffddfdf332044d0df42c310388158e11521c32bf78583859b272ba8555e9d567
3
+ metadata.gz: 9792564831becfd729f3120548d7194f51b231da1cb230a9538362300245ec1f
4
+ data.tar.gz: 829a8594cc4bbf3532e68ff268a1cf534d27d5ff20461ebcac1ca71389cb4643
5
5
  SHA512:
6
- metadata.gz: d681a647a84a382b840b9da95fa6d7e16c091ba3dd4317621a69403e9fbbcbe19103e454c5fb658f81137b5e695b84441a35276fa8dcfa403943d3e893b8c11b
7
- data.tar.gz: a18d7d51cfc9c43f4042cfce2f75bc00ea306927994beb00cab2c663a7afc5fb5c7b4e2ff2ea05c9fc78f8968a4ecf0da0c65fa8ab0d74ca20dc80af7ad1116a
6
+ metadata.gz: d0b4d0c6bd05fc5ba34d0e4afa823f4d605a597fb1633811da5db7d3996de0c5cba2aa41c775910657cc0104005fac61eb5a652f5c5e22b6bcf025e75f7248c4
7
+ data.tar.gz: 21c0ba256e7a3d338560eec5b6fe8595f88b4e79f23de5f7587246d3010255bfe4ac7d723ebdcd34bbcf196fc0a4a3090d009fceec35a91e15b248edcfadcbc5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.32.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220809
6
+
7
+ ### v0.31.0 (2022-08-02)
8
+
9
+ * Regenerated from discovery document revision 20220728
10
+
11
+ ### v0.30.0 (2022-07-26)
12
+
13
+ * Regenerated from discovery document revision 20220720
14
+
3
15
  ### v0.29.0 (2022-07-19)
4
16
 
5
17
  * Regenerated from discovery document revision 20220713
@@ -41,11 +41,44 @@ module Google
41
41
  # @return [String]
42
42
  attr_accessor :method_name
43
43
 
44
- # Associated email, such as "foo@google.com".
44
+ # Associated email, such as "foo@google.com". The email address of the
45
+ # authenticated user (or service account on behalf of third party principal)
46
+ # making the request. For third party identity callers, the `principal_subject`
47
+ # field is populated instead of this field. For privacy reasons, the principal
48
+ # email address is sometimes redacted. For more information, see [Caller
49
+ # identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
45
50
  # Corresponds to the JSON property `principalEmail`
46
51
  # @return [String]
47
52
  attr_accessor :principal_email
48
53
 
54
+ # A string representing the principal_subject associated with the identity. As
55
+ # compared to `principal_email`, supports principals that aren't associated with
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,
59
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
60
+ # identity pool name`[`subject`]`
61
+ # Corresponds to the JSON property `principalSubject`
62
+ # @return [String]
63
+ attr_accessor :principal_subject
64
+
65
+ # Identity delegation history of an authenticated service account that makes the
66
+ # request. It contains information on the real authorities that try to access
67
+ # GCP resources by delegating on a service account. When multiple authorities
68
+ # are present, they are guaranteed to be sorted based on the original ordering
69
+ # of the identity delegation events.
70
+ # Corresponds to the JSON property `serviceAccountDelegationInfo`
71
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo>]
72
+ attr_accessor :service_account_delegation_info
73
+
74
+ # The name of the service account key used to create or exchange credentials for
75
+ # authenticating the service account making the request. This is a scheme-less
76
+ # URI full resource name. For example: "//iam.googleapis.com/projects/`
77
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key`"
78
+ # Corresponds to the JSON property `serviceAccountKeyName`
79
+ # @return [String]
80
+ attr_accessor :service_account_key_name
81
+
49
82
  # This is the API service that the service account made a call to, e.g. "iam.
50
83
  # googleapis.com"
51
84
  # Corresponds to the JSON property `serviceName`
@@ -68,6 +101,9 @@ module Google
68
101
  @caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo)
69
102
  @method_name = args[:method_name] if args.key?(:method_name)
70
103
  @principal_email = args[:principal_email] if args.key?(:principal_email)
104
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
105
+ @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
106
+ @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
71
107
  @service_name = args[:service_name] if args.key?(:service_name)
72
108
  @user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
73
109
  end
@@ -480,6 +516,57 @@ module Google
480
516
  end
481
517
  end
482
518
 
519
+ # Represents database access information, such as queries. A database may be a
520
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
521
+ # Spanner instances), or the database instance itself. Some database resources
522
+ # may not have the full resource name populated because these resource types are
523
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
524
+ # cases only the display name will be provided.
525
+ class Database
526
+ include Google::Apis::Core::Hashable
527
+
528
+ # The human readable name of the database the user connected to.
529
+ # Corresponds to the JSON property `displayName`
530
+ # @return [String]
531
+ attr_accessor :display_name
532
+
533
+ # The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
534
+ # change).
535
+ # Corresponds to the JSON property `grantees`
536
+ # @return [Array<String>]
537
+ attr_accessor :grantees
538
+
539
+ # The full resource name of the database the user connected to, if it is
540
+ # supported by CAI. (https://google.aip.dev/122#full-resource-names)
541
+ # Corresponds to the JSON property `name`
542
+ # @return [String]
543
+ attr_accessor :name
544
+
545
+ # The SQL statement associated with the relevant access.
546
+ # Corresponds to the JSON property `query`
547
+ # @return [String]
548
+ attr_accessor :query
549
+
550
+ # The username used to connect to the DB. This may not necessarily be an IAM
551
+ # principal, and has no required format.
552
+ # Corresponds to the JSON property `userName`
553
+ # @return [String]
554
+ attr_accessor :user_name
555
+
556
+ def initialize(**args)
557
+ update!(**args)
558
+ end
559
+
560
+ # Update properties of this object
561
+ def update!(**args)
562
+ @display_name = args[:display_name] if args.key?(:display_name)
563
+ @grantees = args[:grantees] if args.key?(:grantees)
564
+ @name = args[:name] if args.key?(:name)
565
+ @query = args[:query] if args.key?(:query)
566
+ @user_name = args[:user_name] if args.key?(:user_name)
567
+ end
568
+ end
569
+
483
570
  # Details of a subscription.
484
571
  class Details
485
572
  include Google::Apis::Core::Hashable
@@ -776,6 +863,16 @@ module Google
776
863
  # @return [String]
777
864
  attr_accessor :create_time
778
865
 
866
+ # Represents database access information, such as queries. A database may be a
867
+ # sub-resource of an instance (as in the case of CloudSQL instances or Cloud
868
+ # Spanner instances), or the database instance itself. Some database resources
869
+ # may not have the full resource name populated because these resource types are
870
+ # not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
871
+ # cases only the display name will be provided.
872
+ # Corresponds to the JSON property `database`
873
+ # @return [Google::Apis::SecuritycenterV1beta2::Database]
874
+ attr_accessor :database
875
+
779
876
  # Contains more detail about the finding.
780
877
  # Corresponds to the JSON property `description`
781
878
  # @return [String]
@@ -940,6 +1037,7 @@ module Google
940
1037
  @contacts = args[:contacts] if args.key?(:contacts)
941
1038
  @containers = args[:containers] if args.key?(:containers)
942
1039
  @create_time = args[:create_time] if args.key?(:create_time)
1040
+ @database = args[:database] if args.key?(:database)
943
1041
  @description = args[:description] if args.key?(:description)
944
1042
  @event_time = args[:event_time] if args.key?(:event_time)
945
1043
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
@@ -1771,6 +1869,11 @@ module Google
1771
1869
  # @return [Array<Google::Apis::SecuritycenterV1beta2::ProcessSignature>]
1772
1870
  attr_accessor :signatures
1773
1871
 
1872
+ # The list of URIs associated to the Findings
1873
+ # Corresponds to the JSON property `uris`
1874
+ # @return [Array<String>]
1875
+ attr_accessor :uris
1876
+
1774
1877
  def initialize(**args)
1775
1878
  update!(**args)
1776
1879
  end
@@ -1780,6 +1883,7 @@ module Google
1780
1883
  @domains = args[:domains] if args.key?(:domains)
1781
1884
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1782
1885
  @signatures = args[:signatures] if args.key?(:signatures)
1886
+ @uris = args[:uris] if args.key?(:uris)
1783
1887
  end
1784
1888
  end
1785
1889
 
@@ -2391,6 +2495,37 @@ module Google
2391
2495
  end
2392
2496
  end
2393
2497
 
2498
+ # Identity delegation history of an authenticated service account.
2499
+ class ServiceAccountDelegationInfo
2500
+ include Google::Apis::Core::Hashable
2501
+
2502
+ # The email address of a Google account. .
2503
+ # Corresponds to the JSON property `principalEmail`
2504
+ # @return [String]
2505
+ attr_accessor :principal_email
2506
+
2507
+ # A string representing the principal_subject associated with the identity. As
2508
+ # compared to `principal_email`, supports principals that aren't associated with
2509
+ # email addresses, such as third party principals. For most identities, the
2510
+ # format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
2511
+ # subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
2512
+ # GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
2513
+ # identity pool name`[`subject`]`
2514
+ # Corresponds to the JSON property `principalSubject`
2515
+ # @return [String]
2516
+ attr_accessor :principal_subject
2517
+
2518
+ def initialize(**args)
2519
+ update!(**args)
2520
+ end
2521
+
2522
+ # Update properties of this object
2523
+ def update!(**args)
2524
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
2525
+ @principal_subject = args[:principal_subject] if args.key?(:principal_subject)
2526
+ end
2527
+ end
2528
+
2394
2529
  # Represents a Kubernetes Subject.
2395
2530
  class Subject
2396
2531
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.32.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 = "20220713"
25
+ REVISION = "20220809"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class Database
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class Details
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -346,6 +352,12 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
355
+ class ServiceAccountDelegationInfo
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
349
361
  class Subject
350
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
363
 
@@ -390,6 +402,10 @@ module Google
390
402
 
391
403
  property :method_name, as: 'methodName'
392
404
  property :principal_email, as: 'principalEmail'
405
+ property :principal_subject, as: 'principalSubject'
406
+ collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1beta2::ServiceAccountDelegationInfo::Representation
407
+
408
+ property :service_account_key_name, as: 'serviceAccountKeyName'
393
409
  property :service_name, as: 'serviceName'
394
410
  property :user_agent_family, as: 'userAgentFamily'
395
411
  end
@@ -501,6 +517,17 @@ module Google
501
517
  end
502
518
  end
503
519
 
520
+ class Database
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :display_name, as: 'displayName'
524
+ collection :grantees, as: 'grantees'
525
+ property :name, as: 'name'
526
+ property :query, as: 'query'
527
+ property :user_name, as: 'userName'
528
+ end
529
+ end
530
+
504
531
  class Details
505
532
  # @private
506
533
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -583,6 +610,8 @@ module Google
583
610
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
584
611
 
585
612
  property :create_time, as: 'createTime'
613
+ property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::Database, decorator: Google::Apis::SecuritycenterV1beta2::Database::Representation
614
+
586
615
  property :description, as: 'description'
587
616
  property :event_time, as: 'eventTime'
588
617
  property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation
@@ -815,6 +844,7 @@ module Google
815
844
  collection :ip_addresses, as: 'ipAddresses'
816
845
  collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta2::ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta2::ProcessSignature::Representation
817
846
 
847
+ collection :uris, as: 'uris'
818
848
  end
819
849
  end
820
850
 
@@ -989,6 +1019,14 @@ module Google
989
1019
  end
990
1020
  end
991
1021
 
1022
+ class ServiceAccountDelegationInfo
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :principal_email, as: 'principalEmail'
1026
+ property :principal_subject, as: 'principalSubject'
1027
+ end
1028
+ end
1029
+
992
1030
  class Subject
993
1031
  # @private
994
1032
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.32.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-07-25 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.32.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []