google-apis-securitycenter_v1 0.85.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +258 -0
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +106 -0
- data/lib/google/apis/securitycenter_v1/service.rb +54 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a8251a9bb9d67f60fde3269385135e3e18de418ab3f618639ab4072dc00cf7
|
4
|
+
data.tar.gz: 1d8c2ef9b342b752dc1537baa97b5da87d52fe6da27f774bb303d9a9ea28df2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42dcf5db6db2d3d16c4413326197a670efe66c8dedc025f40e5f20485bfc0afbf6e886848c1bccd2022129135666e455e71650f04c296a5bb31ba746abbe6155
|
7
|
+
data.tar.gz: db852fcd870bb463dfaeeea3c7176097088bec602b987f612f2308845110123bc39a28639a76fd356b10381ec96467495233054fddc3e5e73fc59e1a1629a3bc
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -1655,6 +1681,11 @@ module Google
|
|
1655
1681
|
# @return [String]
|
1656
1682
|
attr_accessor :exploitation_activity
|
1657
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
|
+
|
1658
1689
|
# The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
1659
1690
|
# Corresponds to the JSON property `id`
|
1660
1691
|
# @return [String]
|
@@ -1698,6 +1729,7 @@ module Google
|
|
1698
1729
|
@cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
|
1699
1730
|
@exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
|
1700
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)
|
1701
1733
|
@id = args[:id] if args.key?(:id)
|
1702
1734
|
@impact = args[:impact] if args.key?(:impact)
|
1703
1735
|
@observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
|
@@ -1784,6 +1816,91 @@ module Google
|
|
1784
1816
|
end
|
1785
1817
|
end
|
1786
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
|
+
|
1787
1904
|
# Represents database access information, such as queries. A database may be a
|
1788
1905
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
1789
1906
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -2381,6 +2498,16 @@ module Google
|
|
2381
2498
|
# @return [String]
|
2382
2499
|
attr_accessor :create_time
|
2383
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
|
+
|
2384
2511
|
# Represents database access information, such as queries. A database may be a
|
2385
2512
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
2386
2513
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -2637,6 +2764,8 @@ module Google
|
|
2637
2764
|
@contacts = args[:contacts] if args.key?(:contacts)
|
2638
2765
|
@containers = args[:containers] if args.key?(:containers)
|
2639
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)
|
2640
2769
|
@database = args[:database] if args.key?(:database)
|
2641
2770
|
@description = args[:description] if args.key?(:description)
|
2642
2771
|
@event_time = args[:event_time] if args.key?(:event_time)
|
@@ -4514,6 +4643,11 @@ module Google
|
|
4514
4643
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription]
|
4515
4644
|
attr_accessor :subscription
|
4516
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
|
+
|
4517
4651
|
def initialize(**args)
|
4518
4652
|
update!(**args)
|
4519
4653
|
end
|
@@ -4523,6 +4657,7 @@ module Google
|
|
4523
4657
|
@management_groups = args[:management_groups] if args.key?(:management_groups)
|
4524
4658
|
@resource_group = args[:resource_group] if args.key?(:resource_group)
|
4525
4659
|
@subscription = args[:subscription] if args.key?(:subscription)
|
4660
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
4526
4661
|
end
|
4527
4662
|
end
|
4528
4663
|
|
@@ -4571,6 +4706,26 @@ module Google
|
|
4571
4706
|
end
|
4572
4707
|
end
|
4573
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
|
+
|
4574
4729
|
# Information related to Google Cloud Backup and DR Service findings.
|
4575
4730
|
class GoogleCloudSecuritycenterV2BackupDisasterRecovery
|
4576
4731
|
include Google::Apis::Core::Hashable
|
@@ -5149,6 +5304,11 @@ module Google
|
|
5149
5304
|
# @return [String]
|
5150
5305
|
attr_accessor :exploitation_activity
|
5151
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
|
+
|
5152
5312
|
# The unique identifier for the vulnerability. e.g. CVE-2021-34527
|
5153
5313
|
# Corresponds to the JSON property `id`
|
5154
5314
|
# @return [String]
|
@@ -5192,6 +5352,7 @@ module Google
|
|
5192
5352
|
@cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
|
5193
5353
|
@exploit_release_date = args[:exploit_release_date] if args.key?(:exploit_release_date)
|
5194
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)
|
5195
5356
|
@id = args[:id] if args.key?(:id)
|
5196
5357
|
@impact = args[:impact] if args.key?(:impact)
|
5197
5358
|
@observed_in_the_wild = args[:observed_in_the_wild] if args.key?(:observed_in_the_wild)
|
@@ -5278,6 +5439,91 @@ module Google
|
|
5278
5439
|
end
|
5279
5440
|
end
|
5280
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
|
+
|
5281
5527
|
# Represents database access information, such as queries. A database may be a
|
5282
5528
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
5283
5529
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -5758,6 +6004,16 @@ module Google
|
|
5758
6004
|
# @return [String]
|
5759
6005
|
attr_accessor :create_time
|
5760
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
|
+
|
5761
6017
|
# Represents database access information, such as queries. A database may be a
|
5762
6018
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
5763
6019
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -6023,6 +6279,8 @@ module Google
|
|
6023
6279
|
@contacts = args[:contacts] if args.key?(:contacts)
|
6024
6280
|
@containers = args[:containers] if args.key?(:containers)
|
6025
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)
|
6026
6284
|
@database = args[:database] if args.key?(:database)
|
6027
6285
|
@description = args[:description] if args.key?(:description)
|
6028
6286
|
@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.
|
19
|
+
GEM_VERSION = "0.86.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 = "
|
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
|
|
@@ -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,13 @@ module Google
|
|
1778
1816
|
end
|
1779
1817
|
end
|
1780
1818
|
|
1819
|
+
class AzureTenant
|
1820
|
+
# @private
|
1821
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1822
|
+
property :id, as: 'id'
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
|
1781
1826
|
class BackupDisasterRecovery
|
1782
1827
|
# @private
|
1783
1828
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1970,6 +2015,7 @@ module Google
|
|
1970
2015
|
|
1971
2016
|
property :exploit_release_date, as: 'exploitReleaseDate'
|
1972
2017
|
property :exploitation_activity, as: 'exploitationActivity'
|
2018
|
+
property :first_exploitation_date, as: 'firstExploitationDate'
|
1973
2019
|
property :id, as: 'id'
|
1974
2020
|
property :impact, as: 'impact'
|
1975
2021
|
property :observed_in_the_wild, as: 'observedInTheWild'
|
@@ -1995,6 +2041,27 @@ module Google
|
|
1995
2041
|
end
|
1996
2042
|
end
|
1997
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
|
+
|
1998
2065
|
class Database
|
1999
2066
|
# @private
|
2000
2067
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2143,6 +2210,10 @@ module Google
|
|
2143
2210
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::Container, decorator: Google::Apis::SecuritycenterV1::Container::Representation
|
2144
2211
|
|
2145
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
|
+
|
2146
2217
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
|
2147
2218
|
|
2148
2219
|
property :description, as: 'description'
|
@@ -2642,6 +2713,8 @@ module Google
|
|
2642
2713
|
|
2643
2714
|
property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureSubscription::Representation
|
2644
2715
|
|
2716
|
+
property :tenant, as: 'tenant', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AzureTenant::Representation
|
2717
|
+
|
2645
2718
|
end
|
2646
2719
|
end
|
2647
2720
|
|
@@ -2660,6 +2733,13 @@ module Google
|
|
2660
2733
|
end
|
2661
2734
|
end
|
2662
2735
|
|
2736
|
+
class GoogleCloudSecuritycenterV2AzureTenant
|
2737
|
+
# @private
|
2738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2739
|
+
property :id, as: 'id'
|
2740
|
+
end
|
2741
|
+
end
|
2742
|
+
|
2663
2743
|
class GoogleCloudSecuritycenterV2BackupDisasterRecovery
|
2664
2744
|
# @private
|
2665
2745
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2806,6 +2886,7 @@ module Google
|
|
2806
2886
|
|
2807
2887
|
property :exploit_release_date, as: 'exploitReleaseDate'
|
2808
2888
|
property :exploitation_activity, as: 'exploitationActivity'
|
2889
|
+
property :first_exploitation_date, as: 'firstExploitationDate'
|
2809
2890
|
property :id, as: 'id'
|
2810
2891
|
property :impact, as: 'impact'
|
2811
2892
|
property :observed_in_the_wild, as: 'observedInTheWild'
|
@@ -2831,6 +2912,27 @@ module Google
|
|
2831
2912
|
end
|
2832
2913
|
end
|
2833
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
|
+
|
2834
2936
|
class GoogleCloudSecuritycenterV2Database
|
2835
2937
|
# @private
|
2836
2938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2954,6 +3056,10 @@ module Google
|
|
2954
3056
|
collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Container::Representation
|
2955
3057
|
|
2956
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
|
+
|
2957
3063
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
|
2958
3064
|
|
2959
3065
|
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.
|
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-
|
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.
|
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: []
|