Table of Contents

Class ThreatScanResult

Namespace
Archiver.Core.Models
Assembly
Archiver.Core.dll

Kept out of ArchiveResult/ArchiveError on purpose (see docs/DECISIONS.md's T-F146 entry) — a scan is not an extraction outcome and needs its own three-state result, not a two-state success/failure one.

public sealed record ThreatScanResult : IEquatable<ThreatScanResult>
Inheritance
ThreatScanResult
Implements
Inherited Members

Properties

Findings

Every per-entry (or whole-archive) finding that produced OverallVerdict.

public IReadOnlyList<ThreatFinding> Findings { get; init; }

Property Value

IReadOnlyList<ThreatFinding>

OverallVerdict

ThreatDetected if any finding is ThreatDetected; else Inconclusive if any finding is Inconclusive; else Clean.

public required ThreatVerdict OverallVerdict { get; init; }

Property Value

ThreatVerdict