google-apis-securitycenter_v1 0.82.0 → 0.83.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97a9f535169b930edf057597803ef41d3ee1705e756d401325f8011036a138ea
4
- data.tar.gz: 203f0dd551607c3550d6ad806f8897040dbc10f605ac9e5e23afde44be49fb11
3
+ metadata.gz: 53bc2a6d8117f5ea7c0f61bdaa86e4fc9fa2679005a84ffedb47c91ac1dd3867
4
+ data.tar.gz: 34d4473f2abc141eeef9ba0ae1c69ac0ed3af09d63e330c9e69ceb979e79abb6
5
5
  SHA512:
6
- metadata.gz: 20c199b8c689d6f29c1155e5b5460f8a8c0d0424a2ba144cb37b748c2362dd75d02152bfa8fd8e4dc492e77d195cdb04a9737d960b5e484229ac2d91c0fd03b7
7
- data.tar.gz: da31833a3f37488e4fe1b7d7aef41d7f127d325b19e9ed6724baa2039f4f769c84b4b8226d8aa686b89cceceda770e497a2b09098a295822bd44b9c64f51dafc
6
+ metadata.gz: 1ebc467b1ed684b30812732135d1dd3bf1cd2adb491155400405f17b15fb15b72b1e4dc1c55482d4a3d288966034a5c000f7474ee7e3ff13376e8da86a5f9a7a
7
+ data.tar.gz: 182efd8b1d8c87f615d91e5d6e360b88b3d5e46351dbf30efb71d3eb1359fa32230c727979d70e854239a450a598f5968b5fa12601a35f8bf1e5eb544d71cd0c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.83.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240620
6
+
3
7
  ### v0.82.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240520
@@ -779,6 +779,110 @@ module Google
779
779
  end
780
780
  end
781
781
 
782
+ # Represents an Azure management group.
783
+ class AzureManagementGroup
784
+ include Google::Apis::Core::Hashable
785
+
786
+ # The display name of the Azure management group.
787
+ # Corresponds to the JSON property `displayName`
788
+ # @return [String]
789
+ attr_accessor :display_name
790
+
791
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
792
+ # 000000000000".
793
+ # Corresponds to the JSON property `id`
794
+ # @return [String]
795
+ attr_accessor :id
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @display_name = args[:display_name] if args.key?(:display_name)
804
+ @id = args[:id] if args.key?(:id)
805
+ end
806
+ end
807
+
808
+ # Azure metadata associated with the resource, only applicable if the finding's
809
+ # cloud provider is Microsoft Azure.
810
+ class AzureMetadata
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # A list of Azure management groups associated with the resource, ordered from
814
+ # lowest level (closest to the subscription) to highest level.
815
+ # Corresponds to the JSON property `managementGroups`
816
+ # @return [Array<Google::Apis::SecuritycenterV1::AzureManagementGroup>]
817
+ attr_accessor :management_groups
818
+
819
+ # Represents an Azure resource group.
820
+ # Corresponds to the JSON property `resourceGroup`
821
+ # @return [Google::Apis::SecuritycenterV1::AzureResourceGroup]
822
+ attr_accessor :resource_group
823
+
824
+ # Represents an Azure subscription.
825
+ # Corresponds to the JSON property `subscription`
826
+ # @return [Google::Apis::SecuritycenterV1::AzureSubscription]
827
+ attr_accessor :subscription
828
+
829
+ def initialize(**args)
830
+ update!(**args)
831
+ end
832
+
833
+ # Update properties of this object
834
+ def update!(**args)
835
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
836
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
837
+ @subscription = args[:subscription] if args.key?(:subscription)
838
+ end
839
+ end
840
+
841
+ # Represents an Azure resource group.
842
+ class AzureResourceGroup
843
+ include Google::Apis::Core::Hashable
844
+
845
+ # The name of the Azure resource group. This is not a UUID.
846
+ # Corresponds to the JSON property `name`
847
+ # @return [String]
848
+ attr_accessor :name
849
+
850
+ def initialize(**args)
851
+ update!(**args)
852
+ end
853
+
854
+ # Update properties of this object
855
+ def update!(**args)
856
+ @name = args[:name] if args.key?(:name)
857
+ end
858
+ end
859
+
860
+ # Represents an Azure subscription.
861
+ class AzureSubscription
862
+ include Google::Apis::Core::Hashable
863
+
864
+ # The display name of the Azure subscription.
865
+ # Corresponds to the JSON property `displayName`
866
+ # @return [String]
867
+ attr_accessor :display_name
868
+
869
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
870
+ # 3bdcb2a50a05".
871
+ # Corresponds to the JSON property `id`
872
+ # @return [String]
873
+ attr_accessor :id
874
+
875
+ def initialize(**args)
876
+ update!(**args)
877
+ end
878
+
879
+ # Update properties of this object
880
+ def update!(**args)
881
+ @display_name = args[:display_name] if args.key?(:display_name)
882
+ @id = args[:id] if args.key?(:id)
883
+ end
884
+ end
885
+
782
886
  # Information related to Google Cloud Backup and DR Service findings.
783
887
  class BackupDisasterRecovery
784
888
  include Google::Apis::Core::Hashable
@@ -2293,6 +2397,13 @@ module Google
2293
2397
  # @return [String]
2294
2398
  attr_accessor :finding_class
2295
2399
 
2400
+ # Contains details about groups of which this finding is a member. A group is a
2401
+ # collection of findings that are related in some way. This field cannot be
2402
+ # updated. Its value is ignored in all update requests.
2403
+ # Corresponds to the JSON property `groupMemberships`
2404
+ # @return [Array<Google::Apis::SecuritycenterV1::GroupMembership>]
2405
+ attr_accessor :group_memberships
2406
+
2296
2407
  # Represents IAM bindings associated with the finding.
2297
2408
  # Corresponds to the JSON property `iamBindings`
2298
2409
  # @return [Array<Google::Apis::SecuritycenterV1::IamBinding>]
@@ -2447,6 +2558,13 @@ module Google
2447
2558
  # @return [String]
2448
2559
  attr_accessor :state
2449
2560
 
2561
+ # Contains details about a group of security issues that, when the issues occur
2562
+ # together, represent a greater risk than when the issues occur independently. A
2563
+ # group of such issues is referred to as a toxic combination.
2564
+ # Corresponds to the JSON property `toxicCombination`
2565
+ # @return [Google::Apis::SecuritycenterV1::ToxicCombination]
2566
+ attr_accessor :toxic_combination
2567
+
2450
2568
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
2451
2569
  # Corresponds to the JSON property `vulnerability`
2452
2570
  # @return [Google::Apis::SecuritycenterV1::Vulnerability]
@@ -2480,6 +2598,7 @@ module Google
2480
2598
  @external_uri = args[:external_uri] if args.key?(:external_uri)
2481
2599
  @files = args[:files] if args.key?(:files)
2482
2600
  @finding_class = args[:finding_class] if args.key?(:finding_class)
2601
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
2483
2602
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
2484
2603
  @indicator = args[:indicator] if args.key?(:indicator)
2485
2604
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -2504,6 +2623,7 @@ module Google
2504
2623
  @severity = args[:severity] if args.key?(:severity)
2505
2624
  @source_properties = args[:source_properties] if args.key?(:source_properties)
2506
2625
  @state = args[:state] if args.key?(:state)
2626
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
2507
2627
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
2508
2628
  end
2509
2629
  end
@@ -3180,6 +3300,12 @@ module Google
3180
3300
  # @return [Google::Apis::SecuritycenterV1::AwsMetadata]
3181
3301
  attr_accessor :aws_metadata
3182
3302
 
3303
+ # Azure metadata associated with the resource, only applicable if the finding's
3304
+ # cloud provider is Microsoft Azure.
3305
+ # Corresponds to the JSON property `azureMetadata`
3306
+ # @return [Google::Apis::SecuritycenterV1::AzureMetadata]
3307
+ attr_accessor :azure_metadata
3308
+
3183
3309
  # Indicates which cloud provider the resource resides in.
3184
3310
  # Corresponds to the JSON property `cloudProvider`
3185
3311
  # @return [String]
@@ -3270,6 +3396,7 @@ module Google
3270
3396
  # Update properties of this object
3271
3397
  def update!(**args)
3272
3398
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
3399
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
3273
3400
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
3274
3401
  @display_name = args[:display_name] if args.key?(:display_name)
3275
3402
  @folders = args[:folders] if args.key?(:folders)
@@ -4274,6 +4401,110 @@ module Google
4274
4401
  end
4275
4402
  end
4276
4403
 
4404
+ # Represents an Azure management group.
4405
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
4406
+ include Google::Apis::Core::Hashable
4407
+
4408
+ # The display name of the Azure management group.
4409
+ # Corresponds to the JSON property `displayName`
4410
+ # @return [String]
4411
+ attr_accessor :display_name
4412
+
4413
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
4414
+ # 000000000000".
4415
+ # Corresponds to the JSON property `id`
4416
+ # @return [String]
4417
+ attr_accessor :id
4418
+
4419
+ def initialize(**args)
4420
+ update!(**args)
4421
+ end
4422
+
4423
+ # Update properties of this object
4424
+ def update!(**args)
4425
+ @display_name = args[:display_name] if args.key?(:display_name)
4426
+ @id = args[:id] if args.key?(:id)
4427
+ end
4428
+ end
4429
+
4430
+ # Azure metadata associated with the resource, only applicable if the finding's
4431
+ # cloud provider is Microsoft Azure.
4432
+ class GoogleCloudSecuritycenterV2AzureMetadata
4433
+ include Google::Apis::Core::Hashable
4434
+
4435
+ # A list of Azure management groups associated with the resource, ordered from
4436
+ # lowest level (closest to the subscription) to highest level.
4437
+ # Corresponds to the JSON property `managementGroups`
4438
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureManagementGroup>]
4439
+ attr_accessor :management_groups
4440
+
4441
+ # Represents an Azure resource group.
4442
+ # Corresponds to the JSON property `resourceGroup`
4443
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureResourceGroup]
4444
+ attr_accessor :resource_group
4445
+
4446
+ # Represents an Azure subscription.
4447
+ # Corresponds to the JSON property `subscription`
4448
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription]
4449
+ attr_accessor :subscription
4450
+
4451
+ def initialize(**args)
4452
+ update!(**args)
4453
+ end
4454
+
4455
+ # Update properties of this object
4456
+ def update!(**args)
4457
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
4458
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
4459
+ @subscription = args[:subscription] if args.key?(:subscription)
4460
+ end
4461
+ end
4462
+
4463
+ # Represents an Azure resource group.
4464
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
4465
+ include Google::Apis::Core::Hashable
4466
+
4467
+ # The name of the Azure resource group. This is not a UUID.
4468
+ # Corresponds to the JSON property `name`
4469
+ # @return [String]
4470
+ attr_accessor :name
4471
+
4472
+ def initialize(**args)
4473
+ update!(**args)
4474
+ end
4475
+
4476
+ # Update properties of this object
4477
+ def update!(**args)
4478
+ @name = args[:name] if args.key?(:name)
4479
+ end
4480
+ end
4481
+
4482
+ # Represents an Azure subscription.
4483
+ class GoogleCloudSecuritycenterV2AzureSubscription
4484
+ include Google::Apis::Core::Hashable
4485
+
4486
+ # The display name of the Azure subscription.
4487
+ # Corresponds to the JSON property `displayName`
4488
+ # @return [String]
4489
+ attr_accessor :display_name
4490
+
4491
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
4492
+ # 3bdcb2a50a05".
4493
+ # Corresponds to the JSON property `id`
4494
+ # @return [String]
4495
+ attr_accessor :id
4496
+
4497
+ def initialize(**args)
4498
+ update!(**args)
4499
+ end
4500
+
4501
+ # Update properties of this object
4502
+ def update!(**args)
4503
+ @display_name = args[:display_name] if args.key?(:display_name)
4504
+ @id = args[:id] if args.key?(:id)
4505
+ end
4506
+ end
4507
+
4277
4508
  # Information related to Google Cloud Backup and DR Service findings.
4278
4509
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
4279
4510
  include Google::Apis::Core::Hashable
@@ -5485,6 +5716,13 @@ module Google
5485
5716
  # @return [String]
5486
5717
  attr_accessor :finding_class
5487
5718
 
5719
+ # Contains details about groups of which this finding is a member. A group is a
5720
+ # collection of findings that are related in some way. This field cannot be
5721
+ # updated. Its value is ignored in all update requests.
5722
+ # Corresponds to the JSON property `groupMemberships`
5723
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2GroupMembership>]
5724
+ attr_accessor :group_memberships
5725
+
5488
5726
  # Represents IAM bindings associated with the finding.
5489
5727
  # Corresponds to the JSON property `iamBindings`
5490
5728
  # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IamBinding>]
@@ -5648,6 +5886,13 @@ module Google
5648
5886
  # @return [String]
5649
5887
  attr_accessor :state
5650
5888
 
5889
+ # Contains details about a group of security issues that, when the issues occur
5890
+ # together, represent a greater risk than when the issues occur independently. A
5891
+ # group of such issues is referred to as a toxic combination.
5892
+ # Corresponds to the JSON property `toxicCombination`
5893
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination]
5894
+ attr_accessor :toxic_combination
5895
+
5651
5896
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
5652
5897
  # Corresponds to the JSON property `vulnerability`
5653
5898
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability]
@@ -5681,6 +5926,7 @@ module Google
5681
5926
  @external_uri = args[:external_uri] if args.key?(:external_uri)
5682
5927
  @files = args[:files] if args.key?(:files)
5683
5928
  @finding_class = args[:finding_class] if args.key?(:finding_class)
5929
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
5684
5930
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
5685
5931
  @indicator = args[:indicator] if args.key?(:indicator)
5686
5932
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -5705,6 +5951,7 @@ module Google
5705
5951
  @severity = args[:severity] if args.key?(:severity)
5706
5952
  @source_properties = args[:source_properties] if args.key?(:source_properties)
5707
5953
  @state = args[:state] if args.key?(:state)
5954
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
5708
5955
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
5709
5956
  end
5710
5957
  end
@@ -5754,6 +6001,32 @@ module Google
5754
6001
  end
5755
6002
  end
5756
6003
 
6004
+ # Contains details about groups of which this finding is a member. A group is a
6005
+ # collection of findings that are related in some way.
6006
+ class GoogleCloudSecuritycenterV2GroupMembership
6007
+ include Google::Apis::Core::Hashable
6008
+
6009
+ # ID of the group.
6010
+ # Corresponds to the JSON property `groupId`
6011
+ # @return [String]
6012
+ attr_accessor :group_id
6013
+
6014
+ # Type of group.
6015
+ # Corresponds to the JSON property `groupType`
6016
+ # @return [String]
6017
+ attr_accessor :group_type
6018
+
6019
+ def initialize(**args)
6020
+ update!(**args)
6021
+ end
6022
+
6023
+ # Update properties of this object
6024
+ def update!(**args)
6025
+ @group_id = args[:group_id] if args.key?(:group_id)
6026
+ @group_type = args[:group_type] if args.key?(:group_type)
6027
+ end
6028
+ end
6029
+
5757
6030
  # Represents a particular IAM binding, which captures a member's role addition,
5758
6031
  # removal, or state.
5759
6032
  class GoogleCloudSecuritycenterV2IamBinding
@@ -6675,6 +6948,12 @@ module Google
6675
6948
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AwsMetadata]
6676
6949
  attr_accessor :aws_metadata
6677
6950
 
6951
+ # Azure metadata associated with the resource, only applicable if the finding's
6952
+ # cloud provider is Microsoft Azure.
6953
+ # Corresponds to the JSON property `azureMetadata`
6954
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureMetadata]
6955
+ attr_accessor :azure_metadata
6956
+
6678
6957
  # Indicates which cloud provider the finding is from.
6679
6958
  # Corresponds to the JSON property `cloudProvider`
6680
6959
  # @return [String]
@@ -6737,6 +7016,7 @@ module Google
6737
7016
  # Update properties of this object
6738
7017
  def update!(**args)
6739
7018
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
7019
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
6740
7020
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
6741
7021
  @display_name = args[:display_name] if args.key?(:display_name)
6742
7022
  @gcp_metadata = args[:gcp_metadata] if args.key?(:gcp_metadata)
@@ -7256,6 +7536,37 @@ module Google
7256
7536
  end
7257
7537
  end
7258
7538
 
7539
+ # Contains details about a group of security issues that, when the issues occur
7540
+ # together, represent a greater risk than when the issues occur independently. A
7541
+ # group of such issues is referred to as a toxic combination.
7542
+ class GoogleCloudSecuritycenterV2ToxicCombination
7543
+ include Google::Apis::Core::Hashable
7544
+
7545
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
7546
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
7547
+ # The score is a measure of how much this toxic combination exposes one or more
7548
+ # high-value resources to potential attack.
7549
+ # Corresponds to the JSON property `attackExposureScore`
7550
+ # @return [Float]
7551
+ attr_accessor :attack_exposure_score
7552
+
7553
+ # List of resource names of findings associated with this toxic combination. For
7554
+ # example, organizations/123/sources/456/findings/789.
7555
+ # Corresponds to the JSON property `relatedFindings`
7556
+ # @return [Array<String>]
7557
+ attr_accessor :related_findings
7558
+
7559
+ def initialize(**args)
7560
+ update!(**args)
7561
+ end
7562
+
7563
+ # Update properties of this object
7564
+ def update!(**args)
7565
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
7566
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
7567
+ end
7568
+ end
7569
+
7259
7570
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
7260
7571
  class GoogleCloudSecuritycenterV2Vulnerability
7261
7572
  include Google::Apis::Core::Hashable
@@ -7604,6 +7915,32 @@ module Google
7604
7915
  end
7605
7916
  end
7606
7917
 
7918
+ # Contains details about groups of which this finding is a member. A group is a
7919
+ # collection of findings that are related in some way.
7920
+ class GroupMembership
7921
+ include Google::Apis::Core::Hashable
7922
+
7923
+ # ID of the group.
7924
+ # Corresponds to the JSON property `groupId`
7925
+ # @return [String]
7926
+ attr_accessor :group_id
7927
+
7928
+ # Type of group.
7929
+ # Corresponds to the JSON property `groupType`
7930
+ # @return [String]
7931
+ attr_accessor :group_type
7932
+
7933
+ def initialize(**args)
7934
+ update!(**args)
7935
+ end
7936
+
7937
+ # Update properties of this object
7938
+ def update!(**args)
7939
+ @group_id = args[:group_id] if args.key?(:group_id)
7940
+ @group_type = args[:group_type] if args.key?(:group_type)
7941
+ end
7942
+ end
7943
+
7607
7944
  # Result containing the properties and count of a groupBy request.
7608
7945
  class GroupResult
7609
7946
  include Google::Apis::Core::Hashable
@@ -9276,6 +9613,12 @@ module Google
9276
9613
  # @return [Google::Apis::SecuritycenterV1::AwsMetadata]
9277
9614
  attr_accessor :aws_metadata
9278
9615
 
9616
+ # Azure metadata associated with the resource, only applicable if the finding's
9617
+ # cloud provider is Microsoft Azure.
9618
+ # Corresponds to the JSON property `azureMetadata`
9619
+ # @return [Google::Apis::SecuritycenterV1::AzureMetadata]
9620
+ attr_accessor :azure_metadata
9621
+
9279
9622
  # Indicates which cloud provider the finding is from.
9280
9623
  # Corresponds to the JSON property `cloudProvider`
9281
9624
  # @return [String]
@@ -9364,6 +9707,7 @@ module Google
9364
9707
  # Update properties of this object
9365
9708
  def update!(**args)
9366
9709
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
9710
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
9367
9711
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
9368
9712
  @display_name = args[:display_name] if args.key?(:display_name)
9369
9713
  @folders = args[:folders] if args.key?(:folders)
@@ -10315,6 +10659,37 @@ module Google
10315
10659
  end
10316
10660
  end
10317
10661
 
10662
+ # Contains details about a group of security issues that, when the issues occur
10663
+ # together, represent a greater risk than when the issues occur independently. A
10664
+ # group of such issues is referred to as a toxic combination.
10665
+ class ToxicCombination
10666
+ include Google::Apis::Core::Hashable
10667
+
10668
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
10669
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
10670
+ # The score is a measure of how much this toxic combination exposes one or more
10671
+ # high-value resources to potential attack.
10672
+ # Corresponds to the JSON property `attackExposureScore`
10673
+ # @return [Float]
10674
+ attr_accessor :attack_exposure_score
10675
+
10676
+ # List of resource names of findings associated with this toxic combination. For
10677
+ # example, organizations/123/sources/456/findings/789.
10678
+ # Corresponds to the JSON property `relatedFindings`
10679
+ # @return [Array<String>]
10680
+ attr_accessor :related_findings
10681
+
10682
+ def initialize(**args)
10683
+ update!(**args)
10684
+ end
10685
+
10686
+ # Update properties of this object
10687
+ def update!(**args)
10688
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
10689
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
10690
+ end
10691
+ end
10692
+
10318
10693
  # Request to validate an Event Threat Detection custom module.
10319
10694
  class ValidateEventThreatDetectionCustomModuleRequest
10320
10695
  include Google::Apis::Core::Hashable
@@ -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.82.0"
19
+ GEM_VERSION = "0.83.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
@@ -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
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.82.0
4
+ version: 0.83.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.83.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: []