diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..7f80f63c3c0 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -342372,6 +342372,7 @@ "/ondemandscanning:v1beta1/CVSS/availabilityImpact": availability_impact "/ondemandscanning:v1beta1/CVSS/baseScore": base_score "/ondemandscanning:v1beta1/CVSS/confidentialityImpact": confidentiality_impact +"/ondemandscanning:v1beta1/CVSS/exploitMaturity": exploit_maturity "/ondemandscanning:v1beta1/CVSS/exploitabilityScore": exploitability_score "/ondemandscanning:v1beta1/CVSS/impactScore": impact_score "/ondemandscanning:v1beta1/CVSS/integrityImpact": integrity_impact @@ -342595,6 +342596,10 @@ "/ondemandscanning:v1beta1/InTotoStatement/subject": subject "/ondemandscanning:v1beta1/InTotoStatement/subject/subject": subject "/ondemandscanning:v1beta1/InTotoStatement/type": type +"/ondemandscanning:v1beta1/IngestionSource": ingestion_source +"/ondemandscanning:v1beta1/IngestionSource/attachmentUri": attachment_uri +"/ondemandscanning:v1beta1/IngestionSource/resourceUrl": resource_url +"/ondemandscanning:v1beta1/IngestionSource/source": source "/ondemandscanning:v1beta1/Justification": justification "/ondemandscanning:v1beta1/Justification/details": details "/ondemandscanning:v1beta1/Justification/justificationType": justification_type @@ -342692,6 +342697,8 @@ "/ondemandscanning:v1beta1/PackageData/fileLocation": file_location "/ondemandscanning:v1beta1/PackageData/fileLocation/file_location": file_location "/ondemandscanning:v1beta1/PackageData/hashDigest": hash_digest +"/ondemandscanning:v1beta1/PackageData/ingestionSources": ingestion_sources +"/ondemandscanning:v1beta1/PackageData/ingestionSources/ingestion_source": ingestion_source "/ondemandscanning:v1beta1/PackageData/layerDetails": layer_details "/ondemandscanning:v1beta1/PackageData/licenses": licenses "/ondemandscanning:v1beta1/PackageData/licenses/license": license diff --git a/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md b/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md index fa88dbabcb0..c1598c5682e 100644 --- a/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md +++ b/generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-ondemandscanning_v1beta1 +### v0.67.0 (2026-07-05) + +* Regenerated from discovery document revision 20260622 + ### v0.66.0 (2026-06-14) * Regenerated from discovery document revision 20260601 diff --git a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/classes.rb b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/classes.rb index f8079ec4e8e..436df17bbb0 100644 --- a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/classes.rb +++ b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/classes.rb @@ -668,6 +668,11 @@ class Cvss # @return [String] attr_accessor :confidentiality_impact + # Exploit Maturity (E). Defined in CVSS v4. + # Corresponds to the JSON property `exploitMaturity` + # @return [String] + attr_accessor :exploit_maturity + # # Corresponds to the JSON property `exploitabilityScore` # @return [Float] @@ -741,6 +746,7 @@ def update!(**args) @availability_impact = args[:availability_impact] if args.key?(:availability_impact) @base_score = args[:base_score] if args.key?(:base_score) @confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact) + @exploit_maturity = args[:exploit_maturity] if args.key?(:exploit_maturity) @exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score) @impact_score = args[:impact_score] if args.key?(:impact_score) @integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact) @@ -2019,6 +2025,37 @@ def update!(**args) end end + # Indicates where an extracted package originates from. + class IngestionSource + include Google::Apis::Core::Hashable + + # The attachment URI that this package was extracted from. + # Corresponds to the JSON property `attachmentUri` + # @return [String] + attr_accessor :attachment_uri + + # The resource URL of the resource that was scanned to find this package. + # Corresponds to the JSON property `resourceUrl` + # @return [String] + attr_accessor :resource_url + + # + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachment_uri = args[:attachment_uri] if args.key?(:attachment_uri) + @resource_url = args[:resource_url] if args.key?(:resource_url) + @source = args[:source] if args.key?(:source) + end + end + # Justification provides the justification when the state of the assessment if # NOT_AFFECTED. class Justification @@ -2701,6 +2738,12 @@ class PackageData # @return [String] attr_accessor :hash_digest + # The list of sources that were scanned to find this package. This can be a + # Docker image, an SBOM attachment, or both, for example. + # Corresponds to the JSON property `ingestionSources` + # @return [Array] + attr_accessor :ingestion_sources + # Details about the layer a package was found in. # Corresponds to the JSON property `layerDetails` # @return [Google::Apis::OndemandscanningV1beta1::LayerDetails] @@ -2774,6 +2817,7 @@ def update!(**args) @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain) @file_location = args[:file_location] if args.key?(:file_location) @hash_digest = args[:hash_digest] if args.key?(:hash_digest) + @ingestion_sources = args[:ingestion_sources] if args.key?(:ingestion_sources) @layer_details = args[:layer_details] if args.key?(:layer_details) @licenses = args[:licenses] if args.key?(:licenses) @maintainer = args[:maintainer] if args.key?(:maintainer) diff --git a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/gem_version.rb b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/gem_version.rb index 03f1c55c216..bc4c358e0cc 100644 --- a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/gem_version.rb +++ b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module OndemandscanningV1beta1 # Version of the google-apis-ondemandscanning_v1beta1 gem - GEM_VERSION = "0.66.0" + GEM_VERSION = "0.67.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260601" + REVISION = "20260622" end end end diff --git a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/representations.rb b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/representations.rb index 30a8b277f40..d617c463e42 100644 --- a/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/representations.rb +++ b/generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/representations.rb @@ -352,6 +352,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class IngestionSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Justification class Representation < Google::Apis::Core::JsonRepresentation; end @@ -855,6 +861,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :availability_impact, as: 'availabilityImpact' property :base_score, as: 'baseScore' property :confidentiality_impact, as: 'confidentialityImpact' + property :exploit_maturity, as: 'exploitMaturity' property :exploitability_score, as: 'exploitabilityScore' property :impact_score, as: 'impactScore' property :integrity_impact, as: 'integrityImpact' @@ -1237,6 +1244,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class IngestionSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attachment_uri, as: 'attachmentUri' + property :resource_url, as: 'resourceUrl' + property :source, as: 'source' + end + end + class Justification # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1424,6 +1440,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation property :hash_digest, as: 'hashDigest' + collection :ingestion_sources, as: 'ingestionSources', class: Google::Apis::OndemandscanningV1beta1::IngestionSource, decorator: Google::Apis::OndemandscanningV1beta1::IngestionSource::Representation + property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1beta1::LayerDetails, decorator: Google::Apis::OndemandscanningV1beta1::LayerDetails::Representation collection :licenses, as: 'licenses'