google-apis-securitycenter_v1beta1 0.84.0 → 0.85.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: 5ccf1a6d9edcd786d6ab73425fcb816511f499da706853b03891f971acf91f5c
4
- data.tar.gz: 7492bb1cb77344b5e77cfba9a86980e25793951ab9929c4dca9980874113f380
3
+ metadata.gz: 6e2bae01f1bcdbde8f40672207520e77f948f97e5abb0a81f086bd1fcdac5222
4
+ data.tar.gz: 80e14b19e24f2c8be915c189fb725b3164a314177a5f4e449e0e832e02861bd0
5
5
  SHA512:
6
- metadata.gz: 378aaf14bf46639cc4f1698b3324e61eaa9582b9c8f40fcc13926ec53ece8d634d0219387f2f76f9e265a4c415a4e928662e3bf851f87db9fca249d54bf188fa
7
- data.tar.gz: eb5a342aefa56748b341aea1168e09b82135e767682576bb9c8c779e5194aa339682ce631445160f9d0ab44a8d10453913b803b66e4a41efe984d5f0743ffe62
6
+ metadata.gz: f19343830e8b06e02053d06353ead4f818b4f4af921a45319841b3ab63fb7420ebcdd800e43114c4d2d6fd8c72a6ac2375bd9c75274f94cbddbcde66869efc29
7
+ data.tar.gz: ea1cf1fb4e894a6e7315b8a293af871c66c25ce37ee067614858e6012d85659738db8a576b956aa0bb9270d5c0167d743b4bac605fd000f6224856bdfbbc27e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.85.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250308
6
+
3
7
  ### v0.84.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250228
@@ -1531,6 +1531,33 @@ module Google
1531
1531
  end
1532
1532
  end
1533
1533
 
1534
+ # CWE stands for Common Weakness Enumeration. Information about this weakness,
1535
+ # as described by [CWE](https://cwe.mitre.org/).
1536
+ class Cwe
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # The CWE identifier, e.g. CWE-94
1540
+ # Corresponds to the JSON property `id`
1541
+ # @return [String]
1542
+ attr_accessor :id
1543
+
1544
+ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/
1545
+ # data/definitions/94.html
1546
+ # Corresponds to the JSON property `references`
1547
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Reference>]
1548
+ attr_accessor :references
1549
+
1550
+ def initialize(**args)
1551
+ update!(**args)
1552
+ end
1553
+
1554
+ # Update properties of this object
1555
+ def update!(**args)
1556
+ @id = args[:id] if args.key?(:id)
1557
+ @references = args[:references] if args.key?(:references)
1558
+ end
1559
+ end
1560
+
1534
1561
  # Details about a data access attempt made by a principal not authorized under
1535
1562
  # applicable data security policy.
1536
1563
  class DataAccessEvent
@@ -5325,6 +5352,33 @@ module Google
5325
5352
  end
5326
5353
  end
5327
5354
 
5355
+ # CWE stands for Common Weakness Enumeration. Information about this weakness,
5356
+ # as described by [CWE](https://cwe.mitre.org/).
5357
+ class GoogleCloudSecuritycenterV2Cwe
5358
+ include Google::Apis::Core::Hashable
5359
+
5360
+ # The CWE identifier, e.g. CWE-94
5361
+ # Corresponds to the JSON property `id`
5362
+ # @return [String]
5363
+ attr_accessor :id
5364
+
5365
+ # Any reference to the details on the CWE, for example, https://cwe.mitre.org/
5366
+ # data/definitions/94.html
5367
+ # Corresponds to the JSON property `references`
5368
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Reference>]
5369
+ attr_accessor :references
5370
+
5371
+ def initialize(**args)
5372
+ update!(**args)
5373
+ end
5374
+
5375
+ # Update properties of this object
5376
+ def update!(**args)
5377
+ @id = args[:id] if args.key?(:id)
5378
+ @references = args[:references] if args.key?(:references)
5379
+ end
5380
+ end
5381
+
5328
5382
  # Details about a data access attempt made by a principal not authorized under
5329
5383
  # applicable data security policy.
5330
5384
  class GoogleCloudSecuritycenterV2DataAccessEvent
@@ -8662,6 +8716,12 @@ module Google
8662
8716
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cve]
8663
8717
  attr_accessor :cve
8664
8718
 
8719
+ # Represents one or more Common Weakness Enumeration (CWE) information on this
8720
+ # vulnerability.
8721
+ # Corresponds to the JSON property `cwes`
8722
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cwe>]
8723
+ attr_accessor :cwes
8724
+
8665
8725
  # Package is a generic definition of a package.
8666
8726
  # Corresponds to the JSON property `fixedPackage`
8667
8727
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package]
@@ -8672,6 +8732,19 @@ module Google
8672
8732
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package]
8673
8733
  attr_accessor :offending_package
8674
8734
 
8735
+ # Provider provided risk_score based on multiple factors. The higher the risk
8736
+ # score, the more risky the vulnerability is.
8737
+ # Corresponds to the JSON property `providerRiskScore`
8738
+ # @return [Fixnum]
8739
+ attr_accessor :provider_risk_score
8740
+
8741
+ # Represents whether the vulnerability is reachable (detected via static
8742
+ # analysis)
8743
+ # Corresponds to the JSON property `reachable`
8744
+ # @return [Boolean]
8745
+ attr_accessor :reachable
8746
+ alias_method :reachable?, :reachable
8747
+
8675
8748
  # SecurityBulletin are notifications of vulnerabilities of Google products.
8676
8749
  # Corresponds to the JSON property `securityBulletin`
8677
8750
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityBulletin]
@@ -8684,8 +8757,11 @@ module Google
8684
8757
  # Update properties of this object
8685
8758
  def update!(**args)
8686
8759
  @cve = args[:cve] if args.key?(:cve)
8760
+ @cwes = args[:cwes] if args.key?(:cwes)
8687
8761
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
8688
8762
  @offending_package = args[:offending_package] if args.key?(:offending_package)
8763
+ @provider_risk_score = args[:provider_risk_score] if args.key?(:provider_risk_score)
8764
+ @reachable = args[:reachable] if args.key?(:reachable)
8689
8765
  @security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
8690
8766
  end
8691
8767
  end
@@ -11031,6 +11107,12 @@ module Google
11031
11107
  # @return [Google::Apis::SecuritycenterV1beta1::Cve]
11032
11108
  attr_accessor :cve
11033
11109
 
11110
+ # Represents one or more Common Weakness Enumeration (CWE) information on this
11111
+ # vulnerability.
11112
+ # Corresponds to the JSON property `cwes`
11113
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::Cwe>]
11114
+ attr_accessor :cwes
11115
+
11034
11116
  # Package is a generic definition of a package.
11035
11117
  # Corresponds to the JSON property `fixedPackage`
11036
11118
  # @return [Google::Apis::SecuritycenterV1beta1::Package]
@@ -11041,6 +11123,19 @@ module Google
11041
11123
  # @return [Google::Apis::SecuritycenterV1beta1::Package]
11042
11124
  attr_accessor :offending_package
11043
11125
 
11126
+ # Provider provided risk_score based on multiple factors. The higher the risk
11127
+ # score, the more risky the vulnerability is.
11128
+ # Corresponds to the JSON property `providerRiskScore`
11129
+ # @return [Fixnum]
11130
+ attr_accessor :provider_risk_score
11131
+
11132
+ # Represents whether the vulnerability is reachable (detected via static
11133
+ # analysis)
11134
+ # Corresponds to the JSON property `reachable`
11135
+ # @return [Boolean]
11136
+ attr_accessor :reachable
11137
+ alias_method :reachable?, :reachable
11138
+
11044
11139
  # SecurityBulletin are notifications of vulnerabilities of Google products.
11045
11140
  # Corresponds to the JSON property `securityBulletin`
11046
11141
  # @return [Google::Apis::SecuritycenterV1beta1::SecurityBulletin]
@@ -11053,8 +11148,11 @@ module Google
11053
11148
  # Update properties of this object
11054
11149
  def update!(**args)
11055
11150
  @cve = args[:cve] if args.key?(:cve)
11151
+ @cwes = args[:cwes] if args.key?(:cwes)
11056
11152
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
11057
11153
  @offending_package = args[:offending_package] if args.key?(:offending_package)
11154
+ @provider_risk_score = args[:provider_risk_score] if args.key?(:provider_risk_score)
11155
+ @reachable = args[:reachable] if args.key?(:reachable)
11058
11156
  @security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
11059
11157
  end
11060
11158
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.84.0"
19
+ GEM_VERSION = "0.85.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 = "20250228"
25
+ REVISION = "20250308"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class Cwe
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class DataAccessEvent
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -694,6 +700,12 @@ module Google
694
700
  include Google::Apis::Core::JsonObjectSupport
695
701
  end
696
702
 
703
+ class GoogleCloudSecuritycenterV2Cwe
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class GoogleCloudSecuritycenterV2DataAccessEvent
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -1927,6 +1939,15 @@ module Google
1927
1939
  end
1928
1940
  end
1929
1941
 
1942
+ class Cwe
1943
+ # @private
1944
+ class Representation < Google::Apis::Core::JsonRepresentation
1945
+ property :id, as: 'id'
1946
+ collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta1::Reference, decorator: Google::Apis::SecuritycenterV1beta1::Reference::Representation
1947
+
1948
+ end
1949
+ end
1950
+
1930
1951
  class DataAccessEvent
1931
1952
  # @private
1932
1953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2845,6 +2866,15 @@ module Google
2845
2866
  end
2846
2867
  end
2847
2868
 
2869
+ class GoogleCloudSecuritycenterV2Cwe
2870
+ # @private
2871
+ class Representation < Google::Apis::Core::JsonRepresentation
2872
+ property :id, as: 'id'
2873
+ collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Reference, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Reference::Representation
2874
+
2875
+ end
2876
+ end
2877
+
2848
2878
  class GoogleCloudSecuritycenterV2DataAccessEvent
2849
2879
  # @private
2850
2880
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3733,10 +3763,14 @@ module Google
3733
3763
  class Representation < Google::Apis::Core::JsonRepresentation
3734
3764
  property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cve, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cve::Representation
3735
3765
 
3766
+ collection :cwes, as: 'cwes', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cwe, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Cwe::Representation
3767
+
3736
3768
  property :fixed_package, as: 'fixedPackage', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package::Representation
3737
3769
 
3738
3770
  property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Package::Representation
3739
3771
 
3772
+ property :provider_risk_score, :numeric_string => true, as: 'providerRiskScore'
3773
+ property :reachable, as: 'reachable'
3740
3774
  property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityBulletin::Representation
3741
3775
 
3742
3776
  end
@@ -4356,10 +4390,14 @@ module Google
4356
4390
  class Representation < Google::Apis::Core::JsonRepresentation
4357
4391
  property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta1::Cve, decorator: Google::Apis::SecuritycenterV1beta1::Cve::Representation
4358
4392
 
4393
+ collection :cwes, as: 'cwes', class: Google::Apis::SecuritycenterV1beta1::Cwe, decorator: Google::Apis::SecuritycenterV1beta1::Cwe::Representation
4394
+
4359
4395
  property :fixed_package, as: 'fixedPackage', class: Google::Apis::SecuritycenterV1beta1::Package, decorator: Google::Apis::SecuritycenterV1beta1::Package::Representation
4360
4396
 
4361
4397
  property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta1::Package, decorator: Google::Apis::SecuritycenterV1beta1::Package::Representation
4362
4398
 
4399
+ property :provider_risk_score, :numeric_string => true, as: 'providerRiskScore'
4400
+ property :reachable, as: 'reachable'
4363
4401
  property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta1::SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta1::SecurityBulletin::Representation
4364
4402
 
4365
4403
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.85.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.84.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.85.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: