google-apis-securitycenter_v1 0.38.0 → 0.41.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: 896e7223be09b03448a3e79cfab317b549d455b0051d292b6324e6d5118da09f
|
4
|
+
data.tar.gz: feabf563a347ab41925c2d39a24606d22258afc01fa6c44846234daa709175e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c8b0cc60300d12ad2681f01bbf1cd2d789ecd9f9ddb3e74a37003dae9f04a9453ed68387c72fc19511df016dce82843661d49f69d45eae9ab4f3b4569872a37
|
7
|
+
data.tar.gz: 609ab5b942faae01b2b16d870d21b583a6b8fe6b8104e1f1988bde58d63e3181f9b288488993640be2bf6098b5755e3f8878ccbb6d7b994d02c6fb2f8c645a19
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2022-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220825
|
6
|
+
|
7
|
+
### v0.40.0 (2022-08-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220824
|
10
|
+
|
11
|
+
### v0.39.0 (2022-08-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220809
|
14
|
+
|
3
15
|
### v0.38.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`/
|
58
|
-
# subject
|
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`
|
@@ -374,28 +374,33 @@ module Google
|
|
374
374
|
# members` can have the following values: * `allUsers`: A special identifier
|
375
375
|
# that represents anyone who is on the internet; with or without a Google
|
376
376
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
377
|
-
# anyone who is authenticated with a Google account or a service account.
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
# `
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
# example, `
|
390
|
-
# If the
|
391
|
-
# emailid`` and the
|
392
|
-
# `deleted:
|
393
|
-
# identifier) representing a
|
394
|
-
# example, `
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
377
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
378
|
+
# not include identities that come from external identity providers (IdPs)
|
379
|
+
# through identity federation. * `user:`emailid``: An email address that
|
380
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
381
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
382
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
383
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
384
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
385
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
386
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
387
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
388
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
389
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
390
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
391
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
392
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
393
|
+
# address (plus unique identifier) representing a service account that has been
|
394
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
395
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
396
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
397
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
398
|
+
# An email address (plus unique identifier) representing a Google group that has
|
399
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
400
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
401
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
402
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
403
|
+
# of that domain. For example, `google.com` or `example.com`.
|
399
404
|
# Corresponds to the JSON property `members`
|
400
405
|
# @return [Array<String>]
|
401
406
|
attr_accessor :members
|
@@ -725,6 +730,57 @@ module Google
|
|
725
730
|
end
|
726
731
|
end
|
727
732
|
|
733
|
+
# Represents database access information, such as queries. A database may be a
|
734
|
+
# sub-resource of an instance (as in the case of CloudSQL instances or Cloud
|
735
|
+
# Spanner instances), or the database instance itself. Some database resources
|
736
|
+
# may not have the full resource name populated because these resource types are
|
737
|
+
# not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
|
738
|
+
# cases only the display name will be provided.
|
739
|
+
class Database
|
740
|
+
include Google::Apis::Core::Hashable
|
741
|
+
|
742
|
+
# The human readable name of the database the user connected to.
|
743
|
+
# Corresponds to the JSON property `displayName`
|
744
|
+
# @return [String]
|
745
|
+
attr_accessor :display_name
|
746
|
+
|
747
|
+
# The target usernames/roles/groups of a SQL privilege grant (not an IAM policy
|
748
|
+
# change).
|
749
|
+
# Corresponds to the JSON property `grantees`
|
750
|
+
# @return [Array<String>]
|
751
|
+
attr_accessor :grantees
|
752
|
+
|
753
|
+
# The full resource name of the database the user connected to, if it is
|
754
|
+
# supported by CAI. (https://google.aip.dev/122#full-resource-names)
|
755
|
+
# Corresponds to the JSON property `name`
|
756
|
+
# @return [String]
|
757
|
+
attr_accessor :name
|
758
|
+
|
759
|
+
# The SQL statement associated with the relevant access.
|
760
|
+
# Corresponds to the JSON property `query`
|
761
|
+
# @return [String]
|
762
|
+
attr_accessor :query
|
763
|
+
|
764
|
+
# The username used to connect to the DB. This may not necessarily be an IAM
|
765
|
+
# principal, and has no required format.
|
766
|
+
# Corresponds to the JSON property `userName`
|
767
|
+
# @return [String]
|
768
|
+
attr_accessor :user_name
|
769
|
+
|
770
|
+
def initialize(**args)
|
771
|
+
update!(**args)
|
772
|
+
end
|
773
|
+
|
774
|
+
# Update properties of this object
|
775
|
+
def update!(**args)
|
776
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
777
|
+
@grantees = args[:grantees] if args.key?(:grantees)
|
778
|
+
@name = args[:name] if args.key?(:name)
|
779
|
+
@query = args[:query] if args.key?(:query)
|
780
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
728
784
|
# Memory hash detection contributing to the binary family match.
|
729
785
|
class Detection
|
730
786
|
include Google::Apis::Core::Hashable
|
@@ -1002,7 +1058,7 @@ module Google
|
|
1002
1058
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
1003
1059
|
# manager/docs/managing-notification-contacts#notification-categories ` "
|
1004
1060
|
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
1005
|
-
# person2@company.com" ` ] `
|
1061
|
+
# person2@company.com" ` ] ` `
|
1006
1062
|
# Corresponds to the JSON property `contacts`
|
1007
1063
|
# @return [Hash<String,Google::Apis::SecuritycenterV1::ContactDetails>]
|
1008
1064
|
attr_accessor :contacts
|
@@ -1018,6 +1074,16 @@ module Google
|
|
1018
1074
|
# @return [String]
|
1019
1075
|
attr_accessor :create_time
|
1020
1076
|
|
1077
|
+
# Represents database access information, such as queries. A database may be a
|
1078
|
+
# sub-resource of an instance (as in the case of CloudSQL instances or Cloud
|
1079
|
+
# Spanner instances), or the database instance itself. Some database resources
|
1080
|
+
# may not have the full resource name populated because these resource types are
|
1081
|
+
# not yet supported by Cloud Asset Inventory (e.g. CloudSQL databases). In these
|
1082
|
+
# cases only the display name will be provided.
|
1083
|
+
# Corresponds to the JSON property `database`
|
1084
|
+
# @return [Google::Apis::SecuritycenterV1::Database]
|
1085
|
+
attr_accessor :database
|
1086
|
+
|
1021
1087
|
# Contains more detail about the finding.
|
1022
1088
|
# Corresponds to the JSON property `description`
|
1023
1089
|
# @return [String]
|
@@ -1182,6 +1248,7 @@ module Google
|
|
1182
1248
|
@contacts = args[:contacts] if args.key?(:contacts)
|
1183
1249
|
@containers = args[:containers] if args.key?(:containers)
|
1184
1250
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1251
|
+
@database = args[:database] if args.key?(:database)
|
1185
1252
|
@description = args[:description] if args.key?(:description)
|
1186
1253
|
@event_time = args[:event_time] if args.key?(:event_time)
|
1187
1254
|
@exfiltration = args[:exfiltration] if args.key?(:exfiltration)
|
@@ -2399,7 +2466,7 @@ module Google
|
|
2399
2466
|
# @return [Array<Google::Apis::SecuritycenterV1::ProcessSignature>]
|
2400
2467
|
attr_accessor :signatures
|
2401
2468
|
|
2402
|
-
# The list of URIs associated to the Findings
|
2469
|
+
# The list of URIs associated to the Findings.
|
2403
2470
|
# Corresponds to the JSON property `uris`
|
2404
2471
|
# @return [Array<String>]
|
2405
2472
|
attr_accessor :uris
|
@@ -3532,7 +3599,7 @@ module Google
|
|
3532
3599
|
class ServiceAccountDelegationInfo
|
3533
3600
|
include Google::Apis::Core::Hashable
|
3534
3601
|
|
3535
|
-
# The email address of a Google account.
|
3602
|
+
# The email address of a Google account.
|
3536
3603
|
# Corresponds to the JSON property `principalEmail`
|
3537
3604
|
# @return [String]
|
3538
3605
|
attr_accessor :principal_email
|
@@ -3540,8 +3607,8 @@ module Google
|
|
3540
3607
|
# A string representing the principal_subject associated with the identity. As
|
3541
3608
|
# compared to `principal_email`, supports principals that aren't associated with
|
3542
3609
|
# email addresses, such as third party principals. For most identities, the
|
3543
|
-
# format will be `principal://iam.googleapis.com/`identity pool name`/
|
3544
|
-
# subject
|
3610
|
+
# format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
|
3611
|
+
# subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
|
3545
3612
|
# GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
|
3546
3613
|
# identity pool name`[`subject`]`
|
3547
3614
|
# Corresponds to the JSON property `principalSubject`
|
@@ -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.41.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 = "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
|
|
@@ -726,6 +732,17 @@ module Google
|
|
726
732
|
end
|
727
733
|
end
|
728
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
|
+
|
729
746
|
class Detection
|
730
747
|
# @private
|
731
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -804,6 +821,8 @@ module Google
|
|
804
821
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
|
805
822
|
|
806
823
|
property :create_time, as: 'createTime'
|
824
|
+
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
|
825
|
+
|
807
826
|
property :description, as: 'description'
|
808
827
|
property :event_time, as: 'eventTime'
|
809
828
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
|
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.41.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-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_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.41.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: []
|