Class Occurrence
Occurrence
includes information about analysis occurrences for an image.
Implements
Inherited Members
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
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 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 |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Envelope
Declaration
[JsonProperty("envelope")]
public virtual Envelope Envelope { get; set; }
Property Value
Type | Description |
---|---|
Envelope |
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
string |
Sbom
Describes a specific software bill of materials document.
Declaration
[JsonProperty("sbom")]
public virtual DocumentOccurrence Sbom { get; set; }
Property Value
Type | Description |
---|---|
DocumentOccurrence |
SbomReference
This represents an SBOM reference occurrence
Declaration
[JsonProperty("sbomReference")]
public virtual SBOMReferenceOccurrence SbomReference { get; set; }
Property Value
Type | Description |
---|---|
SBOMReferenceOccurrence |
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
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 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 |