google-apis-securitycenter_v1beta2 0.37.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,10 @@
|
|
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
|
+
|
3
8
|
### v0.37.0 (2022-09-29)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220921
|
@@ -95,9 +95,9 @@ module Google
|
|
95
95
|
# instance, this may be the system user name if the finding is VM-related, or
|
96
96
|
# this may be some type of application login user name, depending on the type of
|
97
97
|
# finding.
|
98
|
-
# Corresponds to the JSON property `
|
98
|
+
# Corresponds to the JSON property `userName`
|
99
99
|
# @return [String]
|
100
|
-
attr_accessor :
|
100
|
+
attr_accessor :user_name
|
101
101
|
|
102
102
|
def initialize(**args)
|
103
103
|
update!(**args)
|
@@ -114,7 +114,7 @@ module Google
|
|
114
114
|
@service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
|
115
115
|
@service_name = args[:service_name] if args.key?(:service_name)
|
116
116
|
@user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
|
117
|
-
@
|
117
|
+
@user_name = args[:user_name] if args.key?(:user_name)
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
@@ -176,6 +176,32 @@ module Google
|
|
176
176
|
end
|
177
177
|
end
|
178
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
|
+
|
179
205
|
# Contains compliance information about a security standard indicating unmet
|
180
206
|
# recommendations.
|
181
207
|
class Compliance
|
@@ -632,6 +658,32 @@ module Google
|
|
632
658
|
end
|
633
659
|
end
|
634
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
|
+
|
635
687
|
# EnvironmentVariable is a name-value pair to store environment variables for
|
636
688
|
# Process.
|
637
689
|
class EnvironmentVariable
|
@@ -1263,12 +1315,51 @@ module Google
|
|
1263
1315
|
class GoogleCloudSecuritycenterV1ExposedResource
|
1264
1316
|
include Google::Apis::Core::Hashable
|
1265
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
|
+
|
1266
1351
|
def initialize(**args)
|
1267
1352
|
update!(**args)
|
1268
1353
|
end
|
1269
1354
|
|
1270
1355
|
# Update properties of this object
|
1271
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)
|
1272
1363
|
end
|
1273
1364
|
end
|
1274
1365
|
|
@@ -1276,12 +1367,37 @@ module Google
|
|
1276
1367
|
class GoogleCloudSecuritycenterV1ExposurePath
|
1277
1368
|
include Google::Apis::Core::Hashable
|
1278
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
|
+
|
1279
1391
|
def initialize(**args)
|
1280
1392
|
update!(**args)
|
1281
1393
|
end
|
1282
1394
|
|
1283
1395
|
# Update properties of this object
|
1284
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)
|
1285
1401
|
end
|
1286
1402
|
end
|
1287
1403
|
|
@@ -2190,6 +2306,46 @@ module Google
|
|
2190
2306
|
end
|
2191
2307
|
end
|
2192
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
|
+
|
2193
2349
|
# Kubernetes Pod.
|
2194
2350
|
class Pod
|
2195
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
|
|
@@ -316,6 +328,12 @@ module Google
|
|
316
328
|
include Google::Apis::Core::JsonObjectSupport
|
317
329
|
end
|
318
330
|
|
331
|
+
class PathNode
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class Pod
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -426,7 +444,7 @@ module Google
|
|
426
444
|
property :service_account_key_name, as: 'serviceAccountKeyName'
|
427
445
|
property :service_name, as: 'serviceName'
|
428
446
|
property :user_agent_family, as: 'userAgentFamily'
|
429
|
-
property :
|
447
|
+
property :user_name, as: 'userName'
|
430
448
|
end
|
431
449
|
end
|
432
450
|
|
@@ -443,6 +461,14 @@ module Google
|
|
443
461
|
end
|
444
462
|
end
|
445
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
|
+
|
446
472
|
class Compliance
|
447
473
|
# @private
|
448
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -564,6 +590,14 @@ module Google
|
|
564
590
|
end
|
565
591
|
end
|
566
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
|
+
|
567
601
|
class EnvironmentVariable
|
568
602
|
# @private
|
569
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -717,12 +751,25 @@ module Google
|
|
717
751
|
class GoogleCloudSecuritycenterV1ExposedResource
|
718
752
|
# @private
|
719
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'
|
720
760
|
end
|
721
761
|
end
|
722
762
|
|
723
763
|
class GoogleCloudSecuritycenterV1ExposurePath
|
724
764
|
# @private
|
725
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
|
+
|
726
773
|
end
|
727
774
|
end
|
728
775
|
|
@@ -959,6 +1006,17 @@ module Google
|
|
959
1006
|
end
|
960
1007
|
end
|
961
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
|
+
|
962
1020
|
class Pod
|
963
1021
|
# @private
|
964
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-10-
|
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: []
|