{
  "version": 1,
  "id": "tcinfra-reference-020",
  "title": "AWS Secret Rotation: Measure Last Successful Rotation and Consumer Recovery",
  "maxAgeHours": 24,
  "objective": "A configured rotation interval does not prove that applications adopted the new secret. Track successful rotation, staging labels and consumer reconnection while retaining a bounded rollback procedure.",
  "boundary": "KMS key rotation and Secrets Manager value rotation are different operations with different supported mechanisms.",
  "reference": "https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html",
  "checks": [
    {
      "field": "rotationEnabled",
      "equals": true,
      "interpretation": "Record the reviewed evidence for rotation enabled."
    },
    {
      "field": "lastRotationFresh",
      "equals": true,
      "interpretation": "Record the reviewed evidence for last rotation fresh."
    },
    {
      "field": "consumerRetestPassed",
      "equals": true,
      "interpretation": "Record the reviewed evidence for consumer retest passed."
    }
  ]
}
