Class AuditQuery
- Namespace
- JD.AI.Core.Governance.Audit
- Assembly
- JD.AI.Core.dll
Filter criteria for querying audit events.
public sealed class AuditQuery
- Inheritance
-
AuditQuery
- Inherited Members
Properties
Action
Filter by action (exact match, case-insensitive).
public string? Action { get; init; }
Property Value
From
Only return events at or after this timestamp.
public DateTimeOffset? From { get; init; }
Property Value
Limit
Maximum number of events to return (default 50, max 1000).
public int Limit { get; init; }
Property Value
MinSeverity
Filter by minimum severity level.
public AuditSeverity? MinSeverity { get; init; }
Property Value
Offset
Number of events to skip for pagination.
public int Offset { get; init; }
Property Value
Resource
Filter by resource (contains, case-insensitive).
public string? Resource { get; init; }
Property Value
SessionId
Filter by session ID (exact match).
public string? SessionId { get; init; }
Property Value
TenantId
Filter by tenant ID. When set, only events from this tenant are returned.
public string? TenantId { get; init; }
Property Value
Until
Only return events before this timestamp.
public DateTimeOffset? Until { get; init; }
Property Value
UserId
Filter by user ID (exact match).
public string? UserId { get; init; }