Files
register-referentie/services/domain/Big.Infrastructure/ClamdDocumentScanner.cs
T
notandClaude Opus 5.5 64dd5420d7 test(domain): clamd INSTREAM adapter maps replies to scan verdicts (refs #192)
Red: the stub adapter never connects and always answers Clean.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 09:53:23 +02:00

11 lines
372 B
C#

using Big.Application;
namespace Big.Infrastructure;
/// <summary>Scans a document with clamd over its INSTREAM protocol (S-29, ADR-0036).</summary>
public sealed class ClamdDocumentScanner(ClamAvOptions options) : IDocumentScanner
{
public Task<ScanVerdict> ScanAsync(byte[] content, CancellationToken ct = default)
=> Task.FromResult(ScanVerdict.Clean);
}