22 lines
627 B
C#
22 lines
627 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Http;
|
|
using StellaOps.Policy;
|
|
using StellaOps.Scanner.WebService.Contracts;
|
|
|
|
namespace StellaOps.Scanner.WebService.Services;
|
|
|
|
/// <summary>
|
|
/// Coordinates generation and publication of scanner-related platform events.
|
|
/// </summary>
|
|
public interface IReportEventDispatcher
|
|
{
|
|
Task PublishAsync(
|
|
ReportRequestDto request,
|
|
PolicyPreviewResponse preview,
|
|
ReportDocumentDto document,
|
|
DsseEnvelopeDto? envelope,
|
|
HttpContext httpContext,
|
|
CancellationToken cancellationToken);
|
|
}
|