@@ -676,6 +676,11 @@ class Cvss
676676 # @return [String]
677677 attr_accessor :confidentiality_impact
678678
679+ # Exploit Maturity (E). Defined in CVSS v4.
680+ # Corresponds to the JSON property `exploitMaturity`
681+ # @return [String]
682+ attr_accessor :exploit_maturity
683+
679684 #
680685 # Corresponds to the JSON property `exploitabilityScore`
681686 # @return [Float]
@@ -749,6 +754,7 @@ def update!(**args)
749754 @availability_impact = args [ :availability_impact ] if args . key? ( :availability_impact )
750755 @base_score = args [ :base_score ] if args . key? ( :base_score )
751756 @confidentiality_impact = args [ :confidentiality_impact ] if args . key? ( :confidentiality_impact )
757+ @exploit_maturity = args [ :exploit_maturity ] if args . key? ( :exploit_maturity )
752758 @exploitability_score = args [ :exploitability_score ] if args . key? ( :exploitability_score )
753759 @impact_score = args [ :impact_score ] if args . key? ( :impact_score )
754760 @integrity_impact = args [ :integrity_impact ] if args . key? ( :integrity_impact )
@@ -2027,6 +2033,37 @@ def update!(**args)
20272033 end
20282034 end
20292035
2036+ # Indicates where an extracted package originates from.
2037+ class IngestionSource
2038+ include Google ::Apis ::Core ::Hashable
2039+
2040+ # The attachment URI that this package was extracted from.
2041+ # Corresponds to the JSON property `attachmentUri`
2042+ # @return [String]
2043+ attr_accessor :attachment_uri
2044+
2045+ # The resource URL of the resource that was scanned to find this package.
2046+ # Corresponds to the JSON property `resourceUrl`
2047+ # @return [String]
2048+ attr_accessor :resource_url
2049+
2050+ #
2051+ # Corresponds to the JSON property `source`
2052+ # @return [String]
2053+ attr_accessor :source
2054+
2055+ def initialize ( **args )
2056+ update! ( **args )
2057+ end
2058+
2059+ # Update properties of this object
2060+ def update! ( **args )
2061+ @attachment_uri = args [ :attachment_uri ] if args . key? ( :attachment_uri )
2062+ @resource_url = args [ :resource_url ] if args . key? ( :resource_url )
2063+ @source = args [ :source ] if args . key? ( :source )
2064+ end
2065+ end
2066+
20302067 # Justification provides the justification when the state of the assessment if
20312068 # NOT_AFFECTED.
20322069 class Justification
@@ -2709,6 +2746,12 @@ class PackageData
27092746 # @return [String]
27102747 attr_accessor :hash_digest
27112748
2749+ # The list of sources that were scanned to find this package. This can be a
2750+ # Docker image, an SBOM attachment, or both, for example.
2751+ # Corresponds to the JSON property `ingestionSources`
2752+ # @return [Array<Google::Apis::OndemandscanningV1::IngestionSource>]
2753+ attr_accessor :ingestion_sources
2754+
27122755 # Details about the layer a package was found in.
27132756 # Corresponds to the JSON property `layerDetails`
27142757 # @return [Google::Apis::OndemandscanningV1::LayerDetails]
@@ -2782,6 +2825,7 @@ def update!(**args)
27822825 @dependency_chain = args [ :dependency_chain ] if args . key? ( :dependency_chain )
27832826 @file_location = args [ :file_location ] if args . key? ( :file_location )
27842827 @hash_digest = args [ :hash_digest ] if args . key? ( :hash_digest )
2828+ @ingestion_sources = args [ :ingestion_sources ] if args . key? ( :ingestion_sources )
27852829 @layer_details = args [ :layer_details ] if args . key? ( :layer_details )
27862830 @licenses = args [ :licenses ] if args . key? ( :licenses )
27872831 @maintainer = args [ :maintainer ] if args . key? ( :maintainer )
0 commit comments