google-apis-securitycenter_v1beta1 0.85.0 → 0.87.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: 6e2bae01f1bcdbde8f40672207520e77f948f97e5abb0a81f086bd1fcdac5222
4
- data.tar.gz: 80e14b19e24f2c8be915c189fb725b3164a314177a5f4e449e0e832e02861bd0
3
+ metadata.gz: 1301015027643a073924c00adfb1c87a37aa2b2e3b7f1f21d810a26363a2733f
4
+ data.tar.gz: adc217cc6a64a2221df12948f5fe0fea2616395eebbbbcbb059b5a0c316c935c
5
5
  SHA512:
6
- metadata.gz: f19343830e8b06e02053d06353ead4f818b4f4af921a45319841b3ab63fb7420ebcdd800e43114c4d2d6fd8c72a6ac2375bd9c75274f94cbddbcde66869efc29
7
- data.tar.gz: ea1cf1fb4e894a6e7315b8a293af871c66c25ce37ee067614858e6012d85659738db8a576b956aa0bb9270d5c0167d743b4bac605fd000f6224856bdfbbc27e0
6
+ metadata.gz: d4b0a07574ebc083a91e5484cd58aad7062e21cd5faa0a1df1b35629a9281a53a0cf3f0b6dbddece09653c99be6c990236a1c5c7f8286de5e74c8191b8a7ad20
7
+ data.tar.gz: 2d500a2b4db9b438fe957e8bc7a677cb1d698872e6e0e552d2258595fcfadbacb1366a2e3391bcc5a58348bf4c84eb29789eb4765f06f89cc65c0611dd67c16b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.87.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250326
6
+
7
+ ### v0.86.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250315
10
+
3
11
  ### v0.85.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
@@ -989,6 +1008,30 @@ module Google
989
1008
  end
990
1009
  end
991
1010
 
1011
+ # Contains details about a chokepoint, which is a resource or resource group
1012
+ # where high-risk attack paths converge, based on [attack path simulations] (
1013
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
1014
+ # attack_path_simulations).
1015
+ class Chokepoint
1016
+ include Google::Apis::Core::Hashable
1017
+
1018
+ # List of resource names of findings associated with this chokepoint. For
1019
+ # example, organizations/123/sources/456/findings/789. This list will have at
1020
+ # most 100 findings.
1021
+ # Corresponds to the JSON property `relatedFindings`
1022
+ # @return [Array<String>]
1023
+ attr_accessor :related_findings
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
1032
+ end
1033
+ end
1034
+
992
1035
  # Fields related to Google Cloud Armor findings.
993
1036
  class CloudArmor
994
1037
  include Google::Apis::Core::Hashable
@@ -2111,6 +2154,11 @@ module Google
2111
2154
  # @return [Google::Apis::SecuritycenterV1beta1::Access]
2112
2155
  attr_accessor :access
2113
2156
 
2157
+ # Details about resources affected by this finding.
2158
+ # Corresponds to the JSON property `affectedResources`
2159
+ # @return [Google::Apis::SecuritycenterV1beta1::AffectedResources]
2160
+ attr_accessor :affected_resources
2161
+
2114
2162
  # Represents an application associated with a finding.
2115
2163
  # Corresponds to the JSON property `application`
2116
2164
  # @return [Google::Apis::SecuritycenterV1beta1::Application]
@@ -2141,6 +2189,14 @@ module Google
2141
2189
  # @return [String]
2142
2190
  attr_accessor :category
2143
2191
 
2192
+ # Contains details about a chokepoint, which is a resource or resource group
2193
+ # where high-risk attack paths converge, based on [attack path simulations] (
2194
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
2195
+ # attack_path_simulations).
2196
+ # Corresponds to the JSON property `chokepoint`
2197
+ # @return [Google::Apis::SecuritycenterV1beta1::Chokepoint]
2198
+ attr_accessor :chokepoint
2199
+
2144
2200
  # Fields related to Google Cloud Armor findings.
2145
2201
  # Corresponds to the JSON property `cloudArmor`
2146
2202
  # @return [Google::Apis::SecuritycenterV1beta1::CloudArmor]
@@ -2469,11 +2525,13 @@ module Google
2469
2525
  # Update properties of this object
2470
2526
  def update!(**args)
2471
2527
  @access = args[:access] if args.key?(:access)
2528
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2472
2529
  @application = args[:application] if args.key?(:application)
2473
2530
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2474
2531
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
2475
2532
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
2476
2533
  @category = args[:category] if args.key?(:category)
2534
+ @chokepoint = args[:chokepoint] if args.key?(:chokepoint)
2477
2535
  @cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
2478
2536
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
2479
2537
  @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -4229,6 +4287,25 @@ module Google
4229
4287
  end
4230
4288
  end
4231
4289
 
4290
+ # Details about resources affected by this finding.
4291
+ class GoogleCloudSecuritycenterV2AffectedResources
4292
+ include Google::Apis::Core::Hashable
4293
+
4294
+ # The count of resources affected by the finding.
4295
+ # Corresponds to the JSON property `count`
4296
+ # @return [Fixnum]
4297
+ attr_accessor :count
4298
+
4299
+ def initialize(**args)
4300
+ update!(**args)
4301
+ end
4302
+
4303
+ # Update properties of this object
4304
+ def update!(**args)
4305
+ @count = args[:count] if args.key?(:count)
4306
+ end
4307
+ end
4308
+
4232
4309
  # Allowed IP rule.
4233
4310
  class GoogleCloudSecuritycenterV2Allowed
4234
4311
  include Google::Apis::Core::Hashable
@@ -4871,6 +4948,30 @@ module Google
4871
4948
  end
4872
4949
  end
4873
4950
 
4951
+ # Contains details about a chokepoint, which is a resource or resource group
4952
+ # where high-risk attack paths converge, based on [attack path simulations] (
4953
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
4954
+ # attack_path_simulations).
4955
+ class GoogleCloudSecuritycenterV2Chokepoint
4956
+ include Google::Apis::Core::Hashable
4957
+
4958
+ # List of resource names of findings associated with this chokepoint. For
4959
+ # example, organizations/123/sources/456/findings/789. This list will have at
4960
+ # most 100 findings.
4961
+ # Corresponds to the JSON property `relatedFindings`
4962
+ # @return [Array<String>]
4963
+ attr_accessor :related_findings
4964
+
4965
+ def initialize(**args)
4966
+ update!(**args)
4967
+ end
4968
+
4969
+ # Update properties of this object
4970
+ def update!(**args)
4971
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
4972
+ end
4973
+ end
4974
+
4874
4975
  # Fields related to Google Cloud Armor findings.
4875
4976
  class GoogleCloudSecuritycenterV2CloudArmor
4876
4977
  include Google::Apis::Core::Hashable
@@ -5951,6 +6052,11 @@ module Google
5951
6052
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access]
5952
6053
  attr_accessor :access
5953
6054
 
6055
+ # Details about resources affected by this finding.
6056
+ # Corresponds to the JSON property `affectedResources`
6057
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources]
6058
+ attr_accessor :affected_resources
6059
+
5954
6060
  # Represents an application associated with a finding.
5955
6061
  # Corresponds to the JSON property `application`
5956
6062
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application]
@@ -5985,6 +6091,14 @@ module Google
5985
6091
  # @return [String]
5986
6092
  attr_accessor :category
5987
6093
 
6094
+ # Contains details about a chokepoint, which is a resource or resource group
6095
+ # where high-risk attack paths converge, based on [attack path simulations] (
6096
+ # https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
6097
+ # attack_path_simulations).
6098
+ # Corresponds to the JSON property `chokepoint`
6099
+ # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint]
6100
+ attr_accessor :chokepoint
6101
+
5988
6102
  # Fields related to Google Cloud Armor findings.
5989
6103
  # Corresponds to the JSON property `cloudArmor`
5990
6104
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor]
@@ -6323,11 +6437,13 @@ module Google
6323
6437
  # Update properties of this object
6324
6438
  def update!(**args)
6325
6439
  @access = args[:access] if args.key?(:access)
6440
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6326
6441
  @application = args[:application] if args.key?(:application)
6327
6442
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6328
6443
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
6329
6444
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
6330
6445
  @category = args[:category] if args.key?(:category)
6446
+ @chokepoint = args[:chokepoint] if args.key?(:chokepoint)
6331
6447
  @cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
6332
6448
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
6333
6449
  @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.85.0"
19
+ GEM_VERSION = "0.87.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
 
@@ -160,6 +166,12 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class Chokepoint
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class CloudArmor
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -532,6 +544,12 @@ module Google
532
544
  include Google::Apis::Core::JsonObjectSupport
533
545
  end
534
546
 
547
+ class GoogleCloudSecuritycenterV2AffectedResources
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
535
553
  class GoogleCloudSecuritycenterV2Allowed
536
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
555
 
@@ -634,6 +652,12 @@ module Google
634
652
  include Google::Apis::Core::JsonObjectSupport
635
653
  end
636
654
 
655
+ class GoogleCloudSecuritycenterV2Chokepoint
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
637
661
  class GoogleCloudSecuritycenterV2CloudArmor
638
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
663
 
@@ -1609,6 +1633,13 @@ module Google
1609
1633
  end
1610
1634
  end
1611
1635
 
1636
+ class AffectedResources
1637
+ # @private
1638
+ class Representation < Google::Apis::Core::JsonRepresentation
1639
+ property :count, :numeric_string => true, as: 'count'
1640
+ end
1641
+ end
1642
+
1612
1643
  class Allowed
1613
1644
  # @private
1614
1645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1801,6 +1832,13 @@ module Google
1801
1832
  end
1802
1833
  end
1803
1834
 
1835
+ class Chokepoint
1836
+ # @private
1837
+ class Representation < Google::Apis::Core::JsonRepresentation
1838
+ collection :related_findings, as: 'relatedFindings'
1839
+ end
1840
+ end
1841
+
1804
1842
  class CloudArmor
1805
1843
  # @private
1806
1844
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2092,6 +2130,8 @@ module Google
2092
2130
  class Representation < Google::Apis::Core::JsonRepresentation
2093
2131
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta1::Access, decorator: Google::Apis::SecuritycenterV1beta1::Access::Representation
2094
2132
 
2133
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta1::AffectedResources, decorator: Google::Apis::SecuritycenterV1beta1::AffectedResources::Representation
2134
+
2095
2135
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta1::Application, decorator: Google::Apis::SecuritycenterV1beta1::Application::Representation
2096
2136
 
2097
2137
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta1::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta1::AttackExposure::Representation
@@ -2100,6 +2140,8 @@ module Google
2100
2140
 
2101
2141
  property :canonical_name, as: 'canonicalName'
2102
2142
  property :category, as: 'category'
2143
+ property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta1::Chokepoint, decorator: Google::Apis::SecuritycenterV1beta1::Chokepoint::Representation
2144
+
2103
2145
  property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta1::CloudArmor, decorator: Google::Apis::SecuritycenterV1beta1::CloudArmor::Representation
2104
2146
 
2105
2147
  property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile::Representation
@@ -2573,6 +2615,13 @@ module Google
2573
2615
  end
2574
2616
  end
2575
2617
 
2618
+ class GoogleCloudSecuritycenterV2AffectedResources
2619
+ # @private
2620
+ class Representation < Google::Apis::Core::JsonRepresentation
2621
+ property :count, :numeric_string => true, as: 'count'
2622
+ end
2623
+ end
2624
+
2576
2625
  class GoogleCloudSecuritycenterV2Allowed
2577
2626
  # @private
2578
2627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2742,6 +2791,13 @@ module Google
2742
2791
  end
2743
2792
  end
2744
2793
 
2794
+ class GoogleCloudSecuritycenterV2Chokepoint
2795
+ # @private
2796
+ class Representation < Google::Apis::Core::JsonRepresentation
2797
+ collection :related_findings, as: 'relatedFindings'
2798
+ end
2799
+ end
2800
+
2745
2801
  class GoogleCloudSecuritycenterV2CloudArmor
2746
2802
  # @private
2747
2803
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3021,6 +3077,8 @@ module Google
3021
3077
  class Representation < Google::Apis::Core::JsonRepresentation
3022
3078
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access::Representation
3023
3079
 
3080
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources::Representation
3081
+
3024
3082
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application::Representation
3025
3083
 
3026
3084
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AttackExposure::Representation
@@ -3029,6 +3087,8 @@ module Google
3029
3087
 
3030
3088
  property :canonical_name, as: 'canonicalName'
3031
3089
  property :category, as: 'category'
3090
+ property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint::Representation
3091
+
3032
3092
  property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor::Representation
3033
3093
 
3034
3094
  property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.85.0
4
+ version: 0.87.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.85.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.87.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: