google-apis-securitycenter_v1 0.64.0 → 0.65.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: e0affa40a9bb1e7b1fa16f575acd90bf7a5a1135962eeb71937bde7c3e321f77
|
4
|
+
data.tar.gz: f5177667857e0aa20e834616a14fefa79e4e74bb1eb33c36db0a09addd200f37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93ae02a536c0b967ba1547b066a1cac249f8f85e4d7f159434066f78544922e4492b268866932c9fcb2e457b4d575d587e09bc2fe7bec93cd44b0ce2c08c7b52
|
7
|
+
data.tar.gz: e6ad0fde1dedd0536db3c74c75e806ec41d9c3d3876c1dc6f5100d58923cff31aca21a0830792b14ece977f8b160aa86ac70cd9494e1c7cc2709700b0c91cb88
|
data/CHANGELOG.md
CHANGED
@@ -1693,6 +1693,11 @@ module Google
|
|
1693
1693
|
# @return [Google::Apis::SecuritycenterV1::Kubernetes]
|
1694
1694
|
attr_accessor :kubernetes
|
1695
1695
|
|
1696
|
+
# The load balancers associated with the finding.
|
1697
|
+
# Corresponds to the JSON property `loadBalancers`
|
1698
|
+
# @return [Array<Google::Apis::SecuritycenterV1::LoadBalancer>]
|
1699
|
+
attr_accessor :load_balancers
|
1700
|
+
|
1696
1701
|
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
1697
1702
|
# attack.mitre.org
|
1698
1703
|
# Corresponds to the JSON property `mitreAttack`
|
@@ -1774,6 +1779,14 @@ module Google
|
|
1774
1779
|
# @return [Google::Apis::SecuritycenterV1::SecurityMarks]
|
1775
1780
|
attr_accessor :security_marks
|
1776
1781
|
|
1782
|
+
# Represents a posture that is deployed on Google Cloud by the Security Command
|
1783
|
+
# Center Posture Management service. A posture contains one or more policy sets.
|
1784
|
+
# A policy set is a group of policies that enforce a set of security rules on
|
1785
|
+
# Google Cloud.
|
1786
|
+
# Corresponds to the JSON property `securityPosture`
|
1787
|
+
# @return [Google::Apis::SecuritycenterV1::SecurityPosture]
|
1788
|
+
attr_accessor :security_posture
|
1789
|
+
|
1777
1790
|
# The severity of the finding. This field is managed by the source that writes
|
1778
1791
|
# the finding.
|
1779
1792
|
# Corresponds to the JSON property `severity`
|
@@ -1827,6 +1840,7 @@ module Google
|
|
1827
1840
|
@indicator = args[:indicator] if args.key?(:indicator)
|
1828
1841
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
1829
1842
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
1843
|
+
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
1830
1844
|
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
1831
1845
|
@module_name = args[:module_name] if args.key?(:module_name)
|
1832
1846
|
@mute = args[:mute] if args.key?(:mute)
|
@@ -1839,6 +1853,7 @@ module Google
|
|
1839
1853
|
@processes = args[:processes] if args.key?(:processes)
|
1840
1854
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1841
1855
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
1856
|
+
@security_posture = args[:security_posture] if args.key?(:security_posture)
|
1842
1857
|
@severity = args[:severity] if args.key?(:severity)
|
1843
1858
|
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
1844
1859
|
@state = args[:state] if args.key?(:state)
|
@@ -3527,6 +3542,11 @@ module Google
|
|
3527
3542
|
# @return [Array<Google::Apis::SecuritycenterV1::Node>]
|
3528
3543
|
attr_accessor :nodes
|
3529
3544
|
|
3545
|
+
# Kubernetes objects related to the finding.
|
3546
|
+
# Corresponds to the JSON property `objects`
|
3547
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Object>]
|
3548
|
+
attr_accessor :objects
|
3549
|
+
|
3530
3550
|
# Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod)
|
3531
3551
|
# associated with the finding. This field contains Pod records for each
|
3532
3552
|
# container that is owned by a Pod.
|
@@ -3551,6 +3571,7 @@ module Google
|
|
3551
3571
|
@bindings = args[:bindings] if args.key?(:bindings)
|
3552
3572
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
3553
3573
|
@nodes = args[:nodes] if args.key?(:nodes)
|
3574
|
+
@objects = args[:objects] if args.key?(:objects)
|
3554
3575
|
@pods = args[:pods] if args.key?(:pods)
|
3555
3576
|
@roles = args[:roles] if args.key?(:roles)
|
3556
3577
|
end
|
@@ -4044,6 +4065,25 @@ module Google
|
|
4044
4065
|
end
|
4045
4066
|
end
|
4046
4067
|
|
4068
|
+
# Contains information related to the load balancer associated with the finding.
|
4069
|
+
class LoadBalancer
|
4070
|
+
include Google::Apis::Core::Hashable
|
4071
|
+
|
4072
|
+
# The name of the load balancer associated with the finding.
|
4073
|
+
# Corresponds to the JSON property `name`
|
4074
|
+
# @return [String]
|
4075
|
+
attr_accessor :name
|
4076
|
+
|
4077
|
+
def initialize(**args)
|
4078
|
+
update!(**args)
|
4079
|
+
end
|
4080
|
+
|
4081
|
+
# Update properties of this object
|
4082
|
+
def update!(**args)
|
4083
|
+
@name = args[:name] if args.key?(:name)
|
4084
|
+
end
|
4085
|
+
end
|
4086
|
+
|
4047
4087
|
# A signature corresponding to memory page hashes.
|
4048
4088
|
class MemoryHashSignature
|
4049
4089
|
include Google::Apis::Core::Hashable
|
@@ -4216,6 +4256,47 @@ module Google
|
|
4216
4256
|
end
|
4217
4257
|
end
|
4218
4258
|
|
4259
|
+
# Kubernetes object related to the finding, uniquely identified by GKNN. Used if
|
4260
|
+
# the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.
|
4261
|
+
class Object
|
4262
|
+
include Google::Apis::Core::Hashable
|
4263
|
+
|
4264
|
+
# Kubernetes object group, such as "policy.k8s.io/v1".
|
4265
|
+
# Corresponds to the JSON property `group`
|
4266
|
+
# @return [String]
|
4267
|
+
attr_accessor :group
|
4268
|
+
|
4269
|
+
# Kubernetes object kind, such as “Namespace”.
|
4270
|
+
# Corresponds to the JSON property `kind`
|
4271
|
+
# @return [String]
|
4272
|
+
attr_accessor :kind
|
4273
|
+
|
4274
|
+
# Kubernetes object name. For details see https://kubernetes.io/docs/concepts/
|
4275
|
+
# overview/working-with-objects/names/.
|
4276
|
+
# Corresponds to the JSON property `name`
|
4277
|
+
# @return [String]
|
4278
|
+
attr_accessor :name
|
4279
|
+
|
4280
|
+
# Kubernetes object namespace. Must be a valid DNS label. Named "ns" to avoid
|
4281
|
+
# collision with C++ namespace keyword. For details see https://kubernetes.io/
|
4282
|
+
# docs/tasks/administer-cluster/namespaces/.
|
4283
|
+
# Corresponds to the JSON property `ns`
|
4284
|
+
# @return [String]
|
4285
|
+
attr_accessor :ns
|
4286
|
+
|
4287
|
+
def initialize(**args)
|
4288
|
+
update!(**args)
|
4289
|
+
end
|
4290
|
+
|
4291
|
+
# Update properties of this object
|
4292
|
+
def update!(**args)
|
4293
|
+
@group = args[:group] if args.key?(:group)
|
4294
|
+
@kind = args[:kind] if args.key?(:kind)
|
4295
|
+
@name = args[:name] if args.key?(:name)
|
4296
|
+
@ns = args[:ns] if args.key?(:ns)
|
4297
|
+
end
|
4298
|
+
end
|
4299
|
+
|
4219
4300
|
# This resource represents a long-running operation that is the result of a
|
4220
4301
|
# network API call.
|
4221
4302
|
class Operation
|
@@ -4884,6 +4965,56 @@ module Google
|
|
4884
4965
|
end
|
4885
4966
|
end
|
4886
4967
|
|
4968
|
+
# Represents a posture that is deployed on Google Cloud by the Security Command
|
4969
|
+
# Center Posture Management service. A posture contains one or more policy sets.
|
4970
|
+
# A policy set is a group of policies that enforce a set of security rules on
|
4971
|
+
# Google Cloud.
|
4972
|
+
class SecurityPosture
|
4973
|
+
include Google::Apis::Core::Hashable
|
4974
|
+
|
4975
|
+
# The name of the policy that has been updated, for example, `projects/`
|
4976
|
+
# project_id`/policies/`constraint_name``.
|
4977
|
+
# Corresponds to the JSON property `changedPolicy`
|
4978
|
+
# @return [String]
|
4979
|
+
attr_accessor :changed_policy
|
4980
|
+
|
4981
|
+
# Name of the posture, for example, `organizations/`org_id`/locations/`location`/
|
4982
|
+
# postures/`posture_name``.
|
4983
|
+
# Corresponds to the JSON property `name`
|
4984
|
+
# @return [String]
|
4985
|
+
attr_accessor :name
|
4986
|
+
|
4987
|
+
# The name of the posture deployment, for example, `projects/`project_id`/
|
4988
|
+
# posturedeployments/`posture_deployment_id``.
|
4989
|
+
# Corresponds to the JSON property `postureDeployment`
|
4990
|
+
# @return [String]
|
4991
|
+
attr_accessor :posture_deployment
|
4992
|
+
|
4993
|
+
# The project, folder, or organization on which the posture is deployed, for
|
4994
|
+
# example, `projects/`project_id``.
|
4995
|
+
# Corresponds to the JSON property `postureDeploymentResource`
|
4996
|
+
# @return [String]
|
4997
|
+
attr_accessor :posture_deployment_resource
|
4998
|
+
|
4999
|
+
# The version of the posture, for example, `c7cfa2a8`.
|
5000
|
+
# Corresponds to the JSON property `revisionId`
|
5001
|
+
# @return [String]
|
5002
|
+
attr_accessor :revision_id
|
5003
|
+
|
5004
|
+
def initialize(**args)
|
5005
|
+
update!(**args)
|
5006
|
+
end
|
5007
|
+
|
5008
|
+
# Update properties of this object
|
5009
|
+
def update!(**args)
|
5010
|
+
@changed_policy = args[:changed_policy] if args.key?(:changed_policy)
|
5011
|
+
@name = args[:name] if args.key?(:name)
|
5012
|
+
@posture_deployment = args[:posture_deployment] if args.key?(:posture_deployment)
|
5013
|
+
@posture_deployment_resource = args[:posture_deployment_resource] if args.key?(:posture_deployment_resource)
|
5014
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
5015
|
+
end
|
5016
|
+
end
|
5017
|
+
|
4887
5018
|
# Identity delegation history of an authenticated service account.
|
4888
5019
|
class ServiceAccountDelegationInfo
|
4889
5020
|
include Google::Apis::Core::Hashable
|
@@ -5050,10 +5181,10 @@ module Google
|
|
5050
5181
|
class Source
|
5051
5182
|
include Google::Apis::Core::Hashable
|
5052
5183
|
|
5053
|
-
# The canonical name of the finding. It's either "organizations/`
|
5054
|
-
#
|
5055
|
-
# project_number`/sources/`source_id`", depending on the
|
5056
|
-
# the resource associated with the finding.
|
5184
|
+
# The canonical name of the finding source. It's either "organizations/`
|
5185
|
+
# organization_id`/sources/`source_id`", "folders/`folder_id`/sources/`source_id`
|
5186
|
+
# ", or "projects/`project_number`/sources/`source_id`", depending on the
|
5187
|
+
# closest CRM ancestor of the resource associated with the finding.
|
5057
5188
|
# Corresponds to the JSON property `canonicalName`
|
5058
5189
|
# @return [String]
|
5059
5190
|
attr_accessor :canonical_name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.65.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231001"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -562,6 +562,12 @@ module Google
|
|
562
562
|
include Google::Apis::Core::JsonObjectSupport
|
563
563
|
end
|
564
564
|
|
565
|
+
class LoadBalancer
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
565
571
|
class MemoryHashSignature
|
566
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
573
|
|
@@ -592,6 +598,12 @@ module Google
|
|
592
598
|
include Google::Apis::Core::JsonObjectSupport
|
593
599
|
end
|
594
600
|
|
601
|
+
class Object
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
595
607
|
class Operation
|
596
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
609
|
|
@@ -682,6 +694,12 @@ module Google
|
|
682
694
|
include Google::Apis::Core::JsonObjectSupport
|
683
695
|
end
|
684
696
|
|
697
|
+
class SecurityPosture
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
685
703
|
class ServiceAccountDelegationInfo
|
686
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
705
|
|
@@ -1196,6 +1214,8 @@ module Google
|
|
1196
1214
|
|
1197
1215
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
|
1198
1216
|
|
1217
|
+
collection :load_balancers, as: 'loadBalancers', class: Google::Apis::SecuritycenterV1::LoadBalancer, decorator: Google::Apis::SecuritycenterV1::LoadBalancer::Representation
|
1218
|
+
|
1199
1219
|
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1::MitreAttack, decorator: Google::Apis::SecuritycenterV1::MitreAttack::Representation
|
1200
1220
|
|
1201
1221
|
property :module_name, as: 'moduleName'
|
@@ -1211,6 +1231,8 @@ module Google
|
|
1211
1231
|
property :resource_name, as: 'resourceName'
|
1212
1232
|
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1::SecurityMarks::Representation
|
1213
1233
|
|
1234
|
+
property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1::SecurityPosture, decorator: Google::Apis::SecuritycenterV1::SecurityPosture::Representation
|
1235
|
+
|
1214
1236
|
property :severity, as: 'severity'
|
1215
1237
|
hash :source_properties, as: 'sourceProperties'
|
1216
1238
|
property :state, as: 'state'
|
@@ -1601,6 +1623,8 @@ module Google
|
|
1601
1623
|
|
1602
1624
|
collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1::Node, decorator: Google::Apis::SecuritycenterV1::Node::Representation
|
1603
1625
|
|
1626
|
+
collection :objects, as: 'objects', class: Google::Apis::SecuritycenterV1::Object, decorator: Google::Apis::SecuritycenterV1::Object::Representation
|
1627
|
+
|
1604
1628
|
collection :pods, as: 'pods', class: Google::Apis::SecuritycenterV1::Pod, decorator: Google::Apis::SecuritycenterV1::Pod::Representation
|
1605
1629
|
|
1606
1630
|
collection :roles, as: 'roles', class: Google::Apis::SecuritycenterV1::Role, decorator: Google::Apis::SecuritycenterV1::Role::Representation
|
@@ -1767,6 +1791,13 @@ module Google
|
|
1767
1791
|
end
|
1768
1792
|
end
|
1769
1793
|
|
1794
|
+
class LoadBalancer
|
1795
|
+
# @private
|
1796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1797
|
+
property :name, as: 'name'
|
1798
|
+
end
|
1799
|
+
end
|
1800
|
+
|
1770
1801
|
class MemoryHashSignature
|
1771
1802
|
# @private
|
1772
1803
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1815,6 +1846,16 @@ module Google
|
|
1815
1846
|
end
|
1816
1847
|
end
|
1817
1848
|
|
1849
|
+
class Object
|
1850
|
+
# @private
|
1851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1852
|
+
property :group, as: 'group'
|
1853
|
+
property :kind, as: 'kind'
|
1854
|
+
property :name, as: 'name'
|
1855
|
+
property :ns, as: 'ns'
|
1856
|
+
end
|
1857
|
+
end
|
1858
|
+
|
1818
1859
|
class Operation
|
1819
1860
|
# @private
|
1820
1861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1978,6 +2019,17 @@ module Google
|
|
1978
2019
|
end
|
1979
2020
|
end
|
1980
2021
|
|
2022
|
+
class SecurityPosture
|
2023
|
+
# @private
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2025
|
+
property :changed_policy, as: 'changedPolicy'
|
2026
|
+
property :name, as: 'name'
|
2027
|
+
property :posture_deployment, as: 'postureDeployment'
|
2028
|
+
property :posture_deployment_resource, as: 'postureDeploymentResource'
|
2029
|
+
property :revision_id, as: 'revisionId'
|
2030
|
+
end
|
2031
|
+
end
|
2032
|
+
|
1981
2033
|
class ServiceAccountDelegationInfo
|
1982
2034
|
# @private
|
1983
2035
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.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: 2023-
|
11
|
+
date: 2023-10-08 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.65.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|