{
  "version": 1,
  "id": "tcinfra-reference-004",
  "title": "AWS Just-in-Time Privileged Access: Session Expiry and Revocation Tests",
  "maxAgeHours": 24,
  "objective": "A time-limited approval can leave a long-lived session behind. Measure the interval between approval expiry, entitlement removal and effective loss of the privileged operation.",
  "boundary": "Removing an assignment is not proof that every already-issued session was revoked.",
  "reference": "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_disable-perms.html",
  "checks": [
    {
      "field": "approvalExpires",
      "equals": true,
      "interpretation": "Record the reviewed evidence for approval expires."
    },
    {
      "field": "sessionBounded",
      "equals": true,
      "interpretation": "Record the reviewed evidence for session bounded."
    },
    {
      "field": "revocationVerified",
      "equals": true,
      "interpretation": "Record the reviewed evidence for revocation verified."
    }
  ]
}
