google-apis-securitycenter_v1beta2 0.36.0 → 0.38.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee8e06603b4125c6044aa3b8bb7a9c1dcd27dd0ee9507fdc3a5b6477d9c08205
|
4
|
+
data.tar.gz: 9e80cfdfe8effff7c2e22364392b9b0fac73b4a8020313406440e11c7f0c642b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 665629a0834d39a25eca5bcc78b04fc01ed144c3b964103b7f6914cac2dd085dfe7bc0f7b27e02674be6eb3eebe003de9374f44438aaf38ddac079ae95ecbcd6
|
7
|
+
data.tar.gz: 3255afea05f15f8b9ee7667a5387d5d2ec370661c7d08770fa4ec84eee172db050ccc2c251ce29749e9c068865224d7f8bda3133361cd26fb66e8ad3994a03a5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.38.0 (2022-10-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221014
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
8
|
+
### v0.37.0 (2022-09-29)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220921
|
11
|
+
|
3
12
|
### v0.36.0 (2022-09-22)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220915
|
@@ -91,6 +91,14 @@ module Google
|
|
91
91
|
# @return [String]
|
92
92
|
attr_accessor :user_agent_family
|
93
93
|
|
94
|
+
# A string representing a username. This is likely not an IAM principal. For
|
95
|
+
# instance, this may be the system user name if the finding is VM-related, or
|
96
|
+
# this may be some type of application login user name, depending on the type of
|
97
|
+
# finding.
|
98
|
+
# Corresponds to the JSON property `userName`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :user_name
|
101
|
+
|
94
102
|
def initialize(**args)
|
95
103
|
update!(**args)
|
96
104
|
end
|
@@ -106,6 +114,7 @@ module Google
|
|
106
114
|
@service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
|
107
115
|
@service_name = args[:service_name] if args.key?(:service_name)
|
108
116
|
@user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
|
117
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
109
118
|
end
|
110
119
|
end
|
111
120
|
|
@@ -167,6 +176,32 @@ module Google
|
|
167
176
|
end
|
168
177
|
end
|
169
178
|
|
179
|
+
# A finding that is associated with this node in the exposure path.
|
180
|
+
class AssociatedFinding
|
181
|
+
include Google::Apis::Core::Hashable
|
182
|
+
|
183
|
+
# Canonical name of the associated findings. Example: organizations/123/sources/
|
184
|
+
# 456/findings/789
|
185
|
+
# Corresponds to the JSON property `canonicalFindingName`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :canonical_finding_name
|
188
|
+
|
189
|
+
# The additional taxonomy group within findings from a given source.
|
190
|
+
# Corresponds to the JSON property `findingCategory`
|
191
|
+
# @return [String]
|
192
|
+
attr_accessor :finding_category
|
193
|
+
|
194
|
+
def initialize(**args)
|
195
|
+
update!(**args)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Update properties of this object
|
199
|
+
def update!(**args)
|
200
|
+
@canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
|
201
|
+
@finding_category = args[:finding_category] if args.key?(:finding_category)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
170
205
|
# Contains compliance information about a security standard indicating unmet
|
171
206
|
# recommendations.
|
172
207
|
class Compliance
|
@@ -623,6 +658,32 @@ module Google
|
|
623
658
|
end
|
624
659
|
end
|
625
660
|
|
661
|
+
# Represents a connection between a source node and a destination node in this
|
662
|
+
# exposure path.
|
663
|
+
class Edge
|
664
|
+
include Google::Apis::Core::Hashable
|
665
|
+
|
666
|
+
# This is the resource name of the destination node.
|
667
|
+
# Corresponds to the JSON property `destination`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :destination
|
670
|
+
|
671
|
+
# This is the resource name of the source node.
|
672
|
+
# Corresponds to the JSON property `source`
|
673
|
+
# @return [String]
|
674
|
+
attr_accessor :source
|
675
|
+
|
676
|
+
def initialize(**args)
|
677
|
+
update!(**args)
|
678
|
+
end
|
679
|
+
|
680
|
+
# Update properties of this object
|
681
|
+
def update!(**args)
|
682
|
+
@destination = args[:destination] if args.key?(:destination)
|
683
|
+
@source = args[:source] if args.key?(:source)
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
626
687
|
# EnvironmentVariable is a name-value pair to store environment variables for
|
627
688
|
# Process.
|
628
689
|
class EnvironmentVariable
|
@@ -1250,6 +1311,96 @@ module Google
|
|
1250
1311
|
end
|
1251
1312
|
end
|
1252
1313
|
|
1314
|
+
# A resource that is exposed as a result of a finding.
|
1315
|
+
class GoogleCloudSecuritycenterV1ExposedResource
|
1316
|
+
include Google::Apis::Core::Hashable
|
1317
|
+
|
1318
|
+
# Human readable name of the resource that is exposed.
|
1319
|
+
# Corresponds to the JSON property `displayName`
|
1320
|
+
# @return [String]
|
1321
|
+
attr_accessor :display_name
|
1322
|
+
|
1323
|
+
# The ways in which this resource is exposed. Examples: Read, Write
|
1324
|
+
# Corresponds to the JSON property `methods`
|
1325
|
+
# @return [Array<String>]
|
1326
|
+
attr_accessor :methods_prop
|
1327
|
+
|
1328
|
+
# Exposed Resource Name e.g.: `organizations/123/attackExposureResults/456/
|
1329
|
+
# exposedResources/789`
|
1330
|
+
# Corresponds to the JSON property `name`
|
1331
|
+
# @return [String]
|
1332
|
+
attr_accessor :name
|
1333
|
+
|
1334
|
+
# The name of the resource that is exposed. See: https://cloud.google.com/apis/
|
1335
|
+
# design/resource_names#full_resource_name
|
1336
|
+
# Corresponds to the JSON property `resource`
|
1337
|
+
# @return [String]
|
1338
|
+
attr_accessor :resource
|
1339
|
+
|
1340
|
+
# The resource type of the exposed resource. See: https://cloud.google.com/asset-
|
1341
|
+
# inventory/docs/supported-asset-types
|
1342
|
+
# Corresponds to the JSON property `resourceType`
|
1343
|
+
# @return [String]
|
1344
|
+
attr_accessor :resource_type
|
1345
|
+
|
1346
|
+
# How valuable this resource is.
|
1347
|
+
# Corresponds to the JSON property `resourceValue`
|
1348
|
+
# @return [String]
|
1349
|
+
attr_accessor :resource_value
|
1350
|
+
|
1351
|
+
def initialize(**args)
|
1352
|
+
update!(**args)
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# Update properties of this object
|
1356
|
+
def update!(**args)
|
1357
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1358
|
+
@methods_prop = args[:methods_prop] if args.key?(:methods_prop)
|
1359
|
+
@name = args[:name] if args.key?(:name)
|
1360
|
+
@resource = args[:resource] if args.key?(:resource)
|
1361
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1362
|
+
@resource_value = args[:resource_value] if args.key?(:resource_value)
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# A path that an attacker could take to reach an exposed resource.
|
1367
|
+
class GoogleCloudSecuritycenterV1ExposurePath
|
1368
|
+
include Google::Apis::Core::Hashable
|
1369
|
+
|
1370
|
+
# A list of the edges between nodes in this exposure path.
|
1371
|
+
# Corresponds to the JSON property `edges`
|
1372
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Edge>]
|
1373
|
+
attr_accessor :edges
|
1374
|
+
|
1375
|
+
# A resource that is exposed as a result of a finding.
|
1376
|
+
# Corresponds to the JSON property `exposedResource`
|
1377
|
+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource]
|
1378
|
+
attr_accessor :exposed_resource
|
1379
|
+
|
1380
|
+
# Exposure Path Name e.g.: `organizations/123/attackExposureResults/456/
|
1381
|
+
# exposurePaths/789`
|
1382
|
+
# Corresponds to the JSON property `name`
|
1383
|
+
# @return [String]
|
1384
|
+
attr_accessor :name
|
1385
|
+
|
1386
|
+
# A list of nodes that exist in this exposure path.
|
1387
|
+
# Corresponds to the JSON property `pathNodes`
|
1388
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::PathNode>]
|
1389
|
+
attr_accessor :path_nodes
|
1390
|
+
|
1391
|
+
def initialize(**args)
|
1392
|
+
update!(**args)
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# Update properties of this object
|
1396
|
+
def update!(**args)
|
1397
|
+
@edges = args[:edges] if args.key?(:edges)
|
1398
|
+
@exposed_resource = args[:exposed_resource] if args.key?(:exposed_resource)
|
1399
|
+
@name = args[:name] if args.key?(:name)
|
1400
|
+
@path_nodes = args[:path_nodes] if args.key?(:path_nodes)
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1253
1404
|
# Representation of third party SIEM/SOAR fields within SCC.
|
1254
1405
|
class GoogleCloudSecuritycenterV1ExternalSystem
|
1255
1406
|
include Google::Apis::Core::Hashable
|
@@ -2155,6 +2306,46 @@ module Google
|
|
2155
2306
|
end
|
2156
2307
|
end
|
2157
2308
|
|
2309
|
+
# Represents one point that an attacker passes through in this exposure path.
|
2310
|
+
class PathNode
|
2311
|
+
include Google::Apis::Core::Hashable
|
2312
|
+
|
2313
|
+
# The findings associated with this node in the exposure path.
|
2314
|
+
# Corresponds to the JSON property `associatedFindings`
|
2315
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::AssociatedFinding>]
|
2316
|
+
attr_accessor :associated_findings
|
2317
|
+
|
2318
|
+
# Human readable name of this resource.
|
2319
|
+
# Corresponds to the JSON property `displayName`
|
2320
|
+
# @return [String]
|
2321
|
+
attr_accessor :display_name
|
2322
|
+
|
2323
|
+
# The name of the resource at this point in the exposure path. The format of the
|
2324
|
+
# name is: https://cloud.google.com/apis/design/resource_names#
|
2325
|
+
# full_resource_name
|
2326
|
+
# Corresponds to the JSON property `resource`
|
2327
|
+
# @return [String]
|
2328
|
+
attr_accessor :resource
|
2329
|
+
|
2330
|
+
# The resource type of this resource. See: https://cloud.google.com/asset-
|
2331
|
+
# inventory/docs/supported-asset-types
|
2332
|
+
# Corresponds to the JSON property `resourceType`
|
2333
|
+
# @return [String]
|
2334
|
+
attr_accessor :resource_type
|
2335
|
+
|
2336
|
+
def initialize(**args)
|
2337
|
+
update!(**args)
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
# Update properties of this object
|
2341
|
+
def update!(**args)
|
2342
|
+
@associated_findings = args[:associated_findings] if args.key?(:associated_findings)
|
2343
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2344
|
+
@resource = args[:resource] if args.key?(:resource)
|
2345
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2158
2349
|
# Kubernetes Pod.
|
2159
2350
|
class Pod
|
2160
2351
|
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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221014"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AssociatedFinding
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Compliance
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class Edge
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class EnvironmentVariable
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -172,6 +184,18 @@ module Google
|
|
172
184
|
include Google::Apis::Core::JsonObjectSupport
|
173
185
|
end
|
174
186
|
|
187
|
+
class GoogleCloudSecuritycenterV1ExposedResource
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleCloudSecuritycenterV1ExposurePath
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
175
199
|
class GoogleCloudSecuritycenterV1ExternalSystem
|
176
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
201
|
|
@@ -304,6 +328,12 @@ module Google
|
|
304
328
|
include Google::Apis::Core::JsonObjectSupport
|
305
329
|
end
|
306
330
|
|
331
|
+
class PathNode
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
307
337
|
class Pod
|
308
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
339
|
|
@@ -414,6 +444,7 @@ module Google
|
|
414
444
|
property :service_account_key_name, as: 'serviceAccountKeyName'
|
415
445
|
property :service_name, as: 'serviceName'
|
416
446
|
property :user_agent_family, as: 'userAgentFamily'
|
447
|
+
property :user_name, as: 'userName'
|
417
448
|
end
|
418
449
|
end
|
419
450
|
|
@@ -430,6 +461,14 @@ module Google
|
|
430
461
|
end
|
431
462
|
end
|
432
463
|
|
464
|
+
class AssociatedFinding
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :canonical_finding_name, as: 'canonicalFindingName'
|
468
|
+
property :finding_category, as: 'findingCategory'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
433
472
|
class Compliance
|
434
473
|
# @private
|
435
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -551,6 +590,14 @@ module Google
|
|
551
590
|
end
|
552
591
|
end
|
553
592
|
|
593
|
+
class Edge
|
594
|
+
# @private
|
595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :destination, as: 'destination'
|
597
|
+
property :source, as: 'source'
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
554
601
|
class EnvironmentVariable
|
555
602
|
# @private
|
556
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -701,6 +748,31 @@ module Google
|
|
701
748
|
end
|
702
749
|
end
|
703
750
|
|
751
|
+
class GoogleCloudSecuritycenterV1ExposedResource
|
752
|
+
# @private
|
753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
+
property :display_name, as: 'displayName'
|
755
|
+
collection :methods_prop, as: 'methods'
|
756
|
+
property :name, as: 'name'
|
757
|
+
property :resource, as: 'resource'
|
758
|
+
property :resource_type, as: 'resourceType'
|
759
|
+
property :resource_value, as: 'resourceValue'
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class GoogleCloudSecuritycenterV1ExposurePath
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
collection :edges, as: 'edges', class: Google::Apis::SecuritycenterV1beta2::Edge, decorator: Google::Apis::SecuritycenterV1beta2::Edge::Representation
|
767
|
+
|
768
|
+
property :exposed_resource, as: 'exposedResource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExposedResource::Representation
|
769
|
+
|
770
|
+
property :name, as: 'name'
|
771
|
+
collection :path_nodes, as: 'pathNodes', class: Google::Apis::SecuritycenterV1beta2::PathNode, decorator: Google::Apis::SecuritycenterV1beta2::PathNode::Representation
|
772
|
+
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
704
776
|
class GoogleCloudSecuritycenterV1ExternalSystem
|
705
777
|
# @private
|
706
778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -934,6 +1006,17 @@ module Google
|
|
934
1006
|
end
|
935
1007
|
end
|
936
1008
|
|
1009
|
+
class PathNode
|
1010
|
+
# @private
|
1011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1012
|
+
collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1beta2::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1beta2::AssociatedFinding::Representation
|
1013
|
+
|
1014
|
+
property :display_name, as: 'displayName'
|
1015
|
+
property :resource, as: 'resource'
|
1016
|
+
property :resource_type, as: 'resourceType'
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
937
1020
|
class Pod
|
938
1021
|
# @private
|
939
1022
|
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.38.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-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.9.
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.38.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: []
|