google-apis-securitycenter_v1beta2 0.27.0 → 0.30.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: 4d56584050d9e6e610ddf89515a7ea392ef0a30031c1a7e06ca651d98ff2535d
|
4
|
+
data.tar.gz: a2da7cd0c02dd72446346ee09edb885564869030b2f3a10a9f4a4016b39df71d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d3d62804cdbe2cd2dc247e0dba968d0809770ca8605134af6d6cf2dd014b1b73efa9267689da92d74a0975731dbbd7386ac0871f88171bd5f0a319623e98777
|
7
|
+
data.tar.gz: 7e7416ae7eb335644a02ee83cf6bad8e4eff514ad62921bc6495b98a8262099560ec0cbefff5432ccde9c825275f3d8b09f0bd07c3a97292fbef8d81df4e6488
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.30.0 (2022-07-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220720
|
6
|
+
|
7
|
+
### v0.29.0 (2022-07-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220713
|
10
|
+
|
11
|
+
### v0.28.0 (2022-07-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220707
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.27.0 (2022-06-30)
|
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
|
# 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
|
@@ -661,13 +758,19 @@ module Google
|
|
661
758
|
# Output only. Map containing the point of contacts for the given finding. The
|
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
|
-
# manager/docs/managing-notification-contacts#notification-categories `
|
665
|
-
# security
|
666
|
-
# company.com
|
761
|
+
# manager/docs/managing-notification-contacts#notification-categories ` "
|
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
|
@@ -1623,6 +1771,11 @@ module Google
|
|
1623
1771
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::ProcessSignature>]
|
1624
1772
|
attr_accessor :signatures
|
1625
1773
|
|
1774
|
+
# The list of URIs associated to the Findings
|
1775
|
+
# Corresponds to the JSON property `uris`
|
1776
|
+
# @return [Array<String>]
|
1777
|
+
attr_accessor :uris
|
1778
|
+
|
1626
1779
|
def initialize(**args)
|
1627
1780
|
update!(**args)
|
1628
1781
|
end
|
@@ -1632,6 +1785,87 @@ module Google
|
|
1632
1785
|
@domains = args[:domains] if args.key?(:domains)
|
1633
1786
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
1634
1787
|
@signatures = args[:signatures] if args.key?(:signatures)
|
1788
|
+
@uris = args[:uris] if args.key?(:uris)
|
1789
|
+
end
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
# Kubernetes related attributes.
|
1793
|
+
class Kubernetes
|
1794
|
+
include Google::Apis::Core::Hashable
|
1795
|
+
|
1796
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege checks)
|
1797
|
+
# relevant to the finding.
|
1798
|
+
# Corresponds to the JSON property `accessReviews`
|
1799
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::AccessReview>]
|
1800
|
+
attr_accessor :access_reviews
|
1801
|
+
|
1802
|
+
# Provides Kubernetes role binding information for findings that involve
|
1803
|
+
# RoleBindings or ClusterRoleBindings.
|
1804
|
+
# Corresponds to the JSON property `bindings`
|
1805
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding>]
|
1806
|
+
attr_accessor :bindings
|
1807
|
+
|
1808
|
+
# GKE Node Pools associated with the finding. This field will contain NodePool
|
1809
|
+
# information for each Node, when it is available.
|
1810
|
+
# Corresponds to the JSON property `nodePools`
|
1811
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::NodePool>]
|
1812
|
+
attr_accessor :node_pools
|
1813
|
+
|
1814
|
+
# Provides Kubernetes Node information.
|
1815
|
+
# Corresponds to the JSON property `nodes`
|
1816
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1817
|
+
attr_accessor :nodes
|
1818
|
+
|
1819
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
1820
|
+
# records for each container that is owned by a Pod.
|
1821
|
+
# Corresponds to the JSON property `pods`
|
1822
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Pod>]
|
1823
|
+
attr_accessor :pods
|
1824
|
+
|
1825
|
+
# Provides Kubernetes role information for findings that involve Roles or
|
1826
|
+
# ClusterRoles.
|
1827
|
+
# Corresponds to the JSON property `roles`
|
1828
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Role>]
|
1829
|
+
attr_accessor :roles
|
1830
|
+
|
1831
|
+
def initialize(**args)
|
1832
|
+
update!(**args)
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# Update properties of this object
|
1836
|
+
def update!(**args)
|
1837
|
+
@access_reviews = args[:access_reviews] if args.key?(:access_reviews)
|
1838
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
1839
|
+
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
1840
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1841
|
+
@pods = args[:pods] if args.key?(:pods)
|
1842
|
+
@roles = args[:roles] if args.key?(:roles)
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Label represents a generic name=value label. Label has separate name and value
|
1847
|
+
# fields to support filtering with contains().
|
1848
|
+
class Label
|
1849
|
+
include Google::Apis::Core::Hashable
|
1850
|
+
|
1851
|
+
# Label name.
|
1852
|
+
# Corresponds to the JSON property `name`
|
1853
|
+
# @return [String]
|
1854
|
+
attr_accessor :name
|
1855
|
+
|
1856
|
+
# Label value.
|
1857
|
+
# Corresponds to the JSON property `value`
|
1858
|
+
# @return [String]
|
1859
|
+
attr_accessor :value
|
1860
|
+
|
1861
|
+
def initialize(**args)
|
1862
|
+
update!(**args)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Update properties of this object
|
1866
|
+
def update!(**args)
|
1867
|
+
@name = args[:name] if args.key?(:name)
|
1868
|
+
@value = args[:value] if args.key?(:value)
|
1635
1869
|
end
|
1636
1870
|
end
|
1637
1871
|
|
@@ -1710,6 +1944,50 @@ module Google
|
|
1710
1944
|
end
|
1711
1945
|
end
|
1712
1946
|
|
1947
|
+
# Kubernetes Nodes associated with the finding.
|
1948
|
+
class Node
|
1949
|
+
include Google::Apis::Core::Hashable
|
1950
|
+
|
1951
|
+
# Full Resource name of the Compute Engine VM running the cluster node.
|
1952
|
+
# Corresponds to the JSON property `name`
|
1953
|
+
# @return [String]
|
1954
|
+
attr_accessor :name
|
1955
|
+
|
1956
|
+
def initialize(**args)
|
1957
|
+
update!(**args)
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Update properties of this object
|
1961
|
+
def update!(**args)
|
1962
|
+
@name = args[:name] if args.key?(:name)
|
1963
|
+
end
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
# Provides GKE Node Pool information.
|
1967
|
+
class NodePool
|
1968
|
+
include Google::Apis::Core::Hashable
|
1969
|
+
|
1970
|
+
# Kubernetes Node pool name.
|
1971
|
+
# Corresponds to the JSON property `name`
|
1972
|
+
# @return [String]
|
1973
|
+
attr_accessor :name
|
1974
|
+
|
1975
|
+
# Nodes associated with the finding.
|
1976
|
+
# Corresponds to the JSON property `nodes`
|
1977
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Node>]
|
1978
|
+
attr_accessor :nodes
|
1979
|
+
|
1980
|
+
def initialize(**args)
|
1981
|
+
update!(**args)
|
1982
|
+
end
|
1983
|
+
|
1984
|
+
# Update properties of this object
|
1985
|
+
def update!(**args)
|
1986
|
+
@name = args[:name] if args.key?(:name)
|
1987
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
1988
|
+
end
|
1989
|
+
end
|
1990
|
+
|
1713
1991
|
# Resource capturing onboarding information for a given CRM resource.
|
1714
1992
|
class OnboardingState
|
1715
1993
|
include Google::Apis::Core::Hashable
|
@@ -1738,6 +2016,43 @@ module Google
|
|
1738
2016
|
end
|
1739
2017
|
end
|
1740
2018
|
|
2019
|
+
# Kubernetes Pod.
|
2020
|
+
class Pod
|
2021
|
+
include Google::Apis::Core::Hashable
|
2022
|
+
|
2023
|
+
# Pod containers associated with this finding, if any.
|
2024
|
+
# Corresponds to the JSON property `containers`
|
2025
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Container>]
|
2026
|
+
attr_accessor :containers
|
2027
|
+
|
2028
|
+
# Pod labels. For Kubernetes containers, these are applied to the container.
|
2029
|
+
# Corresponds to the JSON property `labels`
|
2030
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Label>]
|
2031
|
+
attr_accessor :labels
|
2032
|
+
|
2033
|
+
# Kubernetes Pod name.
|
2034
|
+
# Corresponds to the JSON property `name`
|
2035
|
+
# @return [String]
|
2036
|
+
attr_accessor :name
|
2037
|
+
|
2038
|
+
# Kubernetes Pod namespace.
|
2039
|
+
# Corresponds to the JSON property `ns`
|
2040
|
+
# @return [String]
|
2041
|
+
attr_accessor :ns
|
2042
|
+
|
2043
|
+
def initialize(**args)
|
2044
|
+
update!(**args)
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
# Update properties of this object
|
2048
|
+
def update!(**args)
|
2049
|
+
@containers = args[:containers] if args.key?(:containers)
|
2050
|
+
@labels = args[:labels] if args.key?(:labels)
|
2051
|
+
@name = args[:name] if args.key?(:name)
|
2052
|
+
@ns = args[:ns] if args.key?(:ns)
|
2053
|
+
end
|
2054
|
+
end
|
2055
|
+
|
1741
2056
|
# Represents an operating system process.
|
1742
2057
|
class Process
|
1743
2058
|
include Google::Apis::Core::Hashable
|
@@ -1775,8 +2090,8 @@ module Google
|
|
1775
2090
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
|
1776
2091
|
attr_accessor :libraries
|
1777
2092
|
|
1778
|
-
# The process name visible in utilities like top and ps
|
1779
|
-
# proc/[pid]/comm and changed with prctl(PR_SET_NAME)
|
2093
|
+
# The process name visible in utilities like `top` and `ps`; it can be accessed
|
2094
|
+
# via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
1780
2095
|
# Corresponds to the JSON property `name`
|
1781
2096
|
# @return [String]
|
1782
2097
|
attr_accessor :name
|
@@ -1910,6 +2225,37 @@ module Google
|
|
1910
2225
|
end
|
1911
2226
|
end
|
1912
2227
|
|
2228
|
+
# Kubernetes Role or ClusterRole.
|
2229
|
+
class Role
|
2230
|
+
include Google::Apis::Core::Hashable
|
2231
|
+
|
2232
|
+
# Role type.
|
2233
|
+
# Corresponds to the JSON property `kind`
|
2234
|
+
# @return [String]
|
2235
|
+
attr_accessor :kind
|
2236
|
+
|
2237
|
+
# Role name.
|
2238
|
+
# Corresponds to the JSON property `name`
|
2239
|
+
# @return [String]
|
2240
|
+
attr_accessor :name
|
2241
|
+
|
2242
|
+
# Role namespace.
|
2243
|
+
# Corresponds to the JSON property `ns`
|
2244
|
+
# @return [String]
|
2245
|
+
attr_accessor :ns
|
2246
|
+
|
2247
|
+
def initialize(**args)
|
2248
|
+
update!(**args)
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
# Update properties of this object
|
2252
|
+
def update!(**args)
|
2253
|
+
@kind = args[:kind] if args.key?(:kind)
|
2254
|
+
@name = args[:name] if args.key?(:name)
|
2255
|
+
@ns = args[:ns] if args.key?(:ns)
|
2256
|
+
end
|
2257
|
+
end
|
2258
|
+
|
1913
2259
|
# Resource capturing the settings for Security Center.
|
1914
2260
|
class SecurityCenterSettings
|
1915
2261
|
include Google::Apis::Core::Hashable
|
@@ -1918,7 +2264,8 @@ module Google
|
|
1918
2264
|
# the organization this resource resides in. The format is `projects/`project_id`
|
1919
2265
|
# `. An empty value disables logging. This value is only referenced by services
|
1920
2266
|
# that support log sink. Please refer to the documentation for an updated list
|
1921
|
-
# of compatible services.
|
2267
|
+
# of compatible services. This may only be specified for organization level
|
2268
|
+
# onboarding.
|
1922
2269
|
# Corresponds to the JSON property `logSinkProject`
|
1923
2270
|
# @return [String]
|
1924
2271
|
attr_accessor :log_sink_project
|
@@ -1930,13 +2277,13 @@ module Google
|
|
1930
2277
|
# @return [String]
|
1931
2278
|
attr_accessor :name
|
1932
2279
|
|
1933
|
-
# Timestamp of when the customer organization was onboarded to SCC.
|
2280
|
+
# Output only. Timestamp of when the customer organization was onboarded to SCC.
|
1934
2281
|
# Corresponds to the JSON property `onboardingTime`
|
1935
2282
|
# @return [String]
|
1936
2283
|
attr_accessor :onboarding_time
|
1937
2284
|
|
1938
|
-
# The organization level service account to be used for security
|
1939
|
-
# components.
|
2285
|
+
# Output only. The organization level service account to be used for security
|
2286
|
+
# center components.
|
1940
2287
|
# Corresponds to the JSON property `orgServiceAccount`
|
1941
2288
|
# @return [String]
|
1942
2289
|
attr_accessor :org_service_account
|
@@ -2050,6 +2397,37 @@ module Google
|
|
2050
2397
|
end
|
2051
2398
|
end
|
2052
2399
|
|
2400
|
+
# Represents a Kubernetes Subject.
|
2401
|
+
class Subject
|
2402
|
+
include Google::Apis::Core::Hashable
|
2403
|
+
|
2404
|
+
# Authentication type for subject.
|
2405
|
+
# Corresponds to the JSON property `kind`
|
2406
|
+
# @return [String]
|
2407
|
+
attr_accessor :kind
|
2408
|
+
|
2409
|
+
# Name for subject.
|
2410
|
+
# Corresponds to the JSON property `name`
|
2411
|
+
# @return [String]
|
2412
|
+
attr_accessor :name
|
2413
|
+
|
2414
|
+
# Namespace for subject.
|
2415
|
+
# Corresponds to the JSON property `ns`
|
2416
|
+
# @return [String]
|
2417
|
+
attr_accessor :ns
|
2418
|
+
|
2419
|
+
def initialize(**args)
|
2420
|
+
update!(**args)
|
2421
|
+
end
|
2422
|
+
|
2423
|
+
# Update properties of this object
|
2424
|
+
def update!(**args)
|
2425
|
+
@kind = args[:kind] if args.key?(:kind)
|
2426
|
+
@name = args[:name] if args.key?(:name)
|
2427
|
+
@ns = args[:ns] if args.key?(:ns)
|
2428
|
+
end
|
2429
|
+
end
|
2430
|
+
|
2053
2431
|
# Resource capturing the state of an organization's subscription.
|
2054
2432
|
class Subscription
|
2055
2433
|
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.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "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 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
|
@@ -715,6 +815,33 @@ module Google
|
|
715
815
|
collection :ip_addresses, as: 'ipAddresses'
|
716
816
|
collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta2::ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta2::ProcessSignature::Representation
|
717
817
|
|
818
|
+
collection :uris, as: 'uris'
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
class Kubernetes
|
823
|
+
# @private
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
825
|
+
collection :access_reviews, as: 'accessReviews', class: Google::Apis::SecuritycenterV1beta2::AccessReview, decorator: Google::Apis::SecuritycenterV1beta2::AccessReview::Representation
|
826
|
+
|
827
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1Binding::Representation
|
828
|
+
|
829
|
+
collection :node_pools, as: 'nodePools', class: Google::Apis::SecuritycenterV1beta2::NodePool, decorator: Google::Apis::SecuritycenterV1beta2::NodePool::Representation
|
830
|
+
|
831
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
832
|
+
|
833
|
+
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1beta2::Pod, decorator: Google::Apis::SecuritycenterV1beta2::Pod::Representation
|
834
|
+
|
835
|
+
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1beta2::Role, decorator: Google::Apis::SecuritycenterV1beta2::Role::Representation
|
836
|
+
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
class Label
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
property :name, as: 'name'
|
844
|
+
property :value, as: 'value'
|
718
845
|
end
|
719
846
|
end
|
720
847
|
|
@@ -738,6 +865,22 @@ module Google
|
|
738
865
|
end
|
739
866
|
end
|
740
867
|
|
868
|
+
class Node
|
869
|
+
# @private
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
+
property :name, as: 'name'
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
875
|
+
class NodePool
|
876
|
+
# @private
|
877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
878
|
+
property :name, as: 'name'
|
879
|
+
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation
|
880
|
+
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
741
884
|
class OnboardingState
|
742
885
|
# @private
|
743
886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -746,6 +889,18 @@ module Google
|
|
746
889
|
end
|
747
890
|
end
|
748
891
|
|
892
|
+
class Pod
|
893
|
+
# @private
|
894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
895
|
+
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation
|
896
|
+
|
897
|
+
collection :labels, as: 'labels', class: Google::Apis::SecuritycenterV1beta2::Label, decorator: Google::Apis::SecuritycenterV1beta2::Label::Representation
|
898
|
+
|
899
|
+
property :name, as: 'name'
|
900
|
+
property :ns, as: 'ns'
|
901
|
+
end
|
902
|
+
end
|
903
|
+
|
749
904
|
class Process
|
750
905
|
# @private
|
751
906
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -795,6 +950,15 @@ module Google
|
|
795
950
|
end
|
796
951
|
end
|
797
952
|
|
953
|
+
class Role
|
954
|
+
# @private
|
955
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
956
|
+
property :kind, as: 'kind'
|
957
|
+
property :name, as: 'name'
|
958
|
+
property :ns, as: 'ns'
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
798
962
|
class SecurityCenterSettings
|
799
963
|
# @private
|
800
964
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -826,6 +990,15 @@ module Google
|
|
826
990
|
end
|
827
991
|
end
|
828
992
|
|
993
|
+
class Subject
|
994
|
+
# @private
|
995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
996
|
+
property :kind, as: 'kind'
|
997
|
+
property :name, as: 'name'
|
998
|
+
property :ns, as: 'ns'
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
829
1002
|
class Subscription
|
830
1003
|
# @private
|
831
1004
|
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.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-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_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.30.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: []
|