public sealed class Occurrence : IMessage<Occurrence>, IEquatable<Occurrence>, IDeepCloneable<Occurrence>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class Occurrence.
An instance of an analysis type that has been found on a resource.
Implements
IMessageOccurrence, IEquatableOccurrence, IDeepCloneableOccurrence, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
Occurrence()
public Occurrence()
Occurrence(Occurrence)
public Occurrence(Occurrence other)
Parameter | |
---|---|
Name | Description |
other |
Occurrence |
Properties
Attestation
public AttestationOccurrence Attestation { get; set; }
Describes an attestation of an artifact.
Property Value | |
---|---|
Type | Description |
AttestationOccurrence |
Build
public BuildOccurrence Build { get; set; }
Describes a verifiable build.
Property Value | |
---|---|
Type | Description |
BuildOccurrence |
Compliance
public ComplianceOccurrence Compliance { get; set; }
Describes a compliance violation on a linked resource.
Property Value | |
---|---|
Type | Description |
ComplianceOccurrence |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time this occurrence was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Deployment
public DeploymentOccurrence Deployment { get; set; }
Describes the deployment of an artifact on a runtime.
Property Value | |
---|---|
Type | Description |
DeploymentOccurrence |
DetailsCase
public Occurrence.DetailsOneofCase DetailsCase { get; }
Property Value | |
---|---|
Type | Description |
OccurrenceDetailsOneofCase |
Discovery
public DiscoveryOccurrence Discovery { get; set; }
Describes when a resource was discovered.
Property Value | |
---|---|
Type | Description |
DiscoveryOccurrence |
DsseAttestation
public DSSEAttestationOccurrence DsseAttestation { get; set; }
Describes an attestation of an artifact using dsse.
Property Value | |
---|---|
Type | Description |
DSSEAttestationOccurrence |
Envelope
public Envelope Envelope { get; set; }
Property Value | |
---|---|
Type | Description |
Envelope |
Image
public ImageOccurrence Image { get; set; }
Describes how this resource derives from the basis in the associated note.
Property Value | |
---|---|
Type | Description |
ImageOccurrence |
Kind
public NoteKind Kind { get; set; }
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
Property Value | |
---|---|
Type | Description |
NoteKind |
Name
public string Name { get; set; }
Output only. The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
Property Value | |
---|---|
Type | Description |
string |
NoteName
public string NoteName { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
OccurrenceName
public OccurrenceName OccurrenceName { get; set; }
OccurrenceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
OccurrenceName |
Package
public PackageOccurrence Package { get; set; }
Describes the installation of a package on the linked resource.
Property Value | |
---|---|
Type | Description |
PackageOccurrence |
Remediation
public string Remediation { get; set; }
A description of actions that can be taken to remedy the note.
Property Value | |
---|---|
Type | Description |
string |
ResourceUri
public string ResourceUri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
SbomReference
public SBOMReferenceOccurrence SbomReference { get; set; }
Describes a specific SBOM reference occurrences.
Property Value | |
---|---|
Type | Description |
SBOMReferenceOccurrence |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time this occurrence was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
Upgrade
public UpgradeOccurrence Upgrade { get; set; }
Describes an available package upgrade on the linked resource.
Property Value | |
---|---|
Type | Description |
UpgradeOccurrence |
Vulnerability
public VulnerabilityOccurrence Vulnerability { get; set; }
Describes a security vulnerability.
Property Value | |
---|---|
Type | Description |
VulnerabilityOccurrence |