Spaces:
Sleeping
Sleeping
Action Space
Discrete Actions
| ID | Action | Typical Use | Cost Type |
|---|---|---|---|
| 0 | ALLOW |
pass low-risk traffic | none |
| 1 | BLOCK |
immediate deny for high-confidence malicious sessions | low |
| 2 | INSPECT |
collect additional evidence before terminal decision | medium |
| 3 | SANDBOX |
isolate unknown/high-risk behavior | high |
| 4 | RATE_LIMIT |
mitigate volumetric or burst anomalies | low-medium |
| 5 | QUARANTINE |
isolate source identity while preserving observation | medium |
Costs are computed in reward_engine.py as latency + compute.
Decision Pattern
- If confidence is high and malicious indicators are strong:
BLOCK/QUARANTINE. - If confidence is low but suspicious:
INSPECTthen follow-up action. - If traffic appears benign and reputation is healthy:
ALLOW. - If volumetric anomaly dominates:
RATE_LIMITbefore hard block.
RL Compatibility
action_spaceisDiscrete(6)in single-session mode.- Multi-session mode applies the same discrete action per session ID in the action map.