google-apis-securitycenter_v1 0.82.0 → 0.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +460 -82
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +188 -0
- data/lib/google/apis/securitycenter_v1/service.rb +529 -520
- 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.84.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240720"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,30 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class AzureManagementGroup
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class AzureMetadata
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class AzureResourceGroup
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class AzureSubscription
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
133
157
|
class BackupDisasterRecovery
|
134
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
159
|
|
@@ -550,6 +574,30 @@ module Google
|
|
550
574
|
include Google::Apis::Core::JsonObjectSupport
|
551
575
|
end
|
552
576
|
|
577
|
+
class GoogleCloudSecuritycenterV2AzureManagementGroup
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class GoogleCloudSecuritycenterV2AzureMetadata
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
589
|
+
class GoogleCloudSecuritycenterV2AzureResourceGroup
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
595
|
+
class GoogleCloudSecuritycenterV2AzureSubscription
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
553
601
|
class GoogleCloudSecuritycenterV2BackupDisasterRecovery
|
554
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
603
|
|
@@ -706,6 +754,12 @@ module Google
|
|
706
754
|
include Google::Apis::Core::JsonObjectSupport
|
707
755
|
end
|
708
756
|
|
757
|
+
class GoogleCloudSecuritycenterV2GroupMembership
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
709
763
|
class GoogleCloudSecuritycenterV2IamBinding
|
710
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
765
|
|
@@ -922,6 +976,12 @@ module Google
|
|
922
976
|
include Google::Apis::Core::JsonObjectSupport
|
923
977
|
end
|
924
978
|
|
979
|
+
class GoogleCloudSecuritycenterV2ToxicCombination
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
925
985
|
class GoogleCloudSecuritycenterV2Vulnerability
|
926
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
987
|
|
@@ -958,6 +1018,12 @@ module Google
|
|
958
1018
|
include Google::Apis::Core::JsonObjectSupport
|
959
1019
|
end
|
960
1020
|
|
1021
|
+
class GroupMembership
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1023
|
+
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
1025
|
+
end
|
1026
|
+
|
961
1027
|
class GroupResult
|
962
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
1029
|
|
@@ -1402,6 +1468,12 @@ module Google
|
|
1402
1468
|
include Google::Apis::Core::JsonObjectSupport
|
1403
1469
|
end
|
1404
1470
|
|
1471
|
+
class ToxicCombination
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
|
+
|
1474
|
+
include Google::Apis::Core::JsonObjectSupport
|
1475
|
+
end
|
1476
|
+
|
1405
1477
|
class ValidateEventThreatDetectionCustomModuleRequest
|
1406
1478
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
1479
|
|
@@ -1635,6 +1707,41 @@ module Google
|
|
1635
1707
|
end
|
1636
1708
|
end
|
1637
1709
|
|
1710
|
+
class AzureManagementGroup
|
1711
|
+
# @private
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1713
|
+
property :display_name, as: 'displayName'
|
1714
|
+
property :id, as: 'id'
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
class AzureMetadata
|
1719
|
+
# @private
|
1720
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1721
|
+
collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1::AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1::AzureManagementGroup::Representation
|
1722
|
+
|
1723
|
+
property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1::AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1::AzureResourceGroup::Representation
|
1724
|
+
|
1725
|
+
property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::AzureSubscription, decorator: Google::Apis::SecuritycenterV1::AzureSubscription::Representation
|
1726
|
+
|
1727
|
+
end
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
class AzureResourceGroup
|
1731
|
+
# @private
|
1732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1733
|
+
property :name, as: 'name'
|
1734
|
+
end
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
class AzureSubscription
|
1738
|
+
# @private
|
1739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1740
|
+
property :display_name, as: 'displayName'
|
1741
|
+
property :id, as: 'id'
|
1742
|
+
end
|
1743
|
+
end
|
1744
|
+
|
1638
1745
|
class BackupDisasterRecovery
|
1639
1746
|
# @private
|
1640
1747
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2002,6 +2109,8 @@ module Google
|
|
2002
2109
|
collection :files, as: 'files', class: Google::Apis::SecuritycenterV1::File, decorator: Google::Apis::SecuritycenterV1::File::Representation
|
2003
2110
|
|
2004
2111
|
property :finding_class, as: 'findingClass'
|
2112
|
+
collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1::GroupMembership, decorator: Google::Apis::SecuritycenterV1::GroupMembership::Representation
|
2113
|
+
|
2005
2114
|
collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::IamBinding, decorator: Google::Apis::SecuritycenterV1::IamBinding::Representation
|
2006
2115
|
|
2007
2116
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
@@ -2038,6 +2147,8 @@ module Google
|
|
2038
2147
|
property :severity, as: 'severity'
|
2039
2148
|
hash :source_properties, as: 'sourceProperties'
|
2040
2149
|
property :state, as: 'state'
|
2150
|
+
property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1::ToxicCombination, decorator: Google::Apis::SecuritycenterV1::ToxicCombination::Representation
|
2151
|
+
|
2041
2152
|
property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1::Vulnerability, decorator: Google::Apis::SecuritycenterV1::Vulnerability::Representation
|
2042
2153
|
|
2043
2154
|
end
|
@@ -2208,6 +2319,8 @@ module Google
|
|
2208
2319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2209
2320
|
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::AwsMetadata, decorator: Google::Apis::SecuritycenterV1::AwsMetadata::Representation
|
2210
2321
|
|
2322
|
+
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::AzureMetadata, decorator: Google::Apis::SecuritycenterV1::AzureMetadata::Representation
|
2323
|
+
|
2211
2324
|
property :cloud_provider, as: 'cloudProvider'
|
2212
2325
|
property :display_name, as: 'displayName'
|
2213
2326
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
@@ -2462,6 +2575,41 @@ module Google
|
|
2462
2575
|
end
|
2463
2576
|
end
|
2464
2577
|
|
2578
|
+
class GoogleCloudSecuritycenterV2AzureManagementGroup
|
2579
|
+
# @private
|
2580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2581
|
+
property :display_name, as: 'displayName'
|
2582
|
+
property :id, as: 'id'
|
2583
|
+
end
|
2584
|
+
end
|
2585
|
+
|
2586
|
+
class GoogleCloudSecuritycenterV2AzureMetadata
|
2587
|
+
# @private
|
2588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2589
|
+
collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureManagementGroup::Representation
|
2590
|
+
|
2591
|
+
property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureResourceGroup::Representation
|
2592
|
+
|
2593
|
+
property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription::Representation
|
2594
|
+
|
2595
|
+
end
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
class GoogleCloudSecuritycenterV2AzureResourceGroup
|
2599
|
+
# @private
|
2600
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2601
|
+
property :name, as: 'name'
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
|
2605
|
+
class GoogleCloudSecuritycenterV2AzureSubscription
|
2606
|
+
# @private
|
2607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2608
|
+
property :display_name, as: 'displayName'
|
2609
|
+
property :id, as: 'id'
|
2610
|
+
end
|
2611
|
+
end
|
2612
|
+
|
2465
2613
|
class GoogleCloudSecuritycenterV2BackupDisasterRecovery
|
2466
2614
|
# @private
|
2467
2615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2759,6 +2907,8 @@ module Google
|
|
2759
2907
|
collection :files, as: 'files', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2File::Representation
|
2760
2908
|
|
2761
2909
|
property :finding_class, as: 'findingClass'
|
2910
|
+
collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2GroupMembership, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2GroupMembership::Representation
|
2911
|
+
|
2762
2912
|
collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IamBinding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IamBinding::Representation
|
2763
2913
|
|
2764
2914
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator::Representation
|
@@ -2795,6 +2945,8 @@ module Google
|
|
2795
2945
|
property :severity, as: 'severity'
|
2796
2946
|
hash :source_properties, as: 'sourceProperties'
|
2797
2947
|
property :state, as: 'state'
|
2948
|
+
property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination::Representation
|
2949
|
+
|
2798
2950
|
property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability::Representation
|
2799
2951
|
|
2800
2952
|
end
|
@@ -2815,6 +2967,14 @@ module Google
|
|
2815
2967
|
end
|
2816
2968
|
end
|
2817
2969
|
|
2970
|
+
class GoogleCloudSecuritycenterV2GroupMembership
|
2971
|
+
# @private
|
2972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2973
|
+
property :group_id, as: 'groupId'
|
2974
|
+
property :group_type, as: 'groupType'
|
2975
|
+
end
|
2976
|
+
end
|
2977
|
+
|
2818
2978
|
class GoogleCloudSecuritycenterV2IamBinding
|
2819
2979
|
# @private
|
2820
2980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3067,6 +3227,8 @@ module Google
|
|
3067
3227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3068
3228
|
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AwsMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AwsMetadata::Representation
|
3069
3229
|
|
3230
|
+
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata::Representation
|
3231
|
+
|
3070
3232
|
property :cloud_provider, as: 'cloudProvider'
|
3071
3233
|
property :display_name, as: 'displayName'
|
3072
3234
|
property :gcp_metadata, as: 'gcpMetadata', class: Google::Apis::SecuritycenterV1::GcpMetadata, decorator: Google::Apis::SecuritycenterV1::GcpMetadata::Representation
|
@@ -3204,6 +3366,14 @@ module Google
|
|
3204
3366
|
end
|
3205
3367
|
end
|
3206
3368
|
|
3369
|
+
class GoogleCloudSecuritycenterV2ToxicCombination
|
3370
|
+
# @private
|
3371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3372
|
+
property :attack_exposure_score, as: 'attackExposureScore'
|
3373
|
+
collection :related_findings, as: 'relatedFindings'
|
3374
|
+
end
|
3375
|
+
end
|
3376
|
+
|
3207
3377
|
class GoogleCloudSecuritycenterV2Vulnerability
|
3208
3378
|
# @private
|
3209
3379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3271,6 +3441,14 @@ module Google
|
|
3271
3441
|
end
|
3272
3442
|
end
|
3273
3443
|
|
3444
|
+
class GroupMembership
|
3445
|
+
# @private
|
3446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3447
|
+
property :group_id, as: 'groupId'
|
3448
|
+
property :group_type, as: 'groupType'
|
3449
|
+
end
|
3450
|
+
end
|
3451
|
+
|
3274
3452
|
class GroupResult
|
3275
3453
|
# @private
|
3276
3454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3746,6 +3924,8 @@ module Google
|
|
3746
3924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3747
3925
|
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::AwsMetadata, decorator: Google::Apis::SecuritycenterV1::AwsMetadata::Representation
|
3748
3926
|
|
3927
|
+
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::AzureMetadata, decorator: Google::Apis::SecuritycenterV1::AzureMetadata::Representation
|
3928
|
+
|
3749
3929
|
property :cloud_provider, as: 'cloudProvider'
|
3750
3930
|
property :display_name, as: 'displayName'
|
3751
3931
|
collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1::Folder, decorator: Google::Apis::SecuritycenterV1::Folder::Representation
|
@@ -4006,6 +4186,14 @@ module Google
|
|
4006
4186
|
end
|
4007
4187
|
end
|
4008
4188
|
|
4189
|
+
class ToxicCombination
|
4190
|
+
# @private
|
4191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4192
|
+
property :attack_exposure_score, as: 'attackExposureScore'
|
4193
|
+
collection :related_findings, as: 'relatedFindings'
|
4194
|
+
end
|
4195
|
+
end
|
4196
|
+
|
4009
4197
|
class ValidateEventThreatDetectionCustomModuleRequest
|
4010
4198
|
# @private
|
4011
4199
|
class Representation < Google::Apis::Core::JsonRepresentation
|