google-apis-securitycenter_v1 0.33.0 → 0.36.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: 40224b2d867f45a26faf9cc06f84eb2a46a2afe067b9c11ffb7c084d89878a6a
|
4
|
+
data.tar.gz: 9675e3df2d0891e40038a0a5fb30594b87db06fc9e7c0c19ee1d9e4be8db158a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b2bb1c1b6542cb76c59aafefec67a0d0ab3adfe9e9977810fd5655e191d85eead28c4ac067741c09e0e1b9d4583553aa09f76c3561be049ab4a42767337d590
|
7
|
+
data.tar.gz: 2b611f77f224f8b1cc7ce50ba118892bff7c5e4a827a677f2a1abf31d544496c9bcf39461e5ba98b7d42683d974566ce60287a3ce5ef3c92838e26796453b42b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.36.0 (2022-07-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220713
|
6
|
+
|
7
|
+
### v0.35.0 (2022-07-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220707
|
10
|
+
* Regenerated using generator version 0.9.0
|
11
|
+
|
12
|
+
### v0.34.0 (2022-07-01)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.8.0
|
15
|
+
|
3
16
|
### v0.33.0 (2022-06-17)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220609
|
@@ -73,6 +73,64 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
# Conveys information about a Kubernetes access review (e.g. kubectl auth can-i .
|
77
|
+
# ..) that was involved in a finding.
|
78
|
+
class AccessReview
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# Group is the API Group of the Resource. "*" means all.
|
82
|
+
# Corresponds to the JSON property `group`
|
83
|
+
# @return [String]
|
84
|
+
attr_accessor :group
|
85
|
+
|
86
|
+
# Name is the name of the resource being requested. Empty means all.
|
87
|
+
# Corresponds to the JSON property `name`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :name
|
90
|
+
|
91
|
+
# Namespace of the action being requested. Currently, there is no distinction
|
92
|
+
# between no namespace and all namespaces. Both are represented by "" (empty).
|
93
|
+
# Corresponds to the JSON property `ns`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :ns
|
96
|
+
|
97
|
+
# Resource is the optional resource type requested. "*" means all.
|
98
|
+
# Corresponds to the JSON property `resource`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :resource
|
101
|
+
|
102
|
+
# Subresource is the optional subresource type.
|
103
|
+
# Corresponds to the JSON property `subresource`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :subresource
|
106
|
+
|
107
|
+
# Verb is a Kubernetes resource API verb, like: get, list, watch, create, update,
|
108
|
+
# delete, proxy. "*" means all.
|
109
|
+
# Corresponds to the JSON property `verb`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :verb
|
112
|
+
|
113
|
+
# Version is the API Version of the Resource. "*" means all.
|
114
|
+
# Corresponds to the JSON property `version`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :version
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
@group = args[:group] if args.key?(:group)
|
125
|
+
@name = args[:name] if args.key?(:name)
|
126
|
+
@ns = args[:ns] if args.key?(:ns)
|
127
|
+
@resource = args[:resource] if args.key?(:resource)
|
128
|
+
@subresource = args[:subresource] if args.key?(:subresource)
|
129
|
+
@verb = args[:verb] if args.key?(:verb)
|
130
|
+
@version = args[:version] if args.key?(:version)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
76
134
|
# Security Command Center representation of a Google Cloud resource. The Asset
|
77
135
|
# is a Security Command Center resource that captures information about a single
|
78
136
|
# Google Cloud resource. All modifications to an Asset are only within the
|
@@ -475,6 +533,45 @@ module Google
|
|
475
533
|
end
|
476
534
|
end
|
477
535
|
|
536
|
+
# Container associated with the finding.
|
537
|
+
class Container
|
538
|
+
include Google::Apis::Core::Hashable
|
539
|
+
|
540
|
+
# Optional container image id, when provided by the container runtime. Uniquely
|
541
|
+
# identifies the container image launched using a container image digest.
|
542
|
+
# Corresponds to the JSON property `imageId`
|
543
|
+
# @return [String]
|
544
|
+
attr_accessor :image_id
|
545
|
+
|
546
|
+
# Container labels, as provided by the container runtime.
|
547
|
+
# Corresponds to the JSON property `labels`
|
548
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Label>]
|
549
|
+
attr_accessor :labels
|
550
|
+
|
551
|
+
# Container name.
|
552
|
+
# Corresponds to the JSON property `name`
|
553
|
+
# @return [String]
|
554
|
+
attr_accessor :name
|
555
|
+
|
556
|
+
# Container image URI provided when configuring a pod/container. May identify a
|
557
|
+
# container image version using mutable tags.
|
558
|
+
# Corresponds to the JSON property `uri`
|
559
|
+
# @return [String]
|
560
|
+
attr_accessor :uri
|
561
|
+
|
562
|
+
def initialize(**args)
|
563
|
+
update!(**args)
|
564
|
+
end
|
565
|
+
|
566
|
+
# Update properties of this object
|
567
|
+
def update!(**args)
|
568
|
+
@image_id = args[:image_id] if args.key?(:image_id)
|
569
|
+
@labels = args[:labels] if args.key?(:labels)
|
570
|
+
@name = args[:name] if args.key?(:name)
|
571
|
+
@uri = args[:uri] if args.key?(:uri)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
478
575
|
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
479
576
|
# cve.mitre.org
|
480
577
|
class Cve
|
@@ -867,13 +964,19 @@ module Google
|
|
867
964
|
# Output only. Map containing the point of contacts for the given finding. The
|
868
965
|
# key represents the type of contact, while the value contains a list of all the
|
869
966
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
870
|
-
# manager/docs/managing-notification-contacts#notification-categories `
|
871
|
-
# security
|
872
|
-
# company.com
|
967
|
+
# manager/docs/managing-notification-contacts#notification-categories ` "
|
968
|
+
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
969
|
+
# person2@company.com" ` ] `
|
873
970
|
# Corresponds to the JSON property `contacts`
|
874
971
|
# @return [Hash<String,Google::Apis::SecuritycenterV1::ContactDetails>]
|
875
972
|
attr_accessor :contacts
|
876
973
|
|
974
|
+
# Containers associated with the finding. containers provides information for
|
975
|
+
# both Kubernetes and non-Kubernetes containers.
|
976
|
+
# Corresponds to the JSON property `containers`
|
977
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Container>]
|
978
|
+
attr_accessor :containers
|
979
|
+
|
877
980
|
# The time at which the finding was created in Security Command Center.
|
878
981
|
# Corresponds to the JSON property `createTime`
|
879
982
|
# @return [String]
|
@@ -932,6 +1035,11 @@ module Google
|
|
932
1035
|
# @return [Google::Apis::SecuritycenterV1::Indicator]
|
933
1036
|
attr_accessor :indicator
|
934
1037
|
|
1038
|
+
# Kubernetes related attributes.
|
1039
|
+
# Corresponds to the JSON property `kubernetes`
|
1040
|
+
# @return [Google::Apis::SecuritycenterV1::Kubernetes]
|
1041
|
+
attr_accessor :kubernetes
|
1042
|
+
|
935
1043
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
936
1044
|
# attack.mitre.org
|
937
1045
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -1036,6 +1144,7 @@ module Google
|
|
1036
1144
|
@compliances = args[:compliances] if args.key?(:compliances)
|
1037
1145
|
@connections = args[:connections] if args.key?(:connections)
|
1038
1146
|
@contacts = args[:contacts] if args.key?(:contacts)
|
1147
|
+
@containers = args[:containers] if args.key?(:containers)
|
1039
1148
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1040
1149
|
@description = args[:description] if args.key?(:description)
|
1041
1150
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -1045,6 +1154,7 @@ module Google
|
|
1045
1154
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
1046
1155
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
1047
1156
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1157
|
+
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1048
1158
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1049
1159
|
@mute = args[:mute] if args.key?(:mute)
|
1050
1160
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
@@ -1237,6 +1347,44 @@ module Google
|
|
1237
1347
|
end
|
1238
1348
|
end
|
1239
1349
|
|
1350
|
+
# Represents a Kubernetes RoleBinding or ClusterRoleBinding.
|
1351
|
+
class GoogleCloudSecuritycenterV1Binding
|
1352
|
+
include Google::Apis::Core::Hashable
|
1353
|
+
|
1354
|
+
# Name for binding.
|
1355
|
+
# Corresponds to the JSON property `name`
|
1356
|
+
# @return [String]
|
1357
|
+
attr_accessor :name
|
1358
|
+
|
1359
|
+
# Namespace for binding.
|
1360
|
+
# Corresponds to the JSON property `ns`
|
1361
|
+
# @return [String]
|
1362
|
+
attr_accessor :ns
|
1363
|
+
|
1364
|
+
# Kubernetes Role or ClusterRole.
|
1365
|
+
# Corresponds to the JSON property `role`
|
1366
|
+
# @return [Google::Apis::SecuritycenterV1::Role]
|
1367
|
+
attr_accessor :role
|
1368
|
+
|
1369
|
+
# Represents the subjects(s) bound to the role. Not always available for PATCH
|
1370
|
+
# requests.
|
1371
|
+
# Corresponds to the JSON property `subjects`
|
1372
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Subject>]
|
1373
|
+
attr_accessor :subjects
|
1374
|
+
|
1375
|
+
def initialize(**args)
|
1376
|
+
update!(**args)
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
# Update properties of this object
|
1380
|
+
def update!(**args)
|
1381
|
+
@name = args[:name] if args.key?(:name)
|
1382
|
+
@ns = args[:ns] if args.key?(:ns)
|
1383
|
+
@role = args[:role] if args.key?(:role)
|
1384
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
1385
|
+
end
|
1386
|
+
end
|
1387
|
+
|
1240
1388
|
# The response to a BulkMute request. Contains the LRO information.
|
1241
1389
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
1242
1390
|
include Google::Apis::Core::Hashable
|
@@ -2227,6 +2375,86 @@ module Google
|
|
2227
2375
|
end
|
2228
2376
|
end
|
2229
2377
|
|
2378
|
+
# Kubernetes related attributes.
|
2379
|
+
class Kubernetes
|
2380
|
+
include Google::Apis::Core::Hashable
|
2381
|
+
|
2382
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege checks)
|
2383
|
+
# relevant to the finding.
|
2384
|
+
# Corresponds to the JSON property `accessReviews`
|
2385
|
+
# @return [Array<Google::Apis::SecuritycenterV1::AccessReview>]
|
2386
|
+
attr_accessor :access_reviews
|
2387
|
+
|
2388
|
+
# Provides Kubernetes role binding information for findings that involve
|
2389
|
+
# RoleBindings or ClusterRoleBindings.
|
2390
|
+
# Corresponds to the JSON property `bindings`
|
2391
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Binding>]
|
2392
|
+
attr_accessor :bindings
|
2393
|
+
|
2394
|
+
# GKE Node Pools associated with the finding. This field will contain NodePool
|
2395
|
+
# information for each Node, when it is available.
|
2396
|
+
# Corresponds to the JSON property `nodePools`
|
2397
|
+
# @return [Array<Google::Apis::SecuritycenterV1::NodePool>]
|
2398
|
+
attr_accessor :node_pools
|
2399
|
+
|
2400
|
+
# Provides Kubernetes Node information.
|
2401
|
+
# Corresponds to the JSON property `nodes`
|
2402
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Node>]
|
2403
|
+
attr_accessor :nodes
|
2404
|
+
|
2405
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
2406
|
+
# records for each container that is owned by a Pod.
|
2407
|
+
# Corresponds to the JSON property `pods`
|
2408
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Pod>]
|
2409
|
+
attr_accessor :pods
|
2410
|
+
|
2411
|
+
# Provides Kubernetes role information for findings that involve Roles or
|
2412
|
+
# ClusterRoles.
|
2413
|
+
# Corresponds to the JSON property `roles`
|
2414
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Role>]
|
2415
|
+
attr_accessor :roles
|
2416
|
+
|
2417
|
+
def initialize(**args)
|
2418
|
+
update!(**args)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# Update properties of this object
|
2422
|
+
def update!(**args)
|
2423
|
+
@access_reviews = args[:access_reviews] if args.key?(:access_reviews)
|
2424
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
2425
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
2426
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
2427
|
+
@pods = args[:pods] if args.key?(:pods)
|
2428
|
+
@roles = args[:roles] if args.key?(:roles)
|
2429
|
+
end
|
2430
|
+
end
|
2431
|
+
|
2432
|
+
# Label represents a generic name=value label. Label has separate name and value
|
2433
|
+
# fields to support filtering with contains().
|
2434
|
+
class Label
|
2435
|
+
include Google::Apis::Core::Hashable
|
2436
|
+
|
2437
|
+
# Label name.
|
2438
|
+
# Corresponds to the JSON property `name`
|
2439
|
+
# @return [String]
|
2440
|
+
attr_accessor :name
|
2441
|
+
|
2442
|
+
# Label value.
|
2443
|
+
# Corresponds to the JSON property `value`
|
2444
|
+
# @return [String]
|
2445
|
+
attr_accessor :value
|
2446
|
+
|
2447
|
+
def initialize(**args)
|
2448
|
+
update!(**args)
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
# Update properties of this object
|
2452
|
+
def update!(**args)
|
2453
|
+
@name = args[:name] if args.key?(:name)
|
2454
|
+
@value = args[:value] if args.key?(:value)
|
2455
|
+
end
|
2456
|
+
end
|
2457
|
+
|
2230
2458
|
# Response message for listing assets.
|
2231
2459
|
class ListAssetsResponse
|
2232
2460
|
include Google::Apis::Core::Hashable
|
@@ -2572,6 +2800,50 @@ module Google
|
|
2572
2800
|
end
|
2573
2801
|
end
|
2574
2802
|
|
2803
|
+
# Kubernetes Nodes associated with the finding.
|
2804
|
+
class Node
|
2805
|
+
include Google::Apis::Core::Hashable
|
2806
|
+
|
2807
|
+
# Full Resource name of the Compute Engine VM running the cluster node.
|
2808
|
+
# Corresponds to the JSON property `name`
|
2809
|
+
# @return [String]
|
2810
|
+
attr_accessor :name
|
2811
|
+
|
2812
|
+
def initialize(**args)
|
2813
|
+
update!(**args)
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# Update properties of this object
|
2817
|
+
def update!(**args)
|
2818
|
+
@name = args[:name] if args.key?(:name)
|
2819
|
+
end
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# Provides GKE Node Pool information.
|
2823
|
+
class NodePool
|
2824
|
+
include Google::Apis::Core::Hashable
|
2825
|
+
|
2826
|
+
# Kubernetes Node pool name.
|
2827
|
+
# Corresponds to the JSON property `name`
|
2828
|
+
# @return [String]
|
2829
|
+
attr_accessor :name
|
2830
|
+
|
2831
|
+
# Nodes associated with the finding.
|
2832
|
+
# Corresponds to the JSON property `nodes`
|
2833
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Node>]
|
2834
|
+
attr_accessor :nodes
|
2835
|
+
|
2836
|
+
def initialize(**args)
|
2837
|
+
update!(**args)
|
2838
|
+
end
|
2839
|
+
|
2840
|
+
# Update properties of this object
|
2841
|
+
def update!(**args)
|
2842
|
+
@name = args[:name] if args.key?(:name)
|
2843
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
2844
|
+
end
|
2845
|
+
end
|
2846
|
+
|
2575
2847
|
# Cloud Security Command Center (Cloud SCC) notification configs. A notification
|
2576
2848
|
# config is a Cloud SCC resource that contains the configuration to send
|
2577
2849
|
# notifications for create/update events of findings, assets and etc.
|
@@ -2721,6 +2993,43 @@ module Google
|
|
2721
2993
|
end
|
2722
2994
|
end
|
2723
2995
|
|
2996
|
+
# Kubernetes Pod.
|
2997
|
+
class Pod
|
2998
|
+
include Google::Apis::Core::Hashable
|
2999
|
+
|
3000
|
+
# Pod containers associated with this finding, if any.
|
3001
|
+
# Corresponds to the JSON property `containers`
|
3002
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Container>]
|
3003
|
+
attr_accessor :containers
|
3004
|
+
|
3005
|
+
# Pod labels. For Kubernetes containers, these are applied to the container.
|
3006
|
+
# Corresponds to the JSON property `labels`
|
3007
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Label>]
|
3008
|
+
attr_accessor :labels
|
3009
|
+
|
3010
|
+
# Kubernetes Pod name.
|
3011
|
+
# Corresponds to the JSON property `name`
|
3012
|
+
# @return [String]
|
3013
|
+
attr_accessor :name
|
3014
|
+
|
3015
|
+
# Kubernetes Pod namespace.
|
3016
|
+
# Corresponds to the JSON property `ns`
|
3017
|
+
# @return [String]
|
3018
|
+
attr_accessor :ns
|
3019
|
+
|
3020
|
+
def initialize(**args)
|
3021
|
+
update!(**args)
|
3022
|
+
end
|
3023
|
+
|
3024
|
+
# Update properties of this object
|
3025
|
+
def update!(**args)
|
3026
|
+
@containers = args[:containers] if args.key?(:containers)
|
3027
|
+
@labels = args[:labels] if args.key?(:labels)
|
3028
|
+
@name = args[:name] if args.key?(:name)
|
3029
|
+
@ns = args[:ns] if args.key?(:ns)
|
3030
|
+
end
|
3031
|
+
end
|
3032
|
+
|
2724
3033
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2725
3034
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2726
3035
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -2853,8 +3162,8 @@ module Google
|
|
2853
3162
|
# @return [Array<Google::Apis::SecuritycenterV1::File>]
|
2854
3163
|
attr_accessor :libraries
|
2855
3164
|
|
2856
|
-
# The process name visible in utilities like top and ps
|
2857
|
-
# proc/[pid]/comm and changed with prctl(PR_SET_NAME)
|
3165
|
+
# The process name visible in utilities like `top` and `ps`; it can be accessed
|
3166
|
+
# via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
2858
3167
|
# Corresponds to the JSON property `name`
|
2859
3168
|
# @return [String]
|
2860
3169
|
attr_accessor :name
|
@@ -3010,6 +3319,37 @@ module Google
|
|
3010
3319
|
end
|
3011
3320
|
end
|
3012
3321
|
|
3322
|
+
# Kubernetes Role or ClusterRole.
|
3323
|
+
class Role
|
3324
|
+
include Google::Apis::Core::Hashable
|
3325
|
+
|
3326
|
+
# Role type.
|
3327
|
+
# Corresponds to the JSON property `kind`
|
3328
|
+
# @return [String]
|
3329
|
+
attr_accessor :kind
|
3330
|
+
|
3331
|
+
# Role name.
|
3332
|
+
# Corresponds to the JSON property `name`
|
3333
|
+
# @return [String]
|
3334
|
+
attr_accessor :name
|
3335
|
+
|
3336
|
+
# Role namespace.
|
3337
|
+
# Corresponds to the JSON property `ns`
|
3338
|
+
# @return [String]
|
3339
|
+
attr_accessor :ns
|
3340
|
+
|
3341
|
+
def initialize(**args)
|
3342
|
+
update!(**args)
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
# Update properties of this object
|
3346
|
+
def update!(**args)
|
3347
|
+
@kind = args[:kind] if args.key?(:kind)
|
3348
|
+
@name = args[:name] if args.key?(:name)
|
3349
|
+
@ns = args[:ns] if args.key?(:ns)
|
3350
|
+
end
|
3351
|
+
end
|
3352
|
+
|
3013
3353
|
# Request message for running asset discovery for an organization.
|
3014
3354
|
class RunAssetDiscoveryRequest
|
3015
3355
|
include Google::Apis::Core::Hashable
|
@@ -3362,6 +3702,37 @@ module Google
|
|
3362
3702
|
end
|
3363
3703
|
end
|
3364
3704
|
|
3705
|
+
# Represents a Kubernetes Subject.
|
3706
|
+
class Subject
|
3707
|
+
include Google::Apis::Core::Hashable
|
3708
|
+
|
3709
|
+
# Authentication type for subject.
|
3710
|
+
# Corresponds to the JSON property `kind`
|
3711
|
+
# @return [String]
|
3712
|
+
attr_accessor :kind
|
3713
|
+
|
3714
|
+
# Name for subject.
|
3715
|
+
# Corresponds to the JSON property `name`
|
3716
|
+
# @return [String]
|
3717
|
+
attr_accessor :name
|
3718
|
+
|
3719
|
+
# Namespace for subject.
|
3720
|
+
# Corresponds to the JSON property `ns`
|
3721
|
+
# @return [String]
|
3722
|
+
attr_accessor :ns
|
3723
|
+
|
3724
|
+
def initialize(**args)
|
3725
|
+
update!(**args)
|
3726
|
+
end
|
3727
|
+
|
3728
|
+
# Update properties of this object
|
3729
|
+
def update!(**args)
|
3730
|
+
@kind = args[:kind] if args.key?(:kind)
|
3731
|
+
@name = args[:name] if args.key?(:name)
|
3732
|
+
@ns = args[:ns] if args.key?(:ns)
|
3733
|
+
end
|
3734
|
+
end
|
3735
|
+
|
3365
3736
|
# Request message for `TestIamPermissions` method.
|
3366
3737
|
class TestIamPermissionsRequest
|
3367
3738
|
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.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220713"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AccessReview
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Asset
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -88,6 +94,12 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class Container
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
91
103
|
class Cve
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
@@ -178,6 +190,12 @@ module Google
|
|
178
190
|
include Google::Apis::Core::JsonObjectSupport
|
179
191
|
end
|
180
192
|
|
193
|
+
class GoogleCloudSecuritycenterV1Binding
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
181
199
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
182
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
201
|
|
@@ -304,6 +322,18 @@ module Google
|
|
304
322
|
include Google::Apis::Core::JsonObjectSupport
|
305
323
|
end
|
306
324
|
|
325
|
+
class Kubernetes
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class Label
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
307
337
|
class ListAssetsResponse
|
308
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
339
|
|
@@ -370,6 +400,18 @@ module Google
|
|
370
400
|
include Google::Apis::Core::JsonObjectSupport
|
371
401
|
end
|
372
402
|
|
403
|
+
class Node
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class NodePool
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
373
415
|
class NotificationConfig
|
374
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
417
|
|
@@ -388,6 +430,12 @@ module Google
|
|
388
430
|
include Google::Apis::Core::JsonObjectSupport
|
389
431
|
end
|
390
432
|
|
433
|
+
class Pod
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
391
439
|
class Policy
|
392
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
441
|
|
@@ -418,6 +466,12 @@ module Google
|
|
418
466
|
include Google::Apis::Core::JsonObjectSupport
|
419
467
|
end
|
420
468
|
|
469
|
+
class Role
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
421
475
|
class RunAssetDiscoveryRequest
|
422
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
477
|
|
@@ -472,6 +526,12 @@ module Google
|
|
472
526
|
include Google::Apis::Core::JsonObjectSupport
|
473
527
|
end
|
474
528
|
|
529
|
+
class Subject
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
475
535
|
class TestIamPermissionsRequest
|
476
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
537
|
|
@@ -509,6 +569,19 @@ module Google
|
|
509
569
|
end
|
510
570
|
end
|
511
571
|
|
572
|
+
class AccessReview
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
property :group, as: 'group'
|
576
|
+
property :name, as: 'name'
|
577
|
+
property :ns, as: 'ns'
|
578
|
+
property :resource, as: 'resource'
|
579
|
+
property :subresource, as: 'subresource'
|
580
|
+
property :verb, as: 'verb'
|
581
|
+
property :version, as: 'version'
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
512
585
|
class Asset
|
513
586
|
# @private
|
514
587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -605,6 +678,17 @@ module Google
|
|
605
678
|
end
|
606
679
|
end
|
607
680
|
|
681
|
+
class Container
|
682
|
+
# @private
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
684
|
+
property :image_id, as: 'imageId'
|
685
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1::Label, decorator: Google::Apis::SecuritycenterV1::Label::Representation
|
686
|
+
|
687
|
+
property :name, as: 'name'
|
688
|
+
property :uri, as: 'uri'
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
608
692
|
class Cve
|
609
693
|
# @private
|
610
694
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -707,6 +791,8 @@ module Google
|
|
707
791
|
|
708
792
|
hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1::ContactDetails, decorator: Google::Apis::SecuritycenterV1::ContactDetails::Representation
|
709
793
|
|
794
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
|
795
|
+
|
710
796
|
property :create_time, as: 'createTime'
|
711
797
|
property :description, as: 'description'
|
712
798
|
property :event_time, as: 'eventTime'
|
@@ -720,6 +806,8 @@ module Google
|
|
720
806
|
|
721
807
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
722
808
|
|
809
|
+
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
|
810
|
+
|
723
811
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
724
812
|
|
725
813
|
property :mute, as: 'mute'
|
@@ -785,6 +873,18 @@ module Google
|
|
785
873
|
end
|
786
874
|
end
|
787
875
|
|
876
|
+
class GoogleCloudSecuritycenterV1Binding
|
877
|
+
# @private
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
879
|
+
property :name, as: 'name'
|
880
|
+
property :ns, as: 'ns'
|
881
|
+
property :role, as: 'role', class: Google::Apis::SecuritycenterV1::Role, decorator: Google::Apis::SecuritycenterV1::Role::Representation
|
882
|
+
|
883
|
+
collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1::Subject, decorator: Google::Apis::SecuritycenterV1::Subject::Representation
|
884
|
+
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
788
888
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
789
889
|
# @private
|
790
890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1005,6 +1105,32 @@ module Google
|
|
1005
1105
|
end
|
1006
1106
|
end
|
1007
1107
|
|
1108
|
+
class Kubernetes
|
1109
|
+
# @private
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1111
|
+
collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1::AccessReview, decorator: Google::Apis::SecuritycenterV1::AccessReview::Representation
|
1112
|
+
|
1113
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Binding::Representation
|
1114
|
+
|
1115
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1::NodePool, decorator: Google::Apis::SecuritycenterV1::NodePool::Representation
|
1116
|
+
|
1117
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1::Node, decorator: Google::Apis::SecuritycenterV1::Node::Representation
|
1118
|
+
|
1119
|
+
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1::Pod, decorator: Google::Apis::SecuritycenterV1::Pod::Representation
|
1120
|
+
|
1121
|
+
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1::Role, decorator: Google::Apis::SecuritycenterV1::Role::Representation
|
1122
|
+
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
class Label
|
1127
|
+
# @private
|
1128
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1129
|
+
property :name, as: 'name'
|
1130
|
+
property :value, as: 'value'
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1008
1134
|
class ListAssetsResponse
|
1009
1135
|
# @private
|
1010
1136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1112,6 +1238,22 @@ module Google
|
|
1112
1238
|
end
|
1113
1239
|
end
|
1114
1240
|
|
1241
|
+
class Node
|
1242
|
+
# @private
|
1243
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1244
|
+
property :name, as: 'name'
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
class NodePool
|
1249
|
+
# @private
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1251
|
+
property :name, as: 'name'
|
1252
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1::Node, decorator: Google::Apis::SecuritycenterV1::Node::Representation
|
1253
|
+
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
|
1115
1257
|
class NotificationConfig
|
1116
1258
|
# @private
|
1117
1259
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1146,6 +1288,18 @@ module Google
|
|
1146
1288
|
end
|
1147
1289
|
end
|
1148
1290
|
|
1291
|
+
class Pod
|
1292
|
+
# @private
|
1293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1294
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
|
1295
|
+
|
1296
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1::Label, decorator: Google::Apis::SecuritycenterV1::Label::Representation
|
1297
|
+
|
1298
|
+
property :name, as: 'name'
|
1299
|
+
property :ns, as: 'ns'
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1149
1303
|
class Policy
|
1150
1304
|
# @private
|
1151
1305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1211,6 +1365,15 @@ module Google
|
|
1211
1365
|
end
|
1212
1366
|
end
|
1213
1367
|
|
1368
|
+
class Role
|
1369
|
+
# @private
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1371
|
+
property :kind, as: 'kind'
|
1372
|
+
property :name, as: 'name'
|
1373
|
+
property :ns, as: 'ns'
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1214
1377
|
class RunAssetDiscoveryRequest
|
1215
1378
|
# @private
|
1216
1379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1292,6 +1455,15 @@ module Google
|
|
1292
1455
|
end
|
1293
1456
|
end
|
1294
1457
|
|
1458
|
+
class Subject
|
1459
|
+
# @private
|
1460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1461
|
+
property :kind, as: 'kind'
|
1462
|
+
property :name, as: 'name'
|
1463
|
+
property :ns, as: 'ns'
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
1295
1467
|
class TestIamPermissionsRequest
|
1296
1468
|
# @private
|
1297
1469
|
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.36.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-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.36.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: []
|