Show / Hide Table of Contents

Class Occurrence

Occurrence includes information about analysis occurrences for an image.

Inheritance
System.Object
Occurrence
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class Occurrence : IDirectResponseSchema

Properties

Attestation

Describes an attestation of an artifact.

Declaration
[JsonProperty("attestation")]
public virtual Attestation Attestation { get; set; }
Property Value
Type Description
Attestation

BuildDetails

Build details for a verifiable build.

Declaration
[JsonProperty("buildDetails")]
public virtual BuildDetails BuildDetails { get; set; }
Property Value
Type Description
BuildDetails

Compliance

Describes whether or not a resource passes compliance checks.

Declaration
[JsonProperty("compliance")]
public virtual ComplianceOccurrence Compliance { get; set; }
Property Value
Type Description
ComplianceOccurrence

CreateTime

Output only. The time this Occurrence was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

Deployment

Describes the deployment of an artifact on a runtime.

Declaration
[JsonProperty("deployment")]
public virtual Deployment Deployment { get; set; }
Property Value
Type Description
Deployment

DerivedImage

Describes how this resource derives from the basis in the associated note.

Declaration
[JsonProperty("derivedImage")]
public virtual Derived DerivedImage { get; set; }
Property Value
Type Description
Derived

Discovered

Describes the initial scan status for this resource.

Declaration
[JsonProperty("discovered")]
public virtual Discovered Discovered { get; set; }
Property Value
Type Description
Discovered

DsseAttestation

This represents a DSSE attestation occurrence

Declaration
[JsonProperty("dsseAttestation")]
public virtual DSSEAttestationOccurrence DsseAttestation { get; set; }
Property Value
Type Description
DSSEAttestationOccurrence

Envelope

https://github.com/secure-systems-lab/dsse

Declaration
[JsonProperty("envelope")]
public virtual Envelope Envelope { get; set; }
Property Value
Type Description
Envelope

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Installation

Describes the installation of a package on the linked resource.

Declaration
[JsonProperty("installation")]
public virtual Installation Installation { get; set; }
Property Value
Type Description
Installation

Kind

Output only. This explicitly denotes which of the Occurrence details are specified. This field can be used as a filter in list requests.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Name

Output only. The name of the Occurrence in the form "projects/{project_id}/occurrences/{OCCURRENCE_ID}"

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

NoteName

An analysis note associated with this image, in the form "providers/{provider_id}/notes/{NOTE_ID}" This field can be used as a filter in list requests.

Declaration
[JsonProperty("noteName")]
public virtual string NoteName { get; set; }
Property Value
Type Description
System.String

Remediation

A description of actions that can be taken to remedy the Note

Declaration
[JsonProperty("remediation")]
public virtual string Remediation { get; set; }
Property Value
Type Description
System.String

Resource

The resource for which the Occurrence applies.

Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type Description
Resource

ResourceUrl

The unique URL of the image or the container for which the Occurrence applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.

Declaration
[JsonProperty("resourceUrl")]
public virtual string ResourceUrl { get; set; }
Property Value
Type Description
System.String

Sbom

Describes a specific software bill of materials document.

Declaration
[JsonProperty("sbom")]
public virtual DocumentOccurrence Sbom { get; set; }
Property Value
Type Description
DocumentOccurrence

SpdxFile

Describes a specific SPDX File.

Declaration
[JsonProperty("spdxFile")]
public virtual FileOccurrence SpdxFile { get; set; }
Property Value
Type Description
FileOccurrence

SpdxPackage

Describes a specific SPDX Package.

Declaration
[JsonProperty("spdxPackage")]
public virtual PackageInfoOccurrence SpdxPackage { get; set; }
Property Value
Type Description
PackageInfoOccurrence

SpdxRelationship

Describes a specific relationship between SPDX elements.

Declaration
[JsonProperty("spdxRelationship")]
public virtual RelationshipOccurrence SpdxRelationship { get; set; }
Property Value
Type Description
RelationshipOccurrence

UpdateTime

Output only. The time this Occurrence was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Upgrade

Describes an upgrade.

Declaration
[JsonProperty("upgrade")]
public virtual UpgradeOccurrence Upgrade { get; set; }
Property Value
Type Description
UpgradeOccurrence

VulnerabilityDetails

Details of a security vulnerability note.

Declaration
[JsonProperty("vulnerabilityDetails")]
public virtual VulnerabilityDetails VulnerabilityDetails { get; set; }
Property Value
Type Description
VulnerabilityDetails

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top