Show / Hide Table of Contents

Class Occurrence

An instance of an analysis type that has been found on a resource.

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

Properties

Attestation

Describes an attestation of an artifact.

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

Build

Describes a verifiable build.

Declaration
[JsonProperty("build")]
public virtual BuildOccurrence Build { get; set; }
Property Value
Type Description
BuildOccurrence

Compliance

Describes a compliance violation on a linked resource.

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

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time this occurrence was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Deployment

Describes the deployment of an artifact on a runtime.

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

Discovery

Describes when a resource was discovered.

Declaration
[JsonProperty("discovery")]
public virtual DiscoveryOccurrence Discovery { get; set; }
Property Value
Type Description
DiscoveryOccurrence

DsseAttestation

Describes an attestation of an artifact using dsse.

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

ETag

The ETag of the item.

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

Envelope

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

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

Image

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

Declaration
[JsonProperty("image")]
public virtual ImageOccurrence Image { get; set; }
Property Value
Type Description
ImageOccurrence

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
string

Name

Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

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

NoteName

Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[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
string

Package

Describes the installation of a package on the linked resource.

Declaration
[JsonProperty("package")]
public virtual PackageOccurrence Package { get; set; }
Property Value
Type Description
PackageOccurrence

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
string

ResourceUri

Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, https://gcr.io/project/image@sha256:123abc for a Docker image.

Declaration
[JsonProperty("resourceUri")]
public virtual string ResourceUri { get; set; }
Property Value
Type Description
string

SbomReference

Describes a specific SBOM reference occurrences.

Declaration
[JsonProperty("sbomReference")]
public virtual SBOMReferenceOccurrence SbomReference { get; set; }
Property Value
Type Description
SBOMReferenceOccurrence

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The time this occurrence was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Upgrade

Describes an available package upgrade on the linked resource.

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

Vulnerability

Describes a security vulnerability.

Declaration
[JsonProperty("vulnerability")]
public virtual VulnerabilityOccurrence Vulnerability { get; set; }
Property Value
Type Description
VulnerabilityOccurrence

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX