Table of Contents

Class ThreatFinding

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

One entry-level (or whole-archive-level, when EntryPath is null) scan outcome.

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

Properties

ArchivePath

The archive this finding came from.

public required string ArchivePath { get; init; }

Property Value

string

EntryPath

Null when the finding applies to the whole archive (e.g. an unsupported format, or "no AMSI provider registered") rather than one specific entry inside it.

public string? EntryPath { get; init; }

Property Value

string

Reason

Set for Inconclusive (why Pakko couldn't determine an answer) and for ThreatDetected when no specific ThreatName was available. Never set for Clean.

public string? Reason { get; init; }

Property Value

string

ReasonText

The reason as a code a frontend renders in the user's language (T-F209).

public CoreText? ReasonText { get; init; }

Property Value

CoreText

ThreatName

Set only when Verdict is ThreatDetected and the provider returned a name.

public string? ThreatName { get; init; }

Property Value

string

Verdict

public required ThreatVerdict Verdict { get; init; }

Property Value

ThreatVerdict