SboxSuperuser/Api/AdminActivityRow.cs

Data transfer object for one admin audit row. Holds the request ID, actor subject, command key, UTC timestamp and recorded CommandStatus, with init-only properties. Used to pass already-filtered audit evidence to the host.

namespace SboxSuperuser;

/// <summary>Minimal audit evidence already filtered by the host; arguments and private reasons are omitted.</summary>
public sealed class AdminActivityRow
{
	/// <summary>Gets the originating request ID.</summary>
	public Guid RequestId { get; init; }

	/// <summary>Gets the authenticated actor subject.</summary>
	public string Actor { get; init; }

	/// <summary>Gets the command key.</summary>
	public string Command { get; init; }

	/// <summary>Gets the creation time in UTC.</summary>
	public DateTimeOffset CreatedUtc { get; init; }

	/// <summary>Gets the recorded outcome; Unknown is never success.</summary>
	public CommandStatus Outcome { get; init; }
}