is_evidence_fresh
Check if attestation evidence is fresh by specifying its type (rotating, snapshot, static) and production timestamp, with optional TTL, max age, or current time override.
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 |