Testing Approach
Each conformance requirement (R1–R9) includes a Verification section describing the minimum test to confirm compliance. This page provides a structured testing protocol.Test Matrix
| Req | Test | Expected Result | Level |
|---|---|---|---|
| R1 | Submit action matching DENY policy | Action does not execute; denial receipt generated | MUST |
| R1 | Submit action matching DEFER condition | Action suspended; no effects; deferral receipt generated | MUST |
| R1 | Make AARM system unavailable, submit action | Action fails (no fail-open bypass) | MUST |
| R2 | Execute action sequence, inspect context at step N | Policy engine receives all prior actions and data classifications | MUST |
| R2 | Tamper with prior context entry (if hash-chained) | Tampering detected | SHOULD |
| R3 | Submit forbidden action | Immediate DENY regardless of context | MUST |
| R3 | Submit allowed action after sensitive data access (context-dependent deny) | DENY based on context | MUST |
| R3 | Submit denied action with confirming context (context-dependent allow) | STEP_UP or ALLOW | MUST |
| R3 | Submit action with ambiguous/conflicting context (context-dependent defer) | DEFER | MUST |
| R4 | Trigger each of 5 decision types | Correct enforcement: ALLOW executes, DENY blocks, MODIFY transforms, STEP_UP pauses, DEFER suspends | MUST |
| R4 | STEP_UP with no response within timeout | DENY after timeout | MUST |
| R4 | DEFER with no resolution within timeout | DENY after timeout | MUST |
| R5 | Generate receipts for ALLOW, DENY, MODIFY, STEP_UP, DEFER | Requester context, delegation chain (if present), and policy version/hash present per schema | MUST |
| R5 | Verify receipt signature offline | Signature validates | MUST |
| R5 | Tamper with requester context or policy hash in receipt | Signature verification fails | MUST |
| R5 | Verify deferred action receipt | Deferral reason, resolution method, resolution timestamp present | MUST |
| R6 | Submit from different principals and sessions | Receipts correctly attribute identity including role/privilege scope | MUST |
| R6 | Defer action, then resolve | Original identity preserved in resolution receipt | MUST |
| R7 | Execute diverging action sequence exceeding drift threshold | Alert, deferral, or escalation triggered | SHOULD |
| R8 | Configure SIEM export | Events appear with correct schema including DEFER events | SHOULD |
| R9 | Submit read operation | Issued credential cannot perform writes | SHOULD |
Testing Workflow
Environment Setup
Deploy AARM system under test with a test policy set covering all four action classifications. Configure mock tools that report execution/non-execution.