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
IMessageDiscoveryOccurrence, IEquatableDiscoveryOccurrence, IDeepCloneableDiscoveryOccurrence, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
DiscoveryOccurrence()
public DiscoveryOccurrence()
DiscoveryOccurrence(DiscoveryOccurrence)
public DiscoveryOccurrence(DiscoveryOccurrence other)
Parameter | |
---|---|
Name | Description |
other | DiscoveryOccurrence |
Properties
AnalysisCompleted
public DiscoveryOccurrence.Types.AnalysisCompleted AnalysisCompleted { get; set; }
Property Value | |
---|---|
Type | Description |
DiscoveryOccurrenceTypesAnalysisCompleted |
AnalysisError
public RepeatedField<Status> AnalysisError { get; }
Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
Property Value | |
---|---|
Type | Description |
RepeatedFieldStatus |
AnalysisStatus
public DiscoveryOccurrence.Types.AnalysisStatus AnalysisStatus { get; set; }
The status of discovery for the resource.
Property Value | |
---|---|
Type | Description |
DiscoveryOccurrenceTypesAnalysisStatus |
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.
Property Value | |
---|---|
Type | Description |
Status |
ArchiveTime
public Timestamp ArchiveTime { get; set; }
The time occurrences related to this discovery occurrence were archived.
Property Value | |
---|---|
Type | Description |
Timestamp |
ContinuousAnalysis
public DiscoveryOccurrence.Types.ContinuousAnalysis ContinuousAnalysis { get; set; }
Whether the resource is continuously analyzed.
Property Value | |
---|---|
Type | Description |
DiscoveryOccurrenceTypesContinuousAnalysis |
Cpe
public string Cpe { get; set; }
The CPE of the resource being scanned.
Property Value | |
---|---|
Type | Description |
string |
LastScanTime
public Timestamp LastScanTime { get; set; }
The last time this resource was scanned.
Property Value | |
---|---|
Type | Description |
Timestamp |
SbomStatus
public DiscoveryOccurrence.Types.SBOMStatus SbomStatus { get; set; }
The status of an SBOM generation.
Property Value | |
---|---|
Type | Description |
DiscoveryOccurrenceTypesSBOMStatus |