google-apis-securitycenter_v1beta2 0.31.0 → 0.34.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ea332c32f6c0402f38205c1550d1046d4f235a13b83cb1af32da0134411dae9
|
4
|
+
data.tar.gz: d09532d14521e2ee835e6ad5b003ac6b3300fb54e57c1c517b85906c1dbf7e92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30b1ff2ed080e42e73951be20c30245c591b6f344d01239bb455930e67e7086697ed37c12c225fefe74e7f90f43dbebebe9d5105a98795e9214f696fbe4de7b3
|
7
|
+
data.tar.gz: 918c21d6169e3c19b7210c7e54cdab835dbfad971c9264745d9de27f083e8bfa14677ede9345c25e0757d9562e281108f42de5c257b38876aef1e02a79c402f4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.34.0 (2022-08-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220825
|
6
|
+
|
7
|
+
### v0.33.0 (2022-08-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220824
|
10
|
+
|
11
|
+
### v0.32.0 (2022-08-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220809
|
14
|
+
|
3
15
|
### v0.31.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`
|
@@ -516,6 +516,57 @@ module Google
|
|
516
516
|
end
|
517
517
|
end
|
518
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
|
+
|
519
570
|
# Details of a subscription.
|
520
571
|
class Details
|
521
572
|
include Google::Apis::Core::Hashable
|
@@ -796,7 +847,7 @@ module Google
|
|
796
847
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
797
848
|
# manager/docs/managing-notification-contacts#notification-categories ` "
|
798
849
|
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
799
|
-
# person2@company.com" ` ] `
|
850
|
+
# person2@company.com" ` ] ` `
|
800
851
|
# Corresponds to the JSON property `contacts`
|
801
852
|
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
|
802
853
|
attr_accessor :contacts
|
@@ -812,6 +863,16 @@ module Google
|
|
812
863
|
# @return [String]
|
813
864
|
attr_accessor :create_time
|
814
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
|
+
|
815
876
|
# Contains more detail about the finding.
|
816
877
|
# Corresponds to the JSON property `description`
|
817
878
|
# @return [String]
|
@@ -976,6 +1037,7 @@ module Google
|
|
976
1037
|
@contacts = args[:contacts] if args.key?(:contacts)
|
977
1038
|
@containers = args[:containers] if args.key?(:containers)
|
978
1039
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1040
|
+
@database = args[:database] if args.key?(:database)
|
979
1041
|
@description = args[:description] if args.key?(:description)
|
980
1042
|
@event_time = args[:event_time] if args.key?(:event_time)
|
981
1043
|
@exfiltration = args[:exfiltration] if args.key?(:exfiltration)
|
@@ -1807,7 +1869,7 @@ module Google
|
|
1807
1869
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::ProcessSignature>]
|
1808
1870
|
attr_accessor :signatures
|
1809
1871
|
|
1810
|
-
# The list of URIs associated to the Findings
|
1872
|
+
# The list of URIs associated to the Findings.
|
1811
1873
|
# Corresponds to the JSON property `uris`
|
1812
1874
|
# @return [Array<String>]
|
1813
1875
|
attr_accessor :uris
|
@@ -2437,7 +2499,7 @@ module Google
|
|
2437
2499
|
class ServiceAccountDelegationInfo
|
2438
2500
|
include Google::Apis::Core::Hashable
|
2439
2501
|
|
2440
|
-
# The email address of a Google account.
|
2502
|
+
# The email address of a Google account.
|
2441
2503
|
# Corresponds to the JSON property `principalEmail`
|
2442
2504
|
# @return [String]
|
2443
2505
|
attr_accessor :principal_email
|
@@ -2445,8 +2507,8 @@ module Google
|
|
2445
2507
|
# A string representing the principal_subject associated with the identity. As
|
2446
2508
|
# compared to `principal_email`, supports principals that aren't associated with
|
2447
2509
|
# email addresses, such as third party principals. For most identities, the
|
2448
|
-
# format will be `principal://iam.googleapis.com/`identity pool name`/
|
2449
|
-
# subject
|
2510
|
+
# format will be `principal://iam.googleapis.com/`identity pool name`/subjects/`
|
2511
|
+
# subject`` except for some GKE identities (GKE_WORKLOAD, FREEFORM,
|
2450
2512
|
# GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:`
|
2451
2513
|
# identity pool name`[`subject`]`
|
2452
2514
|
# Corresponds to the JSON property `principalSubject`
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.34.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
|
@@ -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
|
|
@@ -511,6 +517,17 @@ module Google
|
|
511
517
|
end
|
512
518
|
end
|
513
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
|
+
|
514
531
|
class Details
|
515
532
|
# @private
|
516
533
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -593,6 +610,8 @@ module Google
|
|
593
610
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
594
611
|
|
595
612
|
property :create_time, as: 'createTime'
|
613
|
+
property :database, as: 'database', class: Google::Apis::SecuritycenterV1beta2::Database, decorator: Google::Apis::SecuritycenterV1beta2::Database::Representation
|
614
|
+
|
596
615
|
property :description, as: 'description'
|
597
616
|
property :event_time, as: 'eventTime'
|
598
617
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation
|
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.
|
4
|
+
version: 0.34.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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.34.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: []
|