Sprint 4 — Sidebar restructure (S4-T01+T02):
5 groups: Release Control, Security, Operations, Audit & Evidence, Setup & Admin
Groups 4+5 collapsed by default for new users
Operations extracted from Release Control into own group
Audit extracted from Security into own group
groupOrder and resolveMenuGroupLabel updated
Approvals badge moved to section-level
Sprint 2 — Demo data badges (S2-T04+T05):
Backend: isDemo=true on all compatibility/seed responses in
PackAdapterEndpoints, QuotaCompatibilityEndpoints, VulnerabilitiesController
Frontend: "(Demo)" badges on Usage & Limits page quotas
Frontend: "(Demo)" badges on triage artifact list when seed data
New PlatformItemResponse/PlatformListResponse with IsDemo field
Sprint 6 — Audit emission infrastructure (S6-T01+T02):
New shared library: src/__Libraries/StellaOps.Audit.Emission/
- AuditActionAttribute: [AuditAction("module", "action")] endpoint tag
- AuditActionFilter: IEndpointFilter that auto-emits UnifiedAuditEvent
- HttpAuditEventEmitter: POSTs to Timeline /api/v1/audit/ingest
- Single-line DI: services.AddAuditEmission(configuration)
Timeline service: POST /api/v1/audit/ingest ingestion endpoint
- IngestAuditEventStore: 10k-event ring buffer
- CompositeUnifiedAuditEventProvider: merges HTTP-polled + ingested
Documentation: docs/modules/audit/AUDIT_EMISSION_GUIDE.md
Angular build: 0 errors. .NET builds: 0 errors.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
|
|
|
namespace StellaOps.Audit.Emission;
|
|
|
|
/// <summary>
|
|
/// Configuration options for audit event emission.
|
|
/// Bind from configuration section <c>AuditEmission</c> or set via environment variables.
|
|
/// </summary>
|
|
public sealed class AuditEmissionOptions
|
|
{
|
|
/// <summary>
|
|
/// Base URL of the Timeline service that hosts the audit ingest endpoint.
|
|
/// Default: <c>http://timeline.stella-ops.local</c>.
|
|
/// Override via <c>AuditEmission:TimelineBaseUrl</c> or <c>STELLAOPS_TIMELINE_URL</c>.
|
|
/// </summary>
|
|
public string TimelineBaseUrl { get; set; } = "http://timeline.stella-ops.local";
|
|
|
|
/// <summary>
|
|
/// Whether audit emission is enabled. Set to <c>false</c> to disable
|
|
/// all audit event posting (events are silently dropped).
|
|
/// Default: <c>true</c>.
|
|
/// </summary>
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// HTTP request timeout in seconds for the audit ingest call.
|
|
/// Default: 3 seconds. Audit emission should be fast and non-blocking.
|
|
/// </summary>
|
|
public int TimeoutSeconds { get; set; } = 3;
|
|
}
|