import * as z from "zod/v3"; import { AuditControlAssessmentState } from "./auditcontrolassessmentstate.js"; /** * Input for upserting a control's auditor assessment within an audit. Overwrites * * @remarks * the assessment for this control in the chosen audit segment. */ export type UpsertAuditControlAssessmentInput = { /** * The segment to assess: any segment on the audit, `PROGRAM` or `SYSTEM`. * * @remarks * May be omitted only when the audit has exactly one segment; required * otherwise. */ segmentId?: string | undefined; /** * An auditor's assessment of a control within an audit. This is the full flat * * @remarks * union of every framework's assessment states (the superset); the selected * segment's framework determines which subset applies. `NOT_ASSESSED` is shared * by all frameworks and is the default for a control that has not yet been assessed. * * Which states apply to which framework: * - Most frameworks (e.g. SOC 2): `IN_PLACE`, `NOT_IN_PLACE`, `PARTIAL`, `NOT_ASSESSED` * - ISO 27001: `CONFORMING`, `MINOR_NON_CONFORMITY`, `MAJOR_NON_CONFORMITY`, `NOT_ASSESSED` * - FedRAMP: `SATISFIED`, `NOT_SATISFIED`, `OTHER_THAN_SATISFIED`, `NOT_ASSESSED` * - FedRAMP Key Security Indicators (KSI): `TRUE`, `FALSE`, `PARTIAL`, `NOT_ASSESSED` * * Distinct from `ControlStatus`, which is the computed tests/documents-passing * status — a different concept. */ assessmentState: AuditControlAssessmentState; /** * Free-text reasoning for the assessment. Required, and at most 5000 characters. */ justification: string; /** * Email of the auditor performing the assessment. Must match an existing Vanta * * @remarks * user who belongs to the audit firm making the API request. */ auditorEmail: string; }; /** @internal */ export type UpsertAuditControlAssessmentInput$Outbound = { segmentId?: string | undefined; assessmentState: string; justification: string; auditorEmail: string; }; /** @internal */ export declare const UpsertAuditControlAssessmentInput$outboundSchema: z.ZodType; export declare function upsertAuditControlAssessmentInputToJSON(upsertAuditControlAssessmentInput: UpsertAuditControlAssessmentInput): string; //# sourceMappingURL=upsertauditcontrolassessmentinput.d.ts.map