google-apis-securitycenter_v1 0.84.0 → 0.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1f0ed08a2051c43694149eaec5058ba8e9227e4c178eceb8fabb986f3a4a56e7
4
- data.tar.gz: 37b7c4f4b5c0d4343598f25f9776809ee146a5cef97b234d9fae174c3d6ed088
3
+ metadata.gz: b4a8251a9bb9d67f60fde3269385135e3e18de418ab3f618639ab4072dc00cf7
4
+ data.tar.gz: 1d8c2ef9b342b752dc1537baa97b5da87d52fe6da27f774bb303d9a9ea28df2c
5
5
  SHA512:
6
- metadata.gz: a7d164a77a014c943318849ae6b39c2f142fabd689be54aa7e7489e99b6eaefa062d24cd2ad30684776af00d84e6312d79347dbc5a88646e5093730069a36310
7
- data.tar.gz: 8db36a633fddf0aeafd4fcbba3f3f1f77c6f4d09c9ddd4431b33700668ebdfb2205a8fe64bd10400f64ca5f71108cf88bbc07fb5b471e63db2498e5420f548f5
6
+ metadata.gz: 42dcf5db6db2d3d16c4413326197a670efe66c8dedc025f40e5f20485bfc0afbf6e886848c1bccd2022129135666e455e71650f04c296a5bb31ba746abbe6155
7
+ data.tar.gz: db852fcd870bb463dfaeeea3c7176097088bec602b987f612f2308845110123bc39a28639a76fd356b10381ec96467495233054fddc3e5e73fc59e1a1629a3bc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.86.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240827
6
+
7
+ ### v0.85.0 (2024-08-11)
8
+
9
+ * Regenerated from discovery document revision 20240806
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.84.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240720
@@ -826,6 +826,11 @@ module Google
826
826
  # @return [Google::Apis::SecuritycenterV1::AzureSubscription]
827
827
  attr_accessor :subscription
828
828
 
829
+ # Represents a Microsoft Entra tenant.
830
+ # Corresponds to the JSON property `tenant`
831
+ # @return [Google::Apis::SecuritycenterV1::AzureTenant]
832
+ attr_accessor :tenant
833
+
829
834
  def initialize(**args)
830
835
  update!(**args)
831
836
  end
@@ -835,6 +840,7 @@ module Google
835
840
  @management_groups = args[:management_groups] if args.key?(:management_groups)
836
841
  @resource_group = args[:resource_group] if args.key?(:resource_group)
837
842
  @subscription = args[:subscription] if args.key?(:subscription)
843
+ @tenant = args[:tenant] if args.key?(:tenant)
838
844
  end
839
845
  end
840
846
 
@@ -883,6 +889,26 @@ module Google
883
889
  end
884
890
  end
885
891
 
892
+ # Represents a Microsoft Entra tenant.
893
+ class AzureTenant
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-
897
+ # 1aaa11a".
898
+ # Corresponds to the JSON property `id`
899
+ # @return [String]
900
+ attr_accessor :id
901
+
902
+ def initialize(**args)
903
+ update!(**args)
904
+ end
905
+
906
+ # Update properties of this object
907
+ def update!(**args)
908
+ @id = args[:id] if args.key?(:id)
909
+ end
910
+ end
911
+
886
912
  # Information related to Google Cloud Backup and DR Service findings.
887
913
  class BackupDisasterRecovery
888
914
  include Google::Apis::Core::Hashable
@@ -1144,6 +1170,13 @@ module Google
1144
1170
  # @return [String]
1145
1171
  attr_accessor :mute_annotation
1146
1172
 
1173
+ # Optional. All findings matching the given filter will have their mute state
1174
+ # set to this value. The default value is `MUTED`. Setting this to `UNDEFINED`
1175
+ # will clear the mute state on all matching findings.
1176
+ # Corresponds to the JSON property `muteState`
1177
+ # @return [String]
1178
+ attr_accessor :mute_state
1179
+
1147
1180
  def initialize(**args)
1148
1181
  update!(**args)
1149
1182
  end
@@ -1152,6 +1185,7 @@ module Google
1152
1185
  def update!(**args)
1153
1186
  @filter = args[:filter] if args.key?(:filter)
1154
1187
  @mute_annotation = args[:mute_annotation] if args.key?(:mute_annotation)
1188
+ @mute_state = args[:mute_state] if args.key?(:mute_state)
1155
1189
  end
1156
1190
  end
1157
1191
 
@@ -1637,11 +1671,21 @@ module Google
1637
1671
  # @return [Google::Apis::SecuritycenterV1::Cvssv3]
1638
1672
  attr_accessor :cvssv3
1639
1673
 
1674
+ # Date the first publicly available exploit or PoC was released.
1675
+ # Corresponds to the JSON property `exploitReleaseDate`
1676
+ # @return [String]
1677
+ attr_accessor :exploit_release_date
1678
+
1640
1679
  # The exploitation activity of the vulnerability in the wild.
1641
1680
  # Corresponds to the JSON property `exploitationActivity`
1642
1681
  # @return [String]
1643
1682
  attr_accessor :exploitation_activity
1644
1683
 
1684
+ # Date of the earliest known exploitation.
1685
+ # Corresponds to the JSON property `firstExploitationDate`
1686
+ # @return [String]
1687
+ attr_accessor :first_exploitation_date
1688
+
1645
1689
  # The unique identifier for the vulnerability. e.g. CVE-2021-34527
1646
1690
  # Corresponds to the JSON property `id`
1647
1691
  # @return [String]
@@ -1683,7 +1727,9 @@ module Google
1683
1727
  # Update properties of this object
1684
1728
  def update!(**args)
1685
1729
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
1730
+ @exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
1686
1731
  @exploitation_activity = args[:exploitation_activity] if args.key?(:exploitation_activity)
1732
+ @first_exploitation_date = args[:first_exploitation_date] if args.key?(:first_exploitation_date)
1687
1733
  @id = args[:id] if args.key?(:id)
1688
1734
  @impact = args[:impact] if args.key?(:impact)
1689
1735
  @observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
@@ -1770,6 +1816,91 @@ module Google
1770
1816
  end
1771
1817
  end
1772
1818
 
1819
+ # Details about a data access attempt made by a principal not authorized under
1820
+ # applicable data security policy.
1821
+ class DataAccessEvent
1822
+ include Google::Apis::Core::Hashable
1823
+
1824
+ # Unique identifier for data access event.
1825
+ # Corresponds to the JSON property `eventId`
1826
+ # @return [String]
1827
+ attr_accessor :event_id
1828
+
1829
+ # Timestamp of data access event.
1830
+ # Corresponds to the JSON property `eventTime`
1831
+ # @return [String]
1832
+ attr_accessor :event_time
1833
+
1834
+ # The operation performed by the principal to access the data.
1835
+ # Corresponds to the JSON property `operation`
1836
+ # @return [String]
1837
+ attr_accessor :operation
1838
+
1839
+ # The email address of the principal that accessed the data. The principal could
1840
+ # be a user account, service account, Google group, or other.
1841
+ # Corresponds to the JSON property `principalEmail`
1842
+ # @return [String]
1843
+ attr_accessor :principal_email
1844
+
1845
+ def initialize(**args)
1846
+ update!(**args)
1847
+ end
1848
+
1849
+ # Update properties of this object
1850
+ def update!(**args)
1851
+ @event_id = args[:event_id] if args.key?(:event_id)
1852
+ @event_time = args[:event_time] if args.key?(:event_time)
1853
+ @operation = args[:operation] if args.key?(:operation)
1854
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
1855
+ end
1856
+ end
1857
+
1858
+ # Details about a data flow event, in which either the data is moved to or is
1859
+ # accessed from a non-compliant geo-location, as defined in the applicable data
1860
+ # security policy.
1861
+ class DataFlowEvent
1862
+ include Google::Apis::Core::Hashable
1863
+
1864
+ # Unique identifier for data flow event.
1865
+ # Corresponds to the JSON property `eventId`
1866
+ # @return [String]
1867
+ attr_accessor :event_id
1868
+
1869
+ # Timestamp of data flow event.
1870
+ # Corresponds to the JSON property `eventTime`
1871
+ # @return [String]
1872
+ attr_accessor :event_time
1873
+
1874
+ # The operation performed by the principal for the data flow event.
1875
+ # Corresponds to the JSON property `operation`
1876
+ # @return [String]
1877
+ attr_accessor :operation
1878
+
1879
+ # The email address of the principal that initiated the data flow event. The
1880
+ # principal could be a user account, service account, Google group, or other.
1881
+ # Corresponds to the JSON property `principalEmail`
1882
+ # @return [String]
1883
+ attr_accessor :principal_email
1884
+
1885
+ # Non-compliant location of the principal or the data destination.
1886
+ # Corresponds to the JSON property `violatedLocation`
1887
+ # @return [String]
1888
+ attr_accessor :violated_location
1889
+
1890
+ def initialize(**args)
1891
+ update!(**args)
1892
+ end
1893
+
1894
+ # Update properties of this object
1895
+ def update!(**args)
1896
+ @event_id = args[:event_id] if args.key?(:event_id)
1897
+ @event_time = args[:event_time] if args.key?(:event_time)
1898
+ @operation = args[:operation] if args.key?(:operation)
1899
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
1900
+ @violated_location = args[:violated_location] if args.key?(:violated_location)
1901
+ end
1902
+ end
1903
+
1773
1904
  # Represents database access information, such as queries. A database may be a
1774
1905
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
1775
1906
  # Spanner instances), or the database instance itself. Some database resources
@@ -1885,6 +2016,33 @@ module Google
1885
2016
  end
1886
2017
  end
1887
2018
 
2019
+ # The record of a dynamic mute rule that matches the finding.
2020
+ class DynamicMuteRecord
2021
+ include Google::Apis::Core::Hashable
2022
+
2023
+ # When the dynamic mute rule first matched the finding.
2024
+ # Corresponds to the JSON property `matchTime`
2025
+ # @return [String]
2026
+ attr_accessor :match_time
2027
+
2028
+ # The relative resource name of the mute rule, represented by a mute config,
2029
+ # that created this record, for example `organizations/123/muteConfigs/
2030
+ # mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
2031
+ # Corresponds to the JSON property `muteConfig`
2032
+ # @return [String]
2033
+ attr_accessor :mute_config
2034
+
2035
+ def initialize(**args)
2036
+ update!(**args)
2037
+ end
2038
+
2039
+ # Update properties of this object
2040
+ def update!(**args)
2041
+ @match_time = args[:match_time] if args.key?(:match_time)
2042
+ @mute_config = args[:mute_config] if args.key?(:mute_config)
2043
+ end
2044
+ end
2045
+
1888
2046
  # An EffectiveEventThreatDetectionCustomModule is the representation of an Event
1889
2047
  # Threat Detection custom module at a specified level of the resource hierarchy:
1890
2048
  # organization, folder, or project. If a custom module is inherited from a
@@ -2340,6 +2498,16 @@ module Google
2340
2498
  # @return [String]
2341
2499
  attr_accessor :create_time
2342
2500
 
2501
+ # Data access events associated with the finding.
2502
+ # Corresponds to the JSON property `dataAccessEvents`
2503
+ # @return [Array<Google::Apis::SecuritycenterV1::DataAccessEvent>]
2504
+ attr_accessor :data_access_events
2505
+
2506
+ # Data flow events associated with the finding.
2507
+ # Corresponds to the JSON property `dataFlowEvents`
2508
+ # @return [Array<Google::Apis::SecuritycenterV1::DataFlowEvent>]
2509
+ attr_accessor :data_flow_events
2510
+
2343
2511
  # Represents database access information, such as queries. A database may be a
2344
2512
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
2345
2513
  # Spanner instances), or the database instance itself. Some database resources
@@ -2457,6 +2625,12 @@ module Google
2457
2625
  # @return [String]
2458
2626
  attr_accessor :mute
2459
2627
 
2628
+ # Mute information about the finding, including whether the finding has a static
2629
+ # mute or any matching dynamic mute rules.
2630
+ # Corresponds to the JSON property `muteInfo`
2631
+ # @return [Google::Apis::SecuritycenterV1::MuteInfo]
2632
+ attr_accessor :mute_info
2633
+
2460
2634
  # Records additional information about the mute operation, for example, the [
2461
2635
  # mute configuration](/security-command-center/docs/how-to-mute-findings) that
2462
2636
  # muted the finding and the user who muted the finding.
@@ -2590,6 +2764,8 @@ module Google
2590
2764
  @contacts = args[:contacts] if args.key?(:contacts)
2591
2765
  @containers = args[:containers] if args.key?(:containers)
2592
2766
  @create_time = args[:create_time] if args.key?(:create_time)
2767
+ @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
2768
+ @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
2593
2769
  @database = args[:database] if args.key?(:database)
2594
2770
  @description = args[:description] if args.key?(:description)
2595
2771
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -2608,6 +2784,7 @@ module Google
2608
2784
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
2609
2785
  @module_name = args[:module_name] if args.key?(:module_name)
2610
2786
  @mute = args[:mute] if args.key?(:mute)
2787
+ @mute_info = args[:mute_info] if args.key?(:mute_info)
2611
2788
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
2612
2789
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
2613
2790
  @name = args[:name] if args.key?(:name)
@@ -3162,6 +3339,12 @@ module Google
3162
3339
  # @return [String]
3163
3340
  attr_accessor :display_name
3164
3341
 
3342
+ # Optional. The expiry of the mute config. Only applicable for dynamic configs.
3343
+ # If the expiry is set, when the config expires, it is removed from all findings.
3344
+ # Corresponds to the JSON property `expiryTime`
3345
+ # @return [String]
3346
+ attr_accessor :expiry_time
3347
+
3165
3348
  # Required. An expression that defines the filter to apply across create/update
3166
3349
  # events of findings. While creating a filter string, be mindful of the scope in
3167
3350
  # which the mute configuration is being created. E.g., If a filter contains
@@ -3193,6 +3376,14 @@ module Google
3193
3376
  # @return [String]
3194
3377
  attr_accessor :name
3195
3378
 
3379
+ # Optional. The type of the mute config, which determines what type of mute
3380
+ # state the config affects. The static mute state takes precedence over the
3381
+ # dynamic mute state. Immutable after creation. STATIC by default if not set
3382
+ # during creation.
3383
+ # Corresponds to the JSON property `type`
3384
+ # @return [String]
3385
+ attr_accessor :type
3386
+
3196
3387
  # Output only. The most recent time at which the mute config was updated. This
3197
3388
  # field is set by the server and will be ignored if provided on config creation
3198
3389
  # or update.
@@ -3209,9 +3400,11 @@ module Google
3209
3400
  @create_time = args[:create_time] if args.key?(:create_time)
3210
3401
  @description = args[:description] if args.key?(:description)
3211
3402
  @display_name = args[:display_name] if args.key?(:display_name)
3403
+ @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
3212
3404
  @filter = args[:filter] if args.key?(:filter)
3213
3405
  @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
3214
3406
  @name = args[:name] if args.key?(:name)
3407
+ @type = args[:type] if args.key?(:type)
3215
3408
  @update_time = args[:update_time] if args.key?(:update_time)
3216
3409
  end
3217
3410
  end
@@ -4450,6 +4643,11 @@ module Google
4450
4643
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription]
4451
4644
  attr_accessor :subscription
4452
4645
 
4646
+ # Represents a Microsoft Entra tenant.
4647
+ # Corresponds to the JSON property `tenant`
4648
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant]
4649
+ attr_accessor :tenant
4650
+
4453
4651
  def initialize(**args)
4454
4652
  update!(**args)
4455
4653
  end
@@ -4459,6 +4657,7 @@ module Google
4459
4657
  @management_groups = args[:management_groups] if args.key?(:management_groups)
4460
4658
  @resource_group = args[:resource_group] if args.key?(:resource_group)
4461
4659
  @subscription = args[:subscription] if args.key?(:subscription)
4660
+ @tenant = args[:tenant] if args.key?(:tenant)
4462
4661
  end
4463
4662
  end
4464
4663
 
@@ -4507,6 +4706,26 @@ module Google
4507
4706
  end
4508
4707
  end
4509
4708
 
4709
+ # Represents a Microsoft Entra tenant.
4710
+ class GoogleCloudSecuritycenterV2AzureTenant
4711
+ include Google::Apis::Core::Hashable
4712
+
4713
+ # The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-
4714
+ # 1aaa11a".
4715
+ # Corresponds to the JSON property `id`
4716
+ # @return [String]
4717
+ attr_accessor :id
4718
+
4719
+ def initialize(**args)
4720
+ update!(**args)
4721
+ end
4722
+
4723
+ # Update properties of this object
4724
+ def update!(**args)
4725
+ @id = args[:id] if args.key?(:id)
4726
+ end
4727
+ end
4728
+
4510
4729
  # Information related to Google Cloud Backup and DR Service findings.
4511
4730
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
4512
4731
  include Google::Apis::Core::Hashable
@@ -5075,11 +5294,21 @@ module Google
5075
5294
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Cvssv3]
5076
5295
  attr_accessor :cvssv3
5077
5296
 
5297
+ # Date the first publicly available exploit or PoC was released.
5298
+ # Corresponds to the JSON property `exploitReleaseDate`
5299
+ # @return [String]
5300
+ attr_accessor :exploit_release_date
5301
+
5078
5302
  # The exploitation activity of the vulnerability in the wild.
5079
5303
  # Corresponds to the JSON property `exploitationActivity`
5080
5304
  # @return [String]
5081
5305
  attr_accessor :exploitation_activity
5082
5306
 
5307
+ # Date of the earliest known exploitation.
5308
+ # Corresponds to the JSON property `firstExploitationDate`
5309
+ # @return [String]
5310
+ attr_accessor :first_exploitation_date
5311
+
5083
5312
  # The unique identifier for the vulnerability. e.g. CVE-2021-34527
5084
5313
  # Corresponds to the JSON property `id`
5085
5314
  # @return [String]
@@ -5121,7 +5350,9 @@ module Google
5121
5350
  # Update properties of this object
5122
5351
  def update!(**args)
5123
5352
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
5353
+ @exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
5124
5354
  @exploitation_activity = args[:exploitation_activity] if args.key?(:exploitation_activity)
5355
+ @first_exploitation_date = args[:first_exploitation_date] if args.key?(:first_exploitation_date)
5125
5356
  @id = args[:id] if args.key?(:id)
5126
5357
  @impact = args[:impact] if args.key?(:impact)
5127
5358
  @observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
@@ -5208,6 +5439,91 @@ module Google
5208
5439
  end
5209
5440
  end
5210
5441
 
5442
+ # Details about a data access attempt made by a principal not authorized under
5443
+ # applicable data security policy.
5444
+ class GoogleCloudSecuritycenterV2DataAccessEvent
5445
+ include Google::Apis::Core::Hashable
5446
+
5447
+ # Unique identifier for data access event.
5448
+ # Corresponds to the JSON property `eventId`
5449
+ # @return [String]
5450
+ attr_accessor :event_id
5451
+
5452
+ # Timestamp of data access event.
5453
+ # Corresponds to the JSON property `eventTime`
5454
+ # @return [String]
5455
+ attr_accessor :event_time
5456
+
5457
+ # The operation performed by the principal to access the data.
5458
+ # Corresponds to the JSON property `operation`
5459
+ # @return [String]
5460
+ attr_accessor :operation
5461
+
5462
+ # The email address of the principal that accessed the data. The principal could
5463
+ # be a user account, service account, Google group, or other.
5464
+ # Corresponds to the JSON property `principalEmail`
5465
+ # @return [String]
5466
+ attr_accessor :principal_email
5467
+
5468
+ def initialize(**args)
5469
+ update!(**args)
5470
+ end
5471
+
5472
+ # Update properties of this object
5473
+ def update!(**args)
5474
+ @event_id = args[:event_id] if args.key?(:event_id)
5475
+ @event_time = args[:event_time] if args.key?(:event_time)
5476
+ @operation = args[:operation] if args.key?(:operation)
5477
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
5478
+ end
5479
+ end
5480
+
5481
+ # Details about a data flow event, in which either the data is moved to or is
5482
+ # accessed from a non-compliant geo-location, as defined in the applicable data
5483
+ # security policy.
5484
+ class GoogleCloudSecuritycenterV2DataFlowEvent
5485
+ include Google::Apis::Core::Hashable
5486
+
5487
+ # Unique identifier for data flow event.
5488
+ # Corresponds to the JSON property `eventId`
5489
+ # @return [String]
5490
+ attr_accessor :event_id
5491
+
5492
+ # Timestamp of data flow event.
5493
+ # Corresponds to the JSON property `eventTime`
5494
+ # @return [String]
5495
+ attr_accessor :event_time
5496
+
5497
+ # The operation performed by the principal for the data flow event.
5498
+ # Corresponds to the JSON property `operation`
5499
+ # @return [String]
5500
+ attr_accessor :operation
5501
+
5502
+ # The email address of the principal that initiated the data flow event. The
5503
+ # principal could be a user account, service account, Google group, or other.
5504
+ # Corresponds to the JSON property `principalEmail`
5505
+ # @return [String]
5506
+ attr_accessor :principal_email
5507
+
5508
+ # Non-compliant location of the principal or the data destination.
5509
+ # Corresponds to the JSON property `violatedLocation`
5510
+ # @return [String]
5511
+ attr_accessor :violated_location
5512
+
5513
+ def initialize(**args)
5514
+ update!(**args)
5515
+ end
5516
+
5517
+ # Update properties of this object
5518
+ def update!(**args)
5519
+ @event_id = args[:event_id] if args.key?(:event_id)
5520
+ @event_time = args[:event_time] if args.key?(:event_time)
5521
+ @operation = args[:operation] if args.key?(:operation)
5522
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
5523
+ @violated_location = args[:violated_location] if args.key?(:violated_location)
5524
+ end
5525
+ end
5526
+
5211
5527
  # Represents database access information, such as queries. A database may be a
5212
5528
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5213
5529
  # Spanner instances), or the database instance itself. Some database resources
@@ -5323,6 +5639,33 @@ module Google
5323
5639
  end
5324
5640
  end
5325
5641
 
5642
+ # The record of a dynamic mute rule that matches the finding.
5643
+ class GoogleCloudSecuritycenterV2DynamicMuteRecord
5644
+ include Google::Apis::Core::Hashable
5645
+
5646
+ # When the dynamic mute rule first matched the finding.
5647
+ # Corresponds to the JSON property `matchTime`
5648
+ # @return [String]
5649
+ attr_accessor :match_time
5650
+
5651
+ # The relative resource name of the mute rule, represented by a mute config,
5652
+ # that created this record, for example `organizations/123/muteConfigs/
5653
+ # mymuteconfig` or `organizations/123/locations/global/muteConfigs/mymuteconfig`.
5654
+ # Corresponds to the JSON property `muteConfig`
5655
+ # @return [String]
5656
+ attr_accessor :mute_config
5657
+
5658
+ def initialize(**args)
5659
+ update!(**args)
5660
+ end
5661
+
5662
+ # Update properties of this object
5663
+ def update!(**args)
5664
+ @match_time = args[:match_time] if args.key?(:match_time)
5665
+ @mute_config = args[:mute_config] if args.key?(:mute_config)
5666
+ end
5667
+ end
5668
+
5326
5669
  # A name-value pair representing an environment variable used in an operating
5327
5670
  # system process.
5328
5671
  class GoogleCloudSecuritycenterV2EnvironmentVariable
@@ -5661,6 +6004,16 @@ module Google
5661
6004
  # @return [String]
5662
6005
  attr_accessor :create_time
5663
6006
 
6007
+ # Data access events associated with the finding.
6008
+ # Corresponds to the JSON property `dataAccessEvents`
6009
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent>]
6010
+ attr_accessor :data_access_events
6011
+
6012
+ # Data flow events associated with the finding.
6013
+ # Corresponds to the JSON property `dataFlowEvents`
6014
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent>]
6015
+ attr_accessor :data_flow_events
6016
+
5664
6017
  # Represents database access information, such as queries. A database may be a
5665
6018
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5666
6019
  # Spanner instances), or the database instance itself. Some database resources
@@ -5778,6 +6131,12 @@ module Google
5778
6131
  # @return [String]
5779
6132
  attr_accessor :mute
5780
6133
 
6134
+ # Mute information about the finding, including whether the finding has a static
6135
+ # mute or any matching dynamic mute rules.
6136
+ # Corresponds to the JSON property `muteInfo`
6137
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteInfo]
6138
+ attr_accessor :mute_info
6139
+
5781
6140
  # Records additional information about the mute operation, for example, the [
5782
6141
  # mute configuration](https://cloud.google.com/security-command-center/docs/how-
5783
6142
  # to-mute-findings) that muted the finding and the user who muted the finding.
@@ -5920,6 +6279,8 @@ module Google
5920
6279
  @contacts = args[:contacts] if args.key?(:contacts)
5921
6280
  @containers = args[:containers] if args.key?(:containers)
5922
6281
  @create_time = args[:create_time] if args.key?(:create_time)
6282
+ @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
6283
+ @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
5923
6284
  @database = args[:database] if args.key?(:database)
5924
6285
  @description = args[:description] if args.key?(:description)
5925
6286
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -5938,6 +6299,7 @@ module Google
5938
6299
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
5939
6300
  @module_name = args[:module_name] if args.key?(:module_name)
5940
6301
  @mute = args[:mute] if args.key?(:mute)
6302
+ @mute_info = args[:mute_info] if args.key?(:mute_info)
5941
6303
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
5942
6304
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
5943
6305
  @name = args[:name] if args.key?(:name)
@@ -6410,6 +6772,12 @@ module Google
6410
6772
  # @return [String]
6411
6773
  attr_accessor :description
6412
6774
 
6775
+ # Optional. The expiry of the mute config. Only applicable for dynamic configs.
6776
+ # If the expiry is set, when the config expires, it is removed from all findings.
6777
+ # Corresponds to the JSON property `expiryTime`
6778
+ # @return [String]
6779
+ attr_accessor :expiry_time
6780
+
6413
6781
  # Required. An expression that defines the filter to apply across create/update
6414
6782
  # events of findings. While creating a filter string, be mindful of the scope in
6415
6783
  # which the mute configuration is being created. E.g., If a filter contains
@@ -6463,6 +6831,7 @@ module Google
6463
6831
  def update!(**args)
6464
6832
  @create_time = args[:create_time] if args.key?(:create_time)
6465
6833
  @description = args[:description] if args.key?(:description)
6834
+ @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
6466
6835
  @filter = args[:filter] if args.key?(:filter)
6467
6836
  @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
6468
6837
  @name = args[:name] if args.key?(:name)
@@ -6471,6 +6840,34 @@ module Google
6471
6840
  end
6472
6841
  end
6473
6842
 
6843
+ # Mute information about the finding, including whether the finding has a static
6844
+ # mute or any matching dynamic mute rules.
6845
+ class GoogleCloudSecuritycenterV2MuteInfo
6846
+ include Google::Apis::Core::Hashable
6847
+
6848
+ # The list of dynamic mute rules that currently match the finding.
6849
+ # Corresponds to the JSON property `dynamicMuteRecords`
6850
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DynamicMuteRecord>]
6851
+ attr_accessor :dynamic_mute_records
6852
+
6853
+ # Information about the static mute state. A static mute state overrides any
6854
+ # dynamic mute rules that apply to this finding. The static mute state can be
6855
+ # set by a static mute rule or by muting the finding directly.
6856
+ # Corresponds to the JSON property `staticMute`
6857
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2StaticMute]
6858
+ attr_accessor :static_mute
6859
+
6860
+ def initialize(**args)
6861
+ update!(**args)
6862
+ end
6863
+
6864
+ # Update properties of this object
6865
+ def update!(**args)
6866
+ @dynamic_mute_records = args[:dynamic_mute_records] if args.key?(:dynamic_mute_records)
6867
+ @static_mute = args[:static_mute] if args.key?(:static_mute)
6868
+ end
6869
+ end
6870
+
6474
6871
  # Kubernetes nodes associated with the finding.
6475
6872
  class GoogleCloudSecuritycenterV2Node
6476
6873
  include Google::Apis::Core::Hashable
@@ -7458,6 +7855,34 @@ module Google
7458
7855
  end
7459
7856
  end
7460
7857
 
7858
+ # Information about the static mute state. A static mute state overrides any
7859
+ # dynamic mute rules that apply to this finding. The static mute state can be
7860
+ # set by a static mute rule or by muting the finding directly.
7861
+ class GoogleCloudSecuritycenterV2StaticMute
7862
+ include Google::Apis::Core::Hashable
7863
+
7864
+ # When the static mute was applied.
7865
+ # Corresponds to the JSON property `applyTime`
7866
+ # @return [String]
7867
+ attr_accessor :apply_time
7868
+
7869
+ # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding'
7870
+ # s overall mute state will have the same value.
7871
+ # Corresponds to the JSON property `state`
7872
+ # @return [String]
7873
+ attr_accessor :state
7874
+
7875
+ def initialize(**args)
7876
+ update!(**args)
7877
+ end
7878
+
7879
+ # Update properties of this object
7880
+ def update!(**args)
7881
+ @apply_time = args[:apply_time] if args.key?(:apply_time)
7882
+ @state = args[:state] if args.key?(:state)
7883
+ end
7884
+ end
7885
+
7461
7886
  # Represents a Kubernetes subject.
7462
7887
  class GoogleCloudSecuritycenterV2Subject
7463
7888
  include Google::Apis::Core::Hashable
@@ -8868,6 +9293,34 @@ module Google
8868
9293
  end
8869
9294
  end
8870
9295
 
9296
+ # Mute information about the finding, including whether the finding has a static
9297
+ # mute or any matching dynamic mute rules.
9298
+ class MuteInfo
9299
+ include Google::Apis::Core::Hashable
9300
+
9301
+ # The list of dynamic mute rules that currently match the finding.
9302
+ # Corresponds to the JSON property `dynamicMuteRecords`
9303
+ # @return [Array<Google::Apis::SecuritycenterV1::DynamicMuteRecord>]
9304
+ attr_accessor :dynamic_mute_records
9305
+
9306
+ # Information about the static mute state. A static mute state overrides any
9307
+ # dynamic mute rules that apply to this finding. The static mute state can be
9308
+ # set by a static mute rule or by muting the finding directly.
9309
+ # Corresponds to the JSON property `staticMute`
9310
+ # @return [Google::Apis::SecuritycenterV1::StaticMute]
9311
+ attr_accessor :static_mute
9312
+
9313
+ def initialize(**args)
9314
+ update!(**args)
9315
+ end
9316
+
9317
+ # Update properties of this object
9318
+ def update!(**args)
9319
+ @dynamic_mute_records = args[:dynamic_mute_records] if args.key?(:dynamic_mute_records)
9320
+ @static_mute = args[:static_mute] if args.key?(:static_mute)
9321
+ end
9322
+ end
9323
+
8871
9324
  # Kubernetes nodes associated with the finding.
8872
9325
  class Node
8873
9326
  include Google::Apis::Core::Hashable
@@ -10473,6 +10926,34 @@ module Google
10473
10926
  end
10474
10927
  end
10475
10928
 
10929
+ # Information about the static mute state. A static mute state overrides any
10930
+ # dynamic mute rules that apply to this finding. The static mute state can be
10931
+ # set by a static mute rule or by muting the finding directly.
10932
+ class StaticMute
10933
+ include Google::Apis::Core::Hashable
10934
+
10935
+ # When the static mute was applied.
10936
+ # Corresponds to the JSON property `applyTime`
10937
+ # @return [String]
10938
+ attr_accessor :apply_time
10939
+
10940
+ # The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding'
10941
+ # s overall mute state will have the same value.
10942
+ # Corresponds to the JSON property `state`
10943
+ # @return [String]
10944
+ attr_accessor :state
10945
+
10946
+ def initialize(**args)
10947
+ update!(**args)
10948
+ end
10949
+
10950
+ # Update properties of this object
10951
+ def update!(**args)
10952
+ @apply_time = args[:apply_time] if args.key?(:apply_time)
10953
+ @state = args[:state] if args.key?(:state)
10954
+ end
10955
+ end
10956
+
10476
10957
  # The `Status` type defines a logical error model that is suitable for different
10477
10958
  # programming environments, including REST APIs and RPC APIs. It is used by [
10478
10959
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.84.0"
19
+ GEM_VERSION = "0.86.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240720"
25
+ REVISION = "20240827"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,12 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class AzureTenant
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
157
163
  class BackupDisasterRecovery
158
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
165
 
@@ -274,6 +280,18 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class DataAccessEvent
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class DataFlowEvent
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class Database
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -292,6 +310,12 @@ module Google
292
310
  include Google::Apis::Core::JsonObjectSupport
293
311
  end
294
312
 
313
+ class DynamicMuteRecord
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
295
319
  class EffectiveEventThreatDetectionCustomModule
296
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
321
 
@@ -598,6 +622,12 @@ module Google
598
622
  include Google::Apis::Core::JsonObjectSupport
599
623
  end
600
624
 
625
+ class GoogleCloudSecuritycenterV2AzureTenant
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
601
631
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
602
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
633
 
@@ -688,6 +718,18 @@ module Google
688
718
  include Google::Apis::Core::JsonObjectSupport
689
719
  end
690
720
 
721
+ class GoogleCloudSecuritycenterV2DataAccessEvent
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class GoogleCloudSecuritycenterV2DataFlowEvent
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
691
733
  class GoogleCloudSecuritycenterV2Database
692
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
735
 
@@ -706,6 +748,12 @@ module Google
706
748
  include Google::Apis::Core::JsonObjectSupport
707
749
  end
708
750
 
751
+ class GoogleCloudSecuritycenterV2DynamicMuteRecord
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
709
757
  class GoogleCloudSecuritycenterV2EnvironmentVariable
710
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
759
 
@@ -820,6 +868,12 @@ module Google
820
868
  include Google::Apis::Core::JsonObjectSupport
821
869
  end
822
870
 
871
+ class GoogleCloudSecuritycenterV2MuteInfo
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
823
877
  class GoogleCloudSecuritycenterV2Node
824
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
879
 
@@ -964,6 +1018,12 @@ module Google
964
1018
  include Google::Apis::Core::JsonObjectSupport
965
1019
  end
966
1020
 
1021
+ class GoogleCloudSecuritycenterV2StaticMute
1022
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1023
+
1024
+ include Google::Apis::Core::JsonObjectSupport
1025
+ end
1026
+
967
1027
  class GoogleCloudSecuritycenterV2Subject
968
1028
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
1029
 
@@ -1198,6 +1258,12 @@ module Google
1198
1258
  include Google::Apis::Core::JsonObjectSupport
1199
1259
  end
1200
1260
 
1261
+ class MuteInfo
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1201
1267
  class Node
1202
1268
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1269
 
@@ -1432,6 +1498,12 @@ module Google
1432
1498
  include Google::Apis::Core::JsonObjectSupport
1433
1499
  end
1434
1500
 
1501
+ class StaticMute
1502
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1503
+
1504
+ include Google::Apis::Core::JsonObjectSupport
1505
+ end
1506
+
1435
1507
  class Status
1436
1508
  class Representation < Google::Apis::Core::JsonRepresentation; end
1437
1509
 
@@ -1724,6 +1796,8 @@ module Google
1724
1796
 
1725
1797
  property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::AzureSubscription, decorator: Google::Apis::SecuritycenterV1::AzureSubscription::Representation
1726
1798
 
1799
+ property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1::AzureTenant, decorator: Google::Apis::SecuritycenterV1::AzureTenant::Representation
1800
+
1727
1801
  end
1728
1802
  end
1729
1803
 
@@ -1742,6 +1816,13 @@ module Google
1742
1816
  end
1743
1817
  end
1744
1818
 
1819
+ class AzureTenant
1820
+ # @private
1821
+ class Representation < Google::Apis::Core::JsonRepresentation
1822
+ property :id, as: 'id'
1823
+ end
1824
+ end
1825
+
1745
1826
  class BackupDisasterRecovery
1746
1827
  # @private
1747
1828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1789,6 +1870,7 @@ module Google
1789
1870
  class Representation < Google::Apis::Core::JsonRepresentation
1790
1871
  property :filter, as: 'filter'
1791
1872
  property :mute_annotation, as: 'muteAnnotation'
1873
+ property :mute_state, as: 'muteState'
1792
1874
  end
1793
1875
  end
1794
1876
 
@@ -1931,7 +2013,9 @@ module Google
1931
2013
  class Representation < Google::Apis::Core::JsonRepresentation
1932
2014
  property :cvssv3, as: 'cvssv3', class: Google::Apis::SecuritycenterV1::Cvssv3, decorator: Google::Apis::SecuritycenterV1::Cvssv3::Representation
1933
2015
 
2016
+ property :exploit_release_date, as: 'exploitReleaseDate'
1934
2017
  property :exploitation_activity, as: 'exploitationActivity'
2018
+ property :first_exploitation_date, as: 'firstExploitationDate'
1935
2019
  property :id, as: 'id'
1936
2020
  property :impact, as: 'impact'
1937
2021
  property :observed_in_the_wild, as: 'observedInTheWild'
@@ -1957,6 +2041,27 @@ module Google
1957
2041
  end
1958
2042
  end
1959
2043
 
2044
+ class DataAccessEvent
2045
+ # @private
2046
+ class Representation < Google::Apis::Core::JsonRepresentation
2047
+ property :event_id, as: 'eventId'
2048
+ property :event_time, as: 'eventTime'
2049
+ property :operation, as: 'operation'
2050
+ property :principal_email, as: 'principalEmail'
2051
+ end
2052
+ end
2053
+
2054
+ class DataFlowEvent
2055
+ # @private
2056
+ class Representation < Google::Apis::Core::JsonRepresentation
2057
+ property :event_id, as: 'eventId'
2058
+ property :event_time, as: 'eventTime'
2059
+ property :operation, as: 'operation'
2060
+ property :principal_email, as: 'principalEmail'
2061
+ property :violated_location, as: 'violatedLocation'
2062
+ end
2063
+ end
2064
+
1960
2065
  class Database
1961
2066
  # @private
1962
2067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1985,6 +2090,14 @@ module Google
1985
2090
  end
1986
2091
  end
1987
2092
 
2093
+ class DynamicMuteRecord
2094
+ # @private
2095
+ class Representation < Google::Apis::Core::JsonRepresentation
2096
+ property :match_time, as: 'matchTime'
2097
+ property :mute_config, as: 'muteConfig'
2098
+ end
2099
+ end
2100
+
1988
2101
  class EffectiveEventThreatDetectionCustomModule
1989
2102
  # @private
1990
2103
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2097,6 +2210,10 @@ module Google
2097
2210
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
2098
2211
 
2099
2212
  property :create_time, as: 'createTime'
2213
+ collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1::DataAccessEvent, decorator: Google::Apis::SecuritycenterV1::DataAccessEvent::Representation
2214
+
2215
+ collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::DataFlowEvent::Representation
2216
+
2100
2217
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
2101
2218
 
2102
2219
  property :description, as: 'description'
@@ -2127,6 +2244,8 @@ module Google
2127
2244
 
2128
2245
  property :module_name, as: 'moduleName'
2129
2246
  property :mute, as: 'mute'
2247
+ property :mute_info, as: 'muteInfo', class: Google::Apis::SecuritycenterV1::MuteInfo, decorator: Google::Apis::SecuritycenterV1::MuteInfo::Representation
2248
+
2130
2249
  property :mute_initiator, as: 'muteInitiator'
2131
2250
  property :mute_update_time, as: 'muteUpdateTime'
2132
2251
  property :name, as: 'name'
@@ -2287,9 +2406,11 @@ module Google
2287
2406
  property :create_time, as: 'createTime'
2288
2407
  property :description, as: 'description'
2289
2408
  property :display_name, as: 'displayName'
2409
+ property :expiry_time, as: 'expiryTime'
2290
2410
  property :filter, as: 'filter'
2291
2411
  property :most_recent_editor, as: 'mostRecentEditor'
2292
2412
  property :name, as: 'name'
2413
+ property :type, as: 'type'
2293
2414
  property :update_time, as: 'updateTime'
2294
2415
  end
2295
2416
  end
@@ -2592,6 +2713,8 @@ module Google
2592
2713
 
2593
2714
  property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription::Representation
2594
2715
 
2716
+ property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant::Representation
2717
+
2595
2718
  end
2596
2719
  end
2597
2720
 
@@ -2610,6 +2733,13 @@ module Google
2610
2733
  end
2611
2734
  end
2612
2735
 
2736
+ class GoogleCloudSecuritycenterV2AzureTenant
2737
+ # @private
2738
+ class Representation < Google::Apis::Core::JsonRepresentation
2739
+ property :id, as: 'id'
2740
+ end
2741
+ end
2742
+
2613
2743
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
2614
2744
  # @private
2615
2745
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2754,7 +2884,9 @@ module Google
2754
2884
  class Representation < Google::Apis::Core::JsonRepresentation
2755
2885
  property :cvssv3, as: 'cvssv3', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Cvssv3, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Cvssv3::Representation
2756
2886
 
2887
+ property :exploit_release_date, as: 'exploitReleaseDate'
2757
2888
  property :exploitation_activity, as: 'exploitationActivity'
2889
+ property :first_exploitation_date, as: 'firstExploitationDate'
2758
2890
  property :id, as: 'id'
2759
2891
  property :impact, as: 'impact'
2760
2892
  property :observed_in_the_wild, as: 'observedInTheWild'
@@ -2780,6 +2912,27 @@ module Google
2780
2912
  end
2781
2913
  end
2782
2914
 
2915
+ class GoogleCloudSecuritycenterV2DataAccessEvent
2916
+ # @private
2917
+ class Representation < Google::Apis::Core::JsonRepresentation
2918
+ property :event_id, as: 'eventId'
2919
+ property :event_time, as: 'eventTime'
2920
+ property :operation, as: 'operation'
2921
+ property :principal_email, as: 'principalEmail'
2922
+ end
2923
+ end
2924
+
2925
+ class GoogleCloudSecuritycenterV2DataFlowEvent
2926
+ # @private
2927
+ class Representation < Google::Apis::Core::JsonRepresentation
2928
+ property :event_id, as: 'eventId'
2929
+ property :event_time, as: 'eventTime'
2930
+ property :operation, as: 'operation'
2931
+ property :principal_email, as: 'principalEmail'
2932
+ property :violated_location, as: 'violatedLocation'
2933
+ end
2934
+ end
2935
+
2783
2936
  class GoogleCloudSecuritycenterV2Database
2784
2937
  # @private
2785
2938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2808,6 +2961,14 @@ module Google
2808
2961
  end
2809
2962
  end
2810
2963
 
2964
+ class GoogleCloudSecuritycenterV2DynamicMuteRecord
2965
+ # @private
2966
+ class Representation < Google::Apis::Core::JsonRepresentation
2967
+ property :match_time, as: 'matchTime'
2968
+ property :mute_config, as: 'muteConfig'
2969
+ end
2970
+ end
2971
+
2811
2972
  class GoogleCloudSecuritycenterV2EnvironmentVariable
2812
2973
  # @private
2813
2974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2895,6 +3056,10 @@ module Google
2895
3056
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container::Representation
2896
3057
 
2897
3058
  property :create_time, as: 'createTime'
3059
+ collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent::Representation
3060
+
3061
+ collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent::Representation
3062
+
2898
3063
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
2899
3064
 
2900
3065
  property :description, as: 'description'
@@ -2925,6 +3090,8 @@ module Google
2925
3090
 
2926
3091
  property :module_name, as: 'moduleName'
2927
3092
  property :mute, as: 'mute'
3093
+ property :mute_info, as: 'muteInfo', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteInfo, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2MuteInfo::Representation
3094
+
2928
3095
  property :mute_initiator, as: 'muteInitiator'
2929
3096
  property :mute_update_time, as: 'muteUpdateTime'
2930
3097
  property :name, as: 'name'
@@ -3078,6 +3245,7 @@ module Google
3078
3245
  class Representation < Google::Apis::Core::JsonRepresentation
3079
3246
  property :create_time, as: 'createTime'
3080
3247
  property :description, as: 'description'
3248
+ property :expiry_time, as: 'expiryTime'
3081
3249
  property :filter, as: 'filter'
3082
3250
  property :most_recent_editor, as: 'mostRecentEditor'
3083
3251
  property :name, as: 'name'
@@ -3086,6 +3254,16 @@ module Google
3086
3254
  end
3087
3255
  end
3088
3256
 
3257
+ class GoogleCloudSecuritycenterV2MuteInfo
3258
+ # @private
3259
+ class Representation < Google::Apis::Core::JsonRepresentation
3260
+ collection :dynamic_mute_records, as: 'dynamicMuteRecords', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DynamicMuteRecord, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DynamicMuteRecord::Representation
3261
+
3262
+ property :static_mute, as: 'staticMute', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2StaticMute, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2StaticMute::Representation
3263
+
3264
+ end
3265
+ end
3266
+
3089
3267
  class GoogleCloudSecuritycenterV2Node
3090
3268
  # @private
3091
3269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3345,6 +3523,14 @@ module Google
3345
3523
  end
3346
3524
  end
3347
3525
 
3526
+ class GoogleCloudSecuritycenterV2StaticMute
3527
+ # @private
3528
+ class Representation < Google::Apis::Core::JsonRepresentation
3529
+ property :apply_time, as: 'applyTime'
3530
+ property :state, as: 'state'
3531
+ end
3532
+ end
3533
+
3348
3534
  class GoogleCloudSecuritycenterV2Subject
3349
3535
  # @private
3350
3536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3731,6 +3917,16 @@ module Google
3731
3917
  end
3732
3918
  end
3733
3919
 
3920
+ class MuteInfo
3921
+ # @private
3922
+ class Representation < Google::Apis::Core::JsonRepresentation
3923
+ collection :dynamic_mute_records, as: 'dynamicMuteRecords', class: Google::Apis::SecuritycenterV1::DynamicMuteRecord, decorator: Google::Apis::SecuritycenterV1::DynamicMuteRecord::Representation
3924
+
3925
+ property :static_mute, as: 'staticMute', class: Google::Apis::SecuritycenterV1::StaticMute, decorator: Google::Apis::SecuritycenterV1::StaticMute::Representation
3926
+
3927
+ end
3928
+ end
3929
+
3734
3930
  class Node
3735
3931
  # @private
3736
3932
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4135,6 +4331,14 @@ module Google
4135
4331
  end
4136
4332
  end
4137
4333
 
4334
+ class StaticMute
4335
+ # @private
4336
+ class Representation < Google::Apis::Core::JsonRepresentation
4337
+ property :apply_time, as: 'applyTime'
4338
+ property :state, as: 'state'
4339
+ end
4340
+ end
4341
+
4138
4342
  class Status
4139
4343
  # @private
4140
4344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5291,6 +5291,60 @@ module Google
5291
5291
  execute_or_queue_command(command, &block)
5292
5292
  end
5293
5293
 
5294
+ # Lists the valued resources for a set of simulation results and filter.
5295
+ # @param [String] parent
5296
+ # Required. Name of parent to list valued resources. Valid formats: `
5297
+ # organizations/`organization``, `organizations/`organization`/simulations/`
5298
+ # simulation`` `organizations/`organization`/simulations/`simulation`/
5299
+ # attackExposureResults/`attack_exposure_result_v2``
5300
+ # @param [String] filter
5301
+ # The filter expression that filters the valued resources in the response.
5302
+ # Supported fields: * `resource_value` supports = * `resource_type` supports =
5303
+ # @param [String] order_by
5304
+ # Optional. The fields by which to order the valued resources response.
5305
+ # Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `
5306
+ # resource` * `display_name` Values should be a comma separated list of fields.
5307
+ # For example: `exposed_score,resource_value`. The default sorting order is
5308
+ # descending. To specify ascending or descending order for a field, append a `
5309
+ # ASC` or a ` DESC` suffix, respectively; for example: `exposed_score DESC`.
5310
+ # @param [Fixnum] page_size
5311
+ # The maximum number of results to return in a single response. Default is 10,
5312
+ # minimum is 1, maximum is 1000.
5313
+ # @param [String] page_token
5314
+ # The value returned by the last `ListValuedResourcesResponse`; indicates that
5315
+ # this is a continuation of a prior `ListValuedResources` call, and that the
5316
+ # system should return the next page of data.
5317
+ # @param [String] fields
5318
+ # Selector specifying which fields to include in a partial response.
5319
+ # @param [String] quota_user
5320
+ # Available to use for quota purposes for server-side applications. Can be any
5321
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5322
+ # @param [Google::Apis::RequestOptions] options
5323
+ # Request-specific options
5324
+ #
5325
+ # @yield [result, err] Result & error if block supplied
5326
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListValuedResourcesResponse] parsed result object
5327
+ # @yieldparam err [StandardError] error object if request failed
5328
+ #
5329
+ # @return [Google::Apis::SecuritycenterV1::ListValuedResourcesResponse]
5330
+ #
5331
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5332
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5333
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5334
+ def list_organization_valued_resources(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5335
+ command = make_simple_command(:get, 'v1/{+parent}/valuedResources', options)
5336
+ command.response_representation = Google::Apis::SecuritycenterV1::ListValuedResourcesResponse::Representation
5337
+ command.response_class = Google::Apis::SecuritycenterV1::ListValuedResourcesResponse
5338
+ command.params['parent'] = parent unless parent.nil?
5339
+ command.query['filter'] = filter unless filter.nil?
5340
+ command.query['orderBy'] = order_by unless order_by.nil?
5341
+ command.query['pageSize'] = page_size unless page_size.nil?
5342
+ command.query['pageToken'] = page_token unless page_token.nil?
5343
+ command.query['fields'] = fields unless fields.nil?
5344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5345
+ execute_or_queue_command(command, &block)
5346
+ end
5347
+
5294
5348
  # Filters an organization's assets and groups them by their specified properties.
5295
5349
  # @param [String] parent
5296
5350
  # Required. The name of the parent to group the assets by. Its format is `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.86.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.86.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []