google-apis-securitycenter_v1beta1 0.99.0 → 0.101.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/securitycenter_v1beta1/classes.rb +635 -2
- data/lib/google/apis/securitycenter_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1beta1/representations.rb +346 -0
- data/lib/google/apis/securitycenter_v1beta1/service.rb +6 -5
- metadata +2 -2
|
@@ -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::SecuritycenterV1beta1::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
|
|
@@ -2284,6 +2348,11 @@ module Google
|
|
|
2284
2348
|
# @return [Google::Apis::SecuritycenterV1beta1::DiskPath]
|
|
2285
2349
|
attr_accessor :disk_path
|
|
2286
2350
|
|
|
2351
|
+
# The load state of the file.
|
|
2352
|
+
# Corresponds to the JSON property `fileLoadState`
|
|
2353
|
+
# @return [String]
|
|
2354
|
+
attr_accessor :file_load_state
|
|
2355
|
+
|
|
2287
2356
|
# The length in bytes of the file prefix that was hashed. If hashed_size == size,
|
|
2288
2357
|
# any hashes reported represent the entire file.
|
|
2289
2358
|
# Corresponds to the JSON property `hashedSize`
|
|
@@ -2325,6 +2394,7 @@ module Google
|
|
|
2325
2394
|
def update!(**args)
|
|
2326
2395
|
@contents = args[:contents] if args.key?(:contents)
|
|
2327
2396
|
@disk_path = args[:disk_path] if args.key?(:disk_path)
|
|
2397
|
+
@file_load_state = args[:file_load_state] if args.key?(:file_load_state)
|
|
2328
2398
|
@hashed_size = args[:hashed_size] if args.key?(:hashed_size)
|
|
2329
2399
|
@operations = args[:operations] if args.key?(:operations)
|
|
2330
2400
|
@partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
|
|
@@ -2381,6 +2451,11 @@ module Google
|
|
|
2381
2451
|
# @return [Google::Apis::SecuritycenterV1beta1::Application]
|
|
2382
2452
|
attr_accessor :application
|
|
2383
2453
|
|
|
2454
|
+
# Represents the result of evaluating artifact guard policies.
|
|
2455
|
+
# Corresponds to the JSON property `artifactGuardPolicies`
|
|
2456
|
+
# @return [Google::Apis::SecuritycenterV1beta1::ArtifactGuardPolicies]
|
|
2457
|
+
attr_accessor :artifact_guard_policies
|
|
2458
|
+
|
|
2384
2459
|
# An attack exposure contains the results of an attack path simulation run.
|
|
2385
2460
|
# Corresponds to the JSON property `attackExposure`
|
|
2386
2461
|
# @return [Google::Apis::SecuritycenterV1beta1::AttackExposure]
|
|
@@ -2693,6 +2768,11 @@ module Google
|
|
|
2693
2768
|
# @return [String]
|
|
2694
2769
|
attr_accessor :resource_name
|
|
2695
2770
|
|
|
2771
|
+
# Details about a secret or credential associated with the finding.
|
|
2772
|
+
# Corresponds to the JSON property `secret`
|
|
2773
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Secret]
|
|
2774
|
+
attr_accessor :secret
|
|
2775
|
+
|
|
2696
2776
|
# User specified security marks that are attached to the parent Security Command
|
|
2697
2777
|
# Center resource. Security marks are scoped within a Security Command Center
|
|
2698
2778
|
# organization -- they can be modified and viewed by all users who have proper
|
|
@@ -2755,6 +2835,7 @@ module Google
|
|
|
2755
2835
|
@affected_resources = args[:affected_resources] if args.key?(:affected_resources)
|
|
2756
2836
|
@ai_model = args[:ai_model] if args.key?(:ai_model)
|
|
2757
2837
|
@application = args[:application] if args.key?(:application)
|
|
2838
|
+
@artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
|
|
2758
2839
|
@attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
|
|
2759
2840
|
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
|
|
2760
2841
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
@@ -2805,6 +2886,7 @@ module Google
|
|
|
2805
2886
|
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
2806
2887
|
@processes = args[:processes] if args.key?(:processes)
|
|
2807
2888
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
2889
|
+
@secret = args[:secret] if args.key?(:secret)
|
|
2808
2890
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
|
2809
2891
|
@security_posture = args[:security_posture] if args.key?(:security_posture)
|
|
2810
2892
|
@severity = args[:severity] if args.key?(:severity)
|
|
@@ -3552,6 +3634,11 @@ module Google
|
|
|
3552
3634
|
class GoogleCloudSecuritycenterV1Resource
|
|
3553
3635
|
include Google::Apis::Core::Hashable
|
|
3554
3636
|
|
|
3637
|
+
# The App Hub Application associated with the finding's resource.
|
|
3638
|
+
# Corresponds to the JSON property `application`
|
|
3639
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplication]
|
|
3640
|
+
attr_accessor :application
|
|
3641
|
+
|
|
3555
3642
|
# AWS metadata associated with the resource, only applicable if the finding's
|
|
3556
3643
|
# cloud provider is Amazon Web Services.
|
|
3557
3644
|
# Corresponds to the JSON property `awsMetadata`
|
|
@@ -3654,6 +3741,7 @@ module Google
|
|
|
3654
3741
|
|
|
3655
3742
|
# Update properties of this object
|
|
3656
3743
|
def update!(**args)
|
|
3744
|
+
@application = args[:application] if args.key?(:application)
|
|
3657
3745
|
@aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
|
|
3658
3746
|
@azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
|
|
3659
3747
|
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
|
|
@@ -3673,6 +3761,132 @@ module Google
|
|
|
3673
3761
|
end
|
|
3674
3762
|
end
|
|
3675
3763
|
|
|
3764
|
+
# The App Hub Application associated with the finding's resource.
|
|
3765
|
+
class GoogleCloudSecuritycenterV1ResourceApplication
|
|
3766
|
+
include Google::Apis::Core::Hashable
|
|
3767
|
+
|
|
3768
|
+
# Consumer provided attributes for the application
|
|
3769
|
+
# Corresponds to the JSON property `attributes`
|
|
3770
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributes]
|
|
3771
|
+
attr_accessor :attributes
|
|
3772
|
+
|
|
3773
|
+
# The resource name of an Application. Format: `projects/`host-project-id`/
|
|
3774
|
+
# locations/`location`/applications/`application-id``
|
|
3775
|
+
# Corresponds to the JSON property `name`
|
|
3776
|
+
# @return [String]
|
|
3777
|
+
attr_accessor :name
|
|
3778
|
+
|
|
3779
|
+
def initialize(**args)
|
|
3780
|
+
update!(**args)
|
|
3781
|
+
end
|
|
3782
|
+
|
|
3783
|
+
# Update properties of this object
|
|
3784
|
+
def update!(**args)
|
|
3785
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
3786
|
+
@name = args[:name] if args.key?(:name)
|
|
3787
|
+
end
|
|
3788
|
+
end
|
|
3789
|
+
|
|
3790
|
+
# Consumer provided attributes for the application
|
|
3791
|
+
class GoogleCloudSecuritycenterV1ResourceApplicationAttributes
|
|
3792
|
+
include Google::Apis::Core::Hashable
|
|
3793
|
+
|
|
3794
|
+
# Business team that ensures user needs are met and value is delivered
|
|
3795
|
+
# Corresponds to the JSON property `businessOwners`
|
|
3796
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
|
|
3797
|
+
attr_accessor :business_owners
|
|
3798
|
+
|
|
3799
|
+
# Criticality of the Application, Service, or Workload
|
|
3800
|
+
# Corresponds to the JSON property `criticality`
|
|
3801
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality]
|
|
3802
|
+
attr_accessor :criticality
|
|
3803
|
+
|
|
3804
|
+
# Developer team that owns development and coding.
|
|
3805
|
+
# Corresponds to the JSON property `developerOwners`
|
|
3806
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
|
|
3807
|
+
attr_accessor :developer_owners
|
|
3808
|
+
|
|
3809
|
+
# Environment of the Application, Service, or Workload
|
|
3810
|
+
# Corresponds to the JSON property `environment`
|
|
3811
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment]
|
|
3812
|
+
attr_accessor :environment
|
|
3813
|
+
|
|
3814
|
+
# Operator team that ensures runtime and operations.
|
|
3815
|
+
# Corresponds to the JSON property `operatorOwners`
|
|
3816
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
|
|
3817
|
+
attr_accessor :operator_owners
|
|
3818
|
+
|
|
3819
|
+
def initialize(**args)
|
|
3820
|
+
update!(**args)
|
|
3821
|
+
end
|
|
3822
|
+
|
|
3823
|
+
# Update properties of this object
|
|
3824
|
+
def update!(**args)
|
|
3825
|
+
@business_owners = args[:business_owners] if args.key?(:business_owners)
|
|
3826
|
+
@criticality = args[:criticality] if args.key?(:criticality)
|
|
3827
|
+
@developer_owners = args[:developer_owners] if args.key?(:developer_owners)
|
|
3828
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
3829
|
+
@operator_owners = args[:operator_owners] if args.key?(:operator_owners)
|
|
3830
|
+
end
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3833
|
+
# Contact information of stakeholders.
|
|
3834
|
+
class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo
|
|
3835
|
+
include Google::Apis::Core::Hashable
|
|
3836
|
+
|
|
3837
|
+
# Email address of the contacts.
|
|
3838
|
+
# Corresponds to the JSON property `email`
|
|
3839
|
+
# @return [String]
|
|
3840
|
+
attr_accessor :email
|
|
3841
|
+
|
|
3842
|
+
def initialize(**args)
|
|
3843
|
+
update!(**args)
|
|
3844
|
+
end
|
|
3845
|
+
|
|
3846
|
+
# Update properties of this object
|
|
3847
|
+
def update!(**args)
|
|
3848
|
+
@email = args[:email] if args.key?(:email)
|
|
3849
|
+
end
|
|
3850
|
+
end
|
|
3851
|
+
|
|
3852
|
+
# Criticality of the Application, Service, or Workload
|
|
3853
|
+
class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality
|
|
3854
|
+
include Google::Apis::Core::Hashable
|
|
3855
|
+
|
|
3856
|
+
# Criticality Type.
|
|
3857
|
+
# Corresponds to the JSON property `type`
|
|
3858
|
+
# @return [String]
|
|
3859
|
+
attr_accessor :type
|
|
3860
|
+
|
|
3861
|
+
def initialize(**args)
|
|
3862
|
+
update!(**args)
|
|
3863
|
+
end
|
|
3864
|
+
|
|
3865
|
+
# Update properties of this object
|
|
3866
|
+
def update!(**args)
|
|
3867
|
+
@type = args[:type] if args.key?(:type)
|
|
3868
|
+
end
|
|
3869
|
+
end
|
|
3870
|
+
|
|
3871
|
+
# Environment of the Application, Service, or Workload
|
|
3872
|
+
class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
|
|
3873
|
+
include Google::Apis::Core::Hashable
|
|
3874
|
+
|
|
3875
|
+
# Environment Type.
|
|
3876
|
+
# Corresponds to the JSON property `type`
|
|
3877
|
+
# @return [String]
|
|
3878
|
+
attr_accessor :type
|
|
3879
|
+
|
|
3880
|
+
def initialize(**args)
|
|
3881
|
+
update!(**args)
|
|
3882
|
+
end
|
|
3883
|
+
|
|
3884
|
+
# Update properties of this object
|
|
3885
|
+
def update!(**args)
|
|
3886
|
+
@type = args[:type] if args.key?(:type)
|
|
3887
|
+
end
|
|
3888
|
+
end
|
|
3889
|
+
|
|
3676
3890
|
# Resource for selecting resource type.
|
|
3677
3891
|
class GoogleCloudSecuritycenterV1ResourceSelector
|
|
3678
3892
|
include Google::Apis::Core::Hashable
|
|
@@ -4623,6 +4837,11 @@ module Google
|
|
|
4623
4837
|
# @return [String]
|
|
4624
4838
|
attr_accessor :publisher
|
|
4625
4839
|
|
|
4840
|
+
# The purpose of the model, for example, "Inteference" or "Training".
|
|
4841
|
+
# Corresponds to the JSON property `usageCategory`
|
|
4842
|
+
# @return [String]
|
|
4843
|
+
attr_accessor :usage_category
|
|
4844
|
+
|
|
4626
4845
|
def initialize(**args)
|
|
4627
4846
|
update!(**args)
|
|
4628
4847
|
end
|
|
@@ -4636,6 +4855,7 @@ module Google
|
|
|
4636
4855
|
@location = args[:location] if args.key?(:location)
|
|
4637
4856
|
@name = args[:name] if args.key?(:name)
|
|
4638
4857
|
@publisher = args[:publisher] if args.key?(:publisher)
|
|
4858
|
+
@usage_category = args[:usage_category] if args.key?(:usage_category)
|
|
4639
4859
|
end
|
|
4640
4860
|
end
|
|
4641
4861
|
|
|
@@ -4685,6 +4905,64 @@ module Google
|
|
|
4685
4905
|
end
|
|
4686
4906
|
end
|
|
4687
4907
|
|
|
4908
|
+
# Represents the result of evaluating artifact guard policies.
|
|
4909
|
+
class GoogleCloudSecuritycenterV2ArtifactGuardPolicies
|
|
4910
|
+
include Google::Apis::Core::Hashable
|
|
4911
|
+
|
|
4912
|
+
# A list of failing policies.
|
|
4913
|
+
# Corresponds to the JSON property `failingPolicies`
|
|
4914
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ArtifactGuardPolicy>]
|
|
4915
|
+
attr_accessor :failing_policies
|
|
4916
|
+
|
|
4917
|
+
# The ID of the resource that has policies configured for it.
|
|
4918
|
+
# Corresponds to the JSON property `resourceId`
|
|
4919
|
+
# @return [String]
|
|
4920
|
+
attr_accessor :resource_id
|
|
4921
|
+
|
|
4922
|
+
def initialize(**args)
|
|
4923
|
+
update!(**args)
|
|
4924
|
+
end
|
|
4925
|
+
|
|
4926
|
+
# Update properties of this object
|
|
4927
|
+
def update!(**args)
|
|
4928
|
+
@failing_policies = args[:failing_policies] if args.key?(:failing_policies)
|
|
4929
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
|
4930
|
+
end
|
|
4931
|
+
end
|
|
4932
|
+
|
|
4933
|
+
# Represents an artifact guard policy.
|
|
4934
|
+
class GoogleCloudSecuritycenterV2ArtifactGuardPolicy
|
|
4935
|
+
include Google::Apis::Core::Hashable
|
|
4936
|
+
|
|
4937
|
+
# The reason for the policy failure, for example, "severity=HIGH AND
|
|
4938
|
+
# max_vuln_count=2".
|
|
4939
|
+
# Corresponds to the JSON property `failureReason`
|
|
4940
|
+
# @return [String]
|
|
4941
|
+
attr_accessor :failure_reason
|
|
4942
|
+
|
|
4943
|
+
# The ID of the failing policy, for example, "organizations/3392779/locations/
|
|
4944
|
+
# global/policies/prod-policy".
|
|
4945
|
+
# Corresponds to the JSON property `policyId`
|
|
4946
|
+
# @return [String]
|
|
4947
|
+
attr_accessor :policy_id
|
|
4948
|
+
|
|
4949
|
+
# The type of the policy evaluation.
|
|
4950
|
+
# Corresponds to the JSON property `type`
|
|
4951
|
+
# @return [String]
|
|
4952
|
+
attr_accessor :type
|
|
4953
|
+
|
|
4954
|
+
def initialize(**args)
|
|
4955
|
+
update!(**args)
|
|
4956
|
+
end
|
|
4957
|
+
|
|
4958
|
+
# Update properties of this object
|
|
4959
|
+
def update!(**args)
|
|
4960
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
|
4961
|
+
@policy_id = args[:policy_id] if args.key?(:policy_id)
|
|
4962
|
+
@type = args[:type] if args.key?(:type)
|
|
4963
|
+
end
|
|
4964
|
+
end
|
|
4965
|
+
|
|
4688
4966
|
# Information about DDoS attack volume and classification.
|
|
4689
4967
|
class GoogleCloudSecuritycenterV2Attack
|
|
4690
4968
|
include Google::Apis::Core::Hashable
|
|
@@ -6471,6 +6749,11 @@ module Google
|
|
|
6471
6749
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2DiskPath]
|
|
6472
6750
|
attr_accessor :disk_path
|
|
6473
6751
|
|
|
6752
|
+
# The load state of the file.
|
|
6753
|
+
# Corresponds to the JSON property `fileLoadState`
|
|
6754
|
+
# @return [String]
|
|
6755
|
+
attr_accessor :file_load_state
|
|
6756
|
+
|
|
6474
6757
|
# The length in bytes of the file prefix that was hashed. If hashed_size == size,
|
|
6475
6758
|
# any hashes reported represent the entire file.
|
|
6476
6759
|
# Corresponds to the JSON property `hashedSize`
|
|
@@ -6512,6 +6795,7 @@ module Google
|
|
|
6512
6795
|
def update!(**args)
|
|
6513
6796
|
@contents = args[:contents] if args.key?(:contents)
|
|
6514
6797
|
@disk_path = args[:disk_path] if args.key?(:disk_path)
|
|
6798
|
+
@file_load_state = args[:file_load_state] if args.key?(:file_load_state)
|
|
6515
6799
|
@hashed_size = args[:hashed_size] if args.key?(:hashed_size)
|
|
6516
6800
|
@operations = args[:operations] if args.key?(:operations)
|
|
6517
6801
|
@partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
|
|
@@ -6568,6 +6852,11 @@ module Google
|
|
|
6568
6852
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application]
|
|
6569
6853
|
attr_accessor :application
|
|
6570
6854
|
|
|
6855
|
+
# Represents the result of evaluating artifact guard policies.
|
|
6856
|
+
# Corresponds to the JSON property `artifactGuardPolicies`
|
|
6857
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ArtifactGuardPolicies]
|
|
6858
|
+
attr_accessor :artifact_guard_policies
|
|
6859
|
+
|
|
6571
6860
|
# An attack exposure contains the results of an attack path simulation run.
|
|
6572
6861
|
# Corresponds to the JSON property `attackExposure`
|
|
6573
6862
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AttackExposure]
|
|
@@ -6897,6 +7186,11 @@ module Google
|
|
|
6897
7186
|
# @return [String]
|
|
6898
7187
|
attr_accessor :resource_name
|
|
6899
7188
|
|
|
7189
|
+
# Details about a secret or credential associated with the finding.
|
|
7190
|
+
# Corresponds to the JSON property `secret`
|
|
7191
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Secret]
|
|
7192
|
+
attr_accessor :secret
|
|
7193
|
+
|
|
6900
7194
|
# User specified security marks that are attached to the parent Security Command
|
|
6901
7195
|
# Center resource. Security marks are scoped within a Security Command Center
|
|
6902
7196
|
# organization -- they can be modified and viewed by all users who have proper
|
|
@@ -6959,6 +7253,7 @@ module Google
|
|
|
6959
7253
|
@affected_resources = args[:affected_resources] if args.key?(:affected_resources)
|
|
6960
7254
|
@ai_model = args[:ai_model] if args.key?(:ai_model)
|
|
6961
7255
|
@application = args[:application] if args.key?(:application)
|
|
7256
|
+
@artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
|
|
6962
7257
|
@attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
|
|
6963
7258
|
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
|
|
6964
7259
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
|
@@ -7010,6 +7305,7 @@ module Google
|
|
|
7010
7305
|
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
7011
7306
|
@processes = args[:processes] if args.key?(:processes)
|
|
7012
7307
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
7308
|
+
@secret = args[:secret] if args.key?(:secret)
|
|
7013
7309
|
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
|
7014
7310
|
@security_posture = args[:security_posture] if args.key?(:security_posture)
|
|
7015
7311
|
@severity = args[:severity] if args.key?(:severity)
|
|
@@ -8946,6 +9242,11 @@ module Google
|
|
|
8946
9242
|
class GoogleCloudSecuritycenterV2Resource
|
|
8947
9243
|
include Google::Apis::Core::Hashable
|
|
8948
9244
|
|
|
9245
|
+
# The App Hub Application associated with the finding's resource.
|
|
9246
|
+
# Corresponds to the JSON property `application`
|
|
9247
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplication]
|
|
9248
|
+
attr_accessor :application
|
|
9249
|
+
|
|
8949
9250
|
# AWS metadata associated with the resource, only applicable if the finding's
|
|
8950
9251
|
# cloud provider is Amazon Web Services.
|
|
8951
9252
|
# Corresponds to the JSON property `awsMetadata`
|
|
@@ -9020,6 +9321,7 @@ module Google
|
|
|
9020
9321
|
|
|
9021
9322
|
# Update properties of this object
|
|
9022
9323
|
def update!(**args)
|
|
9324
|
+
@application = args[:application] if args.key?(:application)
|
|
9023
9325
|
@aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
|
|
9024
9326
|
@azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
|
|
9025
9327
|
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
|
|
@@ -9034,6 +9336,132 @@ module Google
|
|
|
9034
9336
|
end
|
|
9035
9337
|
end
|
|
9036
9338
|
|
|
9339
|
+
# The App Hub Application associated with the finding's resource.
|
|
9340
|
+
class GoogleCloudSecuritycenterV2ResourceApplication
|
|
9341
|
+
include Google::Apis::Core::Hashable
|
|
9342
|
+
|
|
9343
|
+
# Consumer provided attributes for the application
|
|
9344
|
+
# Corresponds to the JSON property `attributes`
|
|
9345
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributes]
|
|
9346
|
+
attr_accessor :attributes
|
|
9347
|
+
|
|
9348
|
+
# The resource name of an Application. Format: `projects/`host-project-id`/
|
|
9349
|
+
# locations/`location`/applications/`application-id``
|
|
9350
|
+
# Corresponds to the JSON property `name`
|
|
9351
|
+
# @return [String]
|
|
9352
|
+
attr_accessor :name
|
|
9353
|
+
|
|
9354
|
+
def initialize(**args)
|
|
9355
|
+
update!(**args)
|
|
9356
|
+
end
|
|
9357
|
+
|
|
9358
|
+
# Update properties of this object
|
|
9359
|
+
def update!(**args)
|
|
9360
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
|
9361
|
+
@name = args[:name] if args.key?(:name)
|
|
9362
|
+
end
|
|
9363
|
+
end
|
|
9364
|
+
|
|
9365
|
+
# Consumer provided attributes for the application
|
|
9366
|
+
class GoogleCloudSecuritycenterV2ResourceApplicationAttributes
|
|
9367
|
+
include Google::Apis::Core::Hashable
|
|
9368
|
+
|
|
9369
|
+
# Business team that ensures user needs are met and value is delivered
|
|
9370
|
+
# Corresponds to the JSON property `businessOwners`
|
|
9371
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
|
|
9372
|
+
attr_accessor :business_owners
|
|
9373
|
+
|
|
9374
|
+
# Criticality of the Application, Service, or Workload
|
|
9375
|
+
# Corresponds to the JSON property `criticality`
|
|
9376
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality]
|
|
9377
|
+
attr_accessor :criticality
|
|
9378
|
+
|
|
9379
|
+
# Developer team that owns development and coding.
|
|
9380
|
+
# Corresponds to the JSON property `developerOwners`
|
|
9381
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
|
|
9382
|
+
attr_accessor :developer_owners
|
|
9383
|
+
|
|
9384
|
+
# Environment of the Application, Service, or Workload
|
|
9385
|
+
# Corresponds to the JSON property `environment`
|
|
9386
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment]
|
|
9387
|
+
attr_accessor :environment
|
|
9388
|
+
|
|
9389
|
+
# Operator team that ensures runtime and operations.
|
|
9390
|
+
# Corresponds to the JSON property `operatorOwners`
|
|
9391
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
|
|
9392
|
+
attr_accessor :operator_owners
|
|
9393
|
+
|
|
9394
|
+
def initialize(**args)
|
|
9395
|
+
update!(**args)
|
|
9396
|
+
end
|
|
9397
|
+
|
|
9398
|
+
# Update properties of this object
|
|
9399
|
+
def update!(**args)
|
|
9400
|
+
@business_owners = args[:business_owners] if args.key?(:business_owners)
|
|
9401
|
+
@criticality = args[:criticality] if args.key?(:criticality)
|
|
9402
|
+
@developer_owners = args[:developer_owners] if args.key?(:developer_owners)
|
|
9403
|
+
@environment = args[:environment] if args.key?(:environment)
|
|
9404
|
+
@operator_owners = args[:operator_owners] if args.key?(:operator_owners)
|
|
9405
|
+
end
|
|
9406
|
+
end
|
|
9407
|
+
|
|
9408
|
+
# Contact information of stakeholders.
|
|
9409
|
+
class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo
|
|
9410
|
+
include Google::Apis::Core::Hashable
|
|
9411
|
+
|
|
9412
|
+
# Email address of the contacts.
|
|
9413
|
+
# Corresponds to the JSON property `email`
|
|
9414
|
+
# @return [String]
|
|
9415
|
+
attr_accessor :email
|
|
9416
|
+
|
|
9417
|
+
def initialize(**args)
|
|
9418
|
+
update!(**args)
|
|
9419
|
+
end
|
|
9420
|
+
|
|
9421
|
+
# Update properties of this object
|
|
9422
|
+
def update!(**args)
|
|
9423
|
+
@email = args[:email] if args.key?(:email)
|
|
9424
|
+
end
|
|
9425
|
+
end
|
|
9426
|
+
|
|
9427
|
+
# Criticality of the Application, Service, or Workload
|
|
9428
|
+
class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
|
|
9429
|
+
include Google::Apis::Core::Hashable
|
|
9430
|
+
|
|
9431
|
+
# Criticality Type.
|
|
9432
|
+
# Corresponds to the JSON property `type`
|
|
9433
|
+
# @return [String]
|
|
9434
|
+
attr_accessor :type
|
|
9435
|
+
|
|
9436
|
+
def initialize(**args)
|
|
9437
|
+
update!(**args)
|
|
9438
|
+
end
|
|
9439
|
+
|
|
9440
|
+
# Update properties of this object
|
|
9441
|
+
def update!(**args)
|
|
9442
|
+
@type = args[:type] if args.key?(:type)
|
|
9443
|
+
end
|
|
9444
|
+
end
|
|
9445
|
+
|
|
9446
|
+
# Environment of the Application, Service, or Workload
|
|
9447
|
+
class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
|
|
9448
|
+
include Google::Apis::Core::Hashable
|
|
9449
|
+
|
|
9450
|
+
# Environment Type.
|
|
9451
|
+
# Corresponds to the JSON property `type`
|
|
9452
|
+
# @return [String]
|
|
9453
|
+
attr_accessor :type
|
|
9454
|
+
|
|
9455
|
+
def initialize(**args)
|
|
9456
|
+
update!(**args)
|
|
9457
|
+
end
|
|
9458
|
+
|
|
9459
|
+
# Update properties of this object
|
|
9460
|
+
def update!(**args)
|
|
9461
|
+
@type = args[:type] if args.key?(:type)
|
|
9462
|
+
end
|
|
9463
|
+
end
|
|
9464
|
+
|
|
9037
9465
|
# Represents the path of resources leading up to the resource this finding is
|
|
9038
9466
|
# about.
|
|
9039
9467
|
class GoogleCloudSecuritycenterV2ResourcePath
|
|
@@ -9212,6 +9640,108 @@ module Google
|
|
|
9212
9640
|
end
|
|
9213
9641
|
end
|
|
9214
9642
|
|
|
9643
|
+
# Details about a secret or credential associated with the finding.
|
|
9644
|
+
class GoogleCloudSecuritycenterV2Secret
|
|
9645
|
+
include Google::Apis::Core::Hashable
|
|
9646
|
+
|
|
9647
|
+
# Environment variable containing the secret.
|
|
9648
|
+
# Corresponds to the JSON property `environmentVariable`
|
|
9649
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretEnvironmentVariable]
|
|
9650
|
+
attr_accessor :environment_variable
|
|
9651
|
+
|
|
9652
|
+
# File path containing the secret.
|
|
9653
|
+
# Corresponds to the JSON property `filePath`
|
|
9654
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretFilePath]
|
|
9655
|
+
attr_accessor :file_path
|
|
9656
|
+
|
|
9657
|
+
# The status of the secret.
|
|
9658
|
+
# Corresponds to the JSON property `status`
|
|
9659
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretStatus]
|
|
9660
|
+
attr_accessor :status
|
|
9661
|
+
|
|
9662
|
+
# The type of secret, for example, GCP_API_KEY.
|
|
9663
|
+
# Corresponds to the JSON property `type`
|
|
9664
|
+
# @return [String]
|
|
9665
|
+
attr_accessor :type
|
|
9666
|
+
|
|
9667
|
+
def initialize(**args)
|
|
9668
|
+
update!(**args)
|
|
9669
|
+
end
|
|
9670
|
+
|
|
9671
|
+
# Update properties of this object
|
|
9672
|
+
def update!(**args)
|
|
9673
|
+
@environment_variable = args[:environment_variable] if args.key?(:environment_variable)
|
|
9674
|
+
@file_path = args[:file_path] if args.key?(:file_path)
|
|
9675
|
+
@status = args[:status] if args.key?(:status)
|
|
9676
|
+
@type = args[:type] if args.key?(:type)
|
|
9677
|
+
end
|
|
9678
|
+
end
|
|
9679
|
+
|
|
9680
|
+
# Environment variable containing the secret.
|
|
9681
|
+
class GoogleCloudSecuritycenterV2SecretEnvironmentVariable
|
|
9682
|
+
include Google::Apis::Core::Hashable
|
|
9683
|
+
|
|
9684
|
+
# Environment variable name as a JSON encoded string. Note that value is not
|
|
9685
|
+
# included since the value contains the secret data, which is sensitive core
|
|
9686
|
+
# content.
|
|
9687
|
+
# Corresponds to the JSON property `key`
|
|
9688
|
+
# @return [String]
|
|
9689
|
+
attr_accessor :key
|
|
9690
|
+
|
|
9691
|
+
def initialize(**args)
|
|
9692
|
+
update!(**args)
|
|
9693
|
+
end
|
|
9694
|
+
|
|
9695
|
+
# Update properties of this object
|
|
9696
|
+
def update!(**args)
|
|
9697
|
+
@key = args[:key] if args.key?(:key)
|
|
9698
|
+
end
|
|
9699
|
+
end
|
|
9700
|
+
|
|
9701
|
+
# File path containing the secret.
|
|
9702
|
+
class GoogleCloudSecuritycenterV2SecretFilePath
|
|
9703
|
+
include Google::Apis::Core::Hashable
|
|
9704
|
+
|
|
9705
|
+
# Path to the file.
|
|
9706
|
+
# Corresponds to the JSON property `path`
|
|
9707
|
+
# @return [String]
|
|
9708
|
+
attr_accessor :path
|
|
9709
|
+
|
|
9710
|
+
def initialize(**args)
|
|
9711
|
+
update!(**args)
|
|
9712
|
+
end
|
|
9713
|
+
|
|
9714
|
+
# Update properties of this object
|
|
9715
|
+
def update!(**args)
|
|
9716
|
+
@path = args[:path] if args.key?(:path)
|
|
9717
|
+
end
|
|
9718
|
+
end
|
|
9719
|
+
|
|
9720
|
+
# The status of the secret.
|
|
9721
|
+
class GoogleCloudSecuritycenterV2SecretStatus
|
|
9722
|
+
include Google::Apis::Core::Hashable
|
|
9723
|
+
|
|
9724
|
+
# Time that the secret was found.
|
|
9725
|
+
# Corresponds to the JSON property `lastUpdatedTime`
|
|
9726
|
+
# @return [String]
|
|
9727
|
+
attr_accessor :last_updated_time
|
|
9728
|
+
|
|
9729
|
+
# The validity of the secret.
|
|
9730
|
+
# Corresponds to the JSON property `validity`
|
|
9731
|
+
# @return [String]
|
|
9732
|
+
attr_accessor :validity
|
|
9733
|
+
|
|
9734
|
+
def initialize(**args)
|
|
9735
|
+
update!(**args)
|
|
9736
|
+
end
|
|
9737
|
+
|
|
9738
|
+
# Update properties of this object
|
|
9739
|
+
def update!(**args)
|
|
9740
|
+
@last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
|
|
9741
|
+
@validity = args[:validity] if args.key?(:validity)
|
|
9742
|
+
end
|
|
9743
|
+
end
|
|
9744
|
+
|
|
9215
9745
|
# SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
9216
9746
|
class GoogleCloudSecuritycenterV2SecurityBulletin
|
|
9217
9747
|
include Google::Apis::Core::Hashable
|
|
@@ -10519,8 +11049,9 @@ module Google
|
|
|
10519
11049
|
attr_accessor :operations
|
|
10520
11050
|
|
|
10521
11051
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
10522
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
10523
|
-
# when attempting to list all resources across all supported
|
|
11052
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
11053
|
+
# For example, when attempting to list all resources across all supported
|
|
11054
|
+
# locations.
|
|
10524
11055
|
# Corresponds to the JSON property `unreachable`
|
|
10525
11056
|
# @return [Array<String>]
|
|
10526
11057
|
attr_accessor :unreachable
|
|
@@ -11510,6 +12041,108 @@ module Google
|
|
|
11510
12041
|
end
|
|
11511
12042
|
end
|
|
11512
12043
|
|
|
12044
|
+
# Details about a secret or credential associated with the finding.
|
|
12045
|
+
class Secret
|
|
12046
|
+
include Google::Apis::Core::Hashable
|
|
12047
|
+
|
|
12048
|
+
# Environment variable containing the secret.
|
|
12049
|
+
# Corresponds to the JSON property `environmentVariable`
|
|
12050
|
+
# @return [Google::Apis::SecuritycenterV1beta1::SecretEnvironmentVariable]
|
|
12051
|
+
attr_accessor :environment_variable
|
|
12052
|
+
|
|
12053
|
+
# File path containing the secret.
|
|
12054
|
+
# Corresponds to the JSON property `filePath`
|
|
12055
|
+
# @return [Google::Apis::SecuritycenterV1beta1::SecretFilePath]
|
|
12056
|
+
attr_accessor :file_path
|
|
12057
|
+
|
|
12058
|
+
# The status of the secret.
|
|
12059
|
+
# Corresponds to the JSON property `status`
|
|
12060
|
+
# @return [Google::Apis::SecuritycenterV1beta1::SecretStatus]
|
|
12061
|
+
attr_accessor :status
|
|
12062
|
+
|
|
12063
|
+
# The type of secret, for example, GCP_API_KEY.
|
|
12064
|
+
# Corresponds to the JSON property `type`
|
|
12065
|
+
# @return [String]
|
|
12066
|
+
attr_accessor :type
|
|
12067
|
+
|
|
12068
|
+
def initialize(**args)
|
|
12069
|
+
update!(**args)
|
|
12070
|
+
end
|
|
12071
|
+
|
|
12072
|
+
# Update properties of this object
|
|
12073
|
+
def update!(**args)
|
|
12074
|
+
@environment_variable = args[:environment_variable] if args.key?(:environment_variable)
|
|
12075
|
+
@file_path = args[:file_path] if args.key?(:file_path)
|
|
12076
|
+
@status = args[:status] if args.key?(:status)
|
|
12077
|
+
@type = args[:type] if args.key?(:type)
|
|
12078
|
+
end
|
|
12079
|
+
end
|
|
12080
|
+
|
|
12081
|
+
# Environment variable containing the secret.
|
|
12082
|
+
class SecretEnvironmentVariable
|
|
12083
|
+
include Google::Apis::Core::Hashable
|
|
12084
|
+
|
|
12085
|
+
# Environment variable name as a JSON encoded string. Note that value is not
|
|
12086
|
+
# included since the value contains the secret data, which is sensitive core
|
|
12087
|
+
# content.
|
|
12088
|
+
# Corresponds to the JSON property `key`
|
|
12089
|
+
# @return [String]
|
|
12090
|
+
attr_accessor :key
|
|
12091
|
+
|
|
12092
|
+
def initialize(**args)
|
|
12093
|
+
update!(**args)
|
|
12094
|
+
end
|
|
12095
|
+
|
|
12096
|
+
# Update properties of this object
|
|
12097
|
+
def update!(**args)
|
|
12098
|
+
@key = args[:key] if args.key?(:key)
|
|
12099
|
+
end
|
|
12100
|
+
end
|
|
12101
|
+
|
|
12102
|
+
# File path containing the secret.
|
|
12103
|
+
class SecretFilePath
|
|
12104
|
+
include Google::Apis::Core::Hashable
|
|
12105
|
+
|
|
12106
|
+
# Path to the file.
|
|
12107
|
+
# Corresponds to the JSON property `path`
|
|
12108
|
+
# @return [String]
|
|
12109
|
+
attr_accessor :path
|
|
12110
|
+
|
|
12111
|
+
def initialize(**args)
|
|
12112
|
+
update!(**args)
|
|
12113
|
+
end
|
|
12114
|
+
|
|
12115
|
+
# Update properties of this object
|
|
12116
|
+
def update!(**args)
|
|
12117
|
+
@path = args[:path] if args.key?(:path)
|
|
12118
|
+
end
|
|
12119
|
+
end
|
|
12120
|
+
|
|
12121
|
+
# The status of the secret.
|
|
12122
|
+
class SecretStatus
|
|
12123
|
+
include Google::Apis::Core::Hashable
|
|
12124
|
+
|
|
12125
|
+
# Time that the secret was found.
|
|
12126
|
+
# Corresponds to the JSON property `lastUpdatedTime`
|
|
12127
|
+
# @return [String]
|
|
12128
|
+
attr_accessor :last_updated_time
|
|
12129
|
+
|
|
12130
|
+
# The validity of the secret.
|
|
12131
|
+
# Corresponds to the JSON property `validity`
|
|
12132
|
+
# @return [String]
|
|
12133
|
+
attr_accessor :validity
|
|
12134
|
+
|
|
12135
|
+
def initialize(**args)
|
|
12136
|
+
update!(**args)
|
|
12137
|
+
end
|
|
12138
|
+
|
|
12139
|
+
# Update properties of this object
|
|
12140
|
+
def update!(**args)
|
|
12141
|
+
@last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
|
|
12142
|
+
@validity = args[:validity] if args.key?(:validity)
|
|
12143
|
+
end
|
|
12144
|
+
end
|
|
12145
|
+
|
|
11513
12146
|
# SecurityBulletin are notifications of vulnerabilities of Google products.
|
|
11514
12147
|
class SecurityBulletin
|
|
11515
12148
|
include Google::Apis::Core::Hashable
|