{
 "product": "Trust State Engine",
 "slug": "trust-state-engine",
 "base": "https://cainstudio.online",
 "page": "https://cainstudio.online/guide-trust-state-engine.html",
 "claims": [
  {
   "id": "C01",
   "kind": "attack",
   "claim": "After one violation, trust is 'degraded' -> Evidence, not opinion, lowered it.",
   "requests": [
    {
     "method": "POST",
     "url": "/catalog-demo/trust-state-engine/run",
     "body": {}
    }
   ],
   "path": "steps.0.reply.trust_state",
   "expect": [
    "degraded"
   ]
  },
  {
   "id": "C02",
   "kind": "attack",
   "claim": "A high-risk action is then denied -> High risk plus degraded trust: deny.",
   "requests": [
    {
     "method": "POST",
     "url": "/catalog-demo/trust-state-engine/run",
     "body": {}
    }
   ],
   "path": "steps.1.reply.authorization_decision",
   "expect": [
    "deny"
   ]
  },
  {
   "id": "C03",
   "kind": "control",
   "claim": "The explanation names the violation -> Anyone can see why.",
   "requests": [
    {
     "method": "POST",
     "url": "/catalog-demo/trust-state-engine/run",
     "body": {}
    }
   ],
   "path": "steps.2.reply.why_trust_changed",
   "expect": [
    "Trust degraded due to: 1 policy violation(s) detected"
   ]
  }
 ]
}