Table of Contents

Class AuditSearchRequest

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Request object for searching audit events.

public sealed class AuditSearchRequest
Inheritance
AuditSearchRequest
Inherited Members

Properties

EndTime

Gets the end time for the search.

public DateTimeOffset? EndTime { get; init; }

Property Value

DateTimeOffset?

The end time for the search.

EventType

Gets the event type filter.

public string? EventType { get; init; }

Property Value

string

The event type filter.

IncludeDetails

Gets a value indicating whether to include event details in the results.

public bool IncludeDetails { get; init; }

Property Value

bool

A value indicating whether to include event details in the results.

MaxResults

Gets the maximum number of results to return.

public int MaxResults { get; init; }

Property Value

int

The maximum number of results to return.

SearchQuery

Gets the free-text search query.

public string? SearchQuery { get; init; }

Property Value

string

The free-text search query.

Severity

Gets the severity level filter.

public SecurityEventSeverity? Severity { get; init; }

Property Value

SecurityEventSeverity?

The severity level filter.

Skip

Gets the number of results to skip.

public int Skip { get; init; }

Property Value

int

The number of results to skip.

SortDescending

Gets a value indicating whether to sort results in descending order.

public bool SortDescending { get; init; }

Property Value

bool

A value indicating whether to sort results in descending order.

Source

Gets the event source filter.

public string? Source { get; init; }

Property Value

string

The event source filter.

SourceIpAddress

Gets the source IP address filter.

public string? SourceIpAddress { get; init; }

Property Value

string

The source IP address filter.

StartTime

Gets the start time for the search.

public DateTimeOffset? StartTime { get; init; }

Property Value

DateTimeOffset?

The start time for the search.

UserId

Gets the user ID filter.

public string? UserId { get; init; }

Property Value

string

The user ID filter.