Class AuditQuery
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents query parameters for searching audit events.
public sealed record AuditQuery : IEquatable<AuditQuery>
- Inheritance
-
AuditQuery
- Implements
- Inherited Members
Properties
Action
Gets or sets the action to filter by (exact match).
public string? Action { get; init; }
Property Value
ActorId
Gets or sets the actor ID to filter by.
public string? ActorId { get; init; }
Property Value
ApplicationName
Gets or sets the application name to filter by.
public string? ApplicationName { get; init; }
Property Value
CorrelationId
Gets or sets the correlation ID to filter by.
public string? CorrelationId { get; init; }
Property Value
EndDate
Gets or sets the end of the time range (inclusive).
public DateTimeOffset? EndDate { get; init; }
Property Value
EventTypes
Gets or sets the event types to filter by.
public IReadOnlyList<AuditEventType>? EventTypes { get; init; }
Property Value
IpAddress
Gets or sets the IP address to filter by.
public string? IpAddress { get; init; }
Property Value
MaxResults
Gets or sets the maximum number of results to return. Default is 100.
public int MaxResults { get; init; }
Property Value
MinimumClassification
Gets or sets the minimum classification level to filter by.
public DataClassification? MinimumClassification { get; init; }
Property Value
OrderByDescending
Gets or sets a value indicating whether to sort by timestamp descending. Default is true (newest first).
public bool OrderByDescending { get; init; }
Property Value
Outcomes
Gets or sets the outcomes to filter by.
public IReadOnlyList<AuditOutcome>? Outcomes { get; init; }
Property Value
ResourceId
Gets or sets the resource ID to filter by.
public string? ResourceId { get; init; }
Property Value
ResourceType
Gets or sets the resource type to filter by.
public string? ResourceType { get; init; }
Property Value
Skip
Gets or sets the number of results to skip for pagination.
public int Skip { get; init; }
Property Value
StartDate
Gets or sets the start of the time range (inclusive).
public DateTimeOffset? StartDate { get; init; }