ThreatSeverity
Overview
Section titled “Overview”Oracle — anticipatory pattern detection engine.
Absorbs: sigil.
Combines trigger-rule-based pattern scanning with severity-prioritized threat tracking. The unified scan() method runs both trigger evaluation AND threat assessment in a single pass.
- Version:
0.1.0 - Class:
ThreatSeverity - Module name:
oracle
Tier 4 module.
TriggerRule
Section titled “TriggerRule”| Field | Type | Default |
|---|---|---|
name | str | — |
keywords | list[str] | — |
threshold | float | — |
description | str | — |
weight | float | 1.0 |
Threat
Section titled “Threat”| Field | Type | Default |
|---|---|---|
id | str | — |
category | str | — |
description | str | — |
severity | ThreatSeverity | — |
source | str | — |
timestamp | str | — |
acknowledged | bool | False |
ScanResult
Section titled “ScanResult”| Field | Type | Default |
|---|---|---|
fired_triggers | list[dict[str, Any]] | — |
active_threats | list[Threat] | — |
threat_count | int | — |
trigger_count | int | — |
summary | str | — |