Interface ISoc2AuditExporter
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Provides audit export operations for SOC 2 compliance data.
public interface ISoc2AuditExporter
Remarks
This sub-interface contains the export operation that goes beyond core compliance
management. Access via GetService(Type) with
typeof(ISoc2AuditExporter).
ISP Split: Extracted from ISoc2ComplianceService to keep the core interface at or below 5 methods per the Microsoft-First Design Standard.
Methods
ExportForAuditorAsync(ExportFormat, DateTimeOffset, DateTimeOffset, CancellationToken)
Exports compliance data for external auditors.
Task<byte[]> ExportForAuditorAsync(ExportFormat format, DateTimeOffset periodStart, DateTimeOffset periodEnd, CancellationToken cancellationToken)
Parameters
formatExportFormatThe export format.
periodStartDateTimeOffsetThe start of the export period.
periodEndDateTimeOffsetThe end of the export period.
cancellationTokenCancellationTokenCancellation token.
Returns
Exceptions
- NotSupportedException
The implementation has no evidence to export. An empty array must not be returned in that case: it is indistinguishable from a successful export of a period with no activity, and the result of this call is handed to an auditor.