import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuditControlAssessment } from "./auditcontrolassessment.js"; import { ControlSource } from "./controlsource.js"; import { CustomField } from "./customfield.js"; import { Section } from "./section.js"; /** * The control's owner. */ export type AuditorControlOwner = { /** * Unique identifier for the person. */ id: string; /** * Name of the person that is shown in product. */ displayName: string; /** * Email address of the person. */ emailAddress: string; }; export type AuditorControl = { /** * The control's unique ID. */ id: string; /** * The control's external ID. */ externalId: string | null; /** * The control's name. */ name: string; /** * The control's description. */ description: string; source: ControlSource; /** * The security domains that the control belongs to. */ domains: Array; /** * The control's owner. */ owner: AuditorControlOwner | null; /** * The control's GDPR role, if the control is a GDPR control. */ role?: string | null | undefined; /** * The control's custom field values, if control custom fields is included in your Vanta instance. */ customFields: Array; /** * When the control was created. Returns null for Vanta library controls. */ creationDate: Date | null; /** * When the control was last modified. Returns null for Vanta library controls. */ modificationDate: Date | null; /** * The report standard framework fulfilled by the control. * * @remarks * Incomplete once a control is in scope for more than one framework. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ framework: string; /** * Current framework sections this control satisfies within the audit * * @remarks * segments in which it is in scope. */ sections: Array
; /** * Audit segments in which this control is in scope. This can differ from * * @remarks * current framework mappings, and the array can be empty. */ inScopeSegmentIds: Array; /** * The auditor's assessments of this control, with one entry for each segment * * @remarks * in `inScopeSegmentIds`, which can be any segment on the audit, `PROGRAM` or * `SYSTEM`. Populated only for IRL audits when assessment access is allowed; * empty otherwise. A segment with no recorded assessment returns * `NOT_ASSESSED`. */ assessments: Array; }; /** @internal */ export declare const AuditorControlOwner$inboundSchema: z.ZodType; export declare function auditorControlOwnerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AuditorControl$inboundSchema: z.ZodType; export declare function auditorControlFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=auditorcontrol.d.ts.map