is_evidence_fresh
Validate attestation evidence freshness by type: rotating uses TTL, snapshot uses max age, and static is always fresh.
Instructions
Check whether typed attestation evidence is still fresh. rotating: ttl required; snapshot: maxAge optional; static: always fresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ISO 8601 override for current time | |
| ttl | No | Seconds (required for rotating) | |
| type | Yes | ||
| max_age | No | Seconds (optional for snapshot) | |
| valid_at | Yes | ISO 8601 timestamp evidence was produced |