using System;
using System.Collections.Generic;

namespace StellaOps.Feedser.Source.Vndr.Cisco.Internal;

public sealed record CiscoAdvisoryDto(
    string AdvisoryId,
    string Title,
    string? Summary,
    string? Severity,
    DateTimeOffset? Published,
    DateTimeOffset? Updated,
    string? PublicationUrl,
    string? CsafUrl,
    string? CvrfUrl,
    double? CvssBaseScore,
    IReadOnlyList<string> Cves,
    IReadOnlyList<string> BugIds,
    IReadOnlyList<CiscoAffectedProductDto> Products);

public sealed record CiscoAffectedProductDto(
    string Name,
    string? ProductId,
    string? Version,
    IReadOnlyCollection<string> Statuses);
