12 [CollectionName(
"OpenIntelligence")]
14 [Index(
"RemoteEndpoint",
"Timestamp")]
15 [Index(
"Timestamp",
"RemoteEndpoint")]
16 [Index(
"Vector",
"RemoteEndpoint",
"Timestamp")]
17 [Index(
"Protocol",
"RemoteEndpoint",
"Timestamp")]
18 [Index(
"Classification",
"RemoteEndpoint",
"Timestamp")]
19 [Index(
"Code",
"RemoteEndpoint",
"Timestamp")]
20 [ArchivingTime(nameof(ArchiveDays))]
49 public DateTime
Timestamp {
get;
set; } = DateTime.MinValue;
54 public DateTime
Expires {
get;
set; } = DateTime.MinValue;
79 public string Message {
get;
set; } =
string.Empty;
103 if (this.
Expires == DateTime.MaxValue)
106 TimeSpan Span = this.Expires - DateTime.Now;
107 double Days = Math.Ceiling(Span.TotalDays);
111 else if (Days >
int.MaxValue)
Class representing a persisted tag.
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
TypeNameSerialization
How the type name should be serialized.