google-apis-securitycenter_v1beta2 0.28.0 → 0.29.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: 01ef3fa2e07dc299e1a75fba7fd5d5e6e6aec6a895262392daa91c5627a5b096
|
4
|
+
data.tar.gz: ffddfdf332044d0df42c310388158e11521c32bf78583859b272ba8555e9d567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d681a647a84a382b840b9da95fa6d7e16c091ba3dd4317621a69403e9fbbcbe19103e454c5fb658f81137b5e695b84441a35276fa8dcfa403943d3e893b8c11b
|
7
|
+
data.tar.gz: a18d7d51cfc9c43f4042cfce2f75bc00ea306927994beb00cab2c663a7afc5fb5c7b4e2ff2ea05c9fc78f8968a4ecf0da0c65fa8ab0d74ca20dc80af7ad1116a
|
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
|
# Contains compliance information about a security standard indicating unmet
|
77
135
|
# recommendations.
|
78
136
|
class Compliance
|
@@ -214,6 +272,45 @@ module Google
|
|
214
272
|
end
|
215
273
|
end
|
216
274
|
|
275
|
+
# Container associated with the finding.
|
276
|
+
class Container
|
277
|
+
include Google::Apis::Core::Hashable
|
278
|
+
|
279
|
+
# Optional container image id, when provided by the container runtime. Uniquely
|
280
|
+
# identifies the container image launched using a container image digest.
|
281
|
+
# Corresponds to the JSON property `imageId`
|
282
|
+
# @return [String]
|
283
|
+
attr_accessor :image_id
|
284
|
+
|
285
|
+
# Container labels, as provided by the container runtime.
|
286
|
+
# Corresponds to the JSON property `labels`
|
287
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Label>]
|
288
|
+
attr_accessor :labels
|
289
|
+
|
290
|
+
# Container name.
|
291
|
+
# Corresponds to the JSON property `name`
|
292
|
+
# @return [String]
|
293
|
+
attr_accessor :name
|
294
|
+
|
295
|
+
# Container image URI provided when configuring a pod/container. May identify a
|
296
|
+
# container image version using mutable tags.
|
297
|
+
# Corresponds to the JSON property `uri`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :uri
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@image_id = args[:image_id] if args.key?(:image_id)
|
308
|
+
@labels = args[:labels] if args.key?(:labels)
|
309
|
+
@name = args[:name] if args.key?(:name)
|
310
|
+
@uri = args[:uri] if args.key?(:uri)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
217
314
|
# Resource capturing the settings for the Container Threat Detection service.
|
218
315
|
class ContainerThreatDetectionSettings
|
219
316
|
include Google::Apis::Core::Hashable
|
@@ -662,12 +759,18 @@ module Google
|
|
662
759
|
# key represents the type of contact, while the value contains a list of all the
|
663
760
|
# contacts that pertain. Please refer to: https://cloud.google.com/resource-
|
664
761
|
# manager/docs/managing-notification-contacts#notification-categories ` "
|
665
|
-
# security":
|
666
|
-
#
|
762
|
+
# security": ` "contacts": [ ` "email": "person1@company.com" `, ` "email": "
|
763
|
+
# person2@company.com" ` ] `
|
667
764
|
# Corresponds to the JSON property `contacts`
|
668
765
|
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
|
669
766
|
attr_accessor :contacts
|
670
767
|
|
768
|
+
# Containers associated with the finding. containers provides information for
|
769
|
+
# both Kubernetes and non-Kubernetes containers.
|
770
|
+
# Corresponds to the JSON property `containers`
|
771
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
|
772
|
+
attr_accessor :containers
|
773
|
+
|
671
774
|
# The time at which the finding was created in Security Command Center.
|
672
775
|
# Corresponds to the JSON property `createTime`
|
673
776
|
# @return [String]
|
@@ -726,6 +829,11 @@ module Google
|
|
726
829
|
# @return [Google::Apis::SecuritycenterV1beta2::Indicator]
|
727
830
|
attr_accessor :indicator
|
728
831
|
|
832
|
+
# Kubernetes related attributes.
|
833
|
+
# Corresponds to the JSON property `kubernetes`
|
834
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Kubernetes]
|
835
|
+
attr_accessor :kubernetes
|
836
|
+
|
729
837
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
730
838
|
# attack.mitre.org
|
731
839
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -830,6 +938,7 @@ module Google
|
|
830
938
|
@compliances = args[:compliances] if args.key?(:compliances)
|
831
939
|
@connections = args[:connections] if args.key?(:connections)
|
832
940
|
@contacts = args[:contacts] if args.key?(:contacts)
|
941
|
+
@containers = args[:containers] if args.key?(:containers)
|
833
942
|
@create_time = args[:create_time] if args.key?(:create_time)
|
834
943
|
@description = args[:description] if args.key?(:description)
|
835
944
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -839,6 +948,7 @@ module Google
|
|
839
948
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
840
949
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
841
950
|
@indicator = args[:indicator] if args.key?(:indicator)
|
951
|
+
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
842
952
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
843
953
|
@mute = args[:mute] if args.key?(:mute)
|
844
954
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
@@ -984,6 +1094,44 @@ module Google
|
|
984
1094
|
end
|
985
1095
|
end
|
986
1096
|
|
1097
|
+
# Represents a Kubernetes RoleBinding or ClusterRoleBinding.
|
1098
|
+
class GoogleCloudSecuritycenterV1Binding
|
1099
|
+
include Google::Apis::Core::Hashable
|
1100
|
+
|
1101
|
+
# Name for binding.
|
1102
|
+
# Corresponds to the JSON property `name`
|
1103
|
+
# @return [String]
|
1104
|
+
attr_accessor :name
|
1105
|
+
|
1106
|
+
# Namespace for binding.
|
1107
|
+
# Corresponds to the JSON property `ns`
|
1108
|
+
# @return [String]
|
1109
|
+
attr_accessor :ns
|
1110
|
+
|
1111
|
+
# Kubernetes Role or ClusterRole.
|
1112
|
+
# Corresponds to the JSON property `role`
|
1113
|
+
# @return [Google::Apis::SecuritycenterV1beta2::Role]
|
1114
|
+
attr_accessor :role
|
1115
|
+
|
1116
|
+
# Represents the subjects(s) bound to the role. Not always available for PATCH
|
1117
|
+
# requests.
|
1118
|
+
# Corresponds to the JSON property `subjects`
|
1119
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Subject>]
|
1120
|
+
attr_accessor :subjects
|
1121
|
+
|
1122
|
+
def initialize(**args)
|
1123
|
+
update!(**args)
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Update properties of this object
|
1127
|
+
def update!(**args)
|
1128
|
+
@name = args[:name] if args.key?(:name)
|
1129
|
+
@ns = args[:ns] if args.key?(:ns)
|
1130
|
+
@role = args[:role] if args.key?(:role)
|
1131
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
987
1135
|
# The response to a BulkMute request. Contains the LRO information.
|
988
1136
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
989
1137
|
include Google::Apis::Core::Hashable
|
@@ -1635,6 +1783,86 @@ module Google
|
|
1635
1783
|
end
|
1636
1784
|
end
|
1637
1785
|
|
1786
|
+
# Kubernetes related attributes.
|
1787
|
+
class Kubernetes
|
1788
|
+
include Google::Apis::Core::Hashable
|
1789
|
+
|
1790
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege checks)
|
1791
|
+
# relevant to the finding.
|
1792
|
+
# Corresponds to the JSON property `accessReviews`
|
1793
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::AccessReview>]
|
1794
|
+
attr_accessor :access_reviews
|
1795
|
+
|
1796
|
+
# Provides Kubernetes role binding information for findings that involve
|
1797
|
+
# RoleBindings or ClusterRoleBindings.
|
1798
|
+
# Corresponds to the JSON property `bindings`
|
1799
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding>]
|
1800
|
+
attr_accessor :bindings
|
1801
|
+
|
1802
|
+
# GKE Node Pools associated with the finding. This field will contain NodePool
|
1803
|
+
# information for each Node, when it is available.
|
1804
|
+
# Corresponds to the JSON property `nodePools`
|
1805
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::NodePool>]
|
1806
|
+
attr_accessor :node_pools
|
1807
|
+
|
1808
|
+
# Provides Kubernetes Node information.
|
1809
|
+
# Corresponds to the JSON property `nodes`
|
1810
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1811
|
+
attr_accessor :nodes
|
1812
|
+
|
1813
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
1814
|
+
# records for each container that is owned by a Pod.
|
1815
|
+
# Corresponds to the JSON property `pods`
|
1816
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Pod>]
|
1817
|
+
attr_accessor :pods
|
1818
|
+
|
1819
|
+
# Provides Kubernetes role information for findings that involve Roles or
|
1820
|
+
# ClusterRoles.
|
1821
|
+
# Corresponds to the JSON property `roles`
|
1822
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Role>]
|
1823
|
+
attr_accessor :roles
|
1824
|
+
|
1825
|
+
def initialize(**args)
|
1826
|
+
update!(**args)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
# Update properties of this object
|
1830
|
+
def update!(**args)
|
1831
|
+
@access_reviews = args[:access_reviews] if args.key?(:access_reviews)
|
1832
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
1833
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
1834
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1835
|
+
@pods = args[:pods] if args.key?(:pods)
|
1836
|
+
@roles = args[:roles] if args.key?(:roles)
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
# Label represents a generic name=value label. Label has separate name and value
|
1841
|
+
# fields to support filtering with contains().
|
1842
|
+
class Label
|
1843
|
+
include Google::Apis::Core::Hashable
|
1844
|
+
|
1845
|
+
# Label name.
|
1846
|
+
# Corresponds to the JSON property `name`
|
1847
|
+
# @return [String]
|
1848
|
+
attr_accessor :name
|
1849
|
+
|
1850
|
+
# Label value.
|
1851
|
+
# Corresponds to the JSON property `value`
|
1852
|
+
# @return [String]
|
1853
|
+
attr_accessor :value
|
1854
|
+
|
1855
|
+
def initialize(**args)
|
1856
|
+
update!(**args)
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# Update properties of this object
|
1860
|
+
def update!(**args)
|
1861
|
+
@name = args[:name] if args.key?(:name)
|
1862
|
+
@value = args[:value] if args.key?(:value)
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1638
1866
|
# A signature corresponding to memory page hashes.
|
1639
1867
|
class MemoryHashSignature
|
1640
1868
|
include Google::Apis::Core::Hashable
|
@@ -1710,6 +1938,50 @@ module Google
|
|
1710
1938
|
end
|
1711
1939
|
end
|
1712
1940
|
|
1941
|
+
# Kubernetes Nodes associated with the finding.
|
1942
|
+
class Node
|
1943
|
+
include Google::Apis::Core::Hashable
|
1944
|
+
|
1945
|
+
# Full Resource name of the Compute Engine VM running the cluster node.
|
1946
|
+
# Corresponds to the JSON property `name`
|
1947
|
+
# @return [String]
|
1948
|
+
attr_accessor :name
|
1949
|
+
|
1950
|
+
def initialize(**args)
|
1951
|
+
update!(**args)
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
# Update properties of this object
|
1955
|
+
def update!(**args)
|
1956
|
+
@name = args[:name] if args.key?(:name)
|
1957
|
+
end
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Provides GKE Node Pool information.
|
1961
|
+
class NodePool
|
1962
|
+
include Google::Apis::Core::Hashable
|
1963
|
+
|
1964
|
+
# Kubernetes Node pool name.
|
1965
|
+
# Corresponds to the JSON property `name`
|
1966
|
+
# @return [String]
|
1967
|
+
attr_accessor :name
|
1968
|
+
|
1969
|
+
# Nodes associated with the finding.
|
1970
|
+
# Corresponds to the JSON property `nodes`
|
1971
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1972
|
+
attr_accessor :nodes
|
1973
|
+
|
1974
|
+
def initialize(**args)
|
1975
|
+
update!(**args)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# Update properties of this object
|
1979
|
+
def update!(**args)
|
1980
|
+
@name = args[:name] if args.key?(:name)
|
1981
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1713
1985
|
# Resource capturing onboarding information for a given CRM resource.
|
1714
1986
|
class OnboardingState
|
1715
1987
|
include Google::Apis::Core::Hashable
|
@@ -1738,6 +2010,43 @@ module Google
|
|
1738
2010
|
end
|
1739
2011
|
end
|
1740
2012
|
|
2013
|
+
# Kubernetes Pod.
|
2014
|
+
class Pod
|
2015
|
+
include Google::Apis::Core::Hashable
|
2016
|
+
|
2017
|
+
# Pod containers associated with this finding, if any.
|
2018
|
+
# Corresponds to the JSON property `containers`
|
2019
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
|
2020
|
+
attr_accessor :containers
|
2021
|
+
|
2022
|
+
# Pod labels. For Kubernetes containers, these are applied to the container.
|
2023
|
+
# Corresponds to the JSON property `labels`
|
2024
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Label>]
|
2025
|
+
attr_accessor :labels
|
2026
|
+
|
2027
|
+
# Kubernetes Pod name.
|
2028
|
+
# Corresponds to the JSON property `name`
|
2029
|
+
# @return [String]
|
2030
|
+
attr_accessor :name
|
2031
|
+
|
2032
|
+
# Kubernetes Pod namespace.
|
2033
|
+
# Corresponds to the JSON property `ns`
|
2034
|
+
# @return [String]
|
2035
|
+
attr_accessor :ns
|
2036
|
+
|
2037
|
+
def initialize(**args)
|
2038
|
+
update!(**args)
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
# Update properties of this object
|
2042
|
+
def update!(**args)
|
2043
|
+
@containers = args[:containers] if args.key?(:containers)
|
2044
|
+
@labels = args[:labels] if args.key?(:labels)
|
2045
|
+
@name = args[:name] if args.key?(:name)
|
2046
|
+
@ns = args[:ns] if args.key?(:ns)
|
2047
|
+
end
|
2048
|
+
end
|
2049
|
+
|
1741
2050
|
# Represents an operating system process.
|
1742
2051
|
class Process
|
1743
2052
|
include Google::Apis::Core::Hashable
|
@@ -1910,6 +2219,37 @@ module Google
|
|
1910
2219
|
end
|
1911
2220
|
end
|
1912
2221
|
|
2222
|
+
# Kubernetes Role or ClusterRole.
|
2223
|
+
class Role
|
2224
|
+
include Google::Apis::Core::Hashable
|
2225
|
+
|
2226
|
+
# Role type.
|
2227
|
+
# Corresponds to the JSON property `kind`
|
2228
|
+
# @return [String]
|
2229
|
+
attr_accessor :kind
|
2230
|
+
|
2231
|
+
# Role name.
|
2232
|
+
# Corresponds to the JSON property `name`
|
2233
|
+
# @return [String]
|
2234
|
+
attr_accessor :name
|
2235
|
+
|
2236
|
+
# Role namespace.
|
2237
|
+
# Corresponds to the JSON property `ns`
|
2238
|
+
# @return [String]
|
2239
|
+
attr_accessor :ns
|
2240
|
+
|
2241
|
+
def initialize(**args)
|
2242
|
+
update!(**args)
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
# Update properties of this object
|
2246
|
+
def update!(**args)
|
2247
|
+
@kind = args[:kind] if args.key?(:kind)
|
2248
|
+
@name = args[:name] if args.key?(:name)
|
2249
|
+
@ns = args[:ns] if args.key?(:ns)
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
1913
2253
|
# Resource capturing the settings for Security Center.
|
1914
2254
|
class SecurityCenterSettings
|
1915
2255
|
include Google::Apis::Core::Hashable
|
@@ -1918,7 +2258,8 @@ module Google
|
|
1918
2258
|
# the organization this resource resides in. The format is `projects/`project_id`
|
1919
2259
|
# `. An empty value disables logging. This value is only referenced by services
|
1920
2260
|
# that support log sink. Please refer to the documentation for an updated list
|
1921
|
-
# of compatible services.
|
2261
|
+
# of compatible services. This may only be specified for organization level
|
2262
|
+
# onboarding.
|
1922
2263
|
# Corresponds to the JSON property `logSinkProject`
|
1923
2264
|
# @return [String]
|
1924
2265
|
attr_accessor :log_sink_project
|
@@ -1930,13 +2271,13 @@ module Google
|
|
1930
2271
|
# @return [String]
|
1931
2272
|
attr_accessor :name
|
1932
2273
|
|
1933
|
-
# Timestamp of when the customer organization was onboarded to SCC.
|
2274
|
+
# Output only. Timestamp of when the customer organization was onboarded to SCC.
|
1934
2275
|
# Corresponds to the JSON property `onboardingTime`
|
1935
2276
|
# @return [String]
|
1936
2277
|
attr_accessor :onboarding_time
|
1937
2278
|
|
1938
|
-
# The organization level service account to be used for security
|
1939
|
-
# components.
|
2279
|
+
# Output only. The organization level service account to be used for security
|
2280
|
+
# center components.
|
1940
2281
|
# Corresponds to the JSON property `orgServiceAccount`
|
1941
2282
|
# @return [String]
|
1942
2283
|
attr_accessor :org_service_account
|
@@ -2050,6 +2391,37 @@ module Google
|
|
2050
2391
|
end
|
2051
2392
|
end
|
2052
2393
|
|
2394
|
+
# Represents a Kubernetes Subject.
|
2395
|
+
class Subject
|
2396
|
+
include Google::Apis::Core::Hashable
|
2397
|
+
|
2398
|
+
# Authentication type for subject.
|
2399
|
+
# Corresponds to the JSON property `kind`
|
2400
|
+
# @return [String]
|
2401
|
+
attr_accessor :kind
|
2402
|
+
|
2403
|
+
# Name for subject.
|
2404
|
+
# Corresponds to the JSON property `name`
|
2405
|
+
# @return [String]
|
2406
|
+
attr_accessor :name
|
2407
|
+
|
2408
|
+
# Namespace for subject.
|
2409
|
+
# Corresponds to the JSON property `ns`
|
2410
|
+
# @return [String]
|
2411
|
+
attr_accessor :ns
|
2412
|
+
|
2413
|
+
def initialize(**args)
|
2414
|
+
update!(**args)
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
# Update properties of this object
|
2418
|
+
def update!(**args)
|
2419
|
+
@kind = args[:kind] if args.key?(:kind)
|
2420
|
+
@name = args[:name] if args.key?(:name)
|
2421
|
+
@ns = args[:ns] if args.key?(:ns)
|
2422
|
+
end
|
2423
|
+
end
|
2424
|
+
|
2053
2425
|
# Resource capturing the state of an organization's subscription.
|
2054
2426
|
class Subscription
|
2055
2427
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.29.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 Compliance
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -58,6 +64,12 @@ module Google
|
|
58
64
|
include Google::Apis::Core::JsonObjectSupport
|
59
65
|
end
|
60
66
|
|
67
|
+
class Container
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
61
73
|
class ContainerThreatDetectionSettings
|
62
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
75
|
|
@@ -142,6 +154,12 @@ module Google
|
|
142
154
|
include Google::Apis::Core::JsonObjectSupport
|
143
155
|
end
|
144
156
|
|
157
|
+
class GoogleCloudSecuritycenterV1Binding
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
145
163
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
165
|
|
@@ -232,6 +250,18 @@ module Google
|
|
232
250
|
include Google::Apis::Core::JsonObjectSupport
|
233
251
|
end
|
234
252
|
|
253
|
+
class Kubernetes
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class Label
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
235
265
|
class MemoryHashSignature
|
236
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
267
|
|
@@ -244,12 +274,30 @@ module Google
|
|
244
274
|
include Google::Apis::Core::JsonObjectSupport
|
245
275
|
end
|
246
276
|
|
277
|
+
class Node
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class NodePool
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
247
289
|
class OnboardingState
|
248
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
291
|
|
250
292
|
include Google::Apis::Core::JsonObjectSupport
|
251
293
|
end
|
252
294
|
|
295
|
+
class Pod
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
253
301
|
class Process
|
254
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
303
|
|
@@ -274,6 +322,12 @@ module Google
|
|
274
322
|
include Google::Apis::Core::JsonObjectSupport
|
275
323
|
end
|
276
324
|
|
325
|
+
class Role
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
277
331
|
class SecurityCenterSettings
|
278
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
333
|
|
@@ -292,6 +346,12 @@ module Google
|
|
292
346
|
include Google::Apis::Core::JsonObjectSupport
|
293
347
|
end
|
294
348
|
|
349
|
+
class Subject
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
295
355
|
class Subscription
|
296
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
357
|
|
@@ -335,6 +395,19 @@ module Google
|
|
335
395
|
end
|
336
396
|
end
|
337
397
|
|
398
|
+
class AccessReview
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :group, as: 'group'
|
402
|
+
property :name, as: 'name'
|
403
|
+
property :ns, as: 'ns'
|
404
|
+
property :resource, as: 'resource'
|
405
|
+
property :subresource, as: 'subresource'
|
406
|
+
property :verb, as: 'verb'
|
407
|
+
property :version, as: 'version'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
338
411
|
class Compliance
|
339
412
|
# @private
|
340
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -378,6 +451,17 @@ module Google
|
|
378
451
|
end
|
379
452
|
end
|
380
453
|
|
454
|
+
class Container
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :image_id, as: 'imageId'
|
458
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation
|
459
|
+
|
460
|
+
property :name, as: 'name'
|
461
|
+
property :uri, as: 'uri'
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
381
465
|
class ContainerThreatDetectionSettings
|
382
466
|
# @private
|
383
467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -496,6 +580,8 @@ module Google
|
|
496
580
|
|
497
581
|
hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation
|
498
582
|
|
583
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
584
|
+
|
499
585
|
property :create_time, as: 'createTime'
|
500
586
|
property :description, as: 'description'
|
501
587
|
property :event_time, as: 'eventTime'
|
@@ -509,6 +595,8 @@ module Google
|
|
509
595
|
|
510
596
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
|
511
597
|
|
598
|
+
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::Representation
|
599
|
+
|
512
600
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
|
513
601
|
|
514
602
|
property :mute, as: 'mute'
|
@@ -559,6 +647,18 @@ module Google
|
|
559
647
|
end
|
560
648
|
end
|
561
649
|
|
650
|
+
class GoogleCloudSecuritycenterV1Binding
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :name, as: 'name'
|
654
|
+
property :ns, as: 'ns'
|
655
|
+
property :role, as: 'role', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
656
|
+
|
657
|
+
collection :subjects, as: 'subjects', class: Google::Apis::SecuritycenterV1beta2::Subject, decorator: Google::Apis::SecuritycenterV1beta2::Subject::Representation
|
658
|
+
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
562
662
|
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
563
663
|
# @private
|
564
664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -718,6 +818,32 @@ module Google
|
|
718
818
|
end
|
719
819
|
end
|
720
820
|
|
821
|
+
class Kubernetes
|
822
|
+
# @private
|
823
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
824
|
+
collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta2::AccessReview, decorator: Google::Apis::SecuritycenterV1beta2::AccessReview::Representation
|
825
|
+
|
826
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding::Representation
|
827
|
+
|
828
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta2::NodePool, decorator: Google::Apis::SecuritycenterV1beta2::NodePool::Representation
|
829
|
+
|
830
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
831
|
+
|
832
|
+
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation
|
833
|
+
|
834
|
+
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
835
|
+
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
class Label
|
840
|
+
# @private
|
841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
842
|
+
property :name, as: 'name'
|
843
|
+
property :value, as: 'value'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
721
847
|
class MemoryHashSignature
|
722
848
|
# @private
|
723
849
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -738,6 +864,22 @@ module Google
|
|
738
864
|
end
|
739
865
|
end
|
740
866
|
|
867
|
+
class Node
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :name, as: 'name'
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class NodePool
|
875
|
+
# @private
|
876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
877
|
+
property :name, as: 'name'
|
878
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
879
|
+
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
741
883
|
class OnboardingState
|
742
884
|
# @private
|
743
885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -746,6 +888,18 @@ module Google
|
|
746
888
|
end
|
747
889
|
end
|
748
890
|
|
891
|
+
class Pod
|
892
|
+
# @private
|
893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
894
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
895
|
+
|
896
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation
|
897
|
+
|
898
|
+
property :name, as: 'name'
|
899
|
+
property :ns, as: 'ns'
|
900
|
+
end
|
901
|
+
end
|
902
|
+
|
749
903
|
class Process
|
750
904
|
# @private
|
751
905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -795,6 +949,15 @@ module Google
|
|
795
949
|
end
|
796
950
|
end
|
797
951
|
|
952
|
+
class Role
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :kind, as: 'kind'
|
956
|
+
property :name, as: 'name'
|
957
|
+
property :ns, as: 'ns'
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
798
961
|
class SecurityCenterSettings
|
799
962
|
# @private
|
800
963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -826,6 +989,15 @@ module Google
|
|
826
989
|
end
|
827
990
|
end
|
828
991
|
|
992
|
+
class Subject
|
993
|
+
# @private
|
994
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
995
|
+
property :kind, as: 'kind'
|
996
|
+
property :name, as: 'name'
|
997
|
+
property :ns, as: 'ns'
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
829
1001
|
class Subscription
|
830
1002
|
# @private
|
831
1003
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.29.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|