diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..223c01e913f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -341677,6 +341677,7 @@ "/ondemandscanning:v1/CVSS/availabilityImpact": availability_impact "/ondemandscanning:v1/CVSS/baseScore": base_score "/ondemandscanning:v1/CVSS/confidentialityImpact": confidentiality_impact +"/ondemandscanning:v1/CVSS/exploitMaturity": exploit_maturity "/ondemandscanning:v1/CVSS/exploitabilityScore": exploitability_score "/ondemandscanning:v1/CVSS/impactScore": impact_score "/ondemandscanning:v1/CVSS/integrityImpact": integrity_impact @@ -341900,6 +341901,10 @@ "/ondemandscanning:v1/InTotoStatement/subject": subject "/ondemandscanning:v1/InTotoStatement/subject/subject": subject "/ondemandscanning:v1/InTotoStatement/type": type +"/ondemandscanning:v1/IngestionSource": ingestion_source +"/ondemandscanning:v1/IngestionSource/attachmentUri": attachment_uri +"/ondemandscanning:v1/IngestionSource/resourceUrl": resource_url +"/ondemandscanning:v1/IngestionSource/source": source "/ondemandscanning:v1/Justification": justification "/ondemandscanning:v1/Justification/details": details "/ondemandscanning:v1/Justification/justificationType": justification_type @@ -341997,6 +342002,8 @@ "/ondemandscanning:v1/PackageData/fileLocation": file_location "/ondemandscanning:v1/PackageData/fileLocation/file_location": file_location "/ondemandscanning:v1/PackageData/hashDigest": hash_digest +"/ondemandscanning:v1/PackageData/ingestionSources": ingestion_sources +"/ondemandscanning:v1/PackageData/ingestionSources/ingestion_source": ingestion_source "/ondemandscanning:v1/PackageData/layerDetails": layer_details "/ondemandscanning:v1/PackageData/licenses": licenses "/ondemandscanning:v1/PackageData/licenses/license": license diff --git a/generated/google-apis-ondemandscanning_v1/CHANGELOG.md b/generated/google-apis-ondemandscanning_v1/CHANGELOG.md index 0633722b9f2..88b2a2f6f3c 100644 --- a/generated/google-apis-ondemandscanning_v1/CHANGELOG.md +++ b/generated/google-apis-ondemandscanning_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-ondemandscanning_v1 +### v0.68.0 (2026-07-05) + +* Regenerated from discovery document revision 20260622 + ### v0.67.0 (2026-06-14) * Regenerated from discovery document revision 20260601 diff --git a/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/classes.rb b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/classes.rb index 1141c032570..848336ae1f0 100644 --- a/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/classes.rb +++ b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/classes.rb @@ -676,6 +676,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] @@ -749,6 +754,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) @@ -2027,6 +2033,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 @@ -2709,6 +2746,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::OndemandscanningV1::LayerDetails] @@ -2782,6 +2825,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_v1/lib/google/apis/ondemandscanning_v1/gem_version.rb b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/gem_version.rb index 68da857f6c8..3e8c643da40 100644 --- a/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/gem_version.rb +++ b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module OndemandscanningV1 # Version of the google-apis-ondemandscanning_v1 gem - GEM_VERSION = "0.67.0" + GEM_VERSION = "0.68.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_v1/lib/google/apis/ondemandscanning_v1/representations.rb b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/representations.rb index 62ef0e3f7a6..6aa3212bfd9 100644 --- a/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/representations.rb +++ b/generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/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 @@ -856,6 +862,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' @@ -1238,6 +1245,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 @@ -1425,6 +1441,8 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation property :hash_digest, as: 'hashDigest' + collection :ingestion_sources, as: 'ingestionSources', class: Google::Apis::OndemandscanningV1::IngestionSource, decorator: Google::Apis::OndemandscanningV1::IngestionSource::Representation + property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1::LayerDetails, decorator: Google::Apis::OndemandscanningV1::LayerDetails::Representation collection :licenses, as: 'licenses'