google-apis-securitycenter_v1 0.85.0 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b470fc34b93d8cbbb1aa4dccfddae5cca12e5437df6ee2c5327a1def83cc5173
4
- data.tar.gz: c31d7a689f4648ddee09e0ea463500eca0493f74eb9a6317fc601bf3bde5c6f0
3
+ metadata.gz: 2b6ffd2e73b9646dc43c4d6da1eda49749f510fb76f4b572233fcf4f4f1c47b6
4
+ data.tar.gz: 3c368f37943eb8f886b88b6d10090565edb3db88d4d3c91e1a075c2983760412
5
5
  SHA512:
6
- metadata.gz: 60fbd9d003a7c4cdd4332d9f9897f8807566adeb3723a1a5529aa39aa8d116cbca4166dba8837356dd813b57b784e19da839bd4ff0f80b4059b3cec384c5adcd
7
- data.tar.gz: e7ed15864ecc57f0b6f598827d61d17d910a53d53cd44634e706a91ca5bf53e2d2f5ee8d1ba7a4d7635e9e1b9db382c6a649bcc00ee7dce830def04e555768a5
6
+ metadata.gz: 4ac6bbb102c1221e583dcf4dc18302b2a1044276afd25634195d995b41fe7979dbaa77fb98dc4bdb5b352faee464675d476cab9ae96719ca3c35101e020af1e1
7
+ data.tar.gz: dc72e361d17c81efba4f14a9a7472feadd92b6cf914adee0c2543054f34c3c8c9f387f10ec791d1368285dfbe2e91bc443522de625b42aaa2adcc08fecb1216a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.87.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240916
6
+
7
+ ### v0.86.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240827
10
+
3
11
  ### v0.85.0 (2024-08-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20240806
@@ -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,32 @@ 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 display name of the Azure tenant.
897
+ # Corresponds to the JSON property `displayName`
898
+ # @return [String]
899
+ attr_accessor :display_name
900
+
901
+ # The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-
902
+ # 1aaa11a".
903
+ # Corresponds to the JSON property `id`
904
+ # @return [String]
905
+ attr_accessor :id
906
+
907
+ def initialize(**args)
908
+ update!(**args)
909
+ end
910
+
911
+ # Update properties of this object
912
+ def update!(**args)
913
+ @display_name = args[:display_name] if args.key?(:display_name)
914
+ @id = args[:id] if args.key?(:id)
915
+ end
916
+ end
917
+
886
918
  # Information related to Google Cloud Backup and DR Service findings.
887
919
  class BackupDisasterRecovery
888
920
  include Google::Apis::Core::Hashable
@@ -1655,6 +1687,11 @@ module Google
1655
1687
  # @return [String]
1656
1688
  attr_accessor :exploitation_activity
1657
1689
 
1690
+ # Date of the earliest known exploitation.
1691
+ # Corresponds to the JSON property `firstExploitationDate`
1692
+ # @return [String]
1693
+ attr_accessor :first_exploitation_date
1694
+
1658
1695
  # The unique identifier for the vulnerability. e.g. CVE-2021-34527
1659
1696
  # Corresponds to the JSON property `id`
1660
1697
  # @return [String]
@@ -1698,6 +1735,7 @@ module Google
1698
1735
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
1699
1736
  @exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
1700
1737
  @exploitation_activity = args[:exploitation_activity] if args.key?(:exploitation_activity)
1738
+ @first_exploitation_date = args[:first_exploitation_date] if args.key?(:first_exploitation_date)
1701
1739
  @id = args[:id] if args.key?(:id)
1702
1740
  @impact = args[:impact] if args.key?(:impact)
1703
1741
  @observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
@@ -1784,6 +1822,91 @@ module Google
1784
1822
  end
1785
1823
  end
1786
1824
 
1825
+ # Details about a data access attempt made by a principal not authorized under
1826
+ # applicable data security policy.
1827
+ class DataAccessEvent
1828
+ include Google::Apis::Core::Hashable
1829
+
1830
+ # Unique identifier for data access event.
1831
+ # Corresponds to the JSON property `eventId`
1832
+ # @return [String]
1833
+ attr_accessor :event_id
1834
+
1835
+ # Timestamp of data access event.
1836
+ # Corresponds to the JSON property `eventTime`
1837
+ # @return [String]
1838
+ attr_accessor :event_time
1839
+
1840
+ # The operation performed by the principal to access the data.
1841
+ # Corresponds to the JSON property `operation`
1842
+ # @return [String]
1843
+ attr_accessor :operation
1844
+
1845
+ # The email address of the principal that accessed the data. The principal could
1846
+ # be a user account, service account, Google group, or other.
1847
+ # Corresponds to the JSON property `principalEmail`
1848
+ # @return [String]
1849
+ attr_accessor :principal_email
1850
+
1851
+ def initialize(**args)
1852
+ update!(**args)
1853
+ end
1854
+
1855
+ # Update properties of this object
1856
+ def update!(**args)
1857
+ @event_id = args[:event_id] if args.key?(:event_id)
1858
+ @event_time = args[:event_time] if args.key?(:event_time)
1859
+ @operation = args[:operation] if args.key?(:operation)
1860
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
1861
+ end
1862
+ end
1863
+
1864
+ # Details about a data flow event, in which either the data is moved to or is
1865
+ # accessed from a non-compliant geo-location, as defined in the applicable data
1866
+ # security policy.
1867
+ class DataFlowEvent
1868
+ include Google::Apis::Core::Hashable
1869
+
1870
+ # Unique identifier for data flow event.
1871
+ # Corresponds to the JSON property `eventId`
1872
+ # @return [String]
1873
+ attr_accessor :event_id
1874
+
1875
+ # Timestamp of data flow event.
1876
+ # Corresponds to the JSON property `eventTime`
1877
+ # @return [String]
1878
+ attr_accessor :event_time
1879
+
1880
+ # The operation performed by the principal for the data flow event.
1881
+ # Corresponds to the JSON property `operation`
1882
+ # @return [String]
1883
+ attr_accessor :operation
1884
+
1885
+ # The email address of the principal that initiated the data flow event. The
1886
+ # principal could be a user account, service account, Google group, or other.
1887
+ # Corresponds to the JSON property `principalEmail`
1888
+ # @return [String]
1889
+ attr_accessor :principal_email
1890
+
1891
+ # Non-compliant location of the principal or the data destination.
1892
+ # Corresponds to the JSON property `violatedLocation`
1893
+ # @return [String]
1894
+ attr_accessor :violated_location
1895
+
1896
+ def initialize(**args)
1897
+ update!(**args)
1898
+ end
1899
+
1900
+ # Update properties of this object
1901
+ def update!(**args)
1902
+ @event_id = args[:event_id] if args.key?(:event_id)
1903
+ @event_time = args[:event_time] if args.key?(:event_time)
1904
+ @operation = args[:operation] if args.key?(:operation)
1905
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
1906
+ @violated_location = args[:violated_location] if args.key?(:violated_location)
1907
+ end
1908
+ end
1909
+
1787
1910
  # Represents database access information, such as queries. A database may be a
1788
1911
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
1789
1912
  # Spanner instances), or the database instance itself. Some database resources
@@ -2381,6 +2504,16 @@ module Google
2381
2504
  # @return [String]
2382
2505
  attr_accessor :create_time
2383
2506
 
2507
+ # Data access events associated with the finding.
2508
+ # Corresponds to the JSON property `dataAccessEvents`
2509
+ # @return [Array<Google::Apis::SecuritycenterV1::DataAccessEvent>]
2510
+ attr_accessor :data_access_events
2511
+
2512
+ # Data flow events associated with the finding.
2513
+ # Corresponds to the JSON property `dataFlowEvents`
2514
+ # @return [Array<Google::Apis::SecuritycenterV1::DataFlowEvent>]
2515
+ attr_accessor :data_flow_events
2516
+
2384
2517
  # Represents database access information, such as queries. A database may be a
2385
2518
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
2386
2519
  # Spanner instances), or the database instance itself. Some database resources
@@ -2637,6 +2770,8 @@ module Google
2637
2770
  @contacts = args[:contacts] if args.key?(:contacts)
2638
2771
  @containers = args[:containers] if args.key?(:containers)
2639
2772
  @create_time = args[:create_time] if args.key?(:create_time)
2773
+ @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
2774
+ @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
2640
2775
  @database = args[:database] if args.key?(:database)
2641
2776
  @description = args[:description] if args.key?(:description)
2642
2777
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -4514,6 +4649,11 @@ module Google
4514
4649
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription]
4515
4650
  attr_accessor :subscription
4516
4651
 
4652
+ # Represents a Microsoft Entra tenant.
4653
+ # Corresponds to the JSON property `tenant`
4654
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant]
4655
+ attr_accessor :tenant
4656
+
4517
4657
  def initialize(**args)
4518
4658
  update!(**args)
4519
4659
  end
@@ -4523,6 +4663,7 @@ module Google
4523
4663
  @management_groups = args[:management_groups] if args.key?(:management_groups)
4524
4664
  @resource_group = args[:resource_group] if args.key?(:resource_group)
4525
4665
  @subscription = args[:subscription] if args.key?(:subscription)
4666
+ @tenant = args[:tenant] if args.key?(:tenant)
4526
4667
  end
4527
4668
  end
4528
4669
 
@@ -4571,6 +4712,32 @@ module Google
4571
4712
  end
4572
4713
  end
4573
4714
 
4715
+ # Represents a Microsoft Entra tenant.
4716
+ class GoogleCloudSecuritycenterV2AzureTenant
4717
+ include Google::Apis::Core::Hashable
4718
+
4719
+ # The display name of the Azure tenant.
4720
+ # Corresponds to the JSON property `displayName`
4721
+ # @return [String]
4722
+ attr_accessor :display_name
4723
+
4724
+ # The ID of the Microsoft Entra tenant, for example, "a11aaa11-aa11-1aa1-11aa-
4725
+ # 1aaa11a".
4726
+ # Corresponds to the JSON property `id`
4727
+ # @return [String]
4728
+ attr_accessor :id
4729
+
4730
+ def initialize(**args)
4731
+ update!(**args)
4732
+ end
4733
+
4734
+ # Update properties of this object
4735
+ def update!(**args)
4736
+ @display_name = args[:display_name] if args.key?(:display_name)
4737
+ @id = args[:id] if args.key?(:id)
4738
+ end
4739
+ end
4740
+
4574
4741
  # Information related to Google Cloud Backup and DR Service findings.
4575
4742
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
4576
4743
  include Google::Apis::Core::Hashable
@@ -5149,6 +5316,11 @@ module Google
5149
5316
  # @return [String]
5150
5317
  attr_accessor :exploitation_activity
5151
5318
 
5319
+ # Date of the earliest known exploitation.
5320
+ # Corresponds to the JSON property `firstExploitationDate`
5321
+ # @return [String]
5322
+ attr_accessor :first_exploitation_date
5323
+
5152
5324
  # The unique identifier for the vulnerability. e.g. CVE-2021-34527
5153
5325
  # Corresponds to the JSON property `id`
5154
5326
  # @return [String]
@@ -5192,6 +5364,7 @@ module Google
5192
5364
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
5193
5365
  @exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
5194
5366
  @exploitation_activity = args[:exploitation_activity] if args.key?(:exploitation_activity)
5367
+ @first_exploitation_date = args[:first_exploitation_date] if args.key?(:first_exploitation_date)
5195
5368
  @id = args[:id] if args.key?(:id)
5196
5369
  @impact = args[:impact] if args.key?(:impact)
5197
5370
  @observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
@@ -5278,6 +5451,91 @@ module Google
5278
5451
  end
5279
5452
  end
5280
5453
 
5454
+ # Details about a data access attempt made by a principal not authorized under
5455
+ # applicable data security policy.
5456
+ class GoogleCloudSecuritycenterV2DataAccessEvent
5457
+ include Google::Apis::Core::Hashable
5458
+
5459
+ # Unique identifier for data access event.
5460
+ # Corresponds to the JSON property `eventId`
5461
+ # @return [String]
5462
+ attr_accessor :event_id
5463
+
5464
+ # Timestamp of data access event.
5465
+ # Corresponds to the JSON property `eventTime`
5466
+ # @return [String]
5467
+ attr_accessor :event_time
5468
+
5469
+ # The operation performed by the principal to access the data.
5470
+ # Corresponds to the JSON property `operation`
5471
+ # @return [String]
5472
+ attr_accessor :operation
5473
+
5474
+ # The email address of the principal that accessed the data. The principal could
5475
+ # be a user account, service account, Google group, or other.
5476
+ # Corresponds to the JSON property `principalEmail`
5477
+ # @return [String]
5478
+ attr_accessor :principal_email
5479
+
5480
+ def initialize(**args)
5481
+ update!(**args)
5482
+ end
5483
+
5484
+ # Update properties of this object
5485
+ def update!(**args)
5486
+ @event_id = args[:event_id] if args.key?(:event_id)
5487
+ @event_time = args[:event_time] if args.key?(:event_time)
5488
+ @operation = args[:operation] if args.key?(:operation)
5489
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
5490
+ end
5491
+ end
5492
+
5493
+ # Details about a data flow event, in which either the data is moved to or is
5494
+ # accessed from a non-compliant geo-location, as defined in the applicable data
5495
+ # security policy.
5496
+ class GoogleCloudSecuritycenterV2DataFlowEvent
5497
+ include Google::Apis::Core::Hashable
5498
+
5499
+ # Unique identifier for data flow event.
5500
+ # Corresponds to the JSON property `eventId`
5501
+ # @return [String]
5502
+ attr_accessor :event_id
5503
+
5504
+ # Timestamp of data flow event.
5505
+ # Corresponds to the JSON property `eventTime`
5506
+ # @return [String]
5507
+ attr_accessor :event_time
5508
+
5509
+ # The operation performed by the principal for the data flow event.
5510
+ # Corresponds to the JSON property `operation`
5511
+ # @return [String]
5512
+ attr_accessor :operation
5513
+
5514
+ # The email address of the principal that initiated the data flow event. The
5515
+ # principal could be a user account, service account, Google group, or other.
5516
+ # Corresponds to the JSON property `principalEmail`
5517
+ # @return [String]
5518
+ attr_accessor :principal_email
5519
+
5520
+ # Non-compliant location of the principal or the data destination.
5521
+ # Corresponds to the JSON property `violatedLocation`
5522
+ # @return [String]
5523
+ attr_accessor :violated_location
5524
+
5525
+ def initialize(**args)
5526
+ update!(**args)
5527
+ end
5528
+
5529
+ # Update properties of this object
5530
+ def update!(**args)
5531
+ @event_id = args[:event_id] if args.key?(:event_id)
5532
+ @event_time = args[:event_time] if args.key?(:event_time)
5533
+ @operation = args[:operation] if args.key?(:operation)
5534
+ @principal_email = args[:principal_email] if args.key?(:principal_email)
5535
+ @violated_location = args[:violated_location] if args.key?(:violated_location)
5536
+ end
5537
+ end
5538
+
5281
5539
  # Represents database access information, such as queries. A database may be a
5282
5540
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5283
5541
  # Spanner instances), or the database instance itself. Some database resources
@@ -5758,6 +6016,16 @@ module Google
5758
6016
  # @return [String]
5759
6017
  attr_accessor :create_time
5760
6018
 
6019
+ # Data access events associated with the finding.
6020
+ # Corresponds to the JSON property `dataAccessEvents`
6021
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent>]
6022
+ attr_accessor :data_access_events
6023
+
6024
+ # Data flow events associated with the finding.
6025
+ # Corresponds to the JSON property `dataFlowEvents`
6026
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent>]
6027
+ attr_accessor :data_flow_events
6028
+
5761
6029
  # Represents database access information, such as queries. A database may be a
5762
6030
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5763
6031
  # Spanner instances), or the database instance itself. Some database resources
@@ -6023,6 +6291,8 @@ module Google
6023
6291
  @contacts = args[:contacts] if args.key?(:contacts)
6024
6292
  @containers = args[:containers] if args.key?(:containers)
6025
6293
  @create_time = args[:create_time] if args.key?(:create_time)
6294
+ @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
6295
+ @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
6026
6296
  @database = args[:database] if args.key?(:database)
6027
6297
  @description = args[:description] if args.key?(:description)
6028
6298
  @event_time = args[:event_time] if args.key?(:event_time)
@@ -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.85.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240806"
25
+ REVISION = "20240916"
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
 
@@ -604,6 +622,12 @@ module Google
604
622
  include Google::Apis::Core::JsonObjectSupport
605
623
  end
606
624
 
625
+ class GoogleCloudSecuritycenterV2AzureTenant
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
607
631
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
608
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
633
 
@@ -694,6 +718,18 @@ module Google
694
718
  include Google::Apis::Core::JsonObjectSupport
695
719
  end
696
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
+
697
733
  class GoogleCloudSecuritycenterV2Database
698
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
735
 
@@ -1760,6 +1796,8 @@ module Google
1760
1796
 
1761
1797
  property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::AzureSubscription, decorator: Google::Apis::SecuritycenterV1::AzureSubscription::Representation
1762
1798
 
1799
+ property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1::AzureTenant, decorator: Google::Apis::SecuritycenterV1::AzureTenant::Representation
1800
+
1763
1801
  end
1764
1802
  end
1765
1803
 
@@ -1778,6 +1816,14 @@ module Google
1778
1816
  end
1779
1817
  end
1780
1818
 
1819
+ class AzureTenant
1820
+ # @private
1821
+ class Representation < Google::Apis::Core::JsonRepresentation
1822
+ property :display_name, as: 'displayName'
1823
+ property :id, as: 'id'
1824
+ end
1825
+ end
1826
+
1781
1827
  class BackupDisasterRecovery
1782
1828
  # @private
1783
1829
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1970,6 +2016,7 @@ module Google
1970
2016
 
1971
2017
  property :exploit_release_date, as: 'exploitReleaseDate'
1972
2018
  property :exploitation_activity, as: 'exploitationActivity'
2019
+ property :first_exploitation_date, as: 'firstExploitationDate'
1973
2020
  property :id, as: 'id'
1974
2021
  property :impact, as: 'impact'
1975
2022
  property :observed_in_the_wild, as: 'observedInTheWild'
@@ -1995,6 +2042,27 @@ module Google
1995
2042
  end
1996
2043
  end
1997
2044
 
2045
+ class DataAccessEvent
2046
+ # @private
2047
+ class Representation < Google::Apis::Core::JsonRepresentation
2048
+ property :event_id, as: 'eventId'
2049
+ property :event_time, as: 'eventTime'
2050
+ property :operation, as: 'operation'
2051
+ property :principal_email, as: 'principalEmail'
2052
+ end
2053
+ end
2054
+
2055
+ class DataFlowEvent
2056
+ # @private
2057
+ class Representation < Google::Apis::Core::JsonRepresentation
2058
+ property :event_id, as: 'eventId'
2059
+ property :event_time, as: 'eventTime'
2060
+ property :operation, as: 'operation'
2061
+ property :principal_email, as: 'principalEmail'
2062
+ property :violated_location, as: 'violatedLocation'
2063
+ end
2064
+ end
2065
+
1998
2066
  class Database
1999
2067
  # @private
2000
2068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2143,6 +2211,10 @@ module Google
2143
2211
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
2144
2212
 
2145
2213
  property :create_time, as: 'createTime'
2214
+ collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1::DataAccessEvent, decorator: Google::Apis::SecuritycenterV1::DataAccessEvent::Representation
2215
+
2216
+ collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::DataFlowEvent::Representation
2217
+
2146
2218
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
2147
2219
 
2148
2220
  property :description, as: 'description'
@@ -2642,6 +2714,8 @@ module Google
2642
2714
 
2643
2715
  property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription::Representation
2644
2716
 
2717
+ property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant::Representation
2718
+
2645
2719
  end
2646
2720
  end
2647
2721
 
@@ -2660,6 +2734,14 @@ module Google
2660
2734
  end
2661
2735
  end
2662
2736
 
2737
+ class GoogleCloudSecuritycenterV2AzureTenant
2738
+ # @private
2739
+ class Representation < Google::Apis::Core::JsonRepresentation
2740
+ property :display_name, as: 'displayName'
2741
+ property :id, as: 'id'
2742
+ end
2743
+ end
2744
+
2663
2745
  class GoogleCloudSecuritycenterV2BackupDisasterRecovery
2664
2746
  # @private
2665
2747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2806,6 +2888,7 @@ module Google
2806
2888
 
2807
2889
  property :exploit_release_date, as: 'exploitReleaseDate'
2808
2890
  property :exploitation_activity, as: 'exploitationActivity'
2891
+ property :first_exploitation_date, as: 'firstExploitationDate'
2809
2892
  property :id, as: 'id'
2810
2893
  property :impact, as: 'impact'
2811
2894
  property :observed_in_the_wild, as: 'observedInTheWild'
@@ -2831,6 +2914,27 @@ module Google
2831
2914
  end
2832
2915
  end
2833
2916
 
2917
+ class GoogleCloudSecuritycenterV2DataAccessEvent
2918
+ # @private
2919
+ class Representation < Google::Apis::Core::JsonRepresentation
2920
+ property :event_id, as: 'eventId'
2921
+ property :event_time, as: 'eventTime'
2922
+ property :operation, as: 'operation'
2923
+ property :principal_email, as: 'principalEmail'
2924
+ end
2925
+ end
2926
+
2927
+ class GoogleCloudSecuritycenterV2DataFlowEvent
2928
+ # @private
2929
+ class Representation < Google::Apis::Core::JsonRepresentation
2930
+ property :event_id, as: 'eventId'
2931
+ property :event_time, as: 'eventTime'
2932
+ property :operation, as: 'operation'
2933
+ property :principal_email, as: 'principalEmail'
2934
+ property :violated_location, as: 'violatedLocation'
2935
+ end
2936
+ end
2937
+
2834
2938
  class GoogleCloudSecuritycenterV2Database
2835
2939
  # @private
2836
2940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2954,6 +3058,10 @@ module Google
2954
3058
  collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container::Representation
2955
3059
 
2956
3060
  property :create_time, as: 'createTime'
3061
+ collection :data_access_events, as: 'dataAccessEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataAccessEvent::Representation
3062
+
3063
+ collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent::Representation
3064
+
2957
3065
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
2958
3066
 
2959
3067
  property :description, as: 'description'
@@ -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.85.0
4
+ version: 0.87.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-08-11 00:00:00.000000000 Z
11
+ date: 2024-09-22 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.85.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.87.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: []