Class Occurrence
An instance of an analysis type that has been found on a resource.
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class Occurrence : IDirectResponseSchema
Properties
Attestation
Describes an attestation of an artifact.
Declaration
[JsonProperty("attestation")]
public virtual Details Attestation { get; set; }
Property Value
Type | Description |
---|---|
Details |
Build
Describes a verifiable build.
Declaration
[JsonProperty("build")]
public virtual GrafeasV1beta1BuildDetails Build { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1BuildDetails |
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 GrafeasV1beta1DeploymentDetails Deployment { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1DeploymentDetails |
DerivedImage
Describes how this resource derives from the basis in the associated note.
Declaration
[JsonProperty("derivedImage")]
public virtual GrafeasV1beta1ImageDetails DerivedImage { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1ImageDetails |
Discovered
Describes when a resource was discovered.
Declaration
[JsonProperty("discovered")]
public virtual GrafeasV1beta1DiscoveryDetails Discovered { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1DiscoveryDetails |
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 GrafeasV1beta1PackageDetails Installation { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1PackageDetails |
Intoto
Describes a specific in-toto link.
Declaration
[JsonProperty("intoto")]
public virtual GrafeasV1beta1IntotoDetails Intoto { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1IntotoDetails |
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 |
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
Required. Immutable. The resource for which the occurrence applies.
Declaration
[JsonProperty("resource")]
public virtual Resource Resource { get; set; }
Property Value
Type | Description |
---|---|
Resource |
Sbom
Describes a specific software bill of materials document.
Declaration
[JsonProperty("sbom")]
public virtual DocumentOccurrence Sbom { get; set; }
Property Value
Type | Description |
---|---|
DocumentOccurrence |
SbomReference
Describes a specific SBOM reference occurrences.
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 SPDX Relationship.
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 |
Vulnerability
Describes a security vulnerability.
Declaration
[JsonProperty("vulnerability")]
public virtual GrafeasV1beta1VulnerabilityDetails Vulnerability { get; set; }
Property Value
Type | Description |
---|---|
GrafeasV1beta1VulnerabilityDetails |