class Google::Apis::ContaineranalysisV1::Note
A type of analysis that can be done for a resource.
Attributes
Note
kind that represents a logical attestation “role” or “authority”. For example, an organization might have one ‘Authority` for “QA” and one for “ build”. This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don’t all live in the same project. Corresponds to the JSON property ‘attestation` @return [Google::Apis::ContaineranalysisV1::AttestationNote]
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::ContaineranalysisV1::BuildNote]
A note describing a compliance check. Corresponds to the JSON property ‘compliance` @return [Google::Apis::ContaineranalysisV1::ComplianceNote]
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 ‘deployment` @return [Google::Apis::ContaineranalysisV1::DeploymentNote]
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::ContaineranalysisV1::DiscoveryNote]
A note describing a dsse attestation note. Corresponds to the JSON property ‘dsseAttestation` @return [Google::Apis::ContaineranalysisV1::DsseAttestationNote]
Time of expiration for this note. Empty
if note does not expire. Corresponds to the JSON property ‘expirationTime` @return [String]
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 ‘image` @return [Google::Apis::ContaineranalysisV1::ImageNote]
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::ContaineranalysisV1::PackageNote]
A one sentence description of this note. Corresponds to the JSON property ‘shortDescription` @return [String]
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]
An Upgrade Note
represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note
. For Windows, windows_update field represents the information related to the update. Corresponds to the JSON property ‘upgrade` @return [Google::Apis::ContaineranalysisV1::UpgradeNote]
A security vulnerability that can be found in resources. Corresponds to the JSON property ‘vulnerability` @return [Google::Apis::ContaineranalysisV1::VulnerabilityNote]
Public Class Methods
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3575 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 3580 def update!(**args) @attestation = args[:attestation] if args.key?(:attestation) @build = args[:build] if args.key?(:build) @compliance = args[:compliance] if args.key?(:compliance) @create_time = args[:create_time] if args.key?(:create_time) @deployment = args[:deployment] if args.key?(:deployment) @discovery = args[:discovery] if args.key?(:discovery) @dsse_attestation = args[:dsse_attestation] if args.key?(:dsse_attestation) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @image = args[:image] if args.key?(:image) @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) @short_description = args[:short_description] if args.key?(:short_description) @update_time = args[:update_time] if args.key?(:update_time) @upgrade = args[:upgrade] if args.key?(:upgrade) @vulnerability = args[:vulnerability] if args.key?(:vulnerability) end