Skip to content

Commit

Permalink
Merge pull request #574 from intuitem/hotfix/audit-schema
Browse files Browse the repository at this point in the history
Fix RequirementAssessmentSchema evidences and applied_controls fields
  • Loading branch information
Mohamed-Hacene authored Jun 24, 2024
2 parents 6b2e10a + f6c9338 commit 844447a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/utils/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ export const RequirementAssessmentSchema = z.object({
comment: z.string().optional().nullable(),
folder: z.string(),
requirement: z.string(),
evidences: z.string().uuid().optional().array(),
evidences: z.array(z.string().uuid().optional()).optional(),
compliance_assessment: z.string(),
applied_controls: z.string().uuid().optional().array(),
applied_controls: z.array(z.string().uuid().optional()).optional(),
observation: z.string().optional().nullable()
});

Expand Down

0 comments on commit 844447a

Please sign in to comment.