google-apis-securitycenter_v1 0.37.0 → 0.40.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: 1b1986e5bce1e860d0a99fc7d734c3dd8416e2a5ae39604a570972e80b278d15
|
4
|
+
data.tar.gz: 2d16622f4534fb926717a2a2a08927fb84b108ecb8cdca327aee1ae69937bcf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac1982e6eff4687371570444fbf99d1d4bd222621e2224c776da0c5d67e0e2a27141358da14b8135049cc246c7f6f5aebaf08d91a25636843673832952ccf4b
|
7
|
+
data.tar.gz: 313fc8b3ee9c47b8c425f0ea786c2952bbc279afb1fd1c422c3290f8ae5462a9e29445e7e063cc9e1b186a409cd9225030136b7c2db22457a88d43fab7dda1f3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.40.0 (2022-08-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220824
|
6
|
+
|
7
|
+
### v0.39.0 (2022-08-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220809
|
10
|
+
|
11
|
+
### v0.38.0 (2022-08-02)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220728
|
14
|
+
|
3
15
|
### v0.37.0 (2022-07-26)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220720
|
@@ -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
|
@@ -966,7 +1056,7 @@ module Google
|
|
966
1056
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
967
1057
|
# manager/docs/managing-notification-contacts#notification-categories ` "
|
968
1058
|
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
969
|
-
# person2@company.com" ` ] `
|
1059
|
+
# person2@company.com" ` ] ` `
|
970
1060
|
# Corresponds to the JSON property `contacts`
|
971
1061
|
# @return [Hash<String,Google::Apis::SecuritycenterV1::ContactDetails>]
|
972
1062
|
attr_accessor :contacts
|
@@ -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,7 +2464,7 @@ module Google
|
|
2363
2464
|
# @return [Array<Google::Apis::SecuritycenterV1::ProcessSignature>]
|
2364
2465
|
attr_accessor :signatures
|
2365
2466
|
|
2366
|
-
# The list of URIs associated to the Findings
|
2467
|
+
# The list of URIs associated to the Findings.
|
2367
2468
|
# Corresponds to the JSON property `uris`
|
2368
2469
|
# @return [Array<String>]
|
2369
2470
|
attr_accessor :uris
|
@@ -3492,6 +3593,37 @@ module Google
|
|
3492
3593
|
end
|
3493
3594
|
end
|
3494
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
|
+
|
3495
3627
|
# Request message for updating a finding's state.
|
3496
3628
|
class SetFindingStateRequest
|
3497
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.40.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 = "20220824"
|
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
|
@@ -1406,6 +1435,14 @@ module Google
|
|
1406
1435
|
end
|
1407
1436
|
end
|
1408
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
|
+
|
1409
1446
|
class SetFindingStateRequest
|
1410
1447
|
# @private
|
1411
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.40.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-
|
11
|
+
date: 2022-08-29 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.40.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: []
|