public sealed class DiscoveryOccurrence : IMessage<DiscoveryOccurrence>, IEquatable<DiscoveryOccurrence>, IDeepCloneable<DiscoveryOccurrence>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class DiscoveryOccurrence.
Provides information about the analysis status of a discovered resource.
Implements
IMessage DiscoveryOccurrence , IEquatable DiscoveryOccurrence , IDeepCloneable DiscoveryOccurrence , IBufferMessage , IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
DiscoveryOccurrence()
public DiscoveryOccurrence()
DiscoveryOccurrence(DiscoveryOccurrence)
public DiscoveryOccurrence(DiscoveryOccurrence other)
Properties
AnalysisCompleted
public DiscoveryOccurrence.Types.AnalysisCompleted AnalysisCompleted { get; set; }
AnalysisError
public RepeatedField<Status> AnalysisError { get; }
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
AnalysisStatus
public DiscoveryOccurrence.Types.AnalysisStatus AnalysisStatus { get; set; }
The status of discovery for the resource.
AnalysisStatusError
public Status AnalysisStatusError { get; set; }
When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
ArchiveTime
public Timestamp ArchiveTime { get; set; }
The time occurrences related to this discovery occurrence were archived.
ContinuousAnalysis
public DiscoveryOccurrence.Types.ContinuousAnalysis ContinuousAnalysis { get; set; }
Whether the resource is continuously analyzed.
Cpe
public string Cpe { get; set; }
The CPE of the resource being scanned.
LastScanTime
public Timestamp LastScanTime { get; set; }
The last time this resource was scanned.
SbomStatus
public DiscoveryOccurrence.Types.SBOMStatus SbomStatus { get; set; }
The status of an SBOM generation.
VulnerabilityAttestation
public DiscoveryOccurrence.Types.VulnerabilityAttestation VulnerabilityAttestation { get; set; }
The status of an vulnerability attestation generation.