google-apis-securitycenter_v1beta1 0.77.0 → 0.78.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: ae8435f7654f6704ed1db9b4aab977274fe78aaa818ccc3162c152bb6ec74b76
4
- data.tar.gz: fef15e0cd412f2ce54683beca7a70efe91839a53f492eaec78fe857986d76cf1
3
+ metadata.gz: d40c251e635dca3c7670c16a837fae51cda34e9d46c42b8fd88b6b7663a33312
4
+ data.tar.gz: 91b3f18fd3096e9c0dfaace7e3bc958e28a7165a46510e4af144bf25f9e3e46b
5
5
  SHA512:
6
- metadata.gz: ffc30566cb74a735bd862e9127c626b620b087ea95da8298172254c56c0ea8948d7fe4e77b5831d91979be0f3647d419b2dde930761317887435b562ff0dc852
7
- data.tar.gz: 7f671639a589e69b318b2746ace08a5f4abbb962be1fac63b19c19cd129adb1af1c38c6799131c42f1a97f7b618ae6a5a1a358baab5b68f7439d77abfb801ba5
6
+ metadata.gz: efd92d212995738478d6f6254b26f9bb64db228c49ac1b959b4b3de00e515ac4c5a3f5647ffefb8e997b238fb1aaafaa983f119b42bb58054e0c6b79872880ab
7
+ data.tar.gz: 9779eca5719a610a9b2d3191567aeb7958f5e7e97ac8b3c98904b30cc1812d39723e80f64513afbfc68c9176112dd796516885f21be69bbefacc1020ed155819
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.78.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240620
6
+
3
7
  ### v0.77.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240520
@@ -603,6 +603,110 @@ module Google
603
603
  end
604
604
  end
605
605
 
606
+ # Represents an Azure management group.
607
+ class AzureManagementGroup
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # The display name of the Azure management group.
611
+ # Corresponds to the JSON property `displayName`
612
+ # @return [String]
613
+ attr_accessor :display_name
614
+
615
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
616
+ # 000000000000".
617
+ # Corresponds to the JSON property `id`
618
+ # @return [String]
619
+ attr_accessor :id
620
+
621
+ def initialize(**args)
622
+ update!(**args)
623
+ end
624
+
625
+ # Update properties of this object
626
+ def update!(**args)
627
+ @display_name = args[:display_name] if args.key?(:display_name)
628
+ @id = args[:id] if args.key?(:id)
629
+ end
630
+ end
631
+
632
+ # Azure metadata associated with the resource, only applicable if the finding's
633
+ # cloud provider is Microsoft Azure.
634
+ class AzureMetadata
635
+ include Google::Apis::Core::Hashable
636
+
637
+ # A list of Azure management groups associated with the resource, ordered from
638
+ # lowest level (closest to the subscription) to highest level.
639
+ # Corresponds to the JSON property `managementGroups`
640
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::AzureManagementGroup>]
641
+ attr_accessor :management_groups
642
+
643
+ # Represents an Azure resource group.
644
+ # Corresponds to the JSON property `resourceGroup`
645
+ # @return [Google::Apis::SecuritycenterV1beta1::AzureResourceGroup]
646
+ attr_accessor :resource_group
647
+
648
+ # Represents an Azure subscription.
649
+ # Corresponds to the JSON property `subscription`
650
+ # @return [Google::Apis::SecuritycenterV1beta1::AzureSubscription]
651
+ attr_accessor :subscription
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
660
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
661
+ @subscription = args[:subscription] if args.key?(:subscription)
662
+ end
663
+ end
664
+
665
+ # Represents an Azure resource group.
666
+ class AzureResourceGroup
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # The name of the Azure resource group. This is not a UUID.
670
+ # Corresponds to the JSON property `name`
671
+ # @return [String]
672
+ attr_accessor :name
673
+
674
+ def initialize(**args)
675
+ update!(**args)
676
+ end
677
+
678
+ # Update properties of this object
679
+ def update!(**args)
680
+ @name = args[:name] if args.key?(:name)
681
+ end
682
+ end
683
+
684
+ # Represents an Azure subscription.
685
+ class AzureSubscription
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # The display name of the Azure subscription.
689
+ # Corresponds to the JSON property `displayName`
690
+ # @return [String]
691
+ attr_accessor :display_name
692
+
693
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
694
+ # 3bdcb2a50a05".
695
+ # Corresponds to the JSON property `id`
696
+ # @return [String]
697
+ attr_accessor :id
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ @display_name = args[:display_name] if args.key?(:display_name)
706
+ @id = args[:id] if args.key?(:id)
707
+ end
708
+ end
709
+
606
710
  # Information related to Google Cloud Backup and DR Service findings.
607
711
  class BackupDisasterRecovery
608
712
  include Google::Apis::Core::Hashable
@@ -1830,6 +1934,13 @@ module Google
1830
1934
  # @return [String]
1831
1935
  attr_accessor :finding_class
1832
1936
 
1937
+ # Contains details about groups of which this finding is a member. A group is a
1938
+ # collection of findings that are related in some way. This field cannot be
1939
+ # updated. Its value is ignored in all update requests.
1940
+ # Corresponds to the JSON property `groupMemberships`
1941
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GroupMembership>]
1942
+ attr_accessor :group_memberships
1943
+
1833
1944
  # Represents IAM bindings associated with the finding.
1834
1945
  # Corresponds to the JSON property `iamBindings`
1835
1946
  # @return [Array<Google::Apis::SecuritycenterV1beta1::IamBinding>]
@@ -1984,6 +2095,13 @@ module Google
1984
2095
  # @return [String]
1985
2096
  attr_accessor :state
1986
2097
 
2098
+ # Contains details about a group of security issues that, when the issues occur
2099
+ # together, represent a greater risk than when the issues occur independently. A
2100
+ # group of such issues is referred to as a toxic combination.
2101
+ # Corresponds to the JSON property `toxicCombination`
2102
+ # @return [Google::Apis::SecuritycenterV1beta1::ToxicCombination]
2103
+ attr_accessor :toxic_combination
2104
+
1987
2105
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
1988
2106
  # Corresponds to the JSON property `vulnerability`
1989
2107
  # @return [Google::Apis::SecuritycenterV1beta1::Vulnerability]
@@ -2017,6 +2135,7 @@ module Google
2017
2135
  @external_uri = args[:external_uri] if args.key?(:external_uri)
2018
2136
  @files = args[:files] if args.key?(:files)
2019
2137
  @finding_class = args[:finding_class] if args.key?(:finding_class)
2138
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
2020
2139
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
2021
2140
  @indicator = args[:indicator] if args.key?(:indicator)
2022
2141
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -2041,6 +2160,7 @@ module Google
2041
2160
  @severity = args[:severity] if args.key?(:severity)
2042
2161
  @source_properties = args[:source_properties] if args.key?(:source_properties)
2043
2162
  @state = args[:state] if args.key?(:state)
2163
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
2044
2164
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2045
2165
  end
2046
2166
  end
@@ -2717,6 +2837,12 @@ module Google
2717
2837
  # @return [Google::Apis::SecuritycenterV1beta1::AwsMetadata]
2718
2838
  attr_accessor :aws_metadata
2719
2839
 
2840
+ # Azure metadata associated with the resource, only applicable if the finding's
2841
+ # cloud provider is Microsoft Azure.
2842
+ # Corresponds to the JSON property `azureMetadata`
2843
+ # @return [Google::Apis::SecuritycenterV1beta1::AzureMetadata]
2844
+ attr_accessor :azure_metadata
2845
+
2720
2846
  # Indicates which cloud provider the resource resides in.
2721
2847
  # Corresponds to the JSON property `cloudProvider`
2722
2848
  # @return [String]
@@ -2807,6 +2933,7 @@ module Google
2807
2933
  # Update properties of this object
2808
2934
  def update!(**args)
2809
2935
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
2936
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
2810
2937
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2811
2938
  @display_name = args[:display_name] if args.key?(:display_name)
2812
2939
  @folders = args[:folders] if args.key?(:folders)
@@ -3944,6 +4071,110 @@ module Google
3944
4071
  end
3945
4072
  end
3946
4073
 
4074
+ # Represents an Azure management group.
4075
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
4076
+ include Google::Apis::Core::Hashable
4077
+
4078
+ # The display name of the Azure management group.
4079
+ # Corresponds to the JSON property `displayName`
4080
+ # @return [String]
4081
+ attr_accessor :display_name
4082
+
4083
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
4084
+ # 000000000000".
4085
+ # Corresponds to the JSON property `id`
4086
+ # @return [String]
4087
+ attr_accessor :id
4088
+
4089
+ def initialize(**args)
4090
+ update!(**args)
4091
+ end
4092
+
4093
+ # Update properties of this object
4094
+ def update!(**args)
4095
+ @display_name = args[:display_name] if args.key?(:display_name)
4096
+ @id = args[:id] if args.key?(:id)
4097
+ end
4098
+ end
4099
+
4100
+ # Azure metadata associated with the resource, only applicable if the finding's
4101
+ # cloud provider is Microsoft Azure.
4102
+ class GoogleCloudSecuritycenterV2AzureMetadata
4103
+ include Google::Apis::Core::Hashable
4104
+
4105
+ # A list of Azure management groups associated with the resource, ordered from
4106
+ # lowest level (closest to the subscription) to highest level.
4107
+ # Corresponds to the JSON property `managementGroups`
4108
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureManagementGroup>]
4109
+ attr_accessor :management_groups
4110
+
4111
+ # Represents an Azure resource group.
4112
+ # Corresponds to the JSON property `resourceGroup`
4113
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureResourceGroup]
4114
+ attr_accessor :resource_group
4115
+
4116
+ # Represents an Azure subscription.
4117
+ # Corresponds to the JSON property `subscription`
4118
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureSubscription]
4119
+ attr_accessor :subscription
4120
+
4121
+ def initialize(**args)
4122
+ update!(**args)
4123
+ end
4124
+
4125
+ # Update properties of this object
4126
+ def update!(**args)
4127
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
4128
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
4129
+ @subscription = args[:subscription] if args.key?(:subscription)
4130
+ end
4131
+ end
4132
+
4133
+ # Represents an Azure resource group.
4134
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
4135
+ include Google::Apis::Core::Hashable
4136
+
4137
+ # The name of the Azure resource group. This is not a UUID.
4138
+ # Corresponds to the JSON property `name`
4139
+ # @return [String]
4140
+ attr_accessor :name
4141
+
4142
+ def initialize(**args)
4143
+ update!(**args)
4144
+ end
4145
+
4146
+ # Update properties of this object
4147
+ def update!(**args)
4148
+ @name = args[:name] if args.key?(:name)
4149
+ end
4150
+ end
4151
+
4152
+ # Represents an Azure subscription.
4153
+ class GoogleCloudSecuritycenterV2AzureSubscription
4154
+ include Google::Apis::Core::Hashable
4155
+
4156
+ # The display name of the Azure subscription.
4157
+ # Corresponds to the JSON property `displayName`
4158
+ # @return [String]
4159
+ attr_accessor :display_name
4160
+
4161
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
4162
+ # 3bdcb2a50a05".
4163
+ # Corresponds to the JSON property `id`
4164
+ # @return [String]
4165
+ attr_accessor :id
4166
+
4167
+ def initialize(**args)
4168
+ update!(**args)
4169
+ end
4170
+
4171
+ # Update properties of this object
4172
+ def update!(**args)
4173
+ @display_name = args[:display_name] if args.key?(:display_name)
4174
+ @id = args[:id] if args.key?(:id)
4175
+ end
4176
+ end
4177
+
3947
4178
  # Information related to Google Cloud Backup and DR Service findings.
3948
4179
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
3949
4180
  include Google::Apis::Core::Hashable
@@ -5155,6 +5386,13 @@ module Google
5155
5386
  # @return [String]
5156
5387
  attr_accessor :finding_class
5157
5388
 
5389
+ # Contains details about groups of which this finding is a member. A group is a
5390
+ # collection of findings that are related in some way. This field cannot be
5391
+ # updated. Its value is ignored in all update requests.
5392
+ # Corresponds to the JSON property `groupMemberships`
5393
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2GroupMembership>]
5394
+ attr_accessor :group_memberships
5395
+
5158
5396
  # Represents IAM bindings associated with the finding.
5159
5397
  # Corresponds to the JSON property `iamBindings`
5160
5398
  # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IamBinding>]
@@ -5318,6 +5556,13 @@ module Google
5318
5556
  # @return [String]
5319
5557
  attr_accessor :state
5320
5558
 
5559
+ # Contains details about a group of security issues that, when the issues occur
5560
+ # together, represent a greater risk than when the issues occur independently. A
5561
+ # group of such issues is referred to as a toxic combination.
5562
+ # Corresponds to the JSON property `toxicCombination`
5563
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ToxicCombination]
5564
+ attr_accessor :toxic_combination
5565
+
5321
5566
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
5322
5567
  # Corresponds to the JSON property `vulnerability`
5323
5568
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Vulnerability]
@@ -5351,6 +5596,7 @@ module Google
5351
5596
  @external_uri = args[:external_uri] if args.key?(:external_uri)
5352
5597
  @files = args[:files] if args.key?(:files)
5353
5598
  @finding_class = args[:finding_class] if args.key?(:finding_class)
5599
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
5354
5600
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
5355
5601
  @indicator = args[:indicator] if args.key?(:indicator)
5356
5602
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -5375,6 +5621,7 @@ module Google
5375
5621
  @severity = args[:severity] if args.key?(:severity)
5376
5622
  @source_properties = args[:source_properties] if args.key?(:source_properties)
5377
5623
  @state = args[:state] if args.key?(:state)
5624
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
5378
5625
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
5379
5626
  end
5380
5627
  end
@@ -5424,6 +5671,32 @@ module Google
5424
5671
  end
5425
5672
  end
5426
5673
 
5674
+ # Contains details about groups of which this finding is a member. A group is a
5675
+ # collection of findings that are related in some way.
5676
+ class GoogleCloudSecuritycenterV2GroupMembership
5677
+ include Google::Apis::Core::Hashable
5678
+
5679
+ # ID of the group.
5680
+ # Corresponds to the JSON property `groupId`
5681
+ # @return [String]
5682
+ attr_accessor :group_id
5683
+
5684
+ # Type of group.
5685
+ # Corresponds to the JSON property `groupType`
5686
+ # @return [String]
5687
+ attr_accessor :group_type
5688
+
5689
+ def initialize(**args)
5690
+ update!(**args)
5691
+ end
5692
+
5693
+ # Update properties of this object
5694
+ def update!(**args)
5695
+ @group_id = args[:group_id] if args.key?(:group_id)
5696
+ @group_type = args[:group_type] if args.key?(:group_type)
5697
+ end
5698
+ end
5699
+
5427
5700
  # Represents a particular IAM binding, which captures a member's role addition,
5428
5701
  # removal, or state.
5429
5702
  class GoogleCloudSecuritycenterV2IamBinding
@@ -6345,6 +6618,12 @@ module Google
6345
6618
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata]
6346
6619
  attr_accessor :aws_metadata
6347
6620
 
6621
+ # Azure metadata associated with the resource, only applicable if the finding's
6622
+ # cloud provider is Microsoft Azure.
6623
+ # Corresponds to the JSON property `azureMetadata`
6624
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureMetadata]
6625
+ attr_accessor :azure_metadata
6626
+
6348
6627
  # Indicates which cloud provider the finding is from.
6349
6628
  # Corresponds to the JSON property `cloudProvider`
6350
6629
  # @return [String]
@@ -6407,6 +6686,7 @@ module Google
6407
6686
  # Update properties of this object
6408
6687
  def update!(**args)
6409
6688
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
6689
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
6410
6690
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
6411
6691
  @display_name = args[:display_name] if args.key?(:display_name)
6412
6692
  @gcp_metadata = args[:gcp_metadata] if args.key?(:gcp_metadata)
@@ -6926,6 +7206,37 @@ module Google
6926
7206
  end
6927
7207
  end
6928
7208
 
7209
+ # Contains details about a group of security issues that, when the issues occur
7210
+ # together, represent a greater risk than when the issues occur independently. A
7211
+ # group of such issues is referred to as a toxic combination.
7212
+ class GoogleCloudSecuritycenterV2ToxicCombination
7213
+ include Google::Apis::Core::Hashable
7214
+
7215
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
7216
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
7217
+ # The score is a measure of how much this toxic combination exposes one or more
7218
+ # high-value resources to potential attack.
7219
+ # Corresponds to the JSON property `attackExposureScore`
7220
+ # @return [Float]
7221
+ attr_accessor :attack_exposure_score
7222
+
7223
+ # List of resource names of findings associated with this toxic combination. For
7224
+ # example, organizations/123/sources/456/findings/789.
7225
+ # Corresponds to the JSON property `relatedFindings`
7226
+ # @return [Array<String>]
7227
+ attr_accessor :related_findings
7228
+
7229
+ def initialize(**args)
7230
+ update!(**args)
7231
+ end
7232
+
7233
+ # Update properties of this object
7234
+ def update!(**args)
7235
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
7236
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
7237
+ end
7238
+ end
7239
+
6929
7240
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
6930
7241
  class GoogleCloudSecuritycenterV2Vulnerability
6931
7242
  include Google::Apis::Core::Hashable
@@ -7198,6 +7509,32 @@ module Google
7198
7509
  end
7199
7510
  end
7200
7511
 
7512
+ # Contains details about groups of which this finding is a member. A group is a
7513
+ # collection of findings that are related in some way.
7514
+ class GroupMembership
7515
+ include Google::Apis::Core::Hashable
7516
+
7517
+ # ID of the group.
7518
+ # Corresponds to the JSON property `groupId`
7519
+ # @return [String]
7520
+ attr_accessor :group_id
7521
+
7522
+ # Type of group.
7523
+ # Corresponds to the JSON property `groupType`
7524
+ # @return [String]
7525
+ attr_accessor :group_type
7526
+
7527
+ def initialize(**args)
7528
+ update!(**args)
7529
+ end
7530
+
7531
+ # Update properties of this object
7532
+ def update!(**args)
7533
+ @group_id = args[:group_id] if args.key?(:group_id)
7534
+ @group_type = args[:group_type] if args.key?(:group_type)
7535
+ end
7536
+ end
7537
+
7201
7538
  # Result containing the properties and count of a groupBy request.
7202
7539
  class GroupResult
7203
7540
  include Google::Apis::Core::Hashable
@@ -9013,6 +9350,37 @@ module Google
9013
9350
  end
9014
9351
  end
9015
9352
 
9353
+ # Contains details about a group of security issues that, when the issues occur
9354
+ # together, represent a greater risk than when the issues occur independently. A
9355
+ # group of such issues is referred to as a toxic combination.
9356
+ class ToxicCombination
9357
+ include Google::Apis::Core::Hashable
9358
+
9359
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
9360
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
9361
+ # The score is a measure of how much this toxic combination exposes one or more
9362
+ # high-value resources to potential attack.
9363
+ # Corresponds to the JSON property `attackExposureScore`
9364
+ # @return [Float]
9365
+ attr_accessor :attack_exposure_score
9366
+
9367
+ # List of resource names of findings associated with this toxic combination. For
9368
+ # example, organizations/123/sources/456/findings/789.
9369
+ # Corresponds to the JSON property `relatedFindings`
9370
+ # @return [Array<String>]
9371
+ attr_accessor :related_findings
9372
+
9373
+ def initialize(**args)
9374
+ update!(**args)
9375
+ end
9376
+
9377
+ # Update properties of this object
9378
+ def update!(**args)
9379
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
9380
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
9381
+ end
9382
+ end
9383
+
9016
9384
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
9017
9385
  class Vulnerability
9018
9386
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.77.0"
19
+ GEM_VERSION = "0.78.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 = "20240520"
25
+ REVISION = "20240620"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,30 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class AzureManagementGroup
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class AzureMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class AzureResourceGroup
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class AzureSubscription
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class BackupDisasterRecovery
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -496,6 +520,30 @@ module Google
496
520
  include Google::Apis::Core::JsonObjectSupport
497
521
  end
498
522
 
523
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class GoogleCloudSecuritycenterV2AzureMetadata
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class GoogleCloudSecuritycenterV2AzureSubscription
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
499
547
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
500
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
549
 
@@ -652,6 +700,12 @@ module Google
652
700
  include Google::Apis::Core::JsonObjectSupport
653
701
  end
654
702
 
703
+ class GoogleCloudSecuritycenterV2GroupMembership
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
655
709
  class GoogleCloudSecuritycenterV2IamBinding
656
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
711
 
@@ -868,6 +922,12 @@ module Google
868
922
  include Google::Apis::Core::JsonObjectSupport
869
923
  end
870
924
 
925
+ class GoogleCloudSecuritycenterV2ToxicCombination
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
871
931
  class GoogleCloudSecuritycenterV2Vulnerability
872
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
933
 
@@ -904,6 +964,12 @@ module Google
904
964
  include Google::Apis::Core::JsonObjectSupport
905
965
  end
906
966
 
967
+ class GroupMembership
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
907
973
  class GroupResult
908
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
975
 
@@ -1192,6 +1258,12 @@ module Google
1192
1258
  include Google::Apis::Core::JsonObjectSupport
1193
1259
  end
1194
1260
 
1261
+ class ToxicCombination
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1195
1267
  class Vulnerability
1196
1268
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1269
 
@@ -1359,6 +1431,41 @@ module Google
1359
1431
  end
1360
1432
  end
1361
1433
 
1434
+ class AzureManagementGroup
1435
+ # @private
1436
+ class Representation < Google::Apis::Core::JsonRepresentation
1437
+ property :display_name, as: 'displayName'
1438
+ property :id, as: 'id'
1439
+ end
1440
+ end
1441
+
1442
+ class AzureMetadata
1443
+ # @private
1444
+ class Representation < Google::Apis::Core::JsonRepresentation
1445
+ collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta1::AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta1::AzureManagementGroup::Representation
1446
+
1447
+ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta1::AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta1::AzureResourceGroup::Representation
1448
+
1449
+ property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta1::AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta1::AzureSubscription::Representation
1450
+
1451
+ end
1452
+ end
1453
+
1454
+ class AzureResourceGroup
1455
+ # @private
1456
+ class Representation < Google::Apis::Core::JsonRepresentation
1457
+ property :name, as: 'name'
1458
+ end
1459
+ end
1460
+
1461
+ class AzureSubscription
1462
+ # @private
1463
+ class Representation < Google::Apis::Core::JsonRepresentation
1464
+ property :display_name, as: 'displayName'
1465
+ property :id, as: 'id'
1466
+ end
1467
+ end
1468
+
1362
1469
  class BackupDisasterRecovery
1363
1470
  # @private
1364
1471
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1652,6 +1759,8 @@ module Google
1652
1759
  collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta1::File, decorator: Google::Apis::SecuritycenterV1beta1::File::Representation
1653
1760
 
1654
1761
  property :finding_class, as: 'findingClass'
1762
+ collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta1::GroupMembership, decorator: Google::Apis::SecuritycenterV1beta1::GroupMembership::Representation
1763
+
1655
1764
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta1::IamBinding, decorator: Google::Apis::SecuritycenterV1beta1::IamBinding::Representation
1656
1765
 
1657
1766
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
@@ -1688,6 +1797,8 @@ module Google
1688
1797
  property :severity, as: 'severity'
1689
1798
  hash :source_properties, as: 'sourceProperties'
1690
1799
  property :state, as: 'state'
1800
+ property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta1::ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta1::ToxicCombination::Representation
1801
+
1691
1802
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta1::Vulnerability, decorator: Google::Apis::SecuritycenterV1beta1::Vulnerability::Representation
1692
1803
 
1693
1804
  end
@@ -1858,6 +1969,8 @@ module Google
1858
1969
  class Representation < Google::Apis::Core::JsonRepresentation
1859
1970
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta1::AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta1::AwsMetadata::Representation
1860
1971
 
1972
+ property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta1::AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta1::AzureMetadata::Representation
1973
+
1861
1974
  property :cloud_provider, as: 'cloudProvider'
1862
1975
  property :display_name, as: 'displayName'
1863
1976
  collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta1::Folder, decorator: Google::Apis::SecuritycenterV1beta1::Folder::Representation
@@ -2137,6 +2250,41 @@ module Google
2137
2250
  end
2138
2251
  end
2139
2252
 
2253
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
2254
+ # @private
2255
+ class Representation < Google::Apis::Core::JsonRepresentation
2256
+ property :display_name, as: 'displayName'
2257
+ property :id, as: 'id'
2258
+ end
2259
+ end
2260
+
2261
+ class GoogleCloudSecuritycenterV2AzureMetadata
2262
+ # @private
2263
+ class Representation < Google::Apis::Core::JsonRepresentation
2264
+ collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureManagementGroup::Representation
2265
+
2266
+ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureResourceGroup::Representation
2267
+
2268
+ property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureSubscription::Representation
2269
+
2270
+ end
2271
+ end
2272
+
2273
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
2274
+ # @private
2275
+ class Representation < Google::Apis::Core::JsonRepresentation
2276
+ property :name, as: 'name'
2277
+ end
2278
+ end
2279
+
2280
+ class GoogleCloudSecuritycenterV2AzureSubscription
2281
+ # @private
2282
+ class Representation < Google::Apis::Core::JsonRepresentation
2283
+ property :display_name, as: 'displayName'
2284
+ property :id, as: 'id'
2285
+ end
2286
+ end
2287
+
2140
2288
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
2141
2289
  # @private
2142
2290
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2434,6 +2582,8 @@ module Google
2434
2582
  collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2File::Representation
2435
2583
 
2436
2584
  property :finding_class, as: 'findingClass'
2585
+ collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2GroupMembership, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2GroupMembership::Representation
2586
+
2437
2587
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IamBinding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IamBinding::Representation
2438
2588
 
2439
2589
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator::Representation
@@ -2470,6 +2620,8 @@ module Google
2470
2620
  property :severity, as: 'severity'
2471
2621
  hash :source_properties, as: 'sourceProperties'
2472
2622
  property :state, as: 'state'
2623
+ property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ToxicCombination::Representation
2624
+
2473
2625
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Vulnerability::Representation
2474
2626
 
2475
2627
  end
@@ -2490,6 +2642,14 @@ module Google
2490
2642
  end
2491
2643
  end
2492
2644
 
2645
+ class GoogleCloudSecuritycenterV2GroupMembership
2646
+ # @private
2647
+ class Representation < Google::Apis::Core::JsonRepresentation
2648
+ property :group_id, as: 'groupId'
2649
+ property :group_type, as: 'groupType'
2650
+ end
2651
+ end
2652
+
2493
2653
  class GoogleCloudSecuritycenterV2IamBinding
2494
2654
  # @private
2495
2655
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2742,6 +2902,8 @@ module Google
2742
2902
  class Representation < Google::Apis::Core::JsonRepresentation
2743
2903
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AwsMetadata::Representation
2744
2904
 
2905
+ property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AzureMetadata::Representation
2906
+
2745
2907
  property :cloud_provider, as: 'cloudProvider'
2746
2908
  property :display_name, as: 'displayName'
2747
2909
  property :gcp_metadata, as: 'gcpMetadata', class: Google::Apis::SecuritycenterV1beta1::GcpMetadata, decorator: Google::Apis::SecuritycenterV1beta1::GcpMetadata::Representation
@@ -2879,6 +3041,14 @@ module Google
2879
3041
  end
2880
3042
  end
2881
3043
 
3044
+ class GoogleCloudSecuritycenterV2ToxicCombination
3045
+ # @private
3046
+ class Representation < Google::Apis::Core::JsonRepresentation
3047
+ property :attack_exposure_score, as: 'attackExposureScore'
3048
+ collection :related_findings, as: 'relatedFindings'
3049
+ end
3050
+ end
3051
+
2882
3052
  class GoogleCloudSecuritycenterV2Vulnerability
2883
3053
  # @private
2884
3054
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2943,6 +3113,14 @@ module Google
2943
3113
  end
2944
3114
  end
2945
3115
 
3116
+ class GroupMembership
3117
+ # @private
3118
+ class Representation < Google::Apis::Core::JsonRepresentation
3119
+ property :group_id, as: 'groupId'
3120
+ property :group_type, as: 'groupType'
3121
+ end
3122
+ end
3123
+
2946
3124
  class GroupResult
2947
3125
  # @private
2948
3126
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3420,6 +3598,14 @@ module Google
3420
3598
  end
3421
3599
  end
3422
3600
 
3601
+ class ToxicCombination
3602
+ # @private
3603
+ class Representation < Google::Apis::Core::JsonRepresentation
3604
+ property :attack_exposure_score, as: 'attackExposureScore'
3605
+ collection :related_findings, as: 'relatedFindings'
3606
+ end
3607
+ end
3608
+
3423
3609
  class Vulnerability
3424
3610
  # @private
3425
3611
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-23 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.78.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []