google-apis-securitycenter_v1beta2 0.52.0 → 0.54.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ec112a048cf3f058b9cee2da53730671a8140e2f0432fa8a63a003197c28df0
|
4
|
+
data.tar.gz: f1e674ceefb85d256bc3e4eb091892f7be1105afc33272b633317056ffdfabc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 991ec7363f823d2d37a6c32aad437e4a987bc9698a5bfcf5679e0190732df45034dc25e3cb48cbbd1da15908b1a02125828a7416db71cf828aed59f154a3108f
|
7
|
+
data.tar.gz: b207001805cce2fa034ee16a572b6216ec5574eb1df5f499675530b132e1323347cbb52db2da5d528b815da94adf39f691986221d6f71be1006ee5a59b1e72e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta2
|
2
2
|
|
3
|
+
### v0.54.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230904
|
6
|
+
|
7
|
+
### v0.53.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230727
|
10
|
+
|
3
11
|
### v0.52.0 (2023-07-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230713
|
@@ -186,6 +186,69 @@ module Google
|
|
186
186
|
end
|
187
187
|
end
|
188
188
|
|
189
|
+
# An attack exposure contains the results of an attack path simulation run.
|
190
|
+
class AttackExposure
|
191
|
+
include Google::Apis::Core::Hashable
|
192
|
+
|
193
|
+
# The resource name of the attack path simulation result that contains the
|
194
|
+
# details regarding this attack exposure score. Example: organizations/123/
|
195
|
+
# attackExposureResults/456
|
196
|
+
# Corresponds to the JSON property `attackExposureResult`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :attack_exposure_result
|
199
|
+
|
200
|
+
# The number of high value resources that are exposed as a result of this
|
201
|
+
# finding.
|
202
|
+
# Corresponds to the JSON property `exposedHighValueResourcesCount`
|
203
|
+
# @return [Fixnum]
|
204
|
+
attr_accessor :exposed_high_value_resources_count
|
205
|
+
|
206
|
+
# The number of high value resources that are exposed as a result of this
|
207
|
+
# finding.
|
208
|
+
# Corresponds to the JSON property `exposedLowValueResourcesCount`
|
209
|
+
# @return [Fixnum]
|
210
|
+
attr_accessor :exposed_low_value_resources_count
|
211
|
+
|
212
|
+
# The number of medium value resources that are exposed as a result of this
|
213
|
+
# finding.
|
214
|
+
# Corresponds to the JSON property `exposedMediumValueResourcesCount`
|
215
|
+
# @return [Fixnum]
|
216
|
+
attr_accessor :exposed_medium_value_resources_count
|
217
|
+
|
218
|
+
# The most recent time the attack exposure was updated on this finding.
|
219
|
+
# Corresponds to the JSON property `latestCalculationTime`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :latest_calculation_time
|
222
|
+
|
223
|
+
# A number between 0 (inclusive) and infinity that represents how important this
|
224
|
+
# finding is to remediate. The higher the score, the more important it is to
|
225
|
+
# remediate.
|
226
|
+
# Corresponds to the JSON property `score`
|
227
|
+
# @return [Float]
|
228
|
+
attr_accessor :score
|
229
|
+
|
230
|
+
# What state this AttackExposure is in. This captures whether or not an attack
|
231
|
+
# exposure has been calculated or not.
|
232
|
+
# Corresponds to the JSON property `state`
|
233
|
+
# @return [String]
|
234
|
+
attr_accessor :state
|
235
|
+
|
236
|
+
def initialize(**args)
|
237
|
+
update!(**args)
|
238
|
+
end
|
239
|
+
|
240
|
+
# Update properties of this object
|
241
|
+
def update!(**args)
|
242
|
+
@attack_exposure_result = args[:attack_exposure_result] if args.key?(:attack_exposure_result)
|
243
|
+
@exposed_high_value_resources_count = args[:exposed_high_value_resources_count] if args.key?(:exposed_high_value_resources_count)
|
244
|
+
@exposed_low_value_resources_count = args[:exposed_low_value_resources_count] if args.key?(:exposed_low_value_resources_count)
|
245
|
+
@exposed_medium_value_resources_count = args[:exposed_medium_value_resources_count] if args.key?(:exposed_medium_value_resources_count)
|
246
|
+
@latest_calculation_time = args[:latest_calculation_time] if args.key?(:latest_calculation_time)
|
247
|
+
@score = args[:score] if args.key?(:score)
|
248
|
+
@state = args[:state] if args.key?(:state)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
189
252
|
# The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
|
190
253
|
# with the finding.
|
191
254
|
class CloudDlpDataProfile
|
@@ -845,6 +908,11 @@ module Google
|
|
845
908
|
# @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
|
846
909
|
attr_accessor :targets
|
847
910
|
|
911
|
+
# Total exfiltrated bytes processed for the entire job.
|
912
|
+
# Corresponds to the JSON property `totalExfiltratedBytes`
|
913
|
+
# @return [Fixnum]
|
914
|
+
attr_accessor :total_exfiltrated_bytes
|
915
|
+
|
848
916
|
def initialize(**args)
|
849
917
|
update!(**args)
|
850
918
|
end
|
@@ -853,6 +921,7 @@ module Google
|
|
853
921
|
def update!(**args)
|
854
922
|
@sources = args[:sources] if args.key?(:sources)
|
855
923
|
@targets = args[:targets] if args.key?(:targets)
|
924
|
+
@total_exfiltrated_bytes = args[:total_exfiltrated_bytes] if args.key?(:total_exfiltrated_bytes)
|
856
925
|
end
|
857
926
|
end
|
858
927
|
|
@@ -976,6 +1045,11 @@ module Google
|
|
976
1045
|
# @return [Google::Apis::SecuritycenterV1beta2::Access]
|
977
1046
|
attr_accessor :access
|
978
1047
|
|
1048
|
+
# An attack exposure contains the results of an attack path simulation run.
|
1049
|
+
# Corresponds to the JSON property `attackExposure`
|
1050
|
+
# @return [Google::Apis::SecuritycenterV1beta2::AttackExposure]
|
1051
|
+
attr_accessor :attack_exposure
|
1052
|
+
|
979
1053
|
# The canonical name of the finding. It's either "organizations/`organization_id`
|
980
1054
|
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
981
1055
|
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
@@ -1229,6 +1303,7 @@ module Google
|
|
1229
1303
|
# Update properties of this object
|
1230
1304
|
def update!(**args)
|
1231
1305
|
@access = args[:access] if args.key?(:access)
|
1306
|
+
@attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
|
1232
1307
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
1233
1308
|
@category = args[:category] if args.key?(:category)
|
1234
1309
|
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
|
@@ -1607,13 +1682,13 @@ module Google
|
|
1607
1682
|
# @return [Array<String>]
|
1608
1683
|
attr_accessor :assignees
|
1609
1684
|
|
1610
|
-
# The
|
1611
|
-
# updated in the external system.
|
1685
|
+
# The time when the case was last updated, as reported by the external system.
|
1612
1686
|
# Corresponds to the JSON property `externalSystemUpdateTime`
|
1613
1687
|
# @return [String]
|
1614
1688
|
attr_accessor :external_system_update_time
|
1615
1689
|
|
1616
|
-
#
|
1690
|
+
# The identifier that's used to track the finding's corresponding case in the
|
1691
|
+
# external system.
|
1617
1692
|
# Corresponds to the JSON property `externalUid`
|
1618
1693
|
# @return [String]
|
1619
1694
|
attr_accessor :external_uid
|
@@ -1626,7 +1701,7 @@ module Google
|
|
1626
1701
|
# @return [String]
|
1627
1702
|
attr_accessor :name
|
1628
1703
|
|
1629
|
-
#
|
1704
|
+
# The most recent status of the finding's corresponding case, as reported by the
|
1630
1705
|
# external system.
|
1631
1706
|
# Corresponds to the JSON property `status`
|
1632
1707
|
# @return [String]
|
@@ -1875,6 +1950,84 @@ module Google
|
|
1875
1950
|
end
|
1876
1951
|
end
|
1877
1952
|
|
1953
|
+
# A resource value config is a mapping configuration of user's tag values to
|
1954
|
+
# resource values. Used by the attack path simulation.
|
1955
|
+
class GoogleCloudSecuritycenterV1ResourceValueConfig
|
1956
|
+
include Google::Apis::Core::Hashable
|
1957
|
+
|
1958
|
+
# Output only. Timestamp this resource value config was created.
|
1959
|
+
# Corresponds to the JSON property `createTime`
|
1960
|
+
# @return [String]
|
1961
|
+
attr_accessor :create_time
|
1962
|
+
|
1963
|
+
# Description of the resource value config.
|
1964
|
+
# Corresponds to the JSON property `description`
|
1965
|
+
# @return [String]
|
1966
|
+
attr_accessor :description
|
1967
|
+
|
1968
|
+
# Name for the resource value config
|
1969
|
+
# Corresponds to the JSON property `name`
|
1970
|
+
# @return [String]
|
1971
|
+
attr_accessor :name
|
1972
|
+
|
1973
|
+
# List of resource labels to search for, evaluated with AND. E.g. "
|
1974
|
+
# resource_labels_selector": `"key": "value", "env": "prod"` will match
|
1975
|
+
# resources with labels "key": "value" AND "env": "prod" https://cloud.google.
|
1976
|
+
# com/resource-manager/docs/creating-managing-labels
|
1977
|
+
# Corresponds to the JSON property `resourceLabelsSelector`
|
1978
|
+
# @return [Hash<String,String>]
|
1979
|
+
attr_accessor :resource_labels_selector
|
1980
|
+
|
1981
|
+
# Apply resource_value only to resources that match resource_type. resource_type
|
1982
|
+
# will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
|
1983
|
+
# Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
|
1984
|
+
# googleapis.com/Bucket" resources.
|
1985
|
+
# Corresponds to the JSON property `resourceType`
|
1986
|
+
# @return [String]
|
1987
|
+
attr_accessor :resource_type
|
1988
|
+
|
1989
|
+
# Required. Resource value level this expression represents
|
1990
|
+
# Corresponds to the JSON property `resourceValue`
|
1991
|
+
# @return [String]
|
1992
|
+
attr_accessor :resource_value
|
1993
|
+
|
1994
|
+
# Project or folder to scope this config to. For example, "project/456" would
|
1995
|
+
# apply this config only to resources in "project/456" scope will be checked
|
1996
|
+
# with "AND" of other resources.
|
1997
|
+
# Corresponds to the JSON property `scope`
|
1998
|
+
# @return [String]
|
1999
|
+
attr_accessor :scope
|
2000
|
+
|
2001
|
+
# Required. Tag values combined with AND to check against. Values in the form "
|
2002
|
+
# tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
|
2003
|
+
# https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
|
2004
|
+
# Corresponds to the JSON property `tagValues`
|
2005
|
+
# @return [Array<String>]
|
2006
|
+
attr_accessor :tag_values
|
2007
|
+
|
2008
|
+
# Output only. Timestamp this resource value config was last updated.
|
2009
|
+
# Corresponds to the JSON property `updateTime`
|
2010
|
+
# @return [String]
|
2011
|
+
attr_accessor :update_time
|
2012
|
+
|
2013
|
+
def initialize(**args)
|
2014
|
+
update!(**args)
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# Update properties of this object
|
2018
|
+
def update!(**args)
|
2019
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2020
|
+
@description = args[:description] if args.key?(:description)
|
2021
|
+
@name = args[:name] if args.key?(:name)
|
2022
|
+
@resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
|
2023
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
2024
|
+
@resource_value = args[:resource_value] if args.key?(:resource_value)
|
2025
|
+
@scope = args[:scope] if args.key?(:scope)
|
2026
|
+
@tag_values = args[:tag_values] if args.key?(:tag_values)
|
2027
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
1878
2031
|
# Response of asset discovery run
|
1879
2032
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
1880
2033
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta2
|
18
18
|
# Version of the google-apis-securitycenter_v1beta2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230904"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AttackExposure
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class CloudDlpDataProfile
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -244,6 +250,12 @@ module Google
|
|
244
250
|
include Google::Apis::Core::JsonObjectSupport
|
245
251
|
end
|
246
252
|
|
253
|
+
class GoogleCloudSecuritycenterV1ResourceValueConfig
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
247
259
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
248
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
261
|
|
@@ -486,6 +498,19 @@ module Google
|
|
486
498
|
end
|
487
499
|
end
|
488
500
|
|
501
|
+
class AttackExposure
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
property :attack_exposure_result, as: 'attackExposureResult'
|
505
|
+
property :exposed_high_value_resources_count, as: 'exposedHighValueResourcesCount'
|
506
|
+
property :exposed_low_value_resources_count, as: 'exposedLowValueResourcesCount'
|
507
|
+
property :exposed_medium_value_resources_count, as: 'exposedMediumValueResourcesCount'
|
508
|
+
property :latest_calculation_time, as: 'latestCalculationTime'
|
509
|
+
property :score, as: 'score'
|
510
|
+
property :state, as: 'state'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
489
514
|
class CloudDlpDataProfile
|
490
515
|
# @private
|
491
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -661,6 +686,7 @@ module Google
|
|
661
686
|
|
662
687
|
collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
|
663
688
|
|
689
|
+
property :total_exfiltrated_bytes, :numeric_string => true, as: 'totalExfiltratedBytes'
|
664
690
|
end
|
665
691
|
end
|
666
692
|
|
@@ -691,6 +717,8 @@ module Google
|
|
691
717
|
class Representation < Google::Apis::Core::JsonRepresentation
|
692
718
|
property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::Access, decorator: Google::Apis::SecuritycenterV1beta2::Access::Representation
|
693
719
|
|
720
|
+
property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::AttackExposure::Representation
|
721
|
+
|
694
722
|
property :canonical_name, as: 'canonicalName'
|
695
723
|
property :category, as: 'category'
|
696
724
|
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile::Representation
|
@@ -896,6 +924,21 @@ module Google
|
|
896
924
|
end
|
897
925
|
end
|
898
926
|
|
927
|
+
class GoogleCloudSecuritycenterV1ResourceValueConfig
|
928
|
+
# @private
|
929
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
930
|
+
property :create_time, as: 'createTime'
|
931
|
+
property :description, as: 'description'
|
932
|
+
property :name, as: 'name'
|
933
|
+
hash :resource_labels_selector, as: 'resourceLabelsSelector'
|
934
|
+
property :resource_type, as: 'resourceType'
|
935
|
+
property :resource_value, as: 'resourceValue'
|
936
|
+
property :scope, as: 'scope'
|
937
|
+
collection :tag_values, as: 'tagValues'
|
938
|
+
property :update_time, as: 'updateTime'
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
899
942
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
900
943
|
# @private
|
901
944
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.54.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: 2023-
|
11
|
+
date: 2023-09-10 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_v1beta2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.54.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1beta2
|