class Google::Apis::ContaineranalysisV1beta1::Note
A type of analysis that can be done for a resource.
Attributes
Basis
describes the base image portion (Note
) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url. Corresponds to the JSON property `baseImage` @return [Google::Apis::ContaineranalysisV1beta1::Basis]
Note
holding the version of the provider's builder and the signature of the provenance message in the build details occurrence. Corresponds to the JSON property `build` @return [Google::Apis::ContaineranalysisV1beta1::Build]
Output only. The time this note was created. This field can be used as a filter in list requests. Corresponds to the JSON property `createTime` @return [String]
An artifact that can be deployed in some runtime. Corresponds to the JSON property `deployable` @return [Google::Apis::ContaineranalysisV1beta1::Deployable]
A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis. Corresponds to the JSON property `discovery` @return [Google::Apis::ContaineranalysisV1beta1::Discovery]
Time of expiration for this note. Empty
if note does not expire. Corresponds to the JSON property `expirationTime` @return [String]
This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note. Corresponds to the JSON property `intoto` @return [Google::Apis::ContaineranalysisV1beta1::InToto]
Output only. The type of analysis. This field can be used as a filter in list requests. Corresponds to the JSON property `kind` @return [String]
A detailed description of this note. Corresponds to the JSON property `longDescription` @return [String]
Output only. The name of the note in the form of `projects//notes/ [NOTE_ID]`. Corresponds to the JSON property `name` @return [String]
This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. Corresponds to the JSON property `package` @return [Google::Apis::ContaineranalysisV1beta1::Package]
DocumentNote
represents an SPDX Document Creation Infromation section: https:// spdx.github.io/spdx-spec/2-document-creation-information/ Corresponds to the JSON property `sbom` @return [Google::Apis::ContaineranalysisV1beta1::DocumentNote]
A one sentence description of this note. Corresponds to the JSON property `shortDescription` @return [String]
FileNote
represents an SPDX File Information section: spdx.github.io/ spdx-spec/4-file-information/ Corresponds to the JSON property `spdxFile` @return [Google::Apis::ContaineranalysisV1beta1::FileNote]
PackageNote
represents an SPDX Package
Information section: spdx. github.io/spdx-spec/3-package-information/ Corresponds to the JSON property `spdxPackage` @return [Google::Apis::ContaineranalysisV1beta1::PackageNote]
RelationshipNote
represents an SPDX Relationship section: spdx.github. io/spdx-spec/7-relationships-between-SPDX-elements/ Corresponds to the JSON property `spdxRelationship` @return [Google::Apis::ContaineranalysisV1beta1::RelationshipNote]
Output only. The time this note was last updated. This field can be used as a filter in list requests. Corresponds to the JSON property `updateTime` @return [String]
Vulnerability
provides metadata about a security vulnerability in a Note
. Corresponds to the JSON property `vulnerability` @return [Google::Apis::ContaineranalysisV1beta1::Vulnerability]
Public Class Methods
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 2457 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 2462 def update!(**args) @attestation_authority = args[:attestation_authority] if args.key?(:attestation_authority) @base_image = args[:base_image] if args.key?(:base_image) @build = args[:build] if args.key?(:build) @create_time = args[:create_time] if args.key?(:create_time) @deployable = args[:deployable] if args.key?(:deployable) @discovery = args[:discovery] if args.key?(:discovery) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @intoto = args[:intoto] if args.key?(:intoto) @kind = args[:kind] if args.key?(:kind) @long_description = args[:long_description] if args.key?(:long_description) @name = args[:name] if args.key?(:name) @package = args[:package] if args.key?(:package) @related_note_names = args[:related_note_names] if args.key?(:related_note_names) @related_url = args[:related_url] if args.key?(:related_url) @sbom = args[:sbom] if args.key?(:sbom) @short_description = args[:short_description] if args.key?(:short_description) @spdx_file = args[:spdx_file] if args.key?(:spdx_file) @spdx_package = args[:spdx_package] if args.key?(:spdx_package) @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship) @update_time = args[:update_time] if args.key?(:update_time) @vulnerability = args[:vulnerability] if args.key?(:vulnerability) end