google-apis-securitycenter_v1 0.110.0 → 0.112.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.
@@ -269,6 +269,11 @@ module Google
269
269
  # @return [String]
270
270
  attr_accessor :publisher
271
271
 
272
+ # The purpose of the model, for example, "Inteference" or "Training".
273
+ # Corresponds to the JSON property `usageCategory`
274
+ # @return [String]
275
+ attr_accessor :usage_category
276
+
272
277
  def initialize(**args)
273
278
  update!(**args)
274
279
  end
@@ -282,6 +287,7 @@ module Google
282
287
  @location = args[:location] if args.key?(:location)
283
288
  @name = args[:name] if args.key?(:name)
284
289
  @publisher = args[:publisher] if args.key?(:publisher)
290
+ @usage_category = args[:usage_category] if args.key?(:usage_category)
285
291
  end
286
292
  end
287
293
 
@@ -331,6 +337,64 @@ module Google
331
337
  end
332
338
  end
333
339
 
340
+ # Represents the result of evaluating artifact guard policies.
341
+ class ArtifactGuardPolicies
342
+ include Google::Apis::Core::Hashable
343
+
344
+ # A list of failing policies.
345
+ # Corresponds to the JSON property `failingPolicies`
346
+ # @return [Array<Google::Apis::SecuritycenterV1::ArtifactGuardPolicy>]
347
+ attr_accessor :failing_policies
348
+
349
+ # The ID of the resource that has policies configured for it.
350
+ # Corresponds to the JSON property `resourceId`
351
+ # @return [String]
352
+ attr_accessor :resource_id
353
+
354
+ def initialize(**args)
355
+ update!(**args)
356
+ end
357
+
358
+ # Update properties of this object
359
+ def update!(**args)
360
+ @failing_policies = args[:failing_policies] if args.key?(:failing_policies)
361
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
362
+ end
363
+ end
364
+
365
+ # Represents an artifact guard policy.
366
+ class ArtifactGuardPolicy
367
+ include Google::Apis::Core::Hashable
368
+
369
+ # The reason for the policy failure, for example, "severity=HIGH AND
370
+ # max_vuln_count=2".
371
+ # Corresponds to the JSON property `failureReason`
372
+ # @return [String]
373
+ attr_accessor :failure_reason
374
+
375
+ # The ID of the failing policy, for example, "organizations/3392779/locations/
376
+ # global/policies/prod-policy".
377
+ # Corresponds to the JSON property `policyId`
378
+ # @return [String]
379
+ attr_accessor :policy_id
380
+
381
+ # The type of the policy evaluation.
382
+ # Corresponds to the JSON property `type`
383
+ # @return [String]
384
+ attr_accessor :type
385
+
386
+ def initialize(**args)
387
+ update!(**args)
388
+ end
389
+
390
+ # Update properties of this object
391
+ def update!(**args)
392
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
393
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
394
+ @type = args[:type] if args.key?(:type)
395
+ end
396
+ end
397
+
334
398
  # Security Command Center representation of a Google Cloud resource. The Asset
335
399
  # is a Security Command Center resource that captures information about a single
336
400
  # Google Cloud resource. All modifications to an Asset are only within the
@@ -2767,6 +2831,11 @@ module Google
2767
2831
  # @return [Google::Apis::SecuritycenterV1::DiskPath]
2768
2832
  attr_accessor :disk_path
2769
2833
 
2834
+ # The load state of the file.
2835
+ # Corresponds to the JSON property `fileLoadState`
2836
+ # @return [String]
2837
+ attr_accessor :file_load_state
2838
+
2770
2839
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
2771
2840
  # any hashes reported represent the entire file.
2772
2841
  # Corresponds to the JSON property `hashedSize`
@@ -2808,6 +2877,7 @@ module Google
2808
2877
  def update!(**args)
2809
2878
  @contents = args[:contents] if args.key?(:contents)
2810
2879
  @disk_path = args[:disk_path] if args.key?(:disk_path)
2880
+ @file_load_state = args[:file_load_state] if args.key?(:file_load_state)
2811
2881
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
2812
2882
  @operations = args[:operations] if args.key?(:operations)
2813
2883
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -2864,6 +2934,11 @@ module Google
2864
2934
  # @return [Google::Apis::SecuritycenterV1::Application]
2865
2935
  attr_accessor :application
2866
2936
 
2937
+ # Represents the result of evaluating artifact guard policies.
2938
+ # Corresponds to the JSON property `artifactGuardPolicies`
2939
+ # @return [Google::Apis::SecuritycenterV1::ArtifactGuardPolicies]
2940
+ attr_accessor :artifact_guard_policies
2941
+
2867
2942
  # An attack exposure contains the results of an attack path simulation run.
2868
2943
  # Corresponds to the JSON property `attackExposure`
2869
2944
  # @return [Google::Apis::SecuritycenterV1::AttackExposure]
@@ -3176,6 +3251,11 @@ module Google
3176
3251
  # @return [String]
3177
3252
  attr_accessor :resource_name
3178
3253
 
3254
+ # Details about a secret or credential associated with the finding.
3255
+ # Corresponds to the JSON property `secret`
3256
+ # @return [Google::Apis::SecuritycenterV1::Secret]
3257
+ attr_accessor :secret
3258
+
3179
3259
  # User specified security marks that are attached to the parent Security Command
3180
3260
  # Center resource. Security marks are scoped within a Security Command Center
3181
3261
  # organization -- they can be modified and viewed by all users who have proper
@@ -3238,6 +3318,7 @@ module Google
3238
3318
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
3239
3319
  @ai_model = args[:ai_model] if args.key?(:ai_model)
3240
3320
  @application = args[:application] if args.key?(:application)
3321
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
3241
3322
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
3242
3323
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
3243
3324
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -3288,6 +3369,7 @@ module Google
3288
3369
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
3289
3370
  @processes = args[:processes] if args.key?(:processes)
3290
3371
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3372
+ @secret = args[:secret] if args.key?(:secret)
3291
3373
  @security_marks = args[:security_marks] if args.key?(:security_marks)
3292
3374
  @security_posture = args[:security_posture] if args.key?(:security_posture)
3293
3375
  @severity = args[:severity] if args.key?(:severity)
@@ -4035,6 +4117,11 @@ module Google
4035
4117
  class GoogleCloudSecuritycenterV1Resource
4036
4118
  include Google::Apis::Core::Hashable
4037
4119
 
4120
+ # The App Hub Application associated with the finding's resource.
4121
+ # Corresponds to the JSON property `application`
4122
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication]
4123
+ attr_accessor :application
4124
+
4038
4125
  # AWS metadata associated with the resource, only applicable if the finding's
4039
4126
  # cloud provider is Amazon Web Services.
4040
4127
  # Corresponds to the JSON property `awsMetadata`
@@ -4137,6 +4224,7 @@ module Google
4137
4224
 
4138
4225
  # Update properties of this object
4139
4226
  def update!(**args)
4227
+ @application = args[:application] if args.key?(:application)
4140
4228
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
4141
4229
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
4142
4230
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -4156,6 +4244,132 @@ module Google
4156
4244
  end
4157
4245
  end
4158
4246
 
4247
+ # The App Hub Application associated with the finding's resource.
4248
+ class GoogleCloudSecuritycenterV1ResourceApplication
4249
+ include Google::Apis::Core::Hashable
4250
+
4251
+ # Consumer provided attributes for the application
4252
+ # Corresponds to the JSON property `attributes`
4253
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributes]
4254
+ attr_accessor :attributes
4255
+
4256
+ # The resource name of an Application. Format: `projects/`host-project-id`/
4257
+ # locations/`location`/applications/`application-id``
4258
+ # Corresponds to the JSON property `name`
4259
+ # @return [String]
4260
+ attr_accessor :name
4261
+
4262
+ def initialize(**args)
4263
+ update!(**args)
4264
+ end
4265
+
4266
+ # Update properties of this object
4267
+ def update!(**args)
4268
+ @attributes = args[:attributes] if args.key?(:attributes)
4269
+ @name = args[:name] if args.key?(:name)
4270
+ end
4271
+ end
4272
+
4273
+ # Consumer provided attributes for the application
4274
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes
4275
+ include Google::Apis::Core::Hashable
4276
+
4277
+ # Business team that ensures user needs are met and value is delivered
4278
+ # Corresponds to the JSON property `businessOwners`
4279
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
4280
+ attr_accessor :business_owners
4281
+
4282
+ # Criticality of the Application, Service, or Workload
4283
+ # Corresponds to the JSON property `criticality`
4284
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality]
4285
+ attr_accessor :criticality
4286
+
4287
+ # Developer team that owns development and coding.
4288
+ # Corresponds to the JSON property `developerOwners`
4289
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
4290
+ attr_accessor :developer_owners
4291
+
4292
+ # Environment of the Application, Service, or Workload
4293
+ # Corresponds to the JSON property `environment`
4294
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment]
4295
+ attr_accessor :environment
4296
+
4297
+ # Operator team that ensures runtime and operations.
4298
+ # Corresponds to the JSON property `operatorOwners`
4299
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
4300
+ attr_accessor :operator_owners
4301
+
4302
+ def initialize(**args)
4303
+ update!(**args)
4304
+ end
4305
+
4306
+ # Update properties of this object
4307
+ def update!(**args)
4308
+ @business_owners = args[:business_owners] if args.key?(:business_owners)
4309
+ @criticality = args[:criticality] if args.key?(:criticality)
4310
+ @developer_owners = args[:developer_owners] if args.key?(:developer_owners)
4311
+ @environment = args[:environment] if args.key?(:environment)
4312
+ @operator_owners = args[:operator_owners] if args.key?(:operator_owners)
4313
+ end
4314
+ end
4315
+
4316
+ # Contact information of stakeholders.
4317
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo
4318
+ include Google::Apis::Core::Hashable
4319
+
4320
+ # Email address of the contacts.
4321
+ # Corresponds to the JSON property `email`
4322
+ # @return [String]
4323
+ attr_accessor :email
4324
+
4325
+ def initialize(**args)
4326
+ update!(**args)
4327
+ end
4328
+
4329
+ # Update properties of this object
4330
+ def update!(**args)
4331
+ @email = args[:email] if args.key?(:email)
4332
+ end
4333
+ end
4334
+
4335
+ # Criticality of the Application, Service, or Workload
4336
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality
4337
+ include Google::Apis::Core::Hashable
4338
+
4339
+ # Criticality Type.
4340
+ # Corresponds to the JSON property `type`
4341
+ # @return [String]
4342
+ attr_accessor :type
4343
+
4344
+ def initialize(**args)
4345
+ update!(**args)
4346
+ end
4347
+
4348
+ # Update properties of this object
4349
+ def update!(**args)
4350
+ @type = args[:type] if args.key?(:type)
4351
+ end
4352
+ end
4353
+
4354
+ # Environment of the Application, Service, or Workload
4355
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
4356
+ include Google::Apis::Core::Hashable
4357
+
4358
+ # Environment Type.
4359
+ # Corresponds to the JSON property `type`
4360
+ # @return [String]
4361
+ attr_accessor :type
4362
+
4363
+ def initialize(**args)
4364
+ update!(**args)
4365
+ end
4366
+
4367
+ # Update properties of this object
4368
+ def update!(**args)
4369
+ @type = args[:type] if args.key?(:type)
4370
+ end
4371
+ end
4372
+
4159
4373
  # Resource for selecting resource type.
4160
4374
  class GoogleCloudSecuritycenterV1ResourceSelector
4161
4375
  include Google::Apis::Core::Hashable
@@ -4973,6 +5187,11 @@ module Google
4973
5187
  # @return [String]
4974
5188
  attr_accessor :publisher
4975
5189
 
5190
+ # The purpose of the model, for example, "Inteference" or "Training".
5191
+ # Corresponds to the JSON property `usageCategory`
5192
+ # @return [String]
5193
+ attr_accessor :usage_category
5194
+
4976
5195
  def initialize(**args)
4977
5196
  update!(**args)
4978
5197
  end
@@ -4986,6 +5205,7 @@ module Google
4986
5205
  @location = args[:location] if args.key?(:location)
4987
5206
  @name = args[:name] if args.key?(:name)
4988
5207
  @publisher = args[:publisher] if args.key?(:publisher)
5208
+ @usage_category = args[:usage_category] if args.key?(:usage_category)
4989
5209
  end
4990
5210
  end
4991
5211
 
@@ -5035,6 +5255,64 @@ module Google
5035
5255
  end
5036
5256
  end
5037
5257
 
5258
+ # Represents the result of evaluating artifact guard policies.
5259
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicies
5260
+ include Google::Apis::Core::Hashable
5261
+
5262
+ # A list of failing policies.
5263
+ # Corresponds to the JSON property `failingPolicies`
5264
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ArtifactGuardPolicy>]
5265
+ attr_accessor :failing_policies
5266
+
5267
+ # The ID of the resource that has policies configured for it.
5268
+ # Corresponds to the JSON property `resourceId`
5269
+ # @return [String]
5270
+ attr_accessor :resource_id
5271
+
5272
+ def initialize(**args)
5273
+ update!(**args)
5274
+ end
5275
+
5276
+ # Update properties of this object
5277
+ def update!(**args)
5278
+ @failing_policies = args[:failing_policies] if args.key?(:failing_policies)
5279
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
5280
+ end
5281
+ end
5282
+
5283
+ # Represents an artifact guard policy.
5284
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicy
5285
+ include Google::Apis::Core::Hashable
5286
+
5287
+ # The reason for the policy failure, for example, "severity=HIGH AND
5288
+ # max_vuln_count=2".
5289
+ # Corresponds to the JSON property `failureReason`
5290
+ # @return [String]
5291
+ attr_accessor :failure_reason
5292
+
5293
+ # The ID of the failing policy, for example, "organizations/3392779/locations/
5294
+ # global/policies/prod-policy".
5295
+ # Corresponds to the JSON property `policyId`
5296
+ # @return [String]
5297
+ attr_accessor :policy_id
5298
+
5299
+ # The type of the policy evaluation.
5300
+ # Corresponds to the JSON property `type`
5301
+ # @return [String]
5302
+ attr_accessor :type
5303
+
5304
+ def initialize(**args)
5305
+ update!(**args)
5306
+ end
5307
+
5308
+ # Update properties of this object
5309
+ def update!(**args)
5310
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
5311
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
5312
+ @type = args[:type] if args.key?(:type)
5313
+ end
5314
+ end
5315
+
5038
5316
  # Information about DDoS attack volume and classification.
5039
5317
  class GoogleCloudSecuritycenterV2Attack
5040
5318
  include Google::Apis::Core::Hashable
@@ -6821,6 +7099,11 @@ module Google
6821
7099
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiskPath]
6822
7100
  attr_accessor :disk_path
6823
7101
 
7102
+ # The load state of the file.
7103
+ # Corresponds to the JSON property `fileLoadState`
7104
+ # @return [String]
7105
+ attr_accessor :file_load_state
7106
+
6824
7107
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
6825
7108
  # any hashes reported represent the entire file.
6826
7109
  # Corresponds to the JSON property `hashedSize`
@@ -6862,6 +7145,7 @@ module Google
6862
7145
  def update!(**args)
6863
7146
  @contents = args[:contents] if args.key?(:contents)
6864
7147
  @disk_path = args[:disk_path] if args.key?(:disk_path)
7148
+ @file_load_state = args[:file_load_state] if args.key?(:file_load_state)
6865
7149
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
6866
7150
  @operations = args[:operations] if args.key?(:operations)
6867
7151
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -6918,6 +7202,11 @@ module Google
6918
7202
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application]
6919
7203
  attr_accessor :application
6920
7204
 
7205
+ # Represents the result of evaluating artifact guard policies.
7206
+ # Corresponds to the JSON property `artifactGuardPolicies`
7207
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ArtifactGuardPolicies]
7208
+ attr_accessor :artifact_guard_policies
7209
+
6921
7210
  # An attack exposure contains the results of an attack path simulation run.
6922
7211
  # Corresponds to the JSON property `attackExposure`
6923
7212
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure]
@@ -7247,6 +7536,11 @@ module Google
7247
7536
  # @return [String]
7248
7537
  attr_accessor :resource_name
7249
7538
 
7539
+ # Details about a secret or credential associated with the finding.
7540
+ # Corresponds to the JSON property `secret`
7541
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Secret]
7542
+ attr_accessor :secret
7543
+
7250
7544
  # User specified security marks that are attached to the parent Security Command
7251
7545
  # Center resource. Security marks are scoped within a Security Command Center
7252
7546
  # organization -- they can be modified and viewed by all users who have proper
@@ -7309,6 +7603,7 @@ module Google
7309
7603
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
7310
7604
  @ai_model = args[:ai_model] if args.key?(:ai_model)
7311
7605
  @application = args[:application] if args.key?(:application)
7606
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
7312
7607
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
7313
7608
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
7314
7609
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -7360,6 +7655,7 @@ module Google
7360
7655
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
7361
7656
  @processes = args[:processes] if args.key?(:processes)
7362
7657
  @resource_name = args[:resource_name] if args.key?(:resource_name)
7658
+ @secret = args[:secret] if args.key?(:secret)
7363
7659
  @security_marks = args[:security_marks] if args.key?(:security_marks)
7364
7660
  @security_posture = args[:security_posture] if args.key?(:security_posture)
7365
7661
  @severity = args[:severity] if args.key?(:severity)
@@ -9296,6 +9592,11 @@ module Google
9296
9592
  class GoogleCloudSecuritycenterV2Resource
9297
9593
  include Google::Apis::Core::Hashable
9298
9594
 
9595
+ # The App Hub Application associated with the finding's resource.
9596
+ # Corresponds to the JSON property `application`
9597
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplication]
9598
+ attr_accessor :application
9599
+
9299
9600
  # AWS metadata associated with the resource, only applicable if the finding's
9300
9601
  # cloud provider is Amazon Web Services.
9301
9602
  # Corresponds to the JSON property `awsMetadata`
@@ -9370,6 +9671,7 @@ module Google
9370
9671
 
9371
9672
  # Update properties of this object
9372
9673
  def update!(**args)
9674
+ @application = args[:application] if args.key?(:application)
9373
9675
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
9374
9676
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
9375
9677
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -9384,6 +9686,132 @@ module Google
9384
9686
  end
9385
9687
  end
9386
9688
 
9689
+ # The App Hub Application associated with the finding's resource.
9690
+ class GoogleCloudSecuritycenterV2ResourceApplication
9691
+ include Google::Apis::Core::Hashable
9692
+
9693
+ # Consumer provided attributes for the application
9694
+ # Corresponds to the JSON property `attributes`
9695
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributes]
9696
+ attr_accessor :attributes
9697
+
9698
+ # The resource name of an Application. Format: `projects/`host-project-id`/
9699
+ # locations/`location`/applications/`application-id``
9700
+ # Corresponds to the JSON property `name`
9701
+ # @return [String]
9702
+ attr_accessor :name
9703
+
9704
+ def initialize(**args)
9705
+ update!(**args)
9706
+ end
9707
+
9708
+ # Update properties of this object
9709
+ def update!(**args)
9710
+ @attributes = args[:attributes] if args.key?(:attributes)
9711
+ @name = args[:name] if args.key?(:name)
9712
+ end
9713
+ end
9714
+
9715
+ # Consumer provided attributes for the application
9716
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes
9717
+ include Google::Apis::Core::Hashable
9718
+
9719
+ # Business team that ensures user needs are met and value is delivered
9720
+ # Corresponds to the JSON property `businessOwners`
9721
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9722
+ attr_accessor :business_owners
9723
+
9724
+ # Criticality of the Application, Service, or Workload
9725
+ # Corresponds to the JSON property `criticality`
9726
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality]
9727
+ attr_accessor :criticality
9728
+
9729
+ # Developer team that owns development and coding.
9730
+ # Corresponds to the JSON property `developerOwners`
9731
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9732
+ attr_accessor :developer_owners
9733
+
9734
+ # Environment of the Application, Service, or Workload
9735
+ # Corresponds to the JSON property `environment`
9736
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment]
9737
+ attr_accessor :environment
9738
+
9739
+ # Operator team that ensures runtime and operations.
9740
+ # Corresponds to the JSON property `operatorOwners`
9741
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9742
+ attr_accessor :operator_owners
9743
+
9744
+ def initialize(**args)
9745
+ update!(**args)
9746
+ end
9747
+
9748
+ # Update properties of this object
9749
+ def update!(**args)
9750
+ @business_owners = args[:business_owners] if args.key?(:business_owners)
9751
+ @criticality = args[:criticality] if args.key?(:criticality)
9752
+ @developer_owners = args[:developer_owners] if args.key?(:developer_owners)
9753
+ @environment = args[:environment] if args.key?(:environment)
9754
+ @operator_owners = args[:operator_owners] if args.key?(:operator_owners)
9755
+ end
9756
+ end
9757
+
9758
+ # Contact information of stakeholders.
9759
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo
9760
+ include Google::Apis::Core::Hashable
9761
+
9762
+ # Email address of the contacts.
9763
+ # Corresponds to the JSON property `email`
9764
+ # @return [String]
9765
+ attr_accessor :email
9766
+
9767
+ def initialize(**args)
9768
+ update!(**args)
9769
+ end
9770
+
9771
+ # Update properties of this object
9772
+ def update!(**args)
9773
+ @email = args[:email] if args.key?(:email)
9774
+ end
9775
+ end
9776
+
9777
+ # Criticality of the Application, Service, or Workload
9778
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
9779
+ include Google::Apis::Core::Hashable
9780
+
9781
+ # Criticality Type.
9782
+ # Corresponds to the JSON property `type`
9783
+ # @return [String]
9784
+ attr_accessor :type
9785
+
9786
+ def initialize(**args)
9787
+ update!(**args)
9788
+ end
9789
+
9790
+ # Update properties of this object
9791
+ def update!(**args)
9792
+ @type = args[:type] if args.key?(:type)
9793
+ end
9794
+ end
9795
+
9796
+ # Environment of the Application, Service, or Workload
9797
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
9798
+ include Google::Apis::Core::Hashable
9799
+
9800
+ # Environment Type.
9801
+ # Corresponds to the JSON property `type`
9802
+ # @return [String]
9803
+ attr_accessor :type
9804
+
9805
+ def initialize(**args)
9806
+ update!(**args)
9807
+ end
9808
+
9809
+ # Update properties of this object
9810
+ def update!(**args)
9811
+ @type = args[:type] if args.key?(:type)
9812
+ end
9813
+ end
9814
+
9387
9815
  # Represents the path of resources leading up to the resource this finding is
9388
9816
  # about.
9389
9817
  class GoogleCloudSecuritycenterV2ResourcePath
@@ -9562,6 +9990,108 @@ module Google
9562
9990
  end
9563
9991
  end
9564
9992
 
9993
+ # Details about a secret or credential associated with the finding.
9994
+ class GoogleCloudSecuritycenterV2Secret
9995
+ include Google::Apis::Core::Hashable
9996
+
9997
+ # Environment variable containing the secret.
9998
+ # Corresponds to the JSON property `environmentVariable`
9999
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SecretEnvironmentVariable]
10000
+ attr_accessor :environment_variable
10001
+
10002
+ # File path containing the secret.
10003
+ # Corresponds to the JSON property `filePath`
10004
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SecretFilePath]
10005
+ attr_accessor :file_path
10006
+
10007
+ # The status of the secret.
10008
+ # Corresponds to the JSON property `status`
10009
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SecretStatus]
10010
+ attr_accessor :status
10011
+
10012
+ # The type of secret, for example, GCP_API_KEY.
10013
+ # Corresponds to the JSON property `type`
10014
+ # @return [String]
10015
+ attr_accessor :type
10016
+
10017
+ def initialize(**args)
10018
+ update!(**args)
10019
+ end
10020
+
10021
+ # Update properties of this object
10022
+ def update!(**args)
10023
+ @environment_variable = args[:environment_variable] if args.key?(:environment_variable)
10024
+ @file_path = args[:file_path] if args.key?(:file_path)
10025
+ @status = args[:status] if args.key?(:status)
10026
+ @type = args[:type] if args.key?(:type)
10027
+ end
10028
+ end
10029
+
10030
+ # Environment variable containing the secret.
10031
+ class GoogleCloudSecuritycenterV2SecretEnvironmentVariable
10032
+ include Google::Apis::Core::Hashable
10033
+
10034
+ # Environment variable name as a JSON encoded string. Note that value is not
10035
+ # included since the value contains the secret data, which is sensitive core
10036
+ # content.
10037
+ # Corresponds to the JSON property `key`
10038
+ # @return [String]
10039
+ attr_accessor :key
10040
+
10041
+ def initialize(**args)
10042
+ update!(**args)
10043
+ end
10044
+
10045
+ # Update properties of this object
10046
+ def update!(**args)
10047
+ @key = args[:key] if args.key?(:key)
10048
+ end
10049
+ end
10050
+
10051
+ # File path containing the secret.
10052
+ class GoogleCloudSecuritycenterV2SecretFilePath
10053
+ include Google::Apis::Core::Hashable
10054
+
10055
+ # Path to the file.
10056
+ # Corresponds to the JSON property `path`
10057
+ # @return [String]
10058
+ attr_accessor :path
10059
+
10060
+ def initialize(**args)
10061
+ update!(**args)
10062
+ end
10063
+
10064
+ # Update properties of this object
10065
+ def update!(**args)
10066
+ @path = args[:path] if args.key?(:path)
10067
+ end
10068
+ end
10069
+
10070
+ # The status of the secret.
10071
+ class GoogleCloudSecuritycenterV2SecretStatus
10072
+ include Google::Apis::Core::Hashable
10073
+
10074
+ # Time that the secret was found.
10075
+ # Corresponds to the JSON property `lastUpdatedTime`
10076
+ # @return [String]
10077
+ attr_accessor :last_updated_time
10078
+
10079
+ # The validity of the secret.
10080
+ # Corresponds to the JSON property `validity`
10081
+ # @return [String]
10082
+ attr_accessor :validity
10083
+
10084
+ def initialize(**args)
10085
+ update!(**args)
10086
+ end
10087
+
10088
+ # Update properties of this object
10089
+ def update!(**args)
10090
+ @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
10091
+ @validity = args[:validity] if args.key?(:validity)
10092
+ end
10093
+ end
10094
+
9565
10095
  # SecurityBulletin are notifications of vulnerabilities of Google products.
9566
10096
  class GoogleCloudSecuritycenterV2SecurityBulletin
9567
10097
  include Google::Apis::Core::Hashable
@@ -11240,8 +11770,9 @@ module Google
11240
11770
  attr_accessor :operations
11241
11771
 
11242
11772
  # Unordered list. Unreachable resources. Populated when the request sets `
11243
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
11244
- # when attempting to list all resources across all supported locations.
11773
+ # ListOperationsRequest.return_partial_success` and reads across collections.
11774
+ # For example, when attempting to list all resources across all supported
11775
+ # locations.
11245
11776
  # Corresponds to the JSON property `unreachable`
11246
11777
  # @return [Array<String>]
11247
11778
  attr_accessor :unreachable
@@ -12331,6 +12862,11 @@ module Google
12331
12862
  class Resource
12332
12863
  include Google::Apis::Core::Hashable
12333
12864
 
12865
+ # The App Hub Application associated with the finding's resource.
12866
+ # Corresponds to the JSON property `application`
12867
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplication]
12868
+ attr_accessor :application
12869
+
12334
12870
  # AWS metadata associated with the resource, only applicable if the finding's
12335
12871
  # cloud provider is Amazon Web Services.
12336
12872
  # Corresponds to the JSON property `awsMetadata`
@@ -12430,6 +12966,7 @@ module Google
12430
12966
 
12431
12967
  # Update properties of this object
12432
12968
  def update!(**args)
12969
+ @application = args[:application] if args.key?(:application)
12433
12970
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
12434
12971
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
12435
12972
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -12565,6 +13102,108 @@ module Google
12565
13102
  end
12566
13103
  end
12567
13104
 
13105
+ # Details about a secret or credential associated with the finding.
13106
+ class Secret
13107
+ include Google::Apis::Core::Hashable
13108
+
13109
+ # Environment variable containing the secret.
13110
+ # Corresponds to the JSON property `environmentVariable`
13111
+ # @return [Google::Apis::SecuritycenterV1::SecretEnvironmentVariable]
13112
+ attr_accessor :environment_variable
13113
+
13114
+ # File path containing the secret.
13115
+ # Corresponds to the JSON property `filePath`
13116
+ # @return [Google::Apis::SecuritycenterV1::SecretFilePath]
13117
+ attr_accessor :file_path
13118
+
13119
+ # The status of the secret.
13120
+ # Corresponds to the JSON property `status`
13121
+ # @return [Google::Apis::SecuritycenterV1::SecretStatus]
13122
+ attr_accessor :status
13123
+
13124
+ # The type of secret, for example, GCP_API_KEY.
13125
+ # Corresponds to the JSON property `type`
13126
+ # @return [String]
13127
+ attr_accessor :type
13128
+
13129
+ def initialize(**args)
13130
+ update!(**args)
13131
+ end
13132
+
13133
+ # Update properties of this object
13134
+ def update!(**args)
13135
+ @environment_variable = args[:environment_variable] if args.key?(:environment_variable)
13136
+ @file_path = args[:file_path] if args.key?(:file_path)
13137
+ @status = args[:status] if args.key?(:status)
13138
+ @type = args[:type] if args.key?(:type)
13139
+ end
13140
+ end
13141
+
13142
+ # Environment variable containing the secret.
13143
+ class SecretEnvironmentVariable
13144
+ include Google::Apis::Core::Hashable
13145
+
13146
+ # Environment variable name as a JSON encoded string. Note that value is not
13147
+ # included since the value contains the secret data, which is sensitive core
13148
+ # content.
13149
+ # Corresponds to the JSON property `key`
13150
+ # @return [String]
13151
+ attr_accessor :key
13152
+
13153
+ def initialize(**args)
13154
+ update!(**args)
13155
+ end
13156
+
13157
+ # Update properties of this object
13158
+ def update!(**args)
13159
+ @key = args[:key] if args.key?(:key)
13160
+ end
13161
+ end
13162
+
13163
+ # File path containing the secret.
13164
+ class SecretFilePath
13165
+ include Google::Apis::Core::Hashable
13166
+
13167
+ # Path to the file.
13168
+ # Corresponds to the JSON property `path`
13169
+ # @return [String]
13170
+ attr_accessor :path
13171
+
13172
+ def initialize(**args)
13173
+ update!(**args)
13174
+ end
13175
+
13176
+ # Update properties of this object
13177
+ def update!(**args)
13178
+ @path = args[:path] if args.key?(:path)
13179
+ end
13180
+ end
13181
+
13182
+ # The status of the secret.
13183
+ class SecretStatus
13184
+ include Google::Apis::Core::Hashable
13185
+
13186
+ # Time that the secret was found.
13187
+ # Corresponds to the JSON property `lastUpdatedTime`
13188
+ # @return [String]
13189
+ attr_accessor :last_updated_time
13190
+
13191
+ # The validity of the secret.
13192
+ # Corresponds to the JSON property `validity`
13193
+ # @return [String]
13194
+ attr_accessor :validity
13195
+
13196
+ def initialize(**args)
13197
+ update!(**args)
13198
+ end
13199
+
13200
+ # Update properties of this object
13201
+ def update!(**args)
13202
+ @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
13203
+ @validity = args[:validity] if args.key?(:validity)
13204
+ end
13205
+ end
13206
+
12568
13207
  # SecurityBulletin are notifications of vulnerabilities of Google products.
12569
13208
  class SecurityBulletin
12570
13209
  include Google::Apis::Core::Hashable