google-apis-securitycenter_v1beta2 0.69.0 → 0.70.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: b40fba627f6d71d36f48c94ebc14bef9e1c1b197b04e9e745aedec265a96c21d
4
- data.tar.gz: b8eca91a3b312c1adcefcd159c8b9710ee762b5c1c5047804fdf608aec4266f6
3
+ metadata.gz: 5da1b07890313fd20c388c301c1c5a7d1d1a8c8cada3f341c410186303ea0333
4
+ data.tar.gz: 13c0075936cc142d7b281c88b740cc1a39b98ecaa686afd109411f3e5953e5db
5
5
  SHA512:
6
- metadata.gz: 619ccde3d95ced28ee5e81d1b1404e4f7479499e28bfe45732b09f65a99a98a2038cf7e95ceb3caa3228ef7c5b359cf3427dc5eeed2eb2b4b9ebb63a46ef40ff
7
- data.tar.gz: c1f60510855b20cf087ecbfe68efbcfc5231afcd455d2be7c7b7966f889c11f4662d14d38f3c22aa0970a15b895b0a3d3f18ccef2e2ca1ce6ca4e2981a98641d
6
+ metadata.gz: 8e43dc51fcb1315db95d47a465a015094429352261e7353a84d3691f610ac83b19893daffa96414bec603dbcbcb956820b69d8199fe0f7ef4515ac1012a30a1b
7
+ data.tar.gz: b6027dbd8fea4ded2ff8f375f1d7be22846ec7c4f344443b7c8fadf88b52fa8dd9052fca0e7f9c31ced29767a85fdf5414acb5362f65af237b972e027d7a642b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.70.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240620
6
+
3
7
  ### v0.69.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240520
@@ -446,6 +446,110 @@ module Google
446
446
  end
447
447
  end
448
448
 
449
+ # Represents an Azure management group.
450
+ class AzureManagementGroup
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # The display name of the Azure management group.
454
+ # Corresponds to the JSON property `displayName`
455
+ # @return [String]
456
+ attr_accessor :display_name
457
+
458
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
459
+ # 000000000000".
460
+ # Corresponds to the JSON property `id`
461
+ # @return [String]
462
+ attr_accessor :id
463
+
464
+ def initialize(**args)
465
+ update!(**args)
466
+ end
467
+
468
+ # Update properties of this object
469
+ def update!(**args)
470
+ @display_name = args[:display_name] if args.key?(:display_name)
471
+ @id = args[:id] if args.key?(:id)
472
+ end
473
+ end
474
+
475
+ # Azure metadata associated with the resource, only applicable if the finding's
476
+ # cloud provider is Microsoft Azure.
477
+ class AzureMetadata
478
+ include Google::Apis::Core::Hashable
479
+
480
+ # A list of Azure management groups associated with the resource, ordered from
481
+ # lowest level (closest to the subscription) to highest level.
482
+ # Corresponds to the JSON property `managementGroups`
483
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::AzureManagementGroup>]
484
+ attr_accessor :management_groups
485
+
486
+ # Represents an Azure resource group.
487
+ # Corresponds to the JSON property `resourceGroup`
488
+ # @return [Google::Apis::SecuritycenterV1beta2::AzureResourceGroup]
489
+ attr_accessor :resource_group
490
+
491
+ # Represents an Azure subscription.
492
+ # Corresponds to the JSON property `subscription`
493
+ # @return [Google::Apis::SecuritycenterV1beta2::AzureSubscription]
494
+ attr_accessor :subscription
495
+
496
+ def initialize(**args)
497
+ update!(**args)
498
+ end
499
+
500
+ # Update properties of this object
501
+ def update!(**args)
502
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
503
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
504
+ @subscription = args[:subscription] if args.key?(:subscription)
505
+ end
506
+ end
507
+
508
+ # Represents an Azure resource group.
509
+ class AzureResourceGroup
510
+ include Google::Apis::Core::Hashable
511
+
512
+ # The name of the Azure resource group. This is not a UUID.
513
+ # Corresponds to the JSON property `name`
514
+ # @return [String]
515
+ attr_accessor :name
516
+
517
+ def initialize(**args)
518
+ update!(**args)
519
+ end
520
+
521
+ # Update properties of this object
522
+ def update!(**args)
523
+ @name = args[:name] if args.key?(:name)
524
+ end
525
+ end
526
+
527
+ # Represents an Azure subscription.
528
+ class AzureSubscription
529
+ include Google::Apis::Core::Hashable
530
+
531
+ # The display name of the Azure subscription.
532
+ # Corresponds to the JSON property `displayName`
533
+ # @return [String]
534
+ attr_accessor :display_name
535
+
536
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
537
+ # 3bdcb2a50a05".
538
+ # Corresponds to the JSON property `id`
539
+ # @return [String]
540
+ attr_accessor :id
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @display_name = args[:display_name] if args.key?(:display_name)
549
+ @id = args[:id] if args.key?(:id)
550
+ end
551
+ end
552
+
449
553
  # Information related to Google Cloud Backup and DR Service findings.
450
554
  class BackupDisasterRecovery
451
555
  include Google::Apis::Core::Hashable
@@ -1694,6 +1798,13 @@ module Google
1694
1798
  # @return [String]
1695
1799
  attr_accessor :finding_class
1696
1800
 
1801
+ # Contains details about groups of which this finding is a member. A group is a
1802
+ # collection of findings that are related in some way. This field cannot be
1803
+ # updated. Its value is ignored in all update requests.
1804
+ # Corresponds to the JSON property `groupMemberships`
1805
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GroupMembership>]
1806
+ attr_accessor :group_memberships
1807
+
1697
1808
  # Represents IAM bindings associated with the finding.
1698
1809
  # Corresponds to the JSON property `iamBindings`
1699
1810
  # @return [Array<Google::Apis::SecuritycenterV1beta2::IamBinding>]
@@ -1848,6 +1959,13 @@ module Google
1848
1959
  # @return [String]
1849
1960
  attr_accessor :state
1850
1961
 
1962
+ # Contains details about a group of security issues that, when the issues occur
1963
+ # together, represent a greater risk than when the issues occur independently. A
1964
+ # group of such issues is referred to as a toxic combination.
1965
+ # Corresponds to the JSON property `toxicCombination`
1966
+ # @return [Google::Apis::SecuritycenterV1beta2::ToxicCombination]
1967
+ attr_accessor :toxic_combination
1968
+
1851
1969
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
1852
1970
  # Corresponds to the JSON property `vulnerability`
1853
1971
  # @return [Google::Apis::SecuritycenterV1beta2::Vulnerability]
@@ -1881,6 +1999,7 @@ module Google
1881
1999
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1882
2000
  @files = args[:files] if args.key?(:files)
1883
2001
  @finding_class = args[:finding_class] if args.key?(:finding_class)
2002
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
1884
2003
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
1885
2004
  @indicator = args[:indicator] if args.key?(:indicator)
1886
2005
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -1905,6 +2024,7 @@ module Google
1905
2024
  @severity = args[:severity] if args.key?(:severity)
1906
2025
  @source_properties = args[:source_properties] if args.key?(:source_properties)
1907
2026
  @state = args[:state] if args.key?(:state)
2027
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
1908
2028
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
1909
2029
  end
1910
2030
  end
@@ -2534,6 +2654,12 @@ module Google
2534
2654
  # @return [Google::Apis::SecuritycenterV1beta2::AwsMetadata]
2535
2655
  attr_accessor :aws_metadata
2536
2656
 
2657
+ # Azure metadata associated with the resource, only applicable if the finding's
2658
+ # cloud provider is Microsoft Azure.
2659
+ # Corresponds to the JSON property `azureMetadata`
2660
+ # @return [Google::Apis::SecuritycenterV1beta2::AzureMetadata]
2661
+ attr_accessor :azure_metadata
2662
+
2537
2663
  # Indicates which cloud provider the resource resides in.
2538
2664
  # Corresponds to the JSON property `cloudProvider`
2539
2665
  # @return [String]
@@ -2624,6 +2750,7 @@ module Google
2624
2750
  # Update properties of this object
2625
2751
  def update!(**args)
2626
2752
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
2753
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
2627
2754
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2628
2755
  @display_name = args[:display_name] if args.key?(:display_name)
2629
2756
  @folders = args[:folders] if args.key?(:folders)
@@ -3628,6 +3755,110 @@ module Google
3628
3755
  end
3629
3756
  end
3630
3757
 
3758
+ # Represents an Azure management group.
3759
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
3760
+ include Google::Apis::Core::Hashable
3761
+
3762
+ # The display name of the Azure management group.
3763
+ # Corresponds to the JSON property `displayName`
3764
+ # @return [String]
3765
+ attr_accessor :display_name
3766
+
3767
+ # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
3768
+ # 000000000000".
3769
+ # Corresponds to the JSON property `id`
3770
+ # @return [String]
3771
+ attr_accessor :id
3772
+
3773
+ def initialize(**args)
3774
+ update!(**args)
3775
+ end
3776
+
3777
+ # Update properties of this object
3778
+ def update!(**args)
3779
+ @display_name = args[:display_name] if args.key?(:display_name)
3780
+ @id = args[:id] if args.key?(:id)
3781
+ end
3782
+ end
3783
+
3784
+ # Azure metadata associated with the resource, only applicable if the finding's
3785
+ # cloud provider is Microsoft Azure.
3786
+ class GoogleCloudSecuritycenterV2AzureMetadata
3787
+ include Google::Apis::Core::Hashable
3788
+
3789
+ # A list of Azure management groups associated with the resource, ordered from
3790
+ # lowest level (closest to the subscription) to highest level.
3791
+ # Corresponds to the JSON property `managementGroups`
3792
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup>]
3793
+ attr_accessor :management_groups
3794
+
3795
+ # Represents an Azure resource group.
3796
+ # Corresponds to the JSON property `resourceGroup`
3797
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup]
3798
+ attr_accessor :resource_group
3799
+
3800
+ # Represents an Azure subscription.
3801
+ # Corresponds to the JSON property `subscription`
3802
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription]
3803
+ attr_accessor :subscription
3804
+
3805
+ def initialize(**args)
3806
+ update!(**args)
3807
+ end
3808
+
3809
+ # Update properties of this object
3810
+ def update!(**args)
3811
+ @management_groups = args[:management_groups] if args.key?(:management_groups)
3812
+ @resource_group = args[:resource_group] if args.key?(:resource_group)
3813
+ @subscription = args[:subscription] if args.key?(:subscription)
3814
+ end
3815
+ end
3816
+
3817
+ # Represents an Azure resource group.
3818
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
3819
+ include Google::Apis::Core::Hashable
3820
+
3821
+ # The name of the Azure resource group. This is not a UUID.
3822
+ # Corresponds to the JSON property `name`
3823
+ # @return [String]
3824
+ attr_accessor :name
3825
+
3826
+ def initialize(**args)
3827
+ update!(**args)
3828
+ end
3829
+
3830
+ # Update properties of this object
3831
+ def update!(**args)
3832
+ @name = args[:name] if args.key?(:name)
3833
+ end
3834
+ end
3835
+
3836
+ # Represents an Azure subscription.
3837
+ class GoogleCloudSecuritycenterV2AzureSubscription
3838
+ include Google::Apis::Core::Hashable
3839
+
3840
+ # The display name of the Azure subscription.
3841
+ # Corresponds to the JSON property `displayName`
3842
+ # @return [String]
3843
+ attr_accessor :display_name
3844
+
3845
+ # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
3846
+ # 3bdcb2a50a05".
3847
+ # Corresponds to the JSON property `id`
3848
+ # @return [String]
3849
+ attr_accessor :id
3850
+
3851
+ def initialize(**args)
3852
+ update!(**args)
3853
+ end
3854
+
3855
+ # Update properties of this object
3856
+ def update!(**args)
3857
+ @display_name = args[:display_name] if args.key?(:display_name)
3858
+ @id = args[:id] if args.key?(:id)
3859
+ end
3860
+ end
3861
+
3631
3862
  # Information related to Google Cloud Backup and DR Service findings.
3632
3863
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
3633
3864
  include Google::Apis::Core::Hashable
@@ -4839,6 +5070,13 @@ module Google
4839
5070
  # @return [String]
4840
5071
  attr_accessor :finding_class
4841
5072
 
5073
+ # Contains details about groups of which this finding is a member. A group is a
5074
+ # collection of findings that are related in some way. This field cannot be
5075
+ # updated. Its value is ignored in all update requests.
5076
+ # Corresponds to the JSON property `groupMemberships`
5077
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2GroupMembership>]
5078
+ attr_accessor :group_memberships
5079
+
4842
5080
  # Represents IAM bindings associated with the finding.
4843
5081
  # Corresponds to the JSON property `iamBindings`
4844
5082
  # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding>]
@@ -5002,6 +5240,13 @@ module Google
5002
5240
  # @return [String]
5003
5241
  attr_accessor :state
5004
5242
 
5243
+ # Contains details about a group of security issues that, when the issues occur
5244
+ # together, represent a greater risk than when the issues occur independently. A
5245
+ # group of such issues is referred to as a toxic combination.
5246
+ # Corresponds to the JSON property `toxicCombination`
5247
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination]
5248
+ attr_accessor :toxic_combination
5249
+
5005
5250
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
5006
5251
  # Corresponds to the JSON property `vulnerability`
5007
5252
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability]
@@ -5035,6 +5280,7 @@ module Google
5035
5280
  @external_uri = args[:external_uri] if args.key?(:external_uri)
5036
5281
  @files = args[:files] if args.key?(:files)
5037
5282
  @finding_class = args[:finding_class] if args.key?(:finding_class)
5283
+ @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
5038
5284
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
5039
5285
  @indicator = args[:indicator] if args.key?(:indicator)
5040
5286
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
@@ -5059,6 +5305,7 @@ module Google
5059
5305
  @severity = args[:severity] if args.key?(:severity)
5060
5306
  @source_properties = args[:source_properties] if args.key?(:source_properties)
5061
5307
  @state = args[:state] if args.key?(:state)
5308
+ @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
5062
5309
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
5063
5310
  end
5064
5311
  end
@@ -5108,6 +5355,32 @@ module Google
5108
5355
  end
5109
5356
  end
5110
5357
 
5358
+ # Contains details about groups of which this finding is a member. A group is a
5359
+ # collection of findings that are related in some way.
5360
+ class GoogleCloudSecuritycenterV2GroupMembership
5361
+ include Google::Apis::Core::Hashable
5362
+
5363
+ # ID of the group.
5364
+ # Corresponds to the JSON property `groupId`
5365
+ # @return [String]
5366
+ attr_accessor :group_id
5367
+
5368
+ # Type of group.
5369
+ # Corresponds to the JSON property `groupType`
5370
+ # @return [String]
5371
+ attr_accessor :group_type
5372
+
5373
+ def initialize(**args)
5374
+ update!(**args)
5375
+ end
5376
+
5377
+ # Update properties of this object
5378
+ def update!(**args)
5379
+ @group_id = args[:group_id] if args.key?(:group_id)
5380
+ @group_type = args[:group_type] if args.key?(:group_type)
5381
+ end
5382
+ end
5383
+
5111
5384
  # Represents a particular IAM binding, which captures a member's role addition,
5112
5385
  # removal, or state.
5113
5386
  class GoogleCloudSecuritycenterV2IamBinding
@@ -6029,6 +6302,12 @@ module Google
6029
6302
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata]
6030
6303
  attr_accessor :aws_metadata
6031
6304
 
6305
+ # Azure metadata associated with the resource, only applicable if the finding's
6306
+ # cloud provider is Microsoft Azure.
6307
+ # Corresponds to the JSON property `azureMetadata`
6308
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata]
6309
+ attr_accessor :azure_metadata
6310
+
6032
6311
  # Indicates which cloud provider the finding is from.
6033
6312
  # Corresponds to the JSON property `cloudProvider`
6034
6313
  # @return [String]
@@ -6091,6 +6370,7 @@ module Google
6091
6370
  # Update properties of this object
6092
6371
  def update!(**args)
6093
6372
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
6373
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
6094
6374
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
6095
6375
  @display_name = args[:display_name] if args.key?(:display_name)
6096
6376
  @gcp_metadata = args[:gcp_metadata] if args.key?(:gcp_metadata)
@@ -6610,6 +6890,37 @@ module Google
6610
6890
  end
6611
6891
  end
6612
6892
 
6893
+ # Contains details about a group of security issues that, when the issues occur
6894
+ # together, represent a greater risk than when the issues occur independently. A
6895
+ # group of such issues is referred to as a toxic combination.
6896
+ class GoogleCloudSecuritycenterV2ToxicCombination
6897
+ include Google::Apis::Core::Hashable
6898
+
6899
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
6900
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
6901
+ # The score is a measure of how much this toxic combination exposes one or more
6902
+ # high-value resources to potential attack.
6903
+ # Corresponds to the JSON property `attackExposureScore`
6904
+ # @return [Float]
6905
+ attr_accessor :attack_exposure_score
6906
+
6907
+ # List of resource names of findings associated with this toxic combination. For
6908
+ # example, organizations/123/sources/456/findings/789.
6909
+ # Corresponds to the JSON property `relatedFindings`
6910
+ # @return [Array<String>]
6911
+ attr_accessor :related_findings
6912
+
6913
+ def initialize(**args)
6914
+ update!(**args)
6915
+ end
6916
+
6917
+ # Update properties of this object
6918
+ def update!(**args)
6919
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
6920
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
6921
+ end
6922
+ end
6923
+
6613
6924
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
6614
6925
  class GoogleCloudSecuritycenterV2Vulnerability
6615
6926
  include Google::Apis::Core::Hashable
@@ -6668,6 +6979,32 @@ module Google
6668
6979
  end
6669
6980
  end
6670
6981
 
6982
+ # Contains details about groups of which this finding is a member. A group is a
6983
+ # collection of findings that are related in some way.
6984
+ class GroupMembership
6985
+ include Google::Apis::Core::Hashable
6986
+
6987
+ # ID of the group.
6988
+ # Corresponds to the JSON property `groupId`
6989
+ # @return [String]
6990
+ attr_accessor :group_id
6991
+
6992
+ # Type of group.
6993
+ # Corresponds to the JSON property `groupType`
6994
+ # @return [String]
6995
+ attr_accessor :group_type
6996
+
6997
+ def initialize(**args)
6998
+ update!(**args)
6999
+ end
7000
+
7001
+ # Update properties of this object
7002
+ def update!(**args)
7003
+ @group_id = args[:group_id] if args.key?(:group_id)
7004
+ @group_type = args[:group_type] if args.key?(:group_type)
7005
+ end
7006
+ end
7007
+
6671
7008
  # Represents a particular IAM binding, which captures a member's role addition,
6672
7009
  # removal, or state.
6673
7010
  class IamBinding
@@ -8015,6 +8352,37 @@ module Google
8015
8352
  end
8016
8353
  end
8017
8354
 
8355
+ # Contains details about a group of security issues that, when the issues occur
8356
+ # together, represent a greater risk than when the issues occur independently. A
8357
+ # group of such issues is referred to as a toxic combination.
8358
+ class ToxicCombination
8359
+ include Google::Apis::Core::Hashable
8360
+
8361
+ # The [Attack exposure score](https://cloud.google.com/security-command-center/
8362
+ # docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination.
8363
+ # The score is a measure of how much this toxic combination exposes one or more
8364
+ # high-value resources to potential attack.
8365
+ # Corresponds to the JSON property `attackExposureScore`
8366
+ # @return [Float]
8367
+ attr_accessor :attack_exposure_score
8368
+
8369
+ # List of resource names of findings associated with this toxic combination. For
8370
+ # example, organizations/123/sources/456/findings/789.
8371
+ # Corresponds to the JSON property `relatedFindings`
8372
+ # @return [Array<String>]
8373
+ attr_accessor :related_findings
8374
+
8375
+ def initialize(**args)
8376
+ update!(**args)
8377
+ end
8378
+
8379
+ # Update properties of this object
8380
+ def update!(**args)
8381
+ @attack_exposure_score = args[:attack_exposure_score] if args.key?(:attack_exposure_score)
8382
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
8383
+ end
8384
+ end
8385
+
8018
8386
  # Resource capturing the settings for the Virtual Machine Threat Detection
8019
8387
  # service.
8020
8388
  class VirtualMachineThreatDetectionSettings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.70.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
@@ -82,6 +82,30 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class AzureManagementGroup
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class AzureMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class AzureResourceGroup
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class AzureSubscription
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
85
109
  class BackupDisasterRecovery
86
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
111
 
@@ -454,6 +478,30 @@ module Google
454
478
  include Google::Apis::Core::JsonObjectSupport
455
479
  end
456
480
 
481
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GoogleCloudSecuritycenterV2AzureMetadata
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudSecuritycenterV2AzureSubscription
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
457
505
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
458
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
507
 
@@ -610,6 +658,12 @@ module Google
610
658
  include Google::Apis::Core::JsonObjectSupport
611
659
  end
612
660
 
661
+ class GoogleCloudSecuritycenterV2GroupMembership
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
613
667
  class GoogleCloudSecuritycenterV2IamBinding
614
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
669
 
@@ -826,6 +880,12 @@ module Google
826
880
  include Google::Apis::Core::JsonObjectSupport
827
881
  end
828
882
 
883
+ class GoogleCloudSecuritycenterV2ToxicCombination
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
829
889
  class GoogleCloudSecuritycenterV2Vulnerability
830
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
891
 
@@ -838,6 +898,12 @@ module Google
838
898
  include Google::Apis::Core::JsonObjectSupport
839
899
  end
840
900
 
901
+ class GroupMembership
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
841
907
  class IamBinding
842
908
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
909
 
@@ -1048,6 +1114,12 @@ module Google
1048
1114
  include Google::Apis::Core::JsonObjectSupport
1049
1115
  end
1050
1116
 
1117
+ class ToxicCombination
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1051
1123
  class VirtualMachineThreatDetectionSettings
1052
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1053
1125
 
@@ -1188,6 +1260,41 @@ module Google
1188
1260
  end
1189
1261
  end
1190
1262
 
1263
+ class AzureManagementGroup
1264
+ # @private
1265
+ class Representation < Google::Apis::Core::JsonRepresentation
1266
+ property :display_name, as: 'displayName'
1267
+ property :id, as: 'id'
1268
+ end
1269
+ end
1270
+
1271
+ class AzureMetadata
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta2::AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta2::AzureManagementGroup::Representation
1275
+
1276
+ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup::Representation
1277
+
1278
+ property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::AzureSubscription::Representation
1279
+
1280
+ end
1281
+ end
1282
+
1283
+ class AzureResourceGroup
1284
+ # @private
1285
+ class Representation < Google::Apis::Core::JsonRepresentation
1286
+ property :name, as: 'name'
1287
+ end
1288
+ end
1289
+
1290
+ class AzureSubscription
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :display_name, as: 'displayName'
1294
+ property :id, as: 'id'
1295
+ end
1296
+ end
1297
+
1191
1298
  class BackupDisasterRecovery
1192
1299
  # @private
1193
1300
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1499,6 +1606,8 @@ module Google
1499
1606
  collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
1500
1607
 
1501
1608
  property :finding_class, as: 'findingClass'
1609
+ collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta2::GroupMembership, decorator: Google::Apis::SecuritycenterV1beta2::GroupMembership::Representation
1610
+
1502
1611
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::IamBinding::Representation
1503
1612
 
1504
1613
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
@@ -1535,6 +1644,8 @@ module Google
1535
1644
  property :severity, as: 'severity'
1536
1645
  hash :source_properties, as: 'sourceProperties'
1537
1646
  property :state, as: 'state'
1647
+ property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta2::ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta2::ToxicCombination::Representation
1648
+
1538
1649
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::Vulnerability::Representation
1539
1650
 
1540
1651
  end
@@ -1690,6 +1801,8 @@ module Google
1690
1801
  class Representation < Google::Apis::Core::JsonRepresentation
1691
1802
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AwsMetadata::Representation
1692
1803
 
1804
+ property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AzureMetadata::Representation
1805
+
1693
1806
  property :cloud_provider, as: 'cloudProvider'
1694
1807
  property :display_name, as: 'displayName'
1695
1808
  collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta2::Folder, decorator: Google::Apis::SecuritycenterV1beta2::Folder::Representation
@@ -1944,6 +2057,41 @@ module Google
1944
2057
  end
1945
2058
  end
1946
2059
 
2060
+ class GoogleCloudSecuritycenterV2AzureManagementGroup
2061
+ # @private
2062
+ class Representation < Google::Apis::Core::JsonRepresentation
2063
+ property :display_name, as: 'displayName'
2064
+ property :id, as: 'id'
2065
+ end
2066
+ end
2067
+
2068
+ class GoogleCloudSecuritycenterV2AzureMetadata
2069
+ # @private
2070
+ class Representation < Google::Apis::Core::JsonRepresentation
2071
+ collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup::Representation
2072
+
2073
+ property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup::Representation
2074
+
2075
+ property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription::Representation
2076
+
2077
+ end
2078
+ end
2079
+
2080
+ class GoogleCloudSecuritycenterV2AzureResourceGroup
2081
+ # @private
2082
+ class Representation < Google::Apis::Core::JsonRepresentation
2083
+ property :name, as: 'name'
2084
+ end
2085
+ end
2086
+
2087
+ class GoogleCloudSecuritycenterV2AzureSubscription
2088
+ # @private
2089
+ class Representation < Google::Apis::Core::JsonRepresentation
2090
+ property :display_name, as: 'displayName'
2091
+ property :id, as: 'id'
2092
+ end
2093
+ end
2094
+
1947
2095
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
1948
2096
  # @private
1949
2097
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2241,6 +2389,8 @@ module Google
2241
2389
  collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation
2242
2390
 
2243
2391
  property :finding_class, as: 'findingClass'
2392
+ collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2GroupMembership, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2GroupMembership::Representation
2393
+
2244
2394
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding::Representation
2245
2395
 
2246
2396
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator::Representation
@@ -2277,6 +2427,8 @@ module Google
2277
2427
  property :severity, as: 'severity'
2278
2428
  hash :source_properties, as: 'sourceProperties'
2279
2429
  property :state, as: 'state'
2430
+ property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination::Representation
2431
+
2280
2432
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability::Representation
2281
2433
 
2282
2434
  end
@@ -2297,6 +2449,14 @@ module Google
2297
2449
  end
2298
2450
  end
2299
2451
 
2452
+ class GoogleCloudSecuritycenterV2GroupMembership
2453
+ # @private
2454
+ class Representation < Google::Apis::Core::JsonRepresentation
2455
+ property :group_id, as: 'groupId'
2456
+ property :group_type, as: 'groupType'
2457
+ end
2458
+ end
2459
+
2300
2460
  class GoogleCloudSecuritycenterV2IamBinding
2301
2461
  # @private
2302
2462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2549,6 +2709,8 @@ module Google
2549
2709
  class Representation < Google::Apis::Core::JsonRepresentation
2550
2710
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata::Representation
2551
2711
 
2712
+ property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata::Representation
2713
+
2552
2714
  property :cloud_provider, as: 'cloudProvider'
2553
2715
  property :display_name, as: 'displayName'
2554
2716
  property :gcp_metadata, as: 'gcpMetadata', class: Google::Apis::SecuritycenterV1beta2::GcpMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GcpMetadata::Representation
@@ -2686,6 +2848,14 @@ module Google
2686
2848
  end
2687
2849
  end
2688
2850
 
2851
+ class GoogleCloudSecuritycenterV2ToxicCombination
2852
+ # @private
2853
+ class Representation < Google::Apis::Core::JsonRepresentation
2854
+ property :attack_exposure_score, as: 'attackExposureScore'
2855
+ collection :related_findings, as: 'relatedFindings'
2856
+ end
2857
+ end
2858
+
2689
2859
  class GoogleCloudSecuritycenterV2Vulnerability
2690
2860
  # @private
2691
2861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2707,6 +2877,14 @@ module Google
2707
2877
  end
2708
2878
  end
2709
2879
 
2880
+ class GroupMembership
2881
+ # @private
2882
+ class Representation < Google::Apis::Core::JsonRepresentation
2883
+ property :group_id, as: 'groupId'
2884
+ property :group_type, as: 'groupType'
2885
+ end
2886
+ end
2887
+
2710
2888
  class IamBinding
2711
2889
  # @private
2712
2890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3070,6 +3248,14 @@ module Google
3070
3248
  end
3071
3249
  end
3072
3250
 
3251
+ class ToxicCombination
3252
+ # @private
3253
+ class Representation < Google::Apis::Core::JsonRepresentation
3254
+ property :attack_exposure_score, as: 'attackExposureScore'
3255
+ collection :related_findings, as: 'relatedFindings'
3256
+ end
3257
+ end
3258
+
3073
3259
  class VirtualMachineThreatDetectionSettings
3074
3260
  # @private
3075
3261
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []