google-apis-securitycenter_v1beta1 0.31.0 → 0.34.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: 4876542957d00dc31f3a75d3c020a50e210bc5f101aca3d3fcc6ed2c2dfc0393
4
- data.tar.gz: 17d84cddffe052c85a557e86663fd12b58d77700c4fd82eca2916ffb9e65643d
3
+ metadata.gz: 42d69499c49ce6481d40df94891b34b4764e38315a61c6dd89c47be0235cd17b
4
+ data.tar.gz: 32c90620935197cca7d2f0bdb486406795763f4b6894e493b60cf9bc52b52970
5
5
  SHA512:
6
- metadata.gz: 265a4d530b6fd18b0e653b2aecc332e29e48269097e4b2361c87b2e3479d3ad557f57ac11a38e4c368872eee4a0eb555f918d21630884f1b4e3919965b8b8845
7
- data.tar.gz: 4bbef4a6228b56d681ed6cf81269757c1c7c8015bd3b53f99e42c2258dbce6d57354e85c63ae2a545d156bcef9d64919834b6983aca07985067d3a2fa7e4132c
6
+ metadata.gz: a871196992792208d60d82a4a6072aaa8b640ffe45e1be49a76a140777836d8af4e1965ee7f5e14238d5fc06bd09db49b769ac6346b76c3604c814f68b046a10
7
+ data.tar.gz: cb24c95857ee9f8a19fd5ca8b00744860f02379e91ff6e28e3a22d05f9766ebebdd476c0f6f0e44254ca161a3f56bca049a38545ff71348d992fb0c166ff437f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.34.0 (2022-07-26)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+
7
+ ### v0.33.0 (2022-07-19)
8
+
9
+ * Regenerated from discovery document revision 20220713
10
+
11
+ ### v0.32.0 (2022-07-12)
12
+
13
+ * Regenerated from discovery document revision 20220707
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.31.0 (2022-07-01)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -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
@@ -821,13 +918,19 @@ module Google
821
918
  # Output only. Map containing the point of contacts for the given finding. The
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
- # manager/docs/managing-notification-contacts#notification-categories `
825
- # security”: `contact: `email: person1@company.com”` contact: `email: “person2@
826
- # company.com”` `
921
+ # manager/docs/managing-notification-contacts#notification-categories ` "
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
@@ -2202,6 +2350,11 @@ module Google
2202
2350
  # @return [Array<Google::Apis::SecuritycenterV1beta1::ProcessSignature>]
2203
2351
  attr_accessor :signatures
2204
2352
 
2353
+ # The list of URIs associated to the Findings
2354
+ # Corresponds to the JSON property `uris`
2355
+ # @return [Array<String>]
2356
+ attr_accessor :uris
2357
+
2205
2358
  def initialize(**args)
2206
2359
  update!(**args)
2207
2360
  end
@@ -2211,6 +2364,87 @@ module Google
2211
2364
  @domains = args[:domains] if args.key?(:domains)
2212
2365
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
2213
2366
  @signatures = args[:signatures] if args.key?(:signatures)
2367
+ @uris = args[:uris] if args.key?(:uris)
2368
+ end
2369
+ end
2370
+
2371
+ # Kubernetes related attributes.
2372
+ class Kubernetes
2373
+ include Google::Apis::Core::Hashable
2374
+
2375
+ # Provides information on any Kubernetes access reviews (i.e. privilege checks)
2376
+ # relevant to the finding.
2377
+ # Corresponds to the JSON property `accessReviews`
2378
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::AccessReview>]
2379
+ attr_accessor :access_reviews
2380
+
2381
+ # Provides Kubernetes role binding information for findings that involve
2382
+ # RoleBindings or ClusterRoleBindings.
2383
+ # Corresponds to the JSON property `bindings`
2384
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding>]
2385
+ attr_accessor :bindings
2386
+
2387
+ # GKE Node Pools associated with the finding. This field will contain NodePool
2388
+ # information for each Node, when it is available.
2389
+ # Corresponds to the JSON property `nodePools`
2390
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::NodePool>]
2391
+ attr_accessor :node_pools
2392
+
2393
+ # Provides Kubernetes Node information.
2394
+ # Corresponds to the JSON property `nodes`
2395
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
2396
+ attr_accessor :nodes
2397
+
2398
+ # Kubernetes Pods associated with the finding. This field will contain Pod
2399
+ # records for each container that is owned by a Pod.
2400
+ # Corresponds to the JSON property `pods`
2401
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Pod>]
2402
+ attr_accessor :pods
2403
+
2404
+ # Provides Kubernetes role information for findings that involve Roles or
2405
+ # ClusterRoles.
2406
+ # Corresponds to the JSON property `roles`
2407
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Role>]
2408
+ attr_accessor :roles
2409
+
2410
+ def initialize(**args)
2411
+ update!(**args)
2412
+ end
2413
+
2414
+ # Update properties of this object
2415
+ def update!(**args)
2416
+ @access_reviews = args[:access_reviews] if args.key?(:access_reviews)
2417
+ @bindings = args[:bindings] if args.key?(:bindings)
2418
+ @node_pools = args[:node_pools] if args.key?(:node_pools)
2419
+ @nodes = args[:nodes] if args.key?(:nodes)
2420
+ @pods = args[:pods] if args.key?(:pods)
2421
+ @roles = args[:roles] if args.key?(:roles)
2422
+ end
2423
+ end
2424
+
2425
+ # Label represents a generic name=value label. Label has separate name and value
2426
+ # fields to support filtering with contains().
2427
+ class Label
2428
+ include Google::Apis::Core::Hashable
2429
+
2430
+ # Label name.
2431
+ # Corresponds to the JSON property `name`
2432
+ # @return [String]
2433
+ attr_accessor :name
2434
+
2435
+ # Label value.
2436
+ # Corresponds to the JSON property `value`
2437
+ # @return [String]
2438
+ attr_accessor :value
2439
+
2440
+ def initialize(**args)
2441
+ update!(**args)
2442
+ end
2443
+
2444
+ # Update properties of this object
2445
+ def update!(**args)
2446
+ @name = args[:name] if args.key?(:name)
2447
+ @value = args[:value] if args.key?(:value)
2214
2448
  end
2215
2449
  end
2216
2450
 
@@ -2445,6 +2679,50 @@ module Google
2445
2679
  end
2446
2680
  end
2447
2681
 
2682
+ # Kubernetes Nodes associated with the finding.
2683
+ class Node
2684
+ include Google::Apis::Core::Hashable
2685
+
2686
+ # Full Resource name of the Compute Engine VM running the cluster node.
2687
+ # Corresponds to the JSON property `name`
2688
+ # @return [String]
2689
+ attr_accessor :name
2690
+
2691
+ def initialize(**args)
2692
+ update!(**args)
2693
+ end
2694
+
2695
+ # Update properties of this object
2696
+ def update!(**args)
2697
+ @name = args[:name] if args.key?(:name)
2698
+ end
2699
+ end
2700
+
2701
+ # Provides GKE Node Pool information.
2702
+ class NodePool
2703
+ include Google::Apis::Core::Hashable
2704
+
2705
+ # Kubernetes Node pool name.
2706
+ # Corresponds to the JSON property `name`
2707
+ # @return [String]
2708
+ attr_accessor :name
2709
+
2710
+ # Nodes associated with the finding.
2711
+ # Corresponds to the JSON property `nodes`
2712
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Node>]
2713
+ attr_accessor :nodes
2714
+
2715
+ def initialize(**args)
2716
+ update!(**args)
2717
+ end
2718
+
2719
+ # Update properties of this object
2720
+ def update!(**args)
2721
+ @name = args[:name] if args.key?(:name)
2722
+ @nodes = args[:nodes] if args.key?(:nodes)
2723
+ end
2724
+ end
2725
+
2448
2726
  # This resource represents a long-running operation that is the result of a
2449
2727
  # network API call.
2450
2728
  class Operation
@@ -2544,6 +2822,43 @@ module Google
2544
2822
  end
2545
2823
  end
2546
2824
 
2825
+ # Kubernetes Pod.
2826
+ class Pod
2827
+ include Google::Apis::Core::Hashable
2828
+
2829
+ # Pod containers associated with this finding, if any.
2830
+ # Corresponds to the JSON property `containers`
2831
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Container>]
2832
+ attr_accessor :containers
2833
+
2834
+ # Pod labels. For Kubernetes containers, these are applied to the container.
2835
+ # Corresponds to the JSON property `labels`
2836
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Label>]
2837
+ attr_accessor :labels
2838
+
2839
+ # Kubernetes Pod name.
2840
+ # Corresponds to the JSON property `name`
2841
+ # @return [String]
2842
+ attr_accessor :name
2843
+
2844
+ # Kubernetes Pod namespace.
2845
+ # Corresponds to the JSON property `ns`
2846
+ # @return [String]
2847
+ attr_accessor :ns
2848
+
2849
+ def initialize(**args)
2850
+ update!(**args)
2851
+ end
2852
+
2853
+ # Update properties of this object
2854
+ def update!(**args)
2855
+ @containers = args[:containers] if args.key?(:containers)
2856
+ @labels = args[:labels] if args.key?(:labels)
2857
+ @name = args[:name] if args.key?(:name)
2858
+ @ns = args[:ns] if args.key?(:ns)
2859
+ end
2860
+ end
2861
+
2547
2862
  # An Identity and Access Management (IAM) policy, which specifies access
2548
2863
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2549
2864
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -2676,8 +2991,8 @@ module Google
2676
2991
  # @return [Array<Google::Apis::SecuritycenterV1beta1::File>]
2677
2992
  attr_accessor :libraries
2678
2993
 
2679
- # The process name visible in utilities like top and ps; it can be accessed via /
2680
- # proc/[pid]/comm and changed with prctl(PR_SET_NAME).
2994
+ # The process name visible in utilities like `top` and `ps`; it can be accessed
2995
+ # via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
2681
2996
  # Corresponds to the JSON property `name`
2682
2997
  # @return [String]
2683
2998
  attr_accessor :name
@@ -2768,6 +3083,37 @@ module Google
2768
3083
  end
2769
3084
  end
2770
3085
 
3086
+ # Kubernetes Role or ClusterRole.
3087
+ class Role
3088
+ include Google::Apis::Core::Hashable
3089
+
3090
+ # Role type.
3091
+ # Corresponds to the JSON property `kind`
3092
+ # @return [String]
3093
+ attr_accessor :kind
3094
+
3095
+ # Role name.
3096
+ # Corresponds to the JSON property `name`
3097
+ # @return [String]
3098
+ attr_accessor :name
3099
+
3100
+ # Role namespace.
3101
+ # Corresponds to the JSON property `ns`
3102
+ # @return [String]
3103
+ attr_accessor :ns
3104
+
3105
+ def initialize(**args)
3106
+ update!(**args)
3107
+ end
3108
+
3109
+ # Update properties of this object
3110
+ def update!(**args)
3111
+ @kind = args[:kind] if args.key?(:kind)
3112
+ @name = args[:name] if args.key?(:name)
3113
+ @ns = args[:ns] if args.key?(:ns)
3114
+ end
3115
+ end
3116
+
2771
3117
  # Request message for running asset discovery for an organization.
2772
3118
  class RunAssetDiscoveryRequest
2773
3119
  include Google::Apis::Core::Hashable
@@ -3037,6 +3383,37 @@ module Google
3037
3383
  end
3038
3384
  end
3039
3385
 
3386
+ # Represents a Kubernetes Subject.
3387
+ class Subject
3388
+ include Google::Apis::Core::Hashable
3389
+
3390
+ # Authentication type for subject.
3391
+ # Corresponds to the JSON property `kind`
3392
+ # @return [String]
3393
+ attr_accessor :kind
3394
+
3395
+ # Name for subject.
3396
+ # Corresponds to the JSON property `name`
3397
+ # @return [String]
3398
+ attr_accessor :name
3399
+
3400
+ # Namespace for subject.
3401
+ # Corresponds to the JSON property `ns`
3402
+ # @return [String]
3403
+ attr_accessor :ns
3404
+
3405
+ def initialize(**args)
3406
+ update!(**args)
3407
+ end
3408
+
3409
+ # Update properties of this object
3410
+ def update!(**args)
3411
+ @kind = args[:kind] if args.key?(:kind)
3412
+ @name = args[:name] if args.key?(:name)
3413
+ @ns = args[:ns] if args.key?(:ns)
3414
+ end
3415
+ end
3416
+
3040
3417
  # Request message for `TestIamPermissions` method.
3041
3418
  class TestIamPermissionsRequest
3042
3419
  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.31.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220609"
25
+ REVISION = "20220720"
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
@@ -969,6 +1069,33 @@ module Google
969
1069
  collection :ip_addresses, as: 'ipAddresses'
970
1070
  collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta1::ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta1::ProcessSignature::Representation
971
1071
 
1072
+ collection :uris, as: 'uris'
1073
+ end
1074
+ end
1075
+
1076
+ class Kubernetes
1077
+ # @private
1078
+ class Representation < Google::Apis::Core::JsonRepresentation
1079
+ collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta1::AccessReview, decorator: Google::Apis::SecuritycenterV1beta1::AccessReview::Representation
1080
+
1081
+ collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Binding::Representation
1082
+
1083
+ collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta1::NodePool, decorator: Google::Apis::SecuritycenterV1beta1::NodePool::Representation
1084
+
1085
+ collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
1086
+
1087
+ collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta1::Pod, decorator: Google::Apis::SecuritycenterV1beta1::Pod::Representation
1088
+
1089
+ collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta1::Role, decorator: Google::Apis::SecuritycenterV1beta1::Role::Representation
1090
+
1091
+ end
1092
+ end
1093
+
1094
+ class Label
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ property :name, as: 'name'
1098
+ property :value, as: 'value'
972
1099
  end
973
1100
  end
974
1101
 
@@ -1041,6 +1168,22 @@ module Google
1041
1168
  end
1042
1169
  end
1043
1170
 
1171
+ class Node
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ property :name, as: 'name'
1175
+ end
1176
+ end
1177
+
1178
+ class NodePool
1179
+ # @private
1180
+ class Representation < Google::Apis::Core::JsonRepresentation
1181
+ property :name, as: 'name'
1182
+ collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta1::Node, decorator: Google::Apis::SecuritycenterV1beta1::Node::Representation
1183
+
1184
+ end
1185
+ end
1186
+
1044
1187
  class Operation
1045
1188
  # @private
1046
1189
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1063,6 +1206,18 @@ module Google
1063
1206
  end
1064
1207
  end
1065
1208
 
1209
+ class Pod
1210
+ # @private
1211
+ class Representation < Google::Apis::Core::JsonRepresentation
1212
+ collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta1::Container, decorator: Google::Apis::SecuritycenterV1beta1::Container::Representation
1213
+
1214
+ collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta1::Label, decorator: Google::Apis::SecuritycenterV1beta1::Label::Representation
1215
+
1216
+ property :name, as: 'name'
1217
+ property :ns, as: 'ns'
1218
+ end
1219
+ end
1220
+
1066
1221
  class Policy
1067
1222
  # @private
1068
1223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1113,6 +1268,15 @@ module Google
1113
1268
  end
1114
1269
  end
1115
1270
 
1271
+ class Role
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ property :kind, as: 'kind'
1275
+ property :name, as: 'name'
1276
+ property :ns, as: 'ns'
1277
+ end
1278
+ end
1279
+
1116
1280
  class RunAssetDiscoveryRequest
1117
1281
  # @private
1118
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1174,6 +1338,15 @@ module Google
1174
1338
  end
1175
1339
  end
1176
1340
 
1341
+ class Subject
1342
+ # @private
1343
+ class Representation < Google::Apis::Core::JsonRepresentation
1344
+ property :kind, as: 'kind'
1345
+ property :name, as: 'name'
1346
+ property :ns, as: 'ns'
1347
+ end
1348
+ end
1349
+
1177
1350
  class TestIamPermissionsRequest
1178
1351
  # @private
1179
1352
  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.31.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-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-01 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.34.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: []