google-apis-securitycenter_v1 0.52.0 → 0.54.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +309 -242
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +112 -86
- data/lib/google/apis/securitycenter_v1/service.rb +987 -42
- metadata +3 -3
@@ -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.54.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 = "20230410"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,12 +46,6 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class AssociatedFinding
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
-
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
53
|
-
end
|
54
|
-
|
55
49
|
class AuditConfig
|
56
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
51
|
|
@@ -142,12 +136,6 @@ module Google
|
|
142
136
|
include Google::Apis::Core::JsonObjectSupport
|
143
137
|
end
|
144
138
|
|
145
|
-
class Edge
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
139
|
class Empty
|
152
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
141
|
|
@@ -232,13 +220,19 @@ module Google
|
|
232
220
|
include Google::Apis::Core::JsonObjectSupport
|
233
221
|
end
|
234
222
|
|
235
|
-
class
|
223
|
+
class GoogleCloudSecuritycenterV1CustomConfig
|
236
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
225
|
|
238
226
|
include Google::Apis::Core::JsonObjectSupport
|
239
227
|
end
|
240
228
|
|
241
|
-
class
|
229
|
+
class GoogleCloudSecuritycenterV1CustomOutputSpec
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
|
242
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
237
|
|
244
238
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -262,13 +256,19 @@ module Google
|
|
262
256
|
include Google::Apis::Core::JsonObjectSupport
|
263
257
|
end
|
264
258
|
|
259
|
+
class GoogleCloudSecuritycenterV1Property
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
265
|
class GoogleCloudSecuritycenterV1Resource
|
266
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
267
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
269
269
|
end
|
270
270
|
|
271
|
-
class
|
271
|
+
class GoogleCloudSecuritycenterV1ResourceSelector
|
272
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
273
|
|
274
274
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -406,6 +412,18 @@ module Google
|
|
406
412
|
include Google::Apis::Core::JsonObjectSupport
|
407
413
|
end
|
408
414
|
|
415
|
+
class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
409
427
|
class ListFindingsResponse
|
410
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
429
|
|
@@ -436,6 +454,12 @@ module Google
|
|
436
454
|
include Google::Apis::Core::JsonObjectSupport
|
437
455
|
end
|
438
456
|
|
457
|
+
class ListSecurityHealthAnalyticsCustomModulesResponse
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
439
463
|
class ListSourcesResponse
|
440
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
465
|
|
@@ -478,24 +502,12 @@ module Google
|
|
478
502
|
include Google::Apis::Core::JsonObjectSupport
|
479
503
|
end
|
480
504
|
|
481
|
-
class OrgPolicyConstraint
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
-
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
485
|
-
end
|
486
|
-
|
487
505
|
class OrganizationSettings
|
488
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
507
|
|
490
508
|
include Google::Apis::Core::JsonObjectSupport
|
491
509
|
end
|
492
510
|
|
493
|
-
class PathNode
|
494
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
-
|
496
|
-
include Google::Apis::Core::JsonObjectSupport
|
497
|
-
end
|
498
|
-
|
499
511
|
class Pod
|
500
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
513
|
|
@@ -685,15 +697,6 @@ module Google
|
|
685
697
|
end
|
686
698
|
end
|
687
699
|
|
688
|
-
class AssociatedFinding
|
689
|
-
# @private
|
690
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
-
property :canonical_finding_name, as: 'canonicalFindingName'
|
692
|
-
property :finding_category, as: 'findingCategory'
|
693
|
-
property :name, as: 'name'
|
694
|
-
end
|
695
|
-
end
|
696
|
-
|
697
700
|
class AuditConfig
|
698
701
|
# @private
|
699
702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -838,14 +841,6 @@ module Google
|
|
838
841
|
end
|
839
842
|
end
|
840
843
|
|
841
|
-
class Edge
|
842
|
-
# @private
|
843
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
844
|
-
property :destination, as: 'destination'
|
845
|
-
property :source, as: 'source'
|
846
|
-
end
|
847
|
-
end
|
848
|
-
|
849
844
|
class Empty
|
850
845
|
# @private
|
851
846
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -948,8 +943,6 @@ module Google
|
|
948
943
|
property :mute_update_time, as: 'muteUpdateTime'
|
949
944
|
property :name, as: 'name'
|
950
945
|
property :next_steps, as: 'nextSteps'
|
951
|
-
collection :org_policy_constraints, as: 'orgPolicyConstraints', class: Google::Apis::SecuritycenterV1::OrgPolicyConstraint, decorator: Google::Apis::SecuritycenterV1::OrgPolicyConstraint::Representation
|
952
|
-
|
953
946
|
property :parent, as: 'parent'
|
954
947
|
property :parent_display_name, as: 'parentDisplayName'
|
955
948
|
collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1::Process, decorator: Google::Apis::SecuritycenterV1::Process::Representation
|
@@ -1027,28 +1020,37 @@ module Google
|
|
1027
1020
|
end
|
1028
1021
|
end
|
1029
1022
|
|
1030
|
-
class
|
1023
|
+
class GoogleCloudSecuritycenterV1CustomConfig
|
1031
1024
|
# @private
|
1032
1025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1033
|
-
property :
|
1034
|
-
|
1035
|
-
property :
|
1036
|
-
property :
|
1037
|
-
|
1038
|
-
property :
|
1026
|
+
property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
|
1027
|
+
|
1028
|
+
property :description, as: 'description'
|
1029
|
+
property :predicate, as: 'predicate', class: Google::Apis::SecuritycenterV1::Expr, decorator: Google::Apis::SecuritycenterV1::Expr::Representation
|
1030
|
+
|
1031
|
+
property :recommendation, as: 'recommendation'
|
1032
|
+
property :resource_selector, as: 'resourceSelector', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceSelector::Representation
|
1033
|
+
|
1034
|
+
property :severity, as: 'severity'
|
1039
1035
|
end
|
1040
1036
|
end
|
1041
1037
|
|
1042
|
-
class
|
1038
|
+
class GoogleCloudSecuritycenterV1CustomOutputSpec
|
1043
1039
|
# @private
|
1044
1040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1045
|
-
collection :
|
1041
|
+
collection :properties, as: 'properties', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Property::Representation
|
1046
1042
|
|
1047
|
-
|
1043
|
+
end
|
1044
|
+
end
|
1048
1045
|
|
1049
|
-
|
1050
|
-
|
1046
|
+
class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
|
1047
|
+
# @private
|
1048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1049
|
+
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
1051
1050
|
|
1051
|
+
property :display_name, as: 'displayName'
|
1052
|
+
property :enablement_state, as: 'enablementState'
|
1053
|
+
property :name, as: 'name'
|
1052
1054
|
end
|
1053
1055
|
end
|
1054
1056
|
|
@@ -1087,6 +1089,15 @@ module Google
|
|
1087
1089
|
end
|
1088
1090
|
end
|
1089
1091
|
|
1092
|
+
class GoogleCloudSecuritycenterV1Property
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :name, as: 'name'
|
1096
|
+
property :value_expression, as: 'valueExpression', class: Google::Apis::SecuritycenterV1::Expr, decorator: Google::Apis::SecuritycenterV1::Expr::Representation
|
1097
|
+
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1090
1101
|
class GoogleCloudSecuritycenterV1Resource
|
1091
1102
|
# @private
|
1092
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1102,18 +1113,10 @@ module Google
|
|
1102
1113
|
end
|
1103
1114
|
end
|
1104
1115
|
|
1105
|
-
class
|
1116
|
+
class GoogleCloudSecuritycenterV1ResourceSelector
|
1106
1117
|
# @private
|
1107
1118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1108
|
-
|
1109
|
-
property :description, as: 'description'
|
1110
|
-
property :name, as: 'name'
|
1111
|
-
hash :resource_labels_selector, as: 'resourceLabelsSelector'
|
1112
|
-
property :resource_type, as: 'resourceType'
|
1113
|
-
property :resource_value, as: 'resourceValue'
|
1114
|
-
property :scope, as: 'scope'
|
1115
|
-
collection :tag_values, as: 'tagValues'
|
1116
|
-
property :update_time, as: 'updateTime'
|
1119
|
+
collection :resource_types, as: 'resourceTypes'
|
1117
1120
|
end
|
1118
1121
|
end
|
1119
1122
|
|
@@ -1125,6 +1128,20 @@ module Google
|
|
1125
1128
|
end
|
1126
1129
|
end
|
1127
1130
|
|
1131
|
+
class GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule
|
1132
|
+
# @private
|
1133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1134
|
+
property :ancestor_module, as: 'ancestorModule'
|
1135
|
+
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
1136
|
+
|
1137
|
+
property :display_name, as: 'displayName'
|
1138
|
+
property :enablement_state, as: 'enablementState'
|
1139
|
+
property :last_editor, as: 'lastEditor'
|
1140
|
+
property :name, as: 'name'
|
1141
|
+
property :update_time, as: 'updateTime'
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1128
1145
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
1129
1146
|
# @private
|
1130
1147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1352,6 +1369,24 @@ module Google
|
|
1352
1369
|
end
|
1353
1370
|
end
|
1354
1371
|
|
1372
|
+
class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
|
1373
|
+
# @private
|
1374
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1375
|
+
property :next_page_token, as: 'nextPageToken'
|
1376
|
+
collection :security_health_analytics_custom_modules, as: 'securityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule::Representation
|
1377
|
+
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
|
1382
|
+
# @private
|
1383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1384
|
+
collection :effective_security_health_analytics_custom_modules, as: 'effectiveSecurityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule::Representation
|
1385
|
+
|
1386
|
+
property :next_page_token, as: 'nextPageToken'
|
1387
|
+
end
|
1388
|
+
end
|
1389
|
+
|
1355
1390
|
class ListFindingsResponse
|
1356
1391
|
# @private
|
1357
1392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1401,6 +1436,15 @@ module Google
|
|
1401
1436
|
end
|
1402
1437
|
end
|
1403
1438
|
|
1439
|
+
class ListSecurityHealthAnalyticsCustomModulesResponse
|
1440
|
+
# @private
|
1441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
+
property :next_page_token, as: 'nextPageToken'
|
1443
|
+
collection :security_health_analytics_custom_modules, as: 'securityHealthAnalyticsCustomModules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule::Representation
|
1444
|
+
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1404
1448
|
class ListSourcesResponse
|
1405
1449
|
# @private
|
1406
1450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1470,13 +1514,6 @@ module Google
|
|
1470
1514
|
end
|
1471
1515
|
end
|
1472
1516
|
|
1473
|
-
class OrgPolicyConstraint
|
1474
|
-
# @private
|
1475
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1476
|
-
property :name, as: 'name'
|
1477
|
-
end
|
1478
|
-
end
|
1479
|
-
|
1480
1517
|
class OrganizationSettings
|
1481
1518
|
# @private
|
1482
1519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1487,17 +1524,6 @@ module Google
|
|
1487
1524
|
end
|
1488
1525
|
end
|
1489
1526
|
|
1490
|
-
class PathNode
|
1491
|
-
# @private
|
1492
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1493
|
-
collection :associated_findings, as: 'associatedFindings', class: Google::Apis::SecuritycenterV1::AssociatedFinding, decorator: Google::Apis::SecuritycenterV1::AssociatedFinding::Representation
|
1494
|
-
|
1495
|
-
property :display_name, as: 'displayName'
|
1496
|
-
property :resource, as: 'resource'
|
1497
|
-
property :resource_type, as: 'resourceType'
|
1498
|
-
end
|
1499
|
-
end
|
1500
|
-
|
1501
1527
|
class Pod
|
1502
1528
|
# @private
|
1503
1529
|
class Representation < Google::Apis::Core::JsonRepresentation
|