google-apis-securitycenter_v1beta2 0.76.0 → 0.77.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: f1ae98491a5abb0c05d3d9ac341cc4d1bffaec69e7959623c926800d43145b14
|
4
|
+
data.tar.gz: f237d99c55b22701660f634db15218e2e039879b9d97557ac85b42d42b3c1ab8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc050c57ac73f67bc3d3813715f1ca6877fc8ef44d0d2431a362b7f6d72f3e464f5e9bec6d6646fc52d66399592aa57c44eb9f3fb12c0f046ea191b1b812bd5b
|
7
|
+
data.tar.gz: bbb211d7f822ee08f5abf9e0c5b15aee82bc8bea86c3fdf8dd618a05a1d4e4fed3a477610f9a72970bbd7adbd53889bc96f81acb38e309238ca8de0671dbdb82
|
data/CHANGELOG.md
CHANGED
@@ -1338,6 +1338,33 @@ module Google
|
|
1338
1338
|
end
|
1339
1339
|
end
|
1340
1340
|
|
1341
|
+
# CWE stands for Common Weakness Enumeration. Information about this weakness,
|
1342
|
+
# as described by [CWE](https://cwe.mitre.org/).
|
1343
|
+
class Cwe
|
1344
|
+
include Google::Apis::Core::Hashable
|
1345
|
+
|
1346
|
+
# The CWE identifier, e.g. CWE-94
|
1347
|
+
# Corresponds to the JSON property `id`
|
1348
|
+
# @return [String]
|
1349
|
+
attr_accessor :id
|
1350
|
+
|
1351
|
+
# Any reference to the details on the CWE, for example, https://cwe.mitre.org/
|
1352
|
+
# data/definitions/94.html
|
1353
|
+
# Corresponds to the JSON property `references`
|
1354
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Reference>]
|
1355
|
+
attr_accessor :references
|
1356
|
+
|
1357
|
+
def initialize(**args)
|
1358
|
+
update!(**args)
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
# Update properties of this object
|
1362
|
+
def update!(**args)
|
1363
|
+
@id = args[:id] if args.key?(:id)
|
1364
|
+
@references = args[:references] if args.key?(:references)
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1341
1368
|
# Details about a data access attempt made by a principal not authorized under
|
1342
1369
|
# applicable data security policy.
|
1343
1370
|
class DataAccessEvent
|
@@ -5009,6 +5036,33 @@ module Google
|
|
5009
5036
|
end
|
5010
5037
|
end
|
5011
5038
|
|
5039
|
+
# CWE stands for Common Weakness Enumeration. Information about this weakness,
|
5040
|
+
# as described by [CWE](https://cwe.mitre.org/).
|
5041
|
+
class GoogleCloudSecuritycenterV2Cwe
|
5042
|
+
include Google::Apis::Core::Hashable
|
5043
|
+
|
5044
|
+
# The CWE identifier, e.g. CWE-94
|
5045
|
+
# Corresponds to the JSON property `id`
|
5046
|
+
# @return [String]
|
5047
|
+
attr_accessor :id
|
5048
|
+
|
5049
|
+
# Any reference to the details on the CWE, for example, https://cwe.mitre.org/
|
5050
|
+
# data/definitions/94.html
|
5051
|
+
# Corresponds to the JSON property `references`
|
5052
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference>]
|
5053
|
+
attr_accessor :references
|
5054
|
+
|
5055
|
+
def initialize(**args)
|
5056
|
+
update!(**args)
|
5057
|
+
end
|
5058
|
+
|
5059
|
+
# Update properties of this object
|
5060
|
+
def update!(**args)
|
5061
|
+
@id = args[:id] if args.key?(:id)
|
5062
|
+
@references = args[:references] if args.key?(:references)
|
5063
|
+
end
|
5064
|
+
end
|
5065
|
+
|
5012
5066
|
# Details about a data access attempt made by a principal not authorized under
|
5013
5067
|
# applicable data security policy.
|
5014
5068
|
class GoogleCloudSecuritycenterV2DataAccessEvent
|
@@ -8346,6 +8400,12 @@ module Google
|
|
8346
8400
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve]
|
8347
8401
|
attr_accessor :cve
|
8348
8402
|
|
8403
|
+
# Represents one or more Common Weakness Enumeration (CWE) information on this
|
8404
|
+
# vulnerability.
|
8405
|
+
# Corresponds to the JSON property `cwes`
|
8406
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cwe>]
|
8407
|
+
attr_accessor :cwes
|
8408
|
+
|
8349
8409
|
# Package is a generic definition of a package.
|
8350
8410
|
# Corresponds to the JSON property `fixedPackage`
|
8351
8411
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package]
|
@@ -8356,6 +8416,19 @@ module Google
|
|
8356
8416
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package]
|
8357
8417
|
attr_accessor :offending_package
|
8358
8418
|
|
8419
|
+
# Provider provided risk_score based on multiple factors. The higher the risk
|
8420
|
+
# score, the more risky the vulnerability is.
|
8421
|
+
# Corresponds to the JSON property `providerRiskScore`
|
8422
|
+
# @return [Fixnum]
|
8423
|
+
attr_accessor :provider_risk_score
|
8424
|
+
|
8425
|
+
# Represents whether the vulnerability is reachable (detected via static
|
8426
|
+
# analysis)
|
8427
|
+
# Corresponds to the JSON property `reachable`
|
8428
|
+
# @return [Boolean]
|
8429
|
+
attr_accessor :reachable
|
8430
|
+
alias_method :reachable?, :reachable
|
8431
|
+
|
8359
8432
|
# SecurityBulletin are notifications of vulnerabilities of Google products.
|
8360
8433
|
# Corresponds to the JSON property `securityBulletin`
|
8361
8434
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityBulletin]
|
@@ -8368,8 +8441,11 @@ module Google
|
|
8368
8441
|
# Update properties of this object
|
8369
8442
|
def update!(**args)
|
8370
8443
|
@cve = args[:cve] if args.key?(:cve)
|
8444
|
+
@cwes = args[:cwes] if args.key?(:cwes)
|
8371
8445
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
8372
8446
|
@offending_package = args[:offending_package] if args.key?(:offending_package)
|
8447
|
+
@provider_risk_score = args[:provider_risk_score] if args.key?(:provider_risk_score)
|
8448
|
+
@reachable = args[:reachable] if args.key?(:reachable)
|
8373
8449
|
@security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
|
8374
8450
|
end
|
8375
8451
|
end
|
@@ -10083,6 +10159,12 @@ module Google
|
|
10083
10159
|
# @return [Google::Apis::SecuritycenterV1beta2::Cve]
|
10084
10160
|
attr_accessor :cve
|
10085
10161
|
|
10162
|
+
# Represents one or more Common Weakness Enumeration (CWE) information on this
|
10163
|
+
# vulnerability.
|
10164
|
+
# Corresponds to the JSON property `cwes`
|
10165
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta2::Cwe>]
|
10166
|
+
attr_accessor :cwes
|
10167
|
+
|
10086
10168
|
# Package is a generic definition of a package.
|
10087
10169
|
# Corresponds to the JSON property `fixedPackage`
|
10088
10170
|
# @return [Google::Apis::SecuritycenterV1beta2::Package]
|
@@ -10093,6 +10175,19 @@ module Google
|
|
10093
10175
|
# @return [Google::Apis::SecuritycenterV1beta2::Package]
|
10094
10176
|
attr_accessor :offending_package
|
10095
10177
|
|
10178
|
+
# Provider provided risk_score based on multiple factors. The higher the risk
|
10179
|
+
# score, the more risky the vulnerability is.
|
10180
|
+
# Corresponds to the JSON property `providerRiskScore`
|
10181
|
+
# @return [Fixnum]
|
10182
|
+
attr_accessor :provider_risk_score
|
10183
|
+
|
10184
|
+
# Represents whether the vulnerability is reachable (detected via static
|
10185
|
+
# analysis)
|
10186
|
+
# Corresponds to the JSON property `reachable`
|
10187
|
+
# @return [Boolean]
|
10188
|
+
attr_accessor :reachable
|
10189
|
+
alias_method :reachable?, :reachable
|
10190
|
+
|
10096
10191
|
# SecurityBulletin are notifications of vulnerabilities of Google products.
|
10097
10192
|
# Corresponds to the JSON property `securityBulletin`
|
10098
10193
|
# @return [Google::Apis::SecuritycenterV1beta2::SecurityBulletin]
|
@@ -10105,8 +10200,11 @@ module Google
|
|
10105
10200
|
# Update properties of this object
|
10106
10201
|
def update!(**args)
|
10107
10202
|
@cve = args[:cve] if args.key?(:cve)
|
10203
|
+
@cwes = args[:cwes] if args.key?(:cwes)
|
10108
10204
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
10109
10205
|
@offending_package = args[:offending_package] if args.key?(:offending_package)
|
10206
|
+
@provider_risk_score = args[:provider_risk_score] if args.key?(:provider_risk_score)
|
10207
|
+
@reachable = args[:reachable] if args.key?(:reachable)
|
10110
10208
|
@security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
|
10111
10209
|
end
|
10112
10210
|
end
|
@@ -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.77.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250308"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class Cwe
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class DataAccessEvent
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -652,6 +658,12 @@ module Google
|
|
652
658
|
include Google::Apis::Core::JsonObjectSupport
|
653
659
|
end
|
654
660
|
|
661
|
+
class GoogleCloudSecuritycenterV2Cwe
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
655
667
|
class GoogleCloudSecuritycenterV2DataAccessEvent
|
656
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
669
|
|
@@ -1760,6 +1772,15 @@ module Google
|
|
1760
1772
|
end
|
1761
1773
|
end
|
1762
1774
|
|
1775
|
+
class Cwe
|
1776
|
+
# @private
|
1777
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1778
|
+
property :id, as: 'id'
|
1779
|
+
collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation
|
1780
|
+
|
1781
|
+
end
|
1782
|
+
end
|
1783
|
+
|
1763
1784
|
class DataAccessEvent
|
1764
1785
|
# @private
|
1765
1786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2652,6 +2673,15 @@ module Google
|
|
2652
2673
|
end
|
2653
2674
|
end
|
2654
2675
|
|
2676
|
+
class GoogleCloudSecuritycenterV2Cwe
|
2677
|
+
# @private
|
2678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2679
|
+
property :id, as: 'id'
|
2680
|
+
collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Reference::Representation
|
2681
|
+
|
2682
|
+
end
|
2683
|
+
end
|
2684
|
+
|
2655
2685
|
class GoogleCloudSecuritycenterV2DataAccessEvent
|
2656
2686
|
# @private
|
2657
2687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3540,10 +3570,14 @@ module Google
|
|
3540
3570
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3541
3571
|
property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve::Representation
|
3542
3572
|
|
3573
|
+
collection :cwes, as: 'cwes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cwe, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cwe::Representation
|
3574
|
+
|
3543
3575
|
property :fixed_package, as: 'fixedPackage', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package::Representation
|
3544
3576
|
|
3545
3577
|
property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Package::Representation
|
3546
3578
|
|
3579
|
+
property :provider_risk_score, :numeric_string => true, as: 'providerRiskScore'
|
3580
|
+
property :reachable, as: 'reachable'
|
3547
3581
|
property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityBulletin::Representation
|
3548
3582
|
|
3549
3583
|
end
|
@@ -4018,10 +4052,14 @@ module Google
|
|
4018
4052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4019
4053
|
property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::Cve, decorator: Google::Apis::SecuritycenterV1beta2::Cve::Representation
|
4020
4054
|
|
4055
|
+
collection :cwes, as: 'cwes', class: Google::Apis::SecuritycenterV1beta2::Cwe, decorator: Google::Apis::SecuritycenterV1beta2::Cwe::Representation
|
4056
|
+
|
4021
4057
|
property :fixed_package, as: 'fixedPackage', class: Google::Apis::SecuritycenterV1beta2::Package, decorator: Google::Apis::SecuritycenterV1beta2::Package::Representation
|
4022
4058
|
|
4023
4059
|
property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta2::Package, decorator: Google::Apis::SecuritycenterV1beta2::Package::Representation
|
4024
4060
|
|
4061
|
+
property :provider_risk_score, :numeric_string => true, as: 'providerRiskScore'
|
4062
|
+
property :reachable, as: 'reachable'
|
4025
4063
|
property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta2::SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta2::SecurityBulletin::Representation
|
4026
4064
|
|
4027
4065
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.77.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.77.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|