Agent Armor API Reference
    Preparing search index...

    Interface DetectorResult

    What a single detector's scan pass returns.

    interface DetectorResult {
        skipped?: { reason: string };
        threats: Threat[];
    }
    Index
    skipped?: { reason: string }

    Set when the detector could not judge this input and returned no threats for that reason (for example the ML classifier skips input its tokenizer cannot read). Lets the scan report "did not run" rather than "found nothing".

    threats: Threat[]

    Threats this detector found in the scanned content.