google-apis-securitycenter_v1 0.36.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1fca40659a52cd9c54836520de223e3ee069a03c8c1944886a7f222165c1ace
|
4
|
+
data.tar.gz: 60690f507c37062f4ca0974c00366000bd6a2d22819746cee0bc0a41f8193661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e213a7fe2c6ccf887a6d3b453e45d630ba8fad1aca1d0c11f460173e30fd51e609aeabd4875ce38cdc4149e41ba031a48a3328ea22d7a7ffb23f60f13888c5b
|
7
|
+
data.tar.gz: 355e2f93d669ac63faa43652859f2c7b079b587c751a9b3ef07bf63e9a822f6beb0ad91f6006b85e516f3ac2f76bee757e01de95ebbfe41049ae23e0c048992b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
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
|
+
|
7
|
+
### v0.38.0 (2022-08-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220728
|
10
|
+
|
11
|
+
### v0.37.0 (2022-07-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220720
|
14
|
+
|
3
15
|
### v0.36.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::SecuritycenterV1::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
|
@@ -341,25 +377,28 @@ module Google
|
|
341
377
|
# anyone who is authenticated with a Google account or a service account. * `
|
342
378
|
# user:`emailid``: An email address that represents a specific Google account.
|
343
379
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
344
|
-
# address that represents a service account. For example, `my-other-app@
|
345
|
-
# gserviceaccount.com`. * `
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
# emailid
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
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`.
|
363
402
|
# Corresponds to the JSON property `members`
|
364
403
|
# @return [Array<String>]
|
365
404
|
attr_accessor :members
|
@@ -689,6 +728,57 @@ module Google
|
|
689
728
|
end
|
690
729
|
end
|
691
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
|
+
|
692
782
|
# Memory hash detection contributing to the binary family match.
|
693
783
|
class Detection
|
694
784
|
include Google::Apis::Core::Hashable
|
@@ -982,6 +1072,16 @@ module Google
|
|
982
1072
|
# @return [String]
|
983
1073
|
attr_accessor :create_time
|
984
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
|
+
|
985
1085
|
# Contains more detail about the finding.
|
986
1086
|
# Corresponds to the JSON property `description`
|
987
1087
|
# @return [String]
|
@@ -1146,6 +1246,7 @@ module Google
|
|
1146
1246
|
@contacts = args[:contacts] if args.key?(:contacts)
|
1147
1247
|
@containers = args[:containers] if args.key?(:containers)
|
1148
1248
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1249
|
+
@database = args[:database] if args.key?(:database)
|
1149
1250
|
@description = args[:description] if args.key?(:description)
|
1150
1251
|
@event_time = args[:event_time] if args.key?(:event_time)
|
1151
1252
|
@exfiltration = args[:exfiltration] if args.key?(:exfiltration)
|
@@ -2363,6 +2464,11 @@ module Google
|
|
2363
2464
|
# @return [Array<Google::Apis::SecuritycenterV1::ProcessSignature>]
|
2364
2465
|
attr_accessor :signatures
|
2365
2466
|
|
2467
|
+
# The list of URIs associated to the Findings
|
2468
|
+
# Corresponds to the JSON property `uris`
|
2469
|
+
# @return [Array<String>]
|
2470
|
+
attr_accessor :uris
|
2471
|
+
|
2366
2472
|
def initialize(**args)
|
2367
2473
|
update!(**args)
|
2368
2474
|
end
|
@@ -2372,6 +2478,7 @@ module Google
|
|
2372
2478
|
@domains = args[:domains] if args.key?(:domains)
|
2373
2479
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
2374
2480
|
@signatures = args[:signatures] if args.key?(:signatures)
|
2481
|
+
@uris = args[:uris] if args.key?(:uris)
|
2375
2482
|
end
|
2376
2483
|
end
|
2377
2484
|
|
@@ -3486,6 +3593,37 @@ module Google
|
|
3486
3593
|
end
|
3487
3594
|
end
|
3488
3595
|
|
3596
|
+
# Identity delegation history of an authenticated service account.
|
3597
|
+
class ServiceAccountDelegationInfo
|
3598
|
+
include Google::Apis::Core::Hashable
|
3599
|
+
|
3600
|
+
# The email address of a Google account. .
|
3601
|
+
# Corresponds to the JSON property `principalEmail`
|
3602
|
+
# @return [String]
|
3603
|
+
attr_accessor :principal_email
|
3604
|
+
|
3605
|
+
# A string representing the principal_subject associated with the identity. As
|
3606
|
+
# compared to `principal_email`, supports principals that aren't associated with
|
3607
|
+
# email addresses, such as third party principals. For most identities, the
|
3608
|
+
# format will be `principal://iam.googleapis.com/`identity pool name`/subject/`
|
3609
|
+
# subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
|
3610
|
+
# GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
|
3611
|
+
# identity pool name`[`subject`]`
|
3612
|
+
# Corresponds to the JSON property `principalSubject`
|
3613
|
+
# @return [String]
|
3614
|
+
attr_accessor :principal_subject
|
3615
|
+
|
3616
|
+
def initialize(**args)
|
3617
|
+
update!(**args)
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
# Update properties of this object
|
3621
|
+
def update!(**args)
|
3622
|
+
@principal_email = args[:principal_email] if args.key?(:principal_email)
|
3623
|
+
@principal_subject = args[:principal_subject] if args.key?(:principal_subject)
|
3624
|
+
end
|
3625
|
+
end
|
3626
|
+
|
3489
3627
|
# Request message for updating a finding's state.
|
3490
3628
|
class SetFindingStateRequest
|
3491
3629
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
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 = "
|
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
|
|
@@ -490,6 +496,12 @@ module Google
|
|
490
496
|
include Google::Apis::Core::JsonObjectSupport
|
491
497
|
end
|
492
498
|
|
499
|
+
class ServiceAccountDelegationInfo
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
493
505
|
class SetFindingStateRequest
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
507
|
|
@@ -564,6 +576,10 @@ module Google
|
|
564
576
|
|
565
577
|
property :method_name, as: 'methodName'
|
566
578
|
property :principal_email, as: 'principalEmail'
|
579
|
+
property :principal_subject, as: 'principalSubject'
|
580
|
+
collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo, decorator: Google::Apis::SecuritycenterV1::ServiceAccountDelegationInfo::Representation
|
581
|
+
|
582
|
+
property :service_account_key_name, as: 'serviceAccountKeyName'
|
567
583
|
property :service_name, as: 'serviceName'
|
568
584
|
property :user_agent_family, as: 'userAgentFamily'
|
569
585
|
end
|
@@ -716,6 +732,17 @@ module Google
|
|
716
732
|
end
|
717
733
|
end
|
718
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
|
+
|
719
746
|
class Detection
|
720
747
|
# @private
|
721
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -794,6 +821,8 @@ module Google
|
|
794
821
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
|
795
822
|
|
796
823
|
property :create_time, as: 'createTime'
|
824
|
+
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
|
825
|
+
|
797
826
|
property :description, as: 'description'
|
798
827
|
property :event_time, as: 'eventTime'
|
799
828
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
|
@@ -1102,6 +1131,7 @@ module Google
|
|
1102
1131
|
collection :ip_addresses, as: 'ipAddresses'
|
1103
1132
|
collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1::ProcessSignature, decorator: Google::Apis::SecuritycenterV1::ProcessSignature::Representation
|
1104
1133
|
|
1134
|
+
collection :uris, as: 'uris'
|
1105
1135
|
end
|
1106
1136
|
end
|
1107
1137
|
|
@@ -1405,6 +1435,14 @@ module Google
|
|
1405
1435
|
end
|
1406
1436
|
end
|
1407
1437
|
|
1438
|
+
class ServiceAccountDelegationInfo
|
1439
|
+
# @private
|
1440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1441
|
+
property :principal_email, as: 'principalEmail'
|
1442
|
+
property :principal_subject, as: 'principalSubject'
|
1443
|
+
end
|
1444
|
+
end
|
1445
|
+
|
1408
1446
|
class SetFindingStateRequest
|
1409
1447
|
# @private
|
1410
1448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
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-
|
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.
|
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: []
|