google-apis-ondemandscanning_v1 0.42.0 → 0.44.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: b217a941b2e6f2c8e0719bc72dcf4d4a9cf356b7804d3fe68014d0916f046f40
4
- data.tar.gz: 26d95f135b9421f23549fa219fdb866dba1d450c2ca967212d98a85c66c8d818
3
+ metadata.gz: 8a622568351497c8b03875cfa4e793af768bbaab6717f14c35ad89a6c263fff7
4
+ data.tar.gz: 1ce77a8337c001c5d63875351a9f9edfc6273632b02581a5c96e6198c722bb9a
5
5
  SHA512:
6
- metadata.gz: a66f287533dc8c634cc216bb993882d70d5c81d1220c2e1aa5b662fa608d9f9bb96121355b74e8c31584dc9a5cc07159ccb594c3991822a96a40598d7e6590be
7
- data.tar.gz: bd7024646e7eec8d91e00027466e324cbccedf9be8f1bbd29936b75abc6a3c72b9fcda61855a5b6c51f3fa67349525d16993bb743071b1acc8c715db0863a70b
6
+ metadata.gz: 88e7881de6c59d56d204b4e6ca1fc7d911b26c0b7ca3bc81b0847eceb6ba3cf8cbe90f1ab459d30fb7b30ebe3a77cfee430a7e20e54e1d52301d0228abef3bc0
7
+ data.tar.gz: 5d6fb30b669713122c5b2a81c4d74d82b62ea43dcbe78dbd453a8362729435d98f19be45ef0a1793965ec5b7f93996657f708b8e1b617ca18b27690fc22b2463
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.44.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231016
6
+
7
+ ### v0.43.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20231002
10
+
3
11
  ### v0.42.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230807
@@ -2213,6 +2213,15 @@ module Google
2213
2213
  # @return [String]
2214
2214
  attr_accessor :hash_digest
2215
2215
 
2216
+ # The list of licenses found that are related to a given package. Note that
2217
+ # licenses may also be stored on the BinarySourceInfo. If there is no
2218
+ # BinarySourceInfo (because there's no concept of source vs binary), then it
2219
+ # will be stored here, while if there are BinarySourceInfos, it will be stored
2220
+ # there, as one source can have multiple binaries with different licenses.
2221
+ # Corresponds to the JSON property `licenses`
2222
+ # @return [Array<String>]
2223
+ attr_accessor :licenses
2224
+
2216
2225
  # The maintainer of the package.
2217
2226
  # Corresponds to the JSON property `maintainer`
2218
2227
  # @return [Google::Apis::OndemandscanningV1::Maintainer]
@@ -2273,6 +2282,7 @@ module Google
2273
2282
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2274
2283
  @file_location = args[:file_location] if args.key?(:file_location)
2275
2284
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2285
+ @licenses = args[:licenses] if args.key?(:licenses)
2276
2286
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2277
2287
  @os = args[:os] if args.key?(:os)
2278
2288
  @os_version = args[:os_version] if args.key?(:os_version)
@@ -2429,6 +2439,14 @@ module Google
2429
2439
  class PackageVersion
2430
2440
  include Google::Apis::Core::Hashable
2431
2441
 
2442
+ # The licenses associated with this package. Note that this has to go on the
2443
+ # PackageVersion level, because we can have cases with images with the same
2444
+ # source having different licences. E.g. in Alpine, musl and musl-utils both
2445
+ # have the same origin musl, but have different sets of licenses.
2446
+ # Corresponds to the JSON property `licenses`
2447
+ # @return [Array<String>]
2448
+ attr_accessor :licenses
2449
+
2432
2450
  #
2433
2451
  # Corresponds to the JSON property `name`
2434
2452
  # @return [String]
@@ -2445,6 +2463,7 @@ module Google
2445
2463
 
2446
2464
  # Update properties of this object
2447
2465
  def update!(**args)
2466
+ @licenses = args[:licenses] if args.key?(:licenses)
2448
2467
  @name = args[:name] if args.key?(:name)
2449
2468
  @version = args[:version] if args.key?(:version)
2450
2469
  end
@@ -3619,6 +3638,11 @@ module Google
3619
3638
  # @return [String]
3620
3639
  attr_accessor :effective_severity
3621
3640
 
3641
+ # Occurrence-specific extra details about the vulnerability.
3642
+ # Corresponds to the JSON property `extraDetails`
3643
+ # @return [String]
3644
+ attr_accessor :extra_details
3645
+
3622
3646
  # Output only. Whether at least one of the affected packages has a fix available.
3623
3647
  # Corresponds to the JSON property `fixAvailable`
3624
3648
  # @return [Boolean]
@@ -3674,6 +3698,7 @@ module Google
3674
3698
  @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
3675
3699
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
3676
3700
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
3701
+ @extra_details = args[:extra_details] if args.key?(:extra_details)
3677
3702
  @fix_available = args[:fix_available] if args.key?(:fix_available)
3678
3703
  @long_description = args[:long_description] if args.key?(:long_description)
3679
3704
  @package_issue = args[:package_issue] if args.key?(:package_issue)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.42.0"
19
+ GEM_VERSION = "0.44.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
@@ -1203,6 +1203,7 @@ module Google
1203
1203
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
1204
1204
 
1205
1205
  property :hash_digest, as: 'hashDigest'
1206
+ collection :licenses, as: 'licenses'
1206
1207
  property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1::Maintainer, decorator: Google::Apis::OndemandscanningV1::Maintainer::Representation
1207
1208
 
1208
1209
  property :os, as: 'os'
@@ -1255,6 +1256,7 @@ module Google
1255
1256
  class PackageVersion
1256
1257
  # @private
1257
1258
  class Representation < Google::Apis::Core::JsonRepresentation
1259
+ collection :licenses, as: 'licenses'
1258
1260
  property :name, as: 'name'
1259
1261
  property :version, as: 'version'
1260
1262
  end
@@ -1574,6 +1576,7 @@ module Google
1574
1576
  property :cvssv3, as: 'cvssv3', class: Google::Apis::OndemandscanningV1::Cvss, decorator: Google::Apis::OndemandscanningV1::Cvss::Representation
1575
1577
 
1576
1578
  property :effective_severity, as: 'effectiveSeverity'
1579
+ property :extra_details, as: 'extraDetails'
1577
1580
  property :fix_available, as: 'fixAvailable'
1578
1581
  property :long_description, as: 'longDescription'
1579
1582
  collection :package_issue, as: 'packageIssue', class: Google::Apis::OndemandscanningV1::PackageIssue, decorator: Google::Apis::OndemandscanningV1::PackageIssue::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.44.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.44.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
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 V1