Record audit answers
record_audit_contextSaves answers about one audited component to the audit. audit_scope records the customer's choice between continuing the investigation and a public-only audit; availability_expectation records whether unavailable controls are expected. Both must have source human_reported. Earlier topics are kept; a new answer replaces the same topic. A public-only choice allows a partial report without further access requests. Returns the updated audit decision and report link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| answers | Yes | ||
| audit_id | No | audit run ID returned by Tyton; each audit run has its own ID | |
| revision | No | latest run revision; 0 for the first write of a new audit session, then the revision returned by the previous write | |
| audit_key | No | private audit write capability returned by Tyton; a secret that authorizes changes to this audit only | |
| request_id | No | UUID identifying one mutation; a repeated request_id with identical content is treated as a retry |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| source | Yes | ||
| status | Yes | ||
| context | No | ||
| session | No | ||
| decision | No | ||
| findings | Yes | ||
| inventory | No | ||
| reportUrl | No | ||
| capturedAt | Yes | ||
| components | No | ||
| limitations | Yes | ||
| nextActions | Yes | ||
| reportSaved | Yes | ||
| observations | No | ||
| schemaVersion | Yes |