Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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<Google::Apis::OndemandscanningV1beta1::IngestionSource>]
attr_accessor :ingestion_sources

# Details about the layer a package was found in.
# Corresponds to the JSON property `layerDetails`
# @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down
Loading