google-apis-securitycenter_v1beta1 0.32.0 → 0.33.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: 05fe11c0ac29e9b2f6c34c2660a571ea6a2957c2b9a5dc99fb906b8b4bbd2f57
|
4
|
+
data.tar.gz: 8d2f729dfaa84ce4dde6cefd7e848576cd2231ae4f360c249b89eccbda631f6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9f384efd249546686ce5ffae957d6cef97d77ea862078013bd748381332ab5074f6009c65c4fb358ed7a4e32b8780c08dde1b08373c0ff9202d2489f78d281c
|
7
|
+
data.tar.gz: 1e8d03c75fc3f18823adc1b3d208af935e06027fa1cb67634a224f084b76db5e82c99f56ac213150ba4e567d2a02e73a1b154d5988dd1f262e17e40493b148b2
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -429,6 +487,45 @@ module Google
|
|
429
487
|
end
|
430
488
|
end
|
431
489
|
|
490
|
+
# Container associated with the finding.
|
491
|
+
class Container
|
492
|
+
include Google::Apis::Core::Hashable
|
493
|
+
|
494
|
+
# Optional container image id, when provided by the container runtime. Uniquely
|
495
|
+
# identifies the container image launched using a container image digest.
|
496
|
+
# Corresponds to the JSON property `imageId`
|
497
|
+
# @return [String]
|
498
|
+
attr_accessor :image_id
|
499
|
+
|
500
|
+
# Container labels, as provided by the container runtime.
|
501
|
+
# Corresponds to the JSON property `labels`
|
502
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Label>]
|
503
|
+
attr_accessor :labels
|
504
|
+
|
505
|
+
# Container name.
|
506
|
+
# Corresponds to the JSON property `name`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :name
|
509
|
+
|
510
|
+
# Container image URI provided when configuring a pod/container. May identify a
|
511
|
+
# container image version using mutable tags.
|
512
|
+
# Corresponds to the JSON property `uri`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :uri
|
515
|
+
|
516
|
+
def initialize(**args)
|
517
|
+
update!(**args)
|
518
|
+
end
|
519
|
+
|
520
|
+
# Update properties of this object
|
521
|
+
def update!(**args)
|
522
|
+
@image_id = args[:image_id] if args.key?(:image_id)
|
523
|
+
@labels = args[:labels] if args.key?(:labels)
|
524
|
+
@name = args[:name] if args.key?(:name)
|
525
|
+
@uri = args[:uri] if args.key?(:uri)
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
432
529
|
# CVE stands for Common Vulnerabilities and Exposures. More information: https://
|
433
530
|
# cve.mitre.org
|
434
531
|
class Cve
|
@@ -822,12 +919,18 @@ module Google
|
|
822
919
|
# key represents the type of contact, while the value contains a list of all the
|
823
920
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
824
921
|
# manager/docs/managing-notification-contacts#notification-categories ` "
|
825
|
-
# security":
|
826
|
-
#
|
922
|
+
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
923
|
+
# person2@company.com" ` ] `
|
827
924
|
# Corresponds to the JSON property `contacts`
|
828
925
|
# @return [Hash<String,Google::Apis::SecuritycenterV1beta1::ContactDetails>]
|
829
926
|
attr_accessor :contacts
|
830
927
|
|
928
|
+
# Containers associated with the finding. containers provides information for
|
929
|
+
# both Kubernetes and non-Kubernetes containers.
|
930
|
+
# Corresponds to the JSON property `containers`
|
931
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Container>]
|
932
|
+
attr_accessor :containers
|
933
|
+
|
831
934
|
# The time at which the finding was created in Security Command Center.
|
832
935
|
# Corresponds to the JSON property `createTime`
|
833
936
|
# @return [String]
|
@@ -886,6 +989,11 @@ module Google
|
|
886
989
|
# @return [Google::Apis::SecuritycenterV1beta1::Indicator]
|
887
990
|
attr_accessor :indicator
|
888
991
|
|
992
|
+
# Kubernetes related attributes.
|
993
|
+
# Corresponds to the JSON property `kubernetes`
|
994
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Kubernetes]
|
995
|
+
attr_accessor :kubernetes
|
996
|
+
|
889
997
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
890
998
|
# attack.mitre.org
|
891
999
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -990,6 +1098,7 @@ module Google
|
|
990
1098
|
@compliances = args[:compliances] if args.key?(:compliances)
|
991
1099
|
@connections = args[:connections] if args.key?(:connections)
|
992
1100
|
@contacts = args[:contacts] if args.key?(:contacts)
|
1101
|
+
@containers = args[:containers] if args.key?(:containers)
|
993
1102
|
@create_time = args[:create_time] if args.key?(:create_time)
|
994
1103
|
@description = args[:description] if args.key?(:description)
|
995
1104
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -999,6 +1108,7 @@ module Google
|
|
999
1108
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
1000
1109
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
1001
1110
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1111
|
+
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1002
1112
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1003
1113
|
@mute = args[:mute] if args.key?(:mute)
|
1004
1114
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
@@ -1191,6 +1301,44 @@ module Google
|
|
1191
1301
|
end
|
1192
1302
|
end
|
1193
1303
|
|
1304
|
+
# Represents a Kubernetes RoleBinding or ClusterRoleBinding.
|
1305
|
+
class GoogleCloudSecuritycenterV1Binding
|
1306
|
+
include Google::Apis::Core::Hashable
|
1307
|
+
|
1308
|
+
# Name for binding.
|
1309
|
+
# Corresponds to the JSON property `name`
|
1310
|
+
# @return [String]
|
1311
|
+
attr_accessor :name
|
1312
|
+
|
1313
|
+
# Namespace for binding.
|
1314
|
+
# Corresponds to the JSON property `ns`
|
1315
|
+
# @return [String]
|
1316
|
+
attr_accessor :ns
|
1317
|
+
|
1318
|
+
# Kubernetes Role or ClusterRole.
|
1319
|
+
# Corresponds to the JSON property `role`
|
1320
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Role]
|
1321
|
+
attr_accessor :role
|
1322
|
+
|
1323
|
+
# Represents the subjects(s) bound to the role. Not always available for PATCH
|
1324
|
+
# requests.
|
1325
|
+
# Corresponds to the JSON property `subjects`
|
1326
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Subject>]
|
1327
|
+
attr_accessor :subjects
|
1328
|
+
|
1329
|
+
def initialize(**args)
|
1330
|
+
update!(**args)
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# Update properties of this object
|
1334
|
+
def update!(**args)
|
1335
|
+
@name = args[:name] if args.key?(:name)
|
1336
|
+
@ns = args[:ns] if args.key?(:ns)
|
1337
|
+
@role = args[:role] if args.key?(:role)
|
1338
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1194
1342
|
# The response to a BulkMute request. Contains the LRO information.
|
1195
1343
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
1196
1344
|
include Google::Apis::Core::Hashable
|
@@ -2214,6 +2362,86 @@ module Google
|
|
2214
2362
|
end
|
2215
2363
|
end
|
2216
2364
|
|
2365
|
+
# Kubernetes related attributes.
|
2366
|
+
class Kubernetes
|
2367
|
+
include Google::Apis::Core::Hashable
|
2368
|
+
|
2369
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege checks)
|
2370
|
+
# relevant to the finding.
|
2371
|
+
# Corresponds to the JSON property `accessReviews`
|
2372
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::AccessReview>]
|
2373
|
+
attr_accessor :access_reviews
|
2374
|
+
|
2375
|
+
# Provides Kubernetes role binding information for findings that involve
|
2376
|
+
# RoleBindings or ClusterRoleBindings.
|
2377
|
+
# Corresponds to the JSON property `bindings`
|
2378
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>]
|
2379
|
+
attr_accessor :bindings
|
2380
|
+
|
2381
|
+
# GKE Node Pools associated with the finding. This field will contain NodePool
|
2382
|
+
# information for each Node, when it is available.
|
2383
|
+
# Corresponds to the JSON property `nodePools`
|
2384
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::NodePool>]
|
2385
|
+
attr_accessor :node_pools
|
2386
|
+
|
2387
|
+
# Provides Kubernetes Node information.
|
2388
|
+
# Corresponds to the JSON property `nodes`
|
2389
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
|
2390
|
+
attr_accessor :nodes
|
2391
|
+
|
2392
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
2393
|
+
# records for each container that is owned by a Pod.
|
2394
|
+
# Corresponds to the JSON property `pods`
|
2395
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Pod>]
|
2396
|
+
attr_accessor :pods
|
2397
|
+
|
2398
|
+
# Provides Kubernetes role information for findings that involve Roles or
|
2399
|
+
# ClusterRoles.
|
2400
|
+
# Corresponds to the JSON property `roles`
|
2401
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Role>]
|
2402
|
+
attr_accessor :roles
|
2403
|
+
|
2404
|
+
def initialize(**args)
|
2405
|
+
update!(**args)
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# Update properties of this object
|
2409
|
+
def update!(**args)
|
2410
|
+
@access_reviews = args[:access_reviews] if args.key?(:access_reviews)
|
2411
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
2412
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
2413
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
2414
|
+
@pods = args[:pods] if args.key?(:pods)
|
2415
|
+
@roles = args[:roles] if args.key?(:roles)
|
2416
|
+
end
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
# Label represents a generic name=value label. Label has separate name and value
|
2420
|
+
# fields to support filtering with contains().
|
2421
|
+
class Label
|
2422
|
+
include Google::Apis::Core::Hashable
|
2423
|
+
|
2424
|
+
# Label name.
|
2425
|
+
# Corresponds to the JSON property `name`
|
2426
|
+
# @return [String]
|
2427
|
+
attr_accessor :name
|
2428
|
+
|
2429
|
+
# Label value.
|
2430
|
+
# Corresponds to the JSON property `value`
|
2431
|
+
# @return [String]
|
2432
|
+
attr_accessor :value
|
2433
|
+
|
2434
|
+
def initialize(**args)
|
2435
|
+
update!(**args)
|
2436
|
+
end
|
2437
|
+
|
2438
|
+
# Update properties of this object
|
2439
|
+
def update!(**args)
|
2440
|
+
@name = args[:name] if args.key?(:name)
|
2441
|
+
@value = args[:value] if args.key?(:value)
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2217
2445
|
# Response message for listing assets.
|
2218
2446
|
class ListAssetsResponse
|
2219
2447
|
include Google::Apis::Core::Hashable
|
@@ -2445,6 +2673,50 @@ module Google
|
|
2445
2673
|
end
|
2446
2674
|
end
|
2447
2675
|
|
2676
|
+
# Kubernetes Nodes associated with the finding.
|
2677
|
+
class Node
|
2678
|
+
include Google::Apis::Core::Hashable
|
2679
|
+
|
2680
|
+
# Full Resource name of the Compute Engine VM running the cluster node.
|
2681
|
+
# Corresponds to the JSON property `name`
|
2682
|
+
# @return [String]
|
2683
|
+
attr_accessor :name
|
2684
|
+
|
2685
|
+
def initialize(**args)
|
2686
|
+
update!(**args)
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
# Update properties of this object
|
2690
|
+
def update!(**args)
|
2691
|
+
@name = args[:name] if args.key?(:name)
|
2692
|
+
end
|
2693
|
+
end
|
2694
|
+
|
2695
|
+
# Provides GKE Node Pool information.
|
2696
|
+
class NodePool
|
2697
|
+
include Google::Apis::Core::Hashable
|
2698
|
+
|
2699
|
+
# Kubernetes Node pool name.
|
2700
|
+
# Corresponds to the JSON property `name`
|
2701
|
+
# @return [String]
|
2702
|
+
attr_accessor :name
|
2703
|
+
|
2704
|
+
# Nodes associated with the finding.
|
2705
|
+
# Corresponds to the JSON property `nodes`
|
2706
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
|
2707
|
+
attr_accessor :nodes
|
2708
|
+
|
2709
|
+
def initialize(**args)
|
2710
|
+
update!(**args)
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
# Update properties of this object
|
2714
|
+
def update!(**args)
|
2715
|
+
@name = args[:name] if args.key?(:name)
|
2716
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
2717
|
+
end
|
2718
|
+
end
|
2719
|
+
|
2448
2720
|
# This resource represents a long-running operation that is the result of a
|
2449
2721
|
# network API call.
|
2450
2722
|
class Operation
|
@@ -2544,6 +2816,43 @@ module Google
|
|
2544
2816
|
end
|
2545
2817
|
end
|
2546
2818
|
|
2819
|
+
# Kubernetes Pod.
|
2820
|
+
class Pod
|
2821
|
+
include Google::Apis::Core::Hashable
|
2822
|
+
|
2823
|
+
# Pod containers associated with this finding, if any.
|
2824
|
+
# Corresponds to the JSON property `containers`
|
2825
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Container>]
|
2826
|
+
attr_accessor :containers
|
2827
|
+
|
2828
|
+
# Pod labels. For Kubernetes containers, these are applied to the container.
|
2829
|
+
# Corresponds to the JSON property `labels`
|
2830
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Label>]
|
2831
|
+
attr_accessor :labels
|
2832
|
+
|
2833
|
+
# Kubernetes Pod name.
|
2834
|
+
# Corresponds to the JSON property `name`
|
2835
|
+
# @return [String]
|
2836
|
+
attr_accessor :name
|
2837
|
+
|
2838
|
+
# Kubernetes Pod namespace.
|
2839
|
+
# Corresponds to the JSON property `ns`
|
2840
|
+
# @return [String]
|
2841
|
+
attr_accessor :ns
|
2842
|
+
|
2843
|
+
def initialize(**args)
|
2844
|
+
update!(**args)
|
2845
|
+
end
|
2846
|
+
|
2847
|
+
# Update properties of this object
|
2848
|
+
def update!(**args)
|
2849
|
+
@containers = args[:containers] if args.key?(:containers)
|
2850
|
+
@labels = args[:labels] if args.key?(:labels)
|
2851
|
+
@name = args[:name] if args.key?(:name)
|
2852
|
+
@ns = args[:ns] if args.key?(:ns)
|
2853
|
+
end
|
2854
|
+
end
|
2855
|
+
|
2547
2856
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2548
2857
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2549
2858
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -2768,6 +3077,37 @@ module Google
|
|
2768
3077
|
end
|
2769
3078
|
end
|
2770
3079
|
|
3080
|
+
# Kubernetes Role or ClusterRole.
|
3081
|
+
class Role
|
3082
|
+
include Google::Apis::Core::Hashable
|
3083
|
+
|
3084
|
+
# Role type.
|
3085
|
+
# Corresponds to the JSON property `kind`
|
3086
|
+
# @return [String]
|
3087
|
+
attr_accessor :kind
|
3088
|
+
|
3089
|
+
# Role name.
|
3090
|
+
# Corresponds to the JSON property `name`
|
3091
|
+
# @return [String]
|
3092
|
+
attr_accessor :name
|
3093
|
+
|
3094
|
+
# Role namespace.
|
3095
|
+
# Corresponds to the JSON property `ns`
|
3096
|
+
# @return [String]
|
3097
|
+
attr_accessor :ns
|
3098
|
+
|
3099
|
+
def initialize(**args)
|
3100
|
+
update!(**args)
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
# Update properties of this object
|
3104
|
+
def update!(**args)
|
3105
|
+
@kind = args[:kind] if args.key?(:kind)
|
3106
|
+
@name = args[:name] if args.key?(:name)
|
3107
|
+
@ns = args[:ns] if args.key?(:ns)
|
3108
|
+
end
|
3109
|
+
end
|
3110
|
+
|
2771
3111
|
# Request message for running asset discovery for an organization.
|
2772
3112
|
class RunAssetDiscoveryRequest
|
2773
3113
|
include Google::Apis::Core::Hashable
|
@@ -3037,6 +3377,37 @@ module Google
|
|
3037
3377
|
end
|
3038
3378
|
end
|
3039
3379
|
|
3380
|
+
# Represents a Kubernetes Subject.
|
3381
|
+
class Subject
|
3382
|
+
include Google::Apis::Core::Hashable
|
3383
|
+
|
3384
|
+
# Authentication type for subject.
|
3385
|
+
# Corresponds to the JSON property `kind`
|
3386
|
+
# @return [String]
|
3387
|
+
attr_accessor :kind
|
3388
|
+
|
3389
|
+
# Name for subject.
|
3390
|
+
# Corresponds to the JSON property `name`
|
3391
|
+
# @return [String]
|
3392
|
+
attr_accessor :name
|
3393
|
+
|
3394
|
+
# Namespace for subject.
|
3395
|
+
# Corresponds to the JSON property `ns`
|
3396
|
+
# @return [String]
|
3397
|
+
attr_accessor :ns
|
3398
|
+
|
3399
|
+
def initialize(**args)
|
3400
|
+
update!(**args)
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
# Update properties of this object
|
3404
|
+
def update!(**args)
|
3405
|
+
@kind = args[:kind] if args.key?(:kind)
|
3406
|
+
@name = args[:name] if args.key?(:name)
|
3407
|
+
@ns = args[:ns] if args.key?(:ns)
|
3408
|
+
end
|
3409
|
+
end
|
3410
|
+
|
3040
3411
|
# Request message for `TestIamPermissions` method.
|
3041
3412
|
class TestIamPermissionsRequest
|
3042
3413
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta1
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.33.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 = "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
|
|
@@ -310,6 +328,18 @@ module Google
|
|
310
328
|
include Google::Apis::Core::JsonObjectSupport
|
311
329
|
end
|
312
330
|
|
331
|
+
class Kubernetes
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class Label
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
313
343
|
class ListAssetsResponse
|
314
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
345
|
|
@@ -352,6 +382,18 @@ module Google
|
|
352
382
|
include Google::Apis::Core::JsonObjectSupport
|
353
383
|
end
|
354
384
|
|
385
|
+
class Node
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class NodePool
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
355
397
|
class Operation
|
356
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
399
|
|
@@ -364,6 +406,12 @@ module Google
|
|
364
406
|
include Google::Apis::Core::JsonObjectSupport
|
365
407
|
end
|
366
408
|
|
409
|
+
class Pod
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
367
415
|
class Policy
|
368
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
417
|
|
@@ -388,6 +436,12 @@ module Google
|
|
388
436
|
include Google::Apis::Core::JsonObjectSupport
|
389
437
|
end
|
390
438
|
|
439
|
+
class Role
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
391
445
|
class RunAssetDiscoveryRequest
|
392
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
447
|
|
@@ -430,6 +484,12 @@ module Google
|
|
430
484
|
include Google::Apis::Core::JsonObjectSupport
|
431
485
|
end
|
432
486
|
|
487
|
+
class Subject
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
433
493
|
class TestIamPermissionsRequest
|
434
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
495
|
|
@@ -467,6 +527,19 @@ module Google
|
|
467
527
|
end
|
468
528
|
end
|
469
529
|
|
530
|
+
class AccessReview
|
531
|
+
# @private
|
532
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
533
|
+
property :group, as: 'group'
|
534
|
+
property :name, as: 'name'
|
535
|
+
property :ns, as: 'ns'
|
536
|
+
property :resource, as: 'resource'
|
537
|
+
property :subresource, as: 'subresource'
|
538
|
+
property :verb, as: 'verb'
|
539
|
+
property :version, as: 'version'
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
470
543
|
class Asset
|
471
544
|
# @private
|
472
545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -557,6 +630,17 @@ module Google
|
|
557
630
|
end
|
558
631
|
end
|
559
632
|
|
633
|
+
class Container
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :image_id, as: 'imageId'
|
637
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta1::Label, decorator: Google::Apis::SecuritycenterV1beta1::Label::Representation
|
638
|
+
|
639
|
+
property :name, as: 'name'
|
640
|
+
property :uri, as: 'uri'
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
560
644
|
class Cve
|
561
645
|
# @private
|
562
646
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -659,6 +743,8 @@ module Google
|
|
659
743
|
|
660
744
|
hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta1::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta1::ContactDetails::Representation
|
661
745
|
|
746
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
|
747
|
+
|
662
748
|
property :create_time, as: 'createTime'
|
663
749
|
property :description, as: 'description'
|
664
750
|
property :event_time, as: 'eventTime'
|
@@ -672,6 +758,8 @@ module Google
|
|
672
758
|
|
673
759
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
|
674
760
|
|
761
|
+
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::Kubernetes::Representation
|
762
|
+
|
675
763
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
|
676
764
|
|
677
765
|
property :mute, as: 'mute'
|
@@ -737,6 +825,18 @@ module Google
|
|
737
825
|
end
|
738
826
|
end
|
739
827
|
|
828
|
+
class GoogleCloudSecuritycenterV1Binding
|
829
|
+
# @private
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
831
|
+
property :name, as: 'name'
|
832
|
+
property :ns, as: 'ns'
|
833
|
+
property :role, as: 'role', class: Google::Apis::SecuritycenterV1beta1::Role, decorator: Google::Apis::SecuritycenterV1beta1::Role::Representation
|
834
|
+
|
835
|
+
collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1beta1::Subject, decorator: Google::Apis::SecuritycenterV1beta1::Subject::Representation
|
836
|
+
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
740
840
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
741
841
|
# @private
|
742
842
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -972,6 +1072,32 @@ module Google
|
|
972
1072
|
end
|
973
1073
|
end
|
974
1074
|
|
1075
|
+
class Kubernetes
|
1076
|
+
# @private
|
1077
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1078
|
+
collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta1::AccessReview, decorator: Google::Apis::SecuritycenterV1beta1::AccessReview::Representation
|
1079
|
+
|
1080
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding::Representation
|
1081
|
+
|
1082
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta1::NodePool, decorator: Google::Apis::SecuritycenterV1beta1::NodePool::Representation
|
1083
|
+
|
1084
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
|
1085
|
+
|
1086
|
+
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta1::Pod, decorator: Google::Apis::SecuritycenterV1beta1::Pod::Representation
|
1087
|
+
|
1088
|
+
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta1::Role, decorator: Google::Apis::SecuritycenterV1beta1::Role::Representation
|
1089
|
+
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class Label
|
1094
|
+
# @private
|
1095
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
|
+
property :name, as: 'name'
|
1097
|
+
property :value, as: 'value'
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
975
1101
|
class ListAssetsResponse
|
976
1102
|
# @private
|
977
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1041,6 +1167,22 @@ module Google
|
|
1041
1167
|
end
|
1042
1168
|
end
|
1043
1169
|
|
1170
|
+
class Node
|
1171
|
+
# @private
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1173
|
+
property :name, as: 'name'
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class NodePool
|
1178
|
+
# @private
|
1179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1180
|
+
property :name, as: 'name'
|
1181
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
|
1182
|
+
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1044
1186
|
class Operation
|
1045
1187
|
# @private
|
1046
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1063,6 +1205,18 @@ module Google
|
|
1063
1205
|
end
|
1064
1206
|
end
|
1065
1207
|
|
1208
|
+
class Pod
|
1209
|
+
# @private
|
1210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1211
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
|
1212
|
+
|
1213
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta1::Label, decorator: Google::Apis::SecuritycenterV1beta1::Label::Representation
|
1214
|
+
|
1215
|
+
property :name, as: 'name'
|
1216
|
+
property :ns, as: 'ns'
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1066
1220
|
class Policy
|
1067
1221
|
# @private
|
1068
1222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1113,6 +1267,15 @@ module Google
|
|
1113
1267
|
end
|
1114
1268
|
end
|
1115
1269
|
|
1270
|
+
class Role
|
1271
|
+
# @private
|
1272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1273
|
+
property :kind, as: 'kind'
|
1274
|
+
property :name, as: 'name'
|
1275
|
+
property :ns, as: 'ns'
|
1276
|
+
end
|
1277
|
+
end
|
1278
|
+
|
1116
1279
|
class RunAssetDiscoveryRequest
|
1117
1280
|
# @private
|
1118
1281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1174,6 +1337,15 @@ module Google
|
|
1174
1337
|
end
|
1175
1338
|
end
|
1176
1339
|
|
1340
|
+
class Subject
|
1341
|
+
# @private
|
1342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1343
|
+
property :kind, as: 'kind'
|
1344
|
+
property :name, as: 'name'
|
1345
|
+
property :ns, as: 'ns'
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1177
1349
|
class TestIamPermissionsRequest
|
1178
1350
|
# @private
|
1179
1351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.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-07-
|
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
|
@@ -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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.33.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|