google-apis-securitycenter_v1 0.89.0 → 0.91.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.
@@ -1913,6 +1913,59 @@ module Google
1913
1913
  end
1914
1914
  end
1915
1915
 
1916
+ # Details about data retention deletion violations, in which the data is non-
1917
+ # compliant based on their retention or deletion time, as defined in the
1918
+ # applicable data security policy. The Data Retention Deletion (DRD) control is
1919
+ # a control of the DSPM (Data Security Posture Management) suite that enables
1920
+ # organizations to manage data retention and deletion policies in compliance
1921
+ # with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
1922
+ # maximum storage length (max TTL) and minimum storage length (min TTL). Both
1923
+ # are aimed at helping organizations meet regulatory and data management
1924
+ # commitments.
1925
+ class DataRetentionDeletionEvent
1926
+ include Google::Apis::Core::Hashable
1927
+
1928
+ # Number of objects that violated the policy for this resource. If the number is
1929
+ # less than 1,000, then the value of this field is the exact number. If the
1930
+ # number of objects that violated the policy is greater than or equal to 1,000,
1931
+ # then the value of this field is 1000.
1932
+ # Corresponds to the JSON property `dataObjectCount`
1933
+ # @return [Fixnum]
1934
+ attr_accessor :data_object_count
1935
+
1936
+ # Timestamp indicating when the event was detected.
1937
+ # Corresponds to the JSON property `eventDetectionTime`
1938
+ # @return [String]
1939
+ attr_accessor :event_detection_time
1940
+
1941
+ # Type of the DRD event.
1942
+ # Corresponds to the JSON property `eventType`
1943
+ # @return [String]
1944
+ attr_accessor :event_type
1945
+
1946
+ # Maximum duration of retention allowed from the DRD control. This comes from
1947
+ # the DRD control where users set a max TTL for their data. For example, suppose
1948
+ # that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
1949
+ # object in that bucket is 100 days old. In this case, a
1950
+ # DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
1951
+ # and the max_retention_allowed is 90 days.
1952
+ # Corresponds to the JSON property `maxRetentionAllowed`
1953
+ # @return [String]
1954
+ attr_accessor :max_retention_allowed
1955
+
1956
+ def initialize(**args)
1957
+ update!(**args)
1958
+ end
1959
+
1960
+ # Update properties of this object
1961
+ def update!(**args)
1962
+ @data_object_count = args[:data_object_count] if args.key?(:data_object_count)
1963
+ @event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
1964
+ @event_type = args[:event_type] if args.key?(:event_type)
1965
+ @max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
1966
+ end
1967
+ end
1968
+
1916
1969
  # Represents database access information, such as queries. A database may be a
1917
1970
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
1918
1971
  # Spanner instances), or the database instance itself. Some database resources
@@ -2001,6 +2054,26 @@ module Google
2001
2054
  end
2002
2055
  end
2003
2056
 
2057
+ # Contains information about the disk associated with the finding.
2058
+ class Disk
2059
+ include Google::Apis::Core::Hashable
2060
+
2061
+ # The name of the disk, for example, "https://www.googleapis.com/compute/v1/
2062
+ # projects/project-id/zones/zone-id/disks/disk-id".
2063
+ # Corresponds to the JSON property `name`
2064
+ # @return [String]
2065
+ attr_accessor :name
2066
+
2067
+ def initialize(**args)
2068
+ update!(**args)
2069
+ end
2070
+
2071
+ # Update properties of this object
2072
+ def update!(**args)
2073
+ @name = args[:name] if args.key?(:name)
2074
+ end
2075
+ end
2076
+
2004
2077
  # Path of the file in terms of underlying disk/partition identifiers.
2005
2078
  class DiskPath
2006
2079
  include Google::Apis::Core::Hashable
@@ -2067,6 +2140,11 @@ module Google
2067
2140
  class EffectiveEventThreatDetectionCustomModule
2068
2141
  include Google::Apis::Core::Hashable
2069
2142
 
2143
+ # The cloud provider of the custom module.
2144
+ # Corresponds to the JSON property `cloudProvider`
2145
+ # @return [String]
2146
+ attr_accessor :cloud_provider
2147
+
2070
2148
  # Output only. Config for the effective module.
2071
2149
  # Corresponds to the JSON property `config`
2072
2150
  # @return [Hash<String,Object>]
@@ -2108,6 +2186,7 @@ module Google
2108
2186
 
2109
2187
  # Update properties of this object
2110
2188
  def update!(**args)
2189
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2111
2190
  @config = args[:config] if args.key?(:config)
2112
2191
  @description = args[:description] if args.key?(:description)
2113
2192
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2174,6 +2253,11 @@ module Google
2174
2253
  # @return [String]
2175
2254
  attr_accessor :ancestor_module
2176
2255
 
2256
+ # The cloud provider of the custom module.
2257
+ # Corresponds to the JSON property `cloudProvider`
2258
+ # @return [String]
2259
+ attr_accessor :cloud_provider
2260
+
2177
2261
  # Config for the module. For the resident module, its config value is defined at
2178
2262
  # this level. For the inherited module, its config value is inherited from the
2179
2263
  # ancestor module.
@@ -2227,6 +2311,7 @@ module Google
2227
2311
  # Update properties of this object
2228
2312
  def update!(**args)
2229
2313
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
2314
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2230
2315
  @config = args[:config] if args.key?(:config)
2231
2316
  @description = args[:description] if args.key?(:description)
2232
2317
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2520,6 +2605,11 @@ module Google
2520
2605
  # @return [Array<Google::Apis::SecuritycenterV1::DataFlowEvent>]
2521
2606
  attr_accessor :data_flow_events
2522
2607
 
2608
+ # Data retention deletion events associated with the finding.
2609
+ # Corresponds to the JSON property `dataRetentionDeletionEvents`
2610
+ # @return [Array<Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent>]
2611
+ attr_accessor :data_retention_deletion_events
2612
+
2523
2613
  # Represents database access information, such as queries. A database may be a
2524
2614
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
2525
2615
  # Spanner instances), or the database instance itself. Some database resources
@@ -2536,6 +2626,11 @@ module Google
2536
2626
  # @return [String]
2537
2627
  attr_accessor :description
2538
2628
 
2629
+ # Contains information about the disk associated with the finding.
2630
+ # Corresponds to the JSON property `disk`
2631
+ # @return [Google::Apis::SecuritycenterV1::Disk]
2632
+ attr_accessor :disk
2633
+
2539
2634
  # The time the finding was first detected. If an existing finding is updated,
2540
2635
  # then this is the time the update occurred. For example, if the finding
2541
2636
  # represents an open firewall, this property captures the time the detector
@@ -2778,8 +2873,10 @@ module Google
2778
2873
  @create_time = args[:create_time] if args.key?(:create_time)
2779
2874
  @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
2780
2875
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
2876
+ @data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
2781
2877
  @database = args[:database] if args.key?(:database)
2782
2878
  @description = args[:description] if args.key?(:description)
2879
+ @disk = args[:disk] if args.key?(:disk)
2783
2880
  @event_time = args[:event_time] if args.key?(:event_time)
2784
2881
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
2785
2882
  @external_systems = args[:external_systems] if args.key?(:external_systems)
@@ -3202,6 +3299,11 @@ module Google
3202
3299
  class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
3203
3300
  include Google::Apis::Core::Hashable
3204
3301
 
3302
+ # The cloud provider of the custom module.
3303
+ # Corresponds to the JSON property `cloudProvider`
3304
+ # @return [String]
3305
+ attr_accessor :cloud_provider
3306
+
3205
3307
  # Defines the properties in a custom module configuration for Security Health
3206
3308
  # Analytics. Use the custom module configuration to create custom detectors that
3207
3309
  # generate custom findings for resources that you specify.
@@ -3238,6 +3340,7 @@ module Google
3238
3340
 
3239
3341
  # Update properties of this object
3240
3342
  def update!(**args)
3343
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
3241
3344
  @custom_config = args[:custom_config] if args.key?(:custom_config)
3242
3345
  @display_name = args[:display_name] if args.key?(:display_name)
3243
3346
  @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
@@ -3699,10 +3802,10 @@ module Google
3699
3802
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping]
3700
3803
  attr_accessor :sensitive_data_protection_mapping
3701
3804
 
3702
- # Required. Tag values combined with `AND` to check against. Values in the form "
3703
- # tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
3704
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
3705
- # managing
3805
+ # Required. Tag values combined with `AND` to check against. For Google Cloud
3806
+ # resources, they are tag value IDs in the form of "tagValues/123". Example: `[ "
3807
+ # tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/
3808
+ # resource-manager/docs/tags/tags-creating-and-managing
3706
3809
  # Corresponds to the JSON property `tagValues`
3707
3810
  # @return [Array<String>]
3708
3811
  attr_accessor :tag_values
@@ -3773,6 +3876,11 @@ module Google
3773
3876
  # @return [String]
3774
3877
  attr_accessor :ancestor_module
3775
3878
 
3879
+ # The cloud provider of the custom module.
3880
+ # Corresponds to the JSON property `cloudProvider`
3881
+ # @return [String]
3882
+ attr_accessor :cloud_provider
3883
+
3776
3884
  # Defines the properties in a custom module configuration for Security Health
3777
3885
  # Analytics. Use the custom module configuration to create custom detectors that
3778
3886
  # generate custom findings for resources that you specify.
@@ -3822,6 +3930,7 @@ module Google
3822
3930
  # Update properties of this object
3823
3931
  def update!(**args)
3824
3932
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
3933
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
3825
3934
  @custom_config = args[:custom_config] if args.key?(:custom_config)
3826
3935
  @display_name = args[:display_name] if args.key?(:display_name)
3827
3936
  @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
@@ -5548,6 +5657,59 @@ module Google
5548
5657
  end
5549
5658
  end
5550
5659
 
5660
+ # Details about data retention deletion violations, in which the data is non-
5661
+ # compliant based on their retention or deletion time, as defined in the
5662
+ # applicable data security policy. The Data Retention Deletion (DRD) control is
5663
+ # a control of the DSPM (Data Security Posture Management) suite that enables
5664
+ # organizations to manage data retention and deletion policies in compliance
5665
+ # with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
5666
+ # maximum storage length (max TTL) and minimum storage length (min TTL). Both
5667
+ # are aimed at helping organizations meet regulatory and data management
5668
+ # commitments.
5669
+ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
5670
+ include Google::Apis::Core::Hashable
5671
+
5672
+ # Number of objects that violated the policy for this resource. If the number is
5673
+ # less than 1,000, then the value of this field is the exact number. If the
5674
+ # number of objects that violated the policy is greater than or equal to 1,000,
5675
+ # then the value of this field is 1000.
5676
+ # Corresponds to the JSON property `dataObjectCount`
5677
+ # @return [Fixnum]
5678
+ attr_accessor :data_object_count
5679
+
5680
+ # Timestamp indicating when the event was detected.
5681
+ # Corresponds to the JSON property `eventDetectionTime`
5682
+ # @return [String]
5683
+ attr_accessor :event_detection_time
5684
+
5685
+ # Type of the DRD event.
5686
+ # Corresponds to the JSON property `eventType`
5687
+ # @return [String]
5688
+ attr_accessor :event_type
5689
+
5690
+ # Maximum duration of retention allowed from the DRD control. This comes from
5691
+ # the DRD control where users set a max TTL for their data. For example, suppose
5692
+ # that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
5693
+ # object in that bucket is 100 days old. In this case, a
5694
+ # DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
5695
+ # and the max_retention_allowed is 90 days.
5696
+ # Corresponds to the JSON property `maxRetentionAllowed`
5697
+ # @return [String]
5698
+ attr_accessor :max_retention_allowed
5699
+
5700
+ def initialize(**args)
5701
+ update!(**args)
5702
+ end
5703
+
5704
+ # Update properties of this object
5705
+ def update!(**args)
5706
+ @data_object_count = args[:data_object_count] if args.key?(:data_object_count)
5707
+ @event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
5708
+ @event_type = args[:event_type] if args.key?(:event_type)
5709
+ @max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
5710
+ end
5711
+ end
5712
+
5551
5713
  # Represents database access information, such as queries. A database may be a
5552
5714
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5553
5715
  # Spanner instances), or the database instance itself. Some database resources
@@ -5636,6 +5798,26 @@ module Google
5636
5798
  end
5637
5799
  end
5638
5800
 
5801
+ # Contains information about the disk associated with the finding.
5802
+ class GoogleCloudSecuritycenterV2Disk
5803
+ include Google::Apis::Core::Hashable
5804
+
5805
+ # The name of the disk, for example, "https://www.googleapis.com/compute/v1/
5806
+ # projects/project-id/zones/zone-id/disks/disk-id".
5807
+ # Corresponds to the JSON property `name`
5808
+ # @return [String]
5809
+ attr_accessor :name
5810
+
5811
+ def initialize(**args)
5812
+ update!(**args)
5813
+ end
5814
+
5815
+ # Update properties of this object
5816
+ def update!(**args)
5817
+ @name = args[:name] if args.key?(:name)
5818
+ end
5819
+ end
5820
+
5639
5821
  # Path of the file in terms of underlying disk/partition identifiers.
5640
5822
  class GoogleCloudSecuritycenterV2DiskPath
5641
5823
  include Google::Apis::Core::Hashable
@@ -6038,6 +6220,11 @@ module Google
6038
6220
  # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent>]
6039
6221
  attr_accessor :data_flow_events
6040
6222
 
6223
+ # Data retention deletion events associated with the finding.
6224
+ # Corresponds to the JSON property `dataRetentionDeletionEvents`
6225
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent>]
6226
+ attr_accessor :data_retention_deletion_events
6227
+
6041
6228
  # Represents database access information, such as queries. A database may be a
6042
6229
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
6043
6230
  # Spanner instances), or the database instance itself. Some database resources
@@ -6054,6 +6241,11 @@ module Google
6054
6241
  # @return [String]
6055
6242
  attr_accessor :description
6056
6243
 
6244
+ # Contains information about the disk associated with the finding.
6245
+ # Corresponds to the JSON property `disk`
6246
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk]
6247
+ attr_accessor :disk
6248
+
6057
6249
  # The time the finding was first detected. If an existing finding is updated,
6058
6250
  # then this is the time the update occurred. For example, if the finding
6059
6251
  # represents an open firewall, this property captures the time the detector
@@ -6305,8 +6497,10 @@ module Google
6305
6497
  @create_time = args[:create_time] if args.key?(:create_time)
6306
6498
  @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
6307
6499
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
6500
+ @data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
6308
6501
  @database = args[:database] if args.key?(:database)
6309
6502
  @description = args[:description] if args.key?(:description)
6503
+ @disk = args[:disk] if args.key?(:disk)
6310
6504
  @event_time = args[:event_time] if args.key?(:event_time)
6311
6505
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
6312
6506
  @external_systems = args[:external_systems] if args.key?(:external_systems)
@@ -6491,6 +6685,485 @@ module Google
6491
6685
  end
6492
6686
  end
6493
6687
 
6688
+ # Security Command Center Issue.
6689
+ class GoogleCloudSecuritycenterV2Issue
6690
+ include Google::Apis::Core::Hashable
6691
+
6692
+ # Output only. The time the issue was created.
6693
+ # Corresponds to the JSON property `createTime`
6694
+ # @return [String]
6695
+ attr_accessor :create_time
6696
+
6697
+ # The description of the issue in Markdown format.
6698
+ # Corresponds to the JSON property `description`
6699
+ # @return [String]
6700
+ attr_accessor :description
6701
+
6702
+ # The finding category or rule name that generated the issue.
6703
+ # Corresponds to the JSON property `detection`
6704
+ # @return [String]
6705
+ attr_accessor :detection
6706
+
6707
+ # The domains of the issue.
6708
+ # Corresponds to the JSON property `domains`
6709
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain>]
6710
+ attr_accessor :domains
6711
+
6712
+ # The exposure score of the issue.
6713
+ # Corresponds to the JSON property `exposureScore`
6714
+ # @return [Float]
6715
+ attr_accessor :exposure_score
6716
+
6717
+ # The type of the issue.
6718
+ # Corresponds to the JSON property `issueType`
6719
+ # @return [String]
6720
+ attr_accessor :issue_type
6721
+
6722
+ # The time the issue was last observed.
6723
+ # Corresponds to the JSON property `lastObservationTime`
6724
+ # @return [String]
6725
+ attr_accessor :last_observation_time
6726
+
6727
+ # The mute information of the issue.
6728
+ # Corresponds to the JSON property `mute`
6729
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute]
6730
+ attr_accessor :mute
6731
+
6732
+ # Identifier. The name of the issue. Format: organizations/`organization`/
6733
+ # locations/`location`/issues/`issue`
6734
+ # Corresponds to the JSON property `name`
6735
+ # @return [String]
6736
+ attr_accessor :name
6737
+
6738
+ # A resource associated with the an issue.
6739
+ # Corresponds to the JSON property `primaryResource`
6740
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource]
6741
+ attr_accessor :primary_resource
6742
+
6743
+ # The findings related to the issue.
6744
+ # Corresponds to the JSON property `relatedFindings`
6745
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding>]
6746
+ attr_accessor :related_findings
6747
+
6748
+ # Approaches to remediate the issue in Markdown format.
6749
+ # Corresponds to the JSON property `remediations`
6750
+ # @return [Array<String>]
6751
+ attr_accessor :remediations
6752
+
6753
+ # Additional resources associated with the issue.
6754
+ # Corresponds to the JSON property `secondaryResources`
6755
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource>]
6756
+ attr_accessor :secondary_resources
6757
+
6758
+ # The security context of the issue.
6759
+ # Corresponds to the JSON property `securityContexts`
6760
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext>]
6761
+ attr_accessor :security_contexts
6762
+
6763
+ # The severity of the issue.
6764
+ # Corresponds to the JSON property `severity`
6765
+ # @return [String]
6766
+ attr_accessor :severity
6767
+
6768
+ # Output only. The state of the issue.
6769
+ # Corresponds to the JSON property `state`
6770
+ # @return [String]
6771
+ attr_accessor :state
6772
+
6773
+ # Output only. The time the issue was last updated.
6774
+ # Corresponds to the JSON property `updateTime`
6775
+ # @return [String]
6776
+ attr_accessor :update_time
6777
+
6778
+ def initialize(**args)
6779
+ update!(**args)
6780
+ end
6781
+
6782
+ # Update properties of this object
6783
+ def update!(**args)
6784
+ @create_time = args[:create_time] if args.key?(:create_time)
6785
+ @description = args[:description] if args.key?(:description)
6786
+ @detection = args[:detection] if args.key?(:detection)
6787
+ @domains = args[:domains] if args.key?(:domains)
6788
+ @exposure_score = args[:exposure_score] if args.key?(:exposure_score)
6789
+ @issue_type = args[:issue_type] if args.key?(:issue_type)
6790
+ @last_observation_time = args[:last_observation_time] if args.key?(:last_observation_time)
6791
+ @mute = args[:mute] if args.key?(:mute)
6792
+ @name = args[:name] if args.key?(:name)
6793
+ @primary_resource = args[:primary_resource] if args.key?(:primary_resource)
6794
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
6795
+ @remediations = args[:remediations] if args.key?(:remediations)
6796
+ @secondary_resources = args[:secondary_resources] if args.key?(:secondary_resources)
6797
+ @security_contexts = args[:security_contexts] if args.key?(:security_contexts)
6798
+ @severity = args[:severity] if args.key?(:severity)
6799
+ @state = args[:state] if args.key?(:state)
6800
+ @update_time = args[:update_time] if args.key?(:update_time)
6801
+ end
6802
+ end
6803
+
6804
+ # The domains of an issue.
6805
+ class GoogleCloudSecuritycenterV2IssueDomain
6806
+ include Google::Apis::Core::Hashable
6807
+
6808
+ # The domain category of the issue.
6809
+ # Corresponds to the JSON property `domainCategory`
6810
+ # @return [String]
6811
+ attr_accessor :domain_category
6812
+
6813
+ def initialize(**args)
6814
+ update!(**args)
6815
+ end
6816
+
6817
+ # Update properties of this object
6818
+ def update!(**args)
6819
+ @domain_category = args[:domain_category] if args.key?(:domain_category)
6820
+ end
6821
+ end
6822
+
6823
+ # Finding related to an issue.
6824
+ class GoogleCloudSecuritycenterV2IssueFinding
6825
+ include Google::Apis::Core::Hashable
6826
+
6827
+ # The CVE of the finding.
6828
+ # Corresponds to the JSON property `cve`
6829
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve]
6830
+ attr_accessor :cve
6831
+
6832
+ # The name of the finding.
6833
+ # Corresponds to the JSON property `name`
6834
+ # @return [String]
6835
+ attr_accessor :name
6836
+
6837
+ # The security bulletin of the finding.
6838
+ # Corresponds to the JSON property `securityBulletin`
6839
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin]
6840
+ attr_accessor :security_bulletin
6841
+
6842
+ def initialize(**args)
6843
+ update!(**args)
6844
+ end
6845
+
6846
+ # Update properties of this object
6847
+ def update!(**args)
6848
+ @cve = args[:cve] if args.key?(:cve)
6849
+ @name = args[:name] if args.key?(:name)
6850
+ @security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
6851
+ end
6852
+ end
6853
+
6854
+ # The CVE of the finding.
6855
+ class GoogleCloudSecuritycenterV2IssueFindingCve
6856
+ include Google::Apis::Core::Hashable
6857
+
6858
+ # The CVE name.
6859
+ # Corresponds to the JSON property `name`
6860
+ # @return [String]
6861
+ attr_accessor :name
6862
+
6863
+ def initialize(**args)
6864
+ update!(**args)
6865
+ end
6866
+
6867
+ # Update properties of this object
6868
+ def update!(**args)
6869
+ @name = args[:name] if args.key?(:name)
6870
+ end
6871
+ end
6872
+
6873
+ # The security bulletin of the finding.
6874
+ class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
6875
+ include Google::Apis::Core::Hashable
6876
+
6877
+ # The security bulletin name.
6878
+ # Corresponds to the JSON property `name`
6879
+ # @return [String]
6880
+ attr_accessor :name
6881
+
6882
+ def initialize(**args)
6883
+ update!(**args)
6884
+ end
6885
+
6886
+ # Update properties of this object
6887
+ def update!(**args)
6888
+ @name = args[:name] if args.key?(:name)
6889
+ end
6890
+ end
6891
+
6892
+ # The mute information of the issue.
6893
+ class GoogleCloudSecuritycenterV2IssueMute
6894
+ include Google::Apis::Core::Hashable
6895
+
6896
+ # The email address of the user who last changed the mute state of the issue.
6897
+ # Corresponds to the JSON property `muteInitiator`
6898
+ # @return [String]
6899
+ attr_accessor :mute_initiator
6900
+
6901
+ # The user-provided reason for muting the issue.
6902
+ # Corresponds to the JSON property `muteReason`
6903
+ # @return [String]
6904
+ attr_accessor :mute_reason
6905
+
6906
+ # Output only. The mute state of the issue.
6907
+ # Corresponds to the JSON property `muteState`
6908
+ # @return [String]
6909
+ attr_accessor :mute_state
6910
+
6911
+ # The time the issue was muted.
6912
+ # Corresponds to the JSON property `muteUpdateTime`
6913
+ # @return [String]
6914
+ attr_accessor :mute_update_time
6915
+
6916
+ def initialize(**args)
6917
+ update!(**args)
6918
+ end
6919
+
6920
+ # Update properties of this object
6921
+ def update!(**args)
6922
+ @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
6923
+ @mute_reason = args[:mute_reason] if args.key?(:mute_reason)
6924
+ @mute_state = args[:mute_state] if args.key?(:mute_state)
6925
+ @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
6926
+ end
6927
+ end
6928
+
6929
+ # A resource associated with the an issue.
6930
+ class GoogleCloudSecuritycenterV2IssueResource
6931
+ include Google::Apis::Core::Hashable
6932
+
6933
+ # The AWS metadata of a resource associated with an issue.
6934
+ # Corresponds to the JSON property `awsMetadata`
6935
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata]
6936
+ attr_accessor :aws_metadata
6937
+
6938
+ # The Azure metadata of a resource associated with an issue.
6939
+ # Corresponds to the JSON property `azureMetadata`
6940
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata]
6941
+ attr_accessor :azure_metadata
6942
+
6943
+ # The cloud provider of the resource associated with the issue.
6944
+ # Corresponds to the JSON property `cloudProvider`
6945
+ # @return [String]
6946
+ attr_accessor :cloud_provider
6947
+
6948
+ # The resource-type specific display name of the resource associated with the
6949
+ # issue.
6950
+ # Corresponds to the JSON property `displayName`
6951
+ # @return [String]
6952
+ attr_accessor :display_name
6953
+
6954
+ # Google Cloud metadata of a resource associated with an issue.
6955
+ # Corresponds to the JSON property `googleCloudMetadata`
6956
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata]
6957
+ attr_accessor :google_cloud_metadata
6958
+
6959
+ # The full resource name of the resource associated with the issue.
6960
+ # Corresponds to the JSON property `name`
6961
+ # @return [String]
6962
+ attr_accessor :name
6963
+
6964
+ # The type of the resource associated with the issue.
6965
+ # Corresponds to the JSON property `type`
6966
+ # @return [String]
6967
+ attr_accessor :type
6968
+
6969
+ def initialize(**args)
6970
+ update!(**args)
6971
+ end
6972
+
6973
+ # Update properties of this object
6974
+ def update!(**args)
6975
+ @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
6976
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
6977
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
6978
+ @display_name = args[:display_name] if args.key?(:display_name)
6979
+ @google_cloud_metadata = args[:google_cloud_metadata] if args.key?(:google_cloud_metadata)
6980
+ @name = args[:name] if args.key?(:name)
6981
+ @type = args[:type] if args.key?(:type)
6982
+ end
6983
+ end
6984
+
6985
+ # The AWS metadata of a resource associated with an issue.
6986
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
6987
+ include Google::Apis::Core::Hashable
6988
+
6989
+ # The AWS account of the resource associated with the issue.
6990
+ # Corresponds to the JSON property `account`
6991
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount]
6992
+ attr_accessor :account
6993
+
6994
+ def initialize(**args)
6995
+ update!(**args)
6996
+ end
6997
+
6998
+ # Update properties of this object
6999
+ def update!(**args)
7000
+ @account = args[:account] if args.key?(:account)
7001
+ end
7002
+ end
7003
+
7004
+ # The AWS account of the resource associated with the issue.
7005
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
7006
+ include Google::Apis::Core::Hashable
7007
+
7008
+ # The AWS account ID of the resource associated with the issue.
7009
+ # Corresponds to the JSON property `id`
7010
+ # @return [String]
7011
+ attr_accessor :id
7012
+
7013
+ # The AWS account name of the resource associated with the issue.
7014
+ # Corresponds to the JSON property `name`
7015
+ # @return [String]
7016
+ attr_accessor :name
7017
+
7018
+ def initialize(**args)
7019
+ update!(**args)
7020
+ end
7021
+
7022
+ # Update properties of this object
7023
+ def update!(**args)
7024
+ @id = args[:id] if args.key?(:id)
7025
+ @name = args[:name] if args.key?(:name)
7026
+ end
7027
+ end
7028
+
7029
+ # The Azure metadata of a resource associated with an issue.
7030
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
7031
+ include Google::Apis::Core::Hashable
7032
+
7033
+ # The Azure subscription of the resource associated with the issue.
7034
+ # Corresponds to the JSON property `subscription`
7035
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription]
7036
+ attr_accessor :subscription
7037
+
7038
+ def initialize(**args)
7039
+ update!(**args)
7040
+ end
7041
+
7042
+ # Update properties of this object
7043
+ def update!(**args)
7044
+ @subscription = args[:subscription] if args.key?(:subscription)
7045
+ end
7046
+ end
7047
+
7048
+ # The Azure subscription of the resource associated with the issue.
7049
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
7050
+ include Google::Apis::Core::Hashable
7051
+
7052
+ # The Azure subscription display name of the resource associated with the issue.
7053
+ # Corresponds to the JSON property `displayName`
7054
+ # @return [String]
7055
+ attr_accessor :display_name
7056
+
7057
+ # The Azure subscription ID of the resource associated with the issue.
7058
+ # Corresponds to the JSON property `id`
7059
+ # @return [String]
7060
+ attr_accessor :id
7061
+
7062
+ def initialize(**args)
7063
+ update!(**args)
7064
+ end
7065
+
7066
+ # Update properties of this object
7067
+ def update!(**args)
7068
+ @display_name = args[:display_name] if args.key?(:display_name)
7069
+ @id = args[:id] if args.key?(:id)
7070
+ end
7071
+ end
7072
+
7073
+ # Google Cloud metadata of a resource associated with an issue.
7074
+ class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
7075
+ include Google::Apis::Core::Hashable
7076
+
7077
+ # The project ID that the resource associated with the issue belongs to.
7078
+ # Corresponds to the JSON property `projectId`
7079
+ # @return [String]
7080
+ attr_accessor :project_id
7081
+
7082
+ def initialize(**args)
7083
+ update!(**args)
7084
+ end
7085
+
7086
+ # Update properties of this object
7087
+ def update!(**args)
7088
+ @project_id = args[:project_id] if args.key?(:project_id)
7089
+ end
7090
+ end
7091
+
7092
+ # Security context associated with an issue.
7093
+ class GoogleCloudSecuritycenterV2IssueSecurityContext
7094
+ include Google::Apis::Core::Hashable
7095
+
7096
+ # Aggregated count of a security context.
7097
+ # Corresponds to the JSON property `aggregatedCount`
7098
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount]
7099
+ attr_accessor :aggregated_count
7100
+
7101
+ # Context of a security context.
7102
+ # Corresponds to the JSON property `context`
7103
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext]
7104
+ attr_accessor :context
7105
+
7106
+ def initialize(**args)
7107
+ update!(**args)
7108
+ end
7109
+
7110
+ # Update properties of this object
7111
+ def update!(**args)
7112
+ @aggregated_count = args[:aggregated_count] if args.key?(:aggregated_count)
7113
+ @context = args[:context] if args.key?(:context)
7114
+ end
7115
+ end
7116
+
7117
+ # Aggregated count of a security context.
7118
+ class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
7119
+ include Google::Apis::Core::Hashable
7120
+
7121
+ # Aggregation key.
7122
+ # Corresponds to the JSON property `key`
7123
+ # @return [String]
7124
+ attr_accessor :key
7125
+
7126
+ # Aggregation value.
7127
+ # Corresponds to the JSON property `value`
7128
+ # @return [Fixnum]
7129
+ attr_accessor :value
7130
+
7131
+ def initialize(**args)
7132
+ update!(**args)
7133
+ end
7134
+
7135
+ # Update properties of this object
7136
+ def update!(**args)
7137
+ @key = args[:key] if args.key?(:key)
7138
+ @value = args[:value] if args.key?(:value)
7139
+ end
7140
+ end
7141
+
7142
+ # Context of a security context.
7143
+ class GoogleCloudSecuritycenterV2IssueSecurityContextContext
7144
+ include Google::Apis::Core::Hashable
7145
+
7146
+ # Context type.
7147
+ # Corresponds to the JSON property `type`
7148
+ # @return [String]
7149
+ attr_accessor :type
7150
+
7151
+ # Context values.
7152
+ # Corresponds to the JSON property `values`
7153
+ # @return [Array<String>]
7154
+ attr_accessor :values
7155
+
7156
+ def initialize(**args)
7157
+ update!(**args)
7158
+ end
7159
+
7160
+ # Update properties of this object
7161
+ def update!(**args)
7162
+ @type = args[:type] if args.key?(:type)
7163
+ @values = args[:values] if args.key?(:values)
7164
+ end
7165
+ end
7166
+
6494
7167
  # Kernel mode rootkit signatures.
6495
7168
  class GoogleCloudSecuritycenterV2KernelRootkit
6496
7169
  include Google::Apis::Core::Hashable
@@ -7567,9 +8240,10 @@ module Google
7567
8240
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping]
7568
8241
  attr_accessor :sensitive_data_protection_mapping
7569
8242
 
7570
- # Tag values combined with `AND` to check against. Values in the form "tagValues/
7571
- # 123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://
7572
- # cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
8243
+ # Tag values combined with `AND` to check against. For Google Cloud resources,
8244
+ # they are tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/
8245
+ # 123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-
8246
+ # manager/docs/tags/tags-creating-and-managing
7573
8247
  # Corresponds to the JSON property `tagValues`
7574
8248
  # @return [Array<String>]
7575
8249
  attr_accessor :tag_values