google-apis-ondemandscanning_v1beta1 0.40.0 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39acf2a61ced4fcbcbcfad41414b6806947e1dbebeacc5a7f0fd914d6ff15cf6
4
- data.tar.gz: 05b90298c9242b88a512bc0951d546bd80fede4bef5f4b8943e045dd1f1882d3
3
+ metadata.gz: 4ad5028301563bc6e534b6a34cf843500aeebbfb50e59ad1b6d2ee8446e5a5d7
4
+ data.tar.gz: 232aacb2b9d5acc1c70634aec70f6d1734e4136f27e96fb363ae97a7b72c7a12
5
5
  SHA512:
6
- metadata.gz: 35df1fac0fa47b6c13c826e4cca893a1d099dc6a56fa1299a6ff73af2d0f03bde07ab5affe36a3cee316455a7bb2732aa36897f0b9b36719ceaf16b03830fc33
7
- data.tar.gz: b4456e4be30aa842b058b3d22504c95bacda3f3f28e1765283d29e1c8723e08a46c718656783e9c89989822f136251a09211070700f731bb8da3645fb88ca50e
6
+ metadata.gz: 4bac849302335494eb95396c31d3601e401194de219bb20ec27ac6f685c4abe74283288045723615d174ac31f02de96644cd6a4b1dbb03d5e9cb77dc1b92c953
7
+ data.tar.gz: 66b99bbe415c1c48d3e8b097b5949003422d08179dc5412261e6ec6bb675fc5d4be435b10b2575b9b90795c528cf4128c946ee24da3434b1847de963485dd747
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.42.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231016
6
+
7
+ ### v0.41.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20231002
10
+
3
11
  ### v0.40.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230807
@@ -2205,6 +2205,15 @@ module Google
2205
2205
  # @return [String]
2206
2206
  attr_accessor :hash_digest
2207
2207
 
2208
+ # The list of licenses found that are related to a given package. Note that
2209
+ # licenses may also be stored on the BinarySourceInfo. If there is no
2210
+ # BinarySourceInfo (because there's no concept of source vs binary), then it
2211
+ # will be stored here, while if there are BinarySourceInfos, it will be stored
2212
+ # there, as one source can have multiple binaries with different licenses.
2213
+ # Corresponds to the JSON property `licenses`
2214
+ # @return [Array<String>]
2215
+ attr_accessor :licenses
2216
+
2208
2217
  # The maintainer of the package.
2209
2218
  # Corresponds to the JSON property `maintainer`
2210
2219
  # @return [Google::Apis::OndemandscanningV1beta1::Maintainer]
@@ -2265,6 +2274,7 @@ module Google
2265
2274
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2266
2275
  @file_location = args[:file_location] if args.key?(:file_location)
2267
2276
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2277
+ @licenses = args[:licenses] if args.key?(:licenses)
2268
2278
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2269
2279
  @os = args[:os] if args.key?(:os)
2270
2280
  @os_version = args[:os_version] if args.key?(:os_version)
@@ -2421,6 +2431,14 @@ module Google
2421
2431
  class PackageVersion
2422
2432
  include Google::Apis::Core::Hashable
2423
2433
 
2434
+ # The licenses associated with this package. Note that this has to go on the
2435
+ # PackageVersion level, because we can have cases with images with the same
2436
+ # source having different licences. E.g. in Alpine, musl and musl-utils both
2437
+ # have the same origin musl, but have different sets of licenses.
2438
+ # Corresponds to the JSON property `licenses`
2439
+ # @return [Array<String>]
2440
+ attr_accessor :licenses
2441
+
2424
2442
  #
2425
2443
  # Corresponds to the JSON property `name`
2426
2444
  # @return [String]
@@ -2437,6 +2455,7 @@ module Google
2437
2455
 
2438
2456
  # Update properties of this object
2439
2457
  def update!(**args)
2458
+ @licenses = args[:licenses] if args.key?(:licenses)
2440
2459
  @name = args[:name] if args.key?(:name)
2441
2460
  @version = args[:version] if args.key?(:version)
2442
2461
  end
@@ -3611,6 +3630,11 @@ module Google
3611
3630
  # @return [String]
3612
3631
  attr_accessor :effective_severity
3613
3632
 
3633
+ # Occurrence-specific extra details about the vulnerability.
3634
+ # Corresponds to the JSON property `extraDetails`
3635
+ # @return [String]
3636
+ attr_accessor :extra_details
3637
+
3614
3638
  # Output only. Whether at least one of the affected packages has a fix available.
3615
3639
  # Corresponds to the JSON property `fixAvailable`
3616
3640
  # @return [Boolean]
@@ -3666,6 +3690,7 @@ module Google
3666
3690
  @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
3667
3691
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
3668
3692
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
3693
+ @extra_details = args[:extra_details] if args.key?(:extra_details)
3669
3694
  @fix_available = args[:fix_available] if args.key?(:fix_available)
3670
3695
  @long_description = args[:long_description] if args.key?(:long_description)
3671
3696
  @package_issue = args[:package_issue] if args.key?(:package_issue)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.42.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 = "20230807"
25
+ REVISION = "20231016"
26
26
  end
27
27
  end
28
28
  end
@@ -1202,6 +1202,7 @@ module Google
1202
1202
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
1203
1203
 
1204
1204
  property :hash_digest, as: 'hashDigest'
1205
+ collection :licenses, as: 'licenses'
1205
1206
  property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1beta1::Maintainer, decorator: Google::Apis::OndemandscanningV1beta1::Maintainer::Representation
1206
1207
 
1207
1208
  property :os, as: 'os'
@@ -1254,6 +1255,7 @@ module Google
1254
1255
  class PackageVersion
1255
1256
  # @private
1256
1257
  class Representation < Google::Apis::Core::JsonRepresentation
1258
+ collection :licenses, as: 'licenses'
1257
1259
  property :name, as: 'name'
1258
1260
  property :version, as: 'version'
1259
1261
  end
@@ -1573,6 +1575,7 @@ module Google
1573
1575
  property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1beta1::Cvss, decorator: Google::Apis::OndemandscanningV1beta1::Cvss::Representation
1574
1576
 
1575
1577
  property :effective_severity, as: 'effectiveSeverity'
1578
+ property :extra_details, as: 'extraDetails'
1576
1579
  property :fix_available, as: 'fixAvailable'
1577
1580
  property :long_description, as: 'longDescription'
1578
1581
  collection :package_issue, as: 'packageIssue', class: Google::Apis::OndemandscanningV1beta1::PackageIssue, decorator: Google::Apis::OndemandscanningV1beta1::PackageIssue::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.42.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-10-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-ondemandscanning_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.42.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for On-Demand Scanning API V1beta1