google-apis-securitycenter_v1beta2 0.77.0 → 0.79.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: f1ae98491a5abb0c05d3d9ac341cc4d1bffaec69e7959623c926800d43145b14
4
- data.tar.gz: f237d99c55b22701660f634db15218e2e039879b9d97557ac85b42d42b3c1ab8
3
+ metadata.gz: f0e52c1ef315d5f256acff888f8d56c82a234930ccf8efa9bdefb10164b9c479
4
+ data.tar.gz: 5d4239506fabc1966e569acaa7a52dc9798eff435406fa05211cd370c1280859
5
5
  SHA512:
6
- metadata.gz: fc050c57ac73f67bc3d3813715f1ca6877fc8ef44d0d2431a362b7f6d72f3e464f5e9bec6d6646fc52d66399592aa57c44eb9f3fb12c0f046ea191b1b812bd5b
7
- data.tar.gz: bbb211d7f822ee08f5abf9e0c5b15aee82bc8bea86c3fdf8dd618a05a1d4e4fed3a477610f9a72970bbd7adbd53889bc96f81acb38e309238ca8de0671dbdb82
6
+ metadata.gz: ab920d4e825e64f26d2f239dd4b4f8a52a16875da8c9d521846840b224ae618e23d3219d44fd0fd03d6033858bd76444924aba0ee2516649ee0a463f2d2a450b
7
+ data.tar.gz: aadb886a65ac42b4789f633ed18a9cc690607491cb556e678c7c5941f190f519f6fc7b3329ab61b63d6cb3c4306a31b5d418ee9329f010734e3504e27216f7a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.79.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250326
6
+
7
+ ### v0.78.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250315
10
+
3
11
  ### v0.77.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250308
@@ -211,6 +211,25 @@ module Google
211
211
  end
212
212
  end
213
213
 
214
+ # Details about resources affected by this finding.
215
+ class AffectedResources
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # The count of resources affected by the finding.
219
+ # Corresponds to the JSON property `count`
220
+ # @return [Fixnum]
221
+ attr_accessor :count
222
+
223
+ def initialize(**args)
224
+ update!(**args)
225
+ end
226
+
227
+ # Update properties of this object
228
+ def update!(**args)
229
+ @count = args[:count] if args.key?(:count)
230
+ end
231
+ end
232
+
214
233
  # Allowed IP rule.
215
234
  class Allowed
216
235
  include Google::Apis::Core::Hashable
@@ -718,6 +737,30 @@ module Google
718
737
  end
719
738
  end
720
739
 
740
+ # Contains details about a chokepoint, which is a resource or resource group
741
+ # where high-risk attack paths converge, based on [attack path simulations] (
742
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
743
+ # attack_path_simulations).
744
+ class Chokepoint
745
+ include Google::Apis::Core::Hashable
746
+
747
+ # List of resource names of findings associated with this chokepoint. For
748
+ # example, organizations/123/sources/456/findings/789. This list will have at
749
+ # most 100 findings.
750
+ # Corresponds to the JSON property `relatedFindings`
751
+ # @return [Array<String>]
752
+ attr_accessor :related_findings
753
+
754
+ def initialize(**args)
755
+ update!(**args)
756
+ end
757
+
758
+ # Update properties of this object
759
+ def update!(**args)
760
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
761
+ end
762
+ end
763
+
721
764
  # Fields related to Google Cloud Armor findings.
722
765
  class CloudArmor
723
766
  include Google::Apis::Core::Hashable
@@ -1975,6 +2018,11 @@ module Google
1975
2018
  # @return [Google::Apis::SecuritycenterV1beta2::Access]
1976
2019
  attr_accessor :access
1977
2020
 
2021
+ # Details about resources affected by this finding.
2022
+ # Corresponds to the JSON property `affectedResources`
2023
+ # @return [Google::Apis::SecuritycenterV1beta2::AffectedResources]
2024
+ attr_accessor :affected_resources
2025
+
1978
2026
  # Represents an application associated with a finding.
1979
2027
  # Corresponds to the JSON property `application`
1980
2028
  # @return [Google::Apis::SecuritycenterV1beta2::Application]
@@ -2005,6 +2053,14 @@ module Google
2005
2053
  # @return [String]
2006
2054
  attr_accessor :category
2007
2055
 
2056
+ # Contains details about a chokepoint, which is a resource or resource group
2057
+ # where high-risk attack paths converge, based on [attack path simulations] (
2058
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
2059
+ # attack_path_simulations).
2060
+ # Corresponds to the JSON property `chokepoint`
2061
+ # @return [Google::Apis::SecuritycenterV1beta2::Chokepoint]
2062
+ attr_accessor :chokepoint
2063
+
2008
2064
  # Fields related to Google Cloud Armor findings.
2009
2065
  # Corresponds to the JSON property `cloudArmor`
2010
2066
  # @return [Google::Apis::SecuritycenterV1beta2::CloudArmor]
@@ -2333,11 +2389,13 @@ module Google
2333
2389
  # Update properties of this object
2334
2390
  def update!(**args)
2335
2391
  @access = args[:access] if args.key?(:access)
2392
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2336
2393
  @application = args[:application] if args.key?(:application)
2337
2394
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2338
2395
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
2339
2396
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
2340
2397
  @category = args[:category] if args.key?(:category)
2398
+ @chokepoint = args[:chokepoint] if args.key?(:chokepoint)
2341
2399
  @cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
2342
2400
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
2343
2401
  @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -3913,6 +3971,25 @@ module Google
3913
3971
  end
3914
3972
  end
3915
3973
 
3974
+ # Details about resources affected by this finding.
3975
+ class GoogleCloudSecuritycenterV2AffectedResources
3976
+ include Google::Apis::Core::Hashable
3977
+
3978
+ # The count of resources affected by the finding.
3979
+ # Corresponds to the JSON property `count`
3980
+ # @return [Fixnum]
3981
+ attr_accessor :count
3982
+
3983
+ def initialize(**args)
3984
+ update!(**args)
3985
+ end
3986
+
3987
+ # Update properties of this object
3988
+ def update!(**args)
3989
+ @count = args[:count] if args.key?(:count)
3990
+ end
3991
+ end
3992
+
3916
3993
  # Allowed IP rule.
3917
3994
  class GoogleCloudSecuritycenterV2Allowed
3918
3995
  include Google::Apis::Core::Hashable
@@ -4555,6 +4632,30 @@ module Google
4555
4632
  end
4556
4633
  end
4557
4634
 
4635
+ # Contains details about a chokepoint, which is a resource or resource group
4636
+ # where high-risk attack paths converge, based on [attack path simulations] (
4637
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
4638
+ # attack_path_simulations).
4639
+ class GoogleCloudSecuritycenterV2Chokepoint
4640
+ include Google::Apis::Core::Hashable
4641
+
4642
+ # List of resource names of findings associated with this chokepoint. For
4643
+ # example, organizations/123/sources/456/findings/789. This list will have at
4644
+ # most 100 findings.
4645
+ # Corresponds to the JSON property `relatedFindings`
4646
+ # @return [Array<String>]
4647
+ attr_accessor :related_findings
4648
+
4649
+ def initialize(**args)
4650
+ update!(**args)
4651
+ end
4652
+
4653
+ # Update properties of this object
4654
+ def update!(**args)
4655
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
4656
+ end
4657
+ end
4658
+
4558
4659
  # Fields related to Google Cloud Armor findings.
4559
4660
  class GoogleCloudSecuritycenterV2CloudArmor
4560
4661
  include Google::Apis::Core::Hashable
@@ -5635,6 +5736,11 @@ module Google
5635
5736
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access]
5636
5737
  attr_accessor :access
5637
5738
 
5739
+ # Details about resources affected by this finding.
5740
+ # Corresponds to the JSON property `affectedResources`
5741
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources]
5742
+ attr_accessor :affected_resources
5743
+
5638
5744
  # Represents an application associated with a finding.
5639
5745
  # Corresponds to the JSON property `application`
5640
5746
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application]
@@ -5669,6 +5775,14 @@ module Google
5669
5775
  # @return [String]
5670
5776
  attr_accessor :category
5671
5777
 
5778
+ # Contains details about a chokepoint, which is a resource or resource group
5779
+ # where high-risk attack paths converge, based on [attack path simulations] (
5780
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
5781
+ # attack_path_simulations).
5782
+ # Corresponds to the JSON property `chokepoint`
5783
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint]
5784
+ attr_accessor :chokepoint
5785
+
5672
5786
  # Fields related to Google Cloud Armor findings.
5673
5787
  # Corresponds to the JSON property `cloudArmor`
5674
5788
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor]
@@ -6007,11 +6121,13 @@ module Google
6007
6121
  # Update properties of this object
6008
6122
  def update!(**args)
6009
6123
  @access = args[:access] if args.key?(:access)
6124
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6010
6125
  @application = args[:application] if args.key?(:application)
6011
6126
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6012
6127
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
6013
6128
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
6014
6129
  @category = args[:category] if args.key?(:category)
6130
+ @chokepoint = args[:chokepoint] if args.key?(:chokepoint)
6015
6131
  @cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
6016
6132
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
6017
6133
  @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -9649,7 +9765,7 @@ module Google
9649
9765
  end
9650
9766
  end
9651
9767
 
9652
- # Resource capturing the settings for Security Center. Next ID: 12
9768
+ # Resource capturing the settings for Security Center.
9653
9769
  class SecurityCenterSettings
9654
9770
  include Google::Apis::Core::Hashable
9655
9771
 
@@ -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.77.0"
19
+ GEM_VERSION = "0.79.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250308"
25
+ REVISION = "20250326"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class AffectedResources
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Allowed
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class Chokepoint
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class CloudArmor
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -490,6 +502,12 @@ module Google
490
502
  include Google::Apis::Core::JsonObjectSupport
491
503
  end
492
504
 
505
+ class GoogleCloudSecuritycenterV2AffectedResources
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
493
511
  class GoogleCloudSecuritycenterV2Allowed
494
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
513
 
@@ -592,6 +610,12 @@ module Google
592
610
  include Google::Apis::Core::JsonObjectSupport
593
611
  end
594
612
 
613
+ class GoogleCloudSecuritycenterV2Chokepoint
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
595
619
  class GoogleCloudSecuritycenterV2CloudArmor
596
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
621
 
@@ -1477,6 +1501,13 @@ module Google
1477
1501
  end
1478
1502
  end
1479
1503
 
1504
+ class AffectedResources
1505
+ # @private
1506
+ class Representation < Google::Apis::Core::JsonRepresentation
1507
+ property :count, :numeric_string => true, as: 'count'
1508
+ end
1509
+ end
1510
+
1480
1511
  class Allowed
1481
1512
  # @private
1482
1513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1614,6 +1645,13 @@ module Google
1614
1645
  end
1615
1646
  end
1616
1647
 
1648
+ class Chokepoint
1649
+ # @private
1650
+ class Representation < Google::Apis::Core::JsonRepresentation
1651
+ collection :related_findings, as: 'relatedFindings'
1652
+ end
1653
+ end
1654
+
1617
1655
  class CloudArmor
1618
1656
  # @private
1619
1657
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1939,6 +1977,8 @@ module Google
1939
1977
  class Representation < Google::Apis::Core::JsonRepresentation
1940
1978
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::Access, decorator: Google::Apis::SecuritycenterV1beta2::Access::Representation
1941
1979
 
1980
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta2::AffectedResources, decorator: Google::Apis::SecuritycenterV1beta2::AffectedResources::Representation
1981
+
1942
1982
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::Application, decorator: Google::Apis::SecuritycenterV1beta2::Application::Representation
1943
1983
 
1944
1984
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::AttackExposure::Representation
@@ -1947,6 +1987,8 @@ module Google
1947
1987
 
1948
1988
  property :canonical_name, as: 'canonicalName'
1949
1989
  property :category, as: 'category'
1990
+ property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta2::Chokepoint, decorator: Google::Apis::SecuritycenterV1beta2::Chokepoint::Representation
1991
+
1950
1992
  property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::CloudArmor::Representation
1951
1993
 
1952
1994
  property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile::Representation
@@ -2380,6 +2422,13 @@ module Google
2380
2422
  end
2381
2423
  end
2382
2424
 
2425
+ class GoogleCloudSecuritycenterV2AffectedResources
2426
+ # @private
2427
+ class Representation < Google::Apis::Core::JsonRepresentation
2428
+ property :count, :numeric_string => true, as: 'count'
2429
+ end
2430
+ end
2431
+
2383
2432
  class GoogleCloudSecuritycenterV2Allowed
2384
2433
  # @private
2385
2434
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2549,6 +2598,13 @@ module Google
2549
2598
  end
2550
2599
  end
2551
2600
 
2601
+ class GoogleCloudSecuritycenterV2Chokepoint
2602
+ # @private
2603
+ class Representation < Google::Apis::Core::JsonRepresentation
2604
+ collection :related_findings, as: 'relatedFindings'
2605
+ end
2606
+ end
2607
+
2552
2608
  class GoogleCloudSecuritycenterV2CloudArmor
2553
2609
  # @private
2554
2610
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2828,6 +2884,8 @@ module Google
2828
2884
  class Representation < Google::Apis::Core::JsonRepresentation
2829
2885
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access::Representation
2830
2886
 
2887
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources::Representation
2888
+
2831
2889
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application::Representation
2832
2890
 
2833
2891
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure::Representation
@@ -2836,6 +2894,8 @@ module Google
2836
2894
 
2837
2895
  property :canonical_name, as: 'canonicalName'
2838
2896
  property :category, as: 'category'
2897
+ property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint::Representation
2898
+
2839
2899
  property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor::Representation
2840
2900
 
2841
2901
  property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.77.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.79.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
62
62
  rdoc_options: []
63
63
  require_paths: