// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
namespace StellaOps.Audit.Emission;
///
/// Configuration options for audit event emission.
/// Bind from configuration section AuditEmission or set via environment variables.
///
public sealed class AuditEmissionOptions
{
///
/// Base URL of the Timeline service that hosts the audit ingest endpoint.
/// Default: http://timeline.stella-ops.local.
/// Override via AuditEmission:TimelineBaseUrl or STELLAOPS_TIMELINE_URL.
///
public string TimelineBaseUrl { get; set; } = "http://timeline.stella-ops.local";
///
/// Whether audit emission is enabled. Set to false to disable
/// all audit event posting (events are silently dropped).
/// Default: true.
///
public bool Enabled { get; set; } = true;
///
/// HTTP request timeout in seconds for the audit ingest call.
/// Default: 3 seconds. Audit emission should be fast and non-blocking.
///
public int TimeoutSeconds { get; set; } = 3;
}