Grafeas v1 API - Class DiscoveryOccurrence (3.3.0)

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.

Inheritance

object > DiscoveryOccurrence

Namespace

GrafeasV1

Assembly

Grafeas.V1.dll

Constructors

DiscoveryOccurrence()

public DiscoveryOccurrence()

DiscoveryOccurrence(DiscoveryOccurrence)

public DiscoveryOccurrence(DiscoveryOccurrence other)
Parameter
NameDescription
otherDiscoveryOccurrence

Properties

AnalysisCompleted

public DiscoveryOccurrence.Types.AnalysisCompleted AnalysisCompleted { get; set; }
Property Value
TypeDescription
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
TypeDescription
RepeatedFieldStatus

AnalysisStatus

public DiscoveryOccurrence.Types.AnalysisStatus AnalysisStatus { get; set; }

The status of discovery for the resource.

Property Value
TypeDescription
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
TypeDescription
Status

ArchiveTime

public Timestamp ArchiveTime { get; set; }

The time occurrences related to this discovery occurrence were archived.

Property Value
TypeDescription
Timestamp

ContinuousAnalysis

public DiscoveryOccurrence.Types.ContinuousAnalysis ContinuousAnalysis { get; set; }

Whether the resource is continuously analyzed.

Property Value
TypeDescription
DiscoveryOccurrenceTypesContinuousAnalysis

Cpe

public string Cpe { get; set; }

The CPE of the resource being scanned.

Property Value
TypeDescription
string

LastScanTime

public Timestamp LastScanTime { get; set; }

The last time this resource was scanned.

Property Value
TypeDescription
Timestamp