google-apis-securitycenter_v1 0.89.0 → 0.91.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 +681 -7
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +312 -0
- data/lib/google/apis/securitycenter_v1/service.rb +50 -2
- metadata +4 -4
@@ -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.91.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,6 +292,12 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class DataRetentionDeletionEvent
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class Database
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
@@ -304,6 +310,12 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class Disk
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
307
319
|
class DiskPath
|
308
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
321
|
|
@@ -730,6 +742,12 @@ module Google
|
|
730
742
|
include Google::Apis::Core::JsonObjectSupport
|
731
743
|
end
|
732
744
|
|
745
|
+
class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
733
751
|
class GoogleCloudSecuritycenterV2Database
|
734
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
753
|
|
@@ -742,6 +760,12 @@ module Google
|
|
742
760
|
include Google::Apis::Core::JsonObjectSupport
|
743
761
|
end
|
744
762
|
|
763
|
+
class GoogleCloudSecuritycenterV2Disk
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
745
769
|
class GoogleCloudSecuritycenterV2DiskPath
|
746
770
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
771
|
|
@@ -820,6 +844,96 @@ module Google
|
|
820
844
|
include Google::Apis::Core::JsonObjectSupport
|
821
845
|
end
|
822
846
|
|
847
|
+
class GoogleCloudSecuritycenterV2Issue
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
853
|
+
class GoogleCloudSecuritycenterV2IssueDomain
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
|
+
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
857
|
+
end
|
858
|
+
|
859
|
+
class GoogleCloudSecuritycenterV2IssueFinding
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudSecuritycenterV2IssueFindingCve
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
871
|
+
class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleCloudSecuritycenterV2IssueMute
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
883
|
+
class GoogleCloudSecuritycenterV2IssueResource
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
889
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
895
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
|
+
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
899
|
+
end
|
900
|
+
|
901
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContext
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
925
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
931
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextContext
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
|
+
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
935
|
+
end
|
936
|
+
|
823
937
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
824
938
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
939
|
|
@@ -2064,6 +2178,16 @@ module Google
|
|
2064
2178
|
end
|
2065
2179
|
end
|
2066
2180
|
|
2181
|
+
class DataRetentionDeletionEvent
|
2182
|
+
# @private
|
2183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2184
|
+
property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
|
2185
|
+
property :event_detection_time, as: 'eventDetectionTime'
|
2186
|
+
property :event_type, as: 'eventType'
|
2187
|
+
property :max_retention_allowed, as: 'maxRetentionAllowed'
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2067
2191
|
class Database
|
2068
2192
|
# @private
|
2069
2193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2084,6 +2208,13 @@ module Google
|
|
2084
2208
|
end
|
2085
2209
|
end
|
2086
2210
|
|
2211
|
+
class Disk
|
2212
|
+
# @private
|
2213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2214
|
+
property :name, as: 'name'
|
2215
|
+
end
|
2216
|
+
end
|
2217
|
+
|
2087
2218
|
class DiskPath
|
2088
2219
|
# @private
|
2089
2220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2103,6 +2234,7 @@ module Google
|
|
2103
2234
|
class EffectiveEventThreatDetectionCustomModule
|
2104
2235
|
# @private
|
2105
2236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2237
|
+
property :cloud_provider, as: 'cloudProvider'
|
2106
2238
|
hash :config, as: 'config'
|
2107
2239
|
property :description, as: 'description'
|
2108
2240
|
property :display_name, as: 'displayName'
|
@@ -2130,6 +2262,7 @@ module Google
|
|
2130
2262
|
# @private
|
2131
2263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2132
2264
|
property :ancestor_module, as: 'ancestorModule'
|
2265
|
+
property :cloud_provider, as: 'cloudProvider'
|
2133
2266
|
hash :config, as: 'config'
|
2134
2267
|
property :description, as: 'description'
|
2135
2268
|
property :display_name, as: 'displayName'
|
@@ -2216,9 +2349,13 @@ module Google
|
|
2216
2349
|
|
2217
2350
|
collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::DataFlowEvent::Representation
|
2218
2351
|
|
2352
|
+
collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent::Representation
|
2353
|
+
|
2219
2354
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
|
2220
2355
|
|
2221
2356
|
property :description, as: 'description'
|
2357
|
+
property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1::Disk, decorator: Google::Apis::SecuritycenterV1::Disk::Representation
|
2358
|
+
|
2222
2359
|
property :event_time, as: 'eventTime'
|
2223
2360
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
|
2224
2361
|
|
@@ -2376,6 +2513,7 @@ module Google
|
|
2376
2513
|
class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
|
2377
2514
|
# @private
|
2378
2515
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2516
|
+
property :cloud_provider, as: 'cloudProvider'
|
2379
2517
|
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
2380
2518
|
|
2381
2519
|
property :display_name, as: 'displayName'
|
@@ -2500,6 +2638,7 @@ module Google
|
|
2500
2638
|
# @private
|
2501
2639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2502
2640
|
property :ancestor_module, as: 'ancestorModule'
|
2641
|
+
property :cloud_provider, as: 'cloudProvider'
|
2503
2642
|
property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
|
2504
2643
|
|
2505
2644
|
property :display_name, as: 'displayName'
|
@@ -2937,6 +3076,16 @@ module Google
|
|
2937
3076
|
end
|
2938
3077
|
end
|
2939
3078
|
|
3079
|
+
class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
|
3080
|
+
# @private
|
3081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3082
|
+
property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
|
3083
|
+
property :event_detection_time, as: 'eventDetectionTime'
|
3084
|
+
property :event_type, as: 'eventType'
|
3085
|
+
property :max_retention_allowed, as: 'maxRetentionAllowed'
|
3086
|
+
end
|
3087
|
+
end
|
3088
|
+
|
2940
3089
|
class GoogleCloudSecuritycenterV2Database
|
2941
3090
|
# @private
|
2942
3091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2957,6 +3106,13 @@ module Google
|
|
2957
3106
|
end
|
2958
3107
|
end
|
2959
3108
|
|
3109
|
+
class GoogleCloudSecuritycenterV2Disk
|
3110
|
+
# @private
|
3111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3112
|
+
property :name, as: 'name'
|
3113
|
+
end
|
3114
|
+
end
|
3115
|
+
|
2960
3116
|
class GoogleCloudSecuritycenterV2DiskPath
|
2961
3117
|
# @private
|
2962
3118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3064,9 +3220,13 @@ module Google
|
|
3064
3220
|
|
3065
3221
|
collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent::Representation
|
3066
3222
|
|
3223
|
+
collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent::Representation
|
3224
|
+
|
3067
3225
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
|
3068
3226
|
|
3069
3227
|
property :description, as: 'description'
|
3228
|
+
property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk::Representation
|
3229
|
+
|
3070
3230
|
property :event_time, as: 'eventTime'
|
3071
3231
|
property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Exfiltration, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Exfiltration::Representation
|
3072
3232
|
|
@@ -3166,6 +3326,158 @@ module Google
|
|
3166
3326
|
end
|
3167
3327
|
end
|
3168
3328
|
|
3329
|
+
class GoogleCloudSecuritycenterV2Issue
|
3330
|
+
# @private
|
3331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3332
|
+
property :create_time, as: 'createTime'
|
3333
|
+
property :description, as: 'description'
|
3334
|
+
property :detection, as: 'detection'
|
3335
|
+
collection :domains, as: 'domains', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain::Representation
|
3336
|
+
|
3337
|
+
property :exposure_score, as: 'exposureScore'
|
3338
|
+
property :issue_type, as: 'issueType'
|
3339
|
+
property :last_observation_time, as: 'lastObservationTime'
|
3340
|
+
property :mute, as: 'mute', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute::Representation
|
3341
|
+
|
3342
|
+
property :name, as: 'name'
|
3343
|
+
property :primary_resource, as: 'primaryResource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
|
3344
|
+
|
3345
|
+
collection :related_findings, as: 'relatedFindings', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding::Representation
|
3346
|
+
|
3347
|
+
collection :remediations, as: 'remediations'
|
3348
|
+
collection :secondary_resources, as: 'secondaryResources', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
|
3349
|
+
|
3350
|
+
collection :security_contexts, as: 'securityContexts', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext::Representation
|
3351
|
+
|
3352
|
+
property :severity, as: 'severity'
|
3353
|
+
property :state, as: 'state'
|
3354
|
+
property :update_time, as: 'updateTime'
|
3355
|
+
end
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
class GoogleCloudSecuritycenterV2IssueDomain
|
3359
|
+
# @private
|
3360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3361
|
+
property :domain_category, as: 'domainCategory'
|
3362
|
+
end
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
class GoogleCloudSecuritycenterV2IssueFinding
|
3366
|
+
# @private
|
3367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3368
|
+
property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve::Representation
|
3369
|
+
|
3370
|
+
property :name, as: 'name'
|
3371
|
+
property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin::Representation
|
3372
|
+
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
|
3376
|
+
class GoogleCloudSecuritycenterV2IssueFindingCve
|
3377
|
+
# @private
|
3378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3379
|
+
property :name, as: 'name'
|
3380
|
+
end
|
3381
|
+
end
|
3382
|
+
|
3383
|
+
class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
|
3384
|
+
# @private
|
3385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3386
|
+
property :name, as: 'name'
|
3387
|
+
end
|
3388
|
+
end
|
3389
|
+
|
3390
|
+
class GoogleCloudSecuritycenterV2IssueMute
|
3391
|
+
# @private
|
3392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3393
|
+
property :mute_initiator, as: 'muteInitiator'
|
3394
|
+
property :mute_reason, as: 'muteReason'
|
3395
|
+
property :mute_state, as: 'muteState'
|
3396
|
+
property :mute_update_time, as: 'muteUpdateTime'
|
3397
|
+
end
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
class GoogleCloudSecuritycenterV2IssueResource
|
3401
|
+
# @private
|
3402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3403
|
+
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::Representation
|
3404
|
+
|
3405
|
+
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::Representation
|
3406
|
+
|
3407
|
+
property :cloud_provider, as: 'cloudProvider'
|
3408
|
+
property :display_name, as: 'displayName'
|
3409
|
+
property :google_cloud_metadata, as: 'googleCloudMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata::Representation
|
3410
|
+
|
3411
|
+
property :name, as: 'name'
|
3412
|
+
property :type, as: 'type'
|
3413
|
+
end
|
3414
|
+
end
|
3415
|
+
|
3416
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
|
3417
|
+
# @private
|
3418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3419
|
+
property :account, as: 'account', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount::Representation
|
3420
|
+
|
3421
|
+
end
|
3422
|
+
end
|
3423
|
+
|
3424
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
|
3425
|
+
# @private
|
3426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3427
|
+
property :id, as: 'id'
|
3428
|
+
property :name, as: 'name'
|
3429
|
+
end
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
|
3433
|
+
# @private
|
3434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3435
|
+
property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription::Representation
|
3436
|
+
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
3440
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
|
3441
|
+
# @private
|
3442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3443
|
+
property :display_name, as: 'displayName'
|
3444
|
+
property :id, as: 'id'
|
3445
|
+
end
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
|
3449
|
+
# @private
|
3450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3451
|
+
property :project_id, as: 'projectId'
|
3452
|
+
end
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContext
|
3456
|
+
# @private
|
3457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3458
|
+
property :aggregated_count, as: 'aggregatedCount', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount::Representation
|
3459
|
+
|
3460
|
+
property :context, as: 'context', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext::Representation
|
3461
|
+
|
3462
|
+
end
|
3463
|
+
end
|
3464
|
+
|
3465
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
|
3466
|
+
# @private
|
3467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3468
|
+
property :key, as: 'key'
|
3469
|
+
property :value, as: 'value'
|
3470
|
+
end
|
3471
|
+
end
|
3472
|
+
|
3473
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextContext
|
3474
|
+
# @private
|
3475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3476
|
+
property :type, as: 'type'
|
3477
|
+
collection :values, as: 'values'
|
3478
|
+
end
|
3479
|
+
end
|
3480
|
+
|
3169
3481
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
3170
3482
|
# @private
|
3171
3483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2401,6 +2401,54 @@ module Google
|
|
2401
2401
|
execute_or_queue_command(command, &block)
|
2402
2402
|
end
|
2403
2403
|
|
2404
|
+
# Lists the attack paths for a set of simulation results or valued resources and
|
2405
|
+
# filter.
|
2406
|
+
# @param [String] parent
|
2407
|
+
# Required. Name of parent to list attack paths. Valid formats: `organizations/`
|
2408
|
+
# organization``, `organizations/`organization`/simulations/`simulation`` `
|
2409
|
+
# organizations/`organization`/simulations/`simulation`/attackExposureResults/`
|
2410
|
+
# attack_exposure_result_v2`` `organizations/`organization`/simulations/`
|
2411
|
+
# simulation`/valuedResources/`valued_resource``
|
2412
|
+
# @param [String] filter
|
2413
|
+
# The filter expression that filters the attack path in the response. Supported
|
2414
|
+
# fields: * `valued_resources` supports =
|
2415
|
+
# @param [Fixnum] page_size
|
2416
|
+
# The maximum number of results to return in a single response. Default is 10,
|
2417
|
+
# minimum is 1, maximum is 1000.
|
2418
|
+
# @param [String] page_token
|
2419
|
+
# The value returned by the last `ListAttackPathsResponse`; indicates that this
|
2420
|
+
# is a continuation of a prior `ListAttackPaths` call, and that the system
|
2421
|
+
# should return the next page of data.
|
2422
|
+
# @param [String] fields
|
2423
|
+
# Selector specifying which fields to include in a partial response.
|
2424
|
+
# @param [String] quota_user
|
2425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2427
|
+
# @param [Google::Apis::RequestOptions] options
|
2428
|
+
# Request-specific options
|
2429
|
+
#
|
2430
|
+
# @yield [result, err] Result & error if block supplied
|
2431
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1::ListAttackPathsResponse] parsed result object
|
2432
|
+
# @yieldparam err [StandardError] error object if request failed
|
2433
|
+
#
|
2434
|
+
# @return [Google::Apis::SecuritycenterV1::ListAttackPathsResponse]
|
2435
|
+
#
|
2436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2439
|
+
def list_organization_attack_paths(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2440
|
+
command = make_simple_command(:get, 'v1/{+parent}/attackPaths', options)
|
2441
|
+
command.response_representation = Google::Apis::SecuritycenterV1::ListAttackPathsResponse::Representation
|
2442
|
+
command.response_class = Google::Apis::SecuritycenterV1::ListAttackPathsResponse
|
2443
|
+
command.params['parent'] = parent unless parent.nil?
|
2444
|
+
command.query['filter'] = filter unless filter.nil?
|
2445
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2446
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2447
|
+
command.query['fields'] = fields unless fields.nil?
|
2448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2449
|
+
execute_or_queue_command(command, &block)
|
2450
|
+
end
|
2451
|
+
|
2404
2452
|
# Creates a BigQuery export.
|
2405
2453
|
# @param [String] parent
|
2406
2454
|
# Required. The name of the parent resource of the new BigQuery export. Its
|
@@ -3494,8 +3542,8 @@ module Google
|
|
3494
3542
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
3495
3543
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
3496
3544
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
3497
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
3498
|
-
# corresponding to `Code.CANCELLED`.
|
3545
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
3546
|
+
# , corresponding to `Code.CANCELLED`.
|
3499
3547
|
# @param [String] name
|
3500
3548
|
# The name of the operation resource to be cancelled.
|
3501
3549
|
# @param [String] fields
|
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.91.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: 2024-
|
11
|
+
date: 2024-12-15 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.91.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1
|