@greenarmor/ges-core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,660 @@
1
+ import { z } from "zod";
2
+ export declare const ProjectTypeSchema: z.ZodEnum<["saas", "ai-application", "mcp-server", "blockchain", "wallet", "government-system", "healthcare-system", "event-platform", "photo-storage-platform", "vulnerability-scanner", "generic-web-application", "api-backend", "mobile-application"]>;
3
+ export declare const FrameworkNameSchema: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>;
4
+ export declare const DataClassificationSchema: z.ZodEnum<["public", "internal", "confidential", "restricted"]>;
5
+ export declare const ControlStatusSchema: z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>;
6
+ export declare const ReportFormatSchema: z.ZodEnum<["markdown", "html", "pdf"]>;
7
+ export declare const RequirementConfigSchema: z.ZodObject<{
8
+ required: z.ZodBoolean;
9
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
10
+ notes: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ required: boolean;
13
+ level?: "mandatory" | "recommended" | "optional" | undefined;
14
+ notes?: string | undefined;
15
+ }, {
16
+ required: boolean;
17
+ level?: "mandatory" | "recommended" | "optional" | undefined;
18
+ notes?: string | undefined;
19
+ }>;
20
+ export declare const ProjectConfigSchema: z.ZodObject<{
21
+ project_name: z.ZodString;
22
+ project_type: z.ZodEnum<["saas", "ai-application", "mcp-server", "blockchain", "wallet", "government-system", "healthcare-system", "event-platform", "photo-storage-platform", "vulnerability-scanner", "generic-web-application", "api-backend", "mobile-application"]>;
23
+ frameworks: z.ZodArray<z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>, "many">;
24
+ requirements: z.ZodObject<{
25
+ encryption: z.ZodObject<{
26
+ required: z.ZodBoolean;
27
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
28
+ notes: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ required: boolean;
31
+ level?: "mandatory" | "recommended" | "optional" | undefined;
32
+ notes?: string | undefined;
33
+ }, {
34
+ required: boolean;
35
+ level?: "mandatory" | "recommended" | "optional" | undefined;
36
+ notes?: string | undefined;
37
+ }>;
38
+ mfa: z.ZodObject<{
39
+ required: z.ZodBoolean;
40
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
41
+ notes: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ required: boolean;
44
+ level?: "mandatory" | "recommended" | "optional" | undefined;
45
+ notes?: string | undefined;
46
+ }, {
47
+ required: boolean;
48
+ level?: "mandatory" | "recommended" | "optional" | undefined;
49
+ notes?: string | undefined;
50
+ }>;
51
+ audit_logs: z.ZodObject<{
52
+ required: z.ZodBoolean;
53
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
54
+ notes: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ required: boolean;
57
+ level?: "mandatory" | "recommended" | "optional" | undefined;
58
+ notes?: string | undefined;
59
+ }, {
60
+ required: boolean;
61
+ level?: "mandatory" | "recommended" | "optional" | undefined;
62
+ notes?: string | undefined;
63
+ }>;
64
+ backups: z.ZodObject<{
65
+ required: z.ZodBoolean;
66
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
67
+ notes: z.ZodOptional<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ required: boolean;
70
+ level?: "mandatory" | "recommended" | "optional" | undefined;
71
+ notes?: string | undefined;
72
+ }, {
73
+ required: boolean;
74
+ level?: "mandatory" | "recommended" | "optional" | undefined;
75
+ notes?: string | undefined;
76
+ }>;
77
+ retention_policy: z.ZodObject<{
78
+ required: z.ZodBoolean;
79
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
80
+ notes: z.ZodOptional<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ required: boolean;
83
+ level?: "mandatory" | "recommended" | "optional" | undefined;
84
+ notes?: string | undefined;
85
+ }, {
86
+ required: boolean;
87
+ level?: "mandatory" | "recommended" | "optional" | undefined;
88
+ notes?: string | undefined;
89
+ }>;
90
+ vulnerability_scanning: z.ZodObject<{
91
+ required: z.ZodBoolean;
92
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
93
+ notes: z.ZodOptional<z.ZodString>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ required: boolean;
96
+ level?: "mandatory" | "recommended" | "optional" | undefined;
97
+ notes?: string | undefined;
98
+ }, {
99
+ required: boolean;
100
+ level?: "mandatory" | "recommended" | "optional" | undefined;
101
+ notes?: string | undefined;
102
+ }>;
103
+ authentication: z.ZodObject<{
104
+ required: z.ZodBoolean;
105
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
106
+ notes: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ required: boolean;
109
+ level?: "mandatory" | "recommended" | "optional" | undefined;
110
+ notes?: string | undefined;
111
+ }, {
112
+ required: boolean;
113
+ level?: "mandatory" | "recommended" | "optional" | undefined;
114
+ notes?: string | undefined;
115
+ }>;
116
+ authorization: z.ZodObject<{
117
+ required: z.ZodBoolean;
118
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
119
+ notes: z.ZodOptional<z.ZodString>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ required: boolean;
122
+ level?: "mandatory" | "recommended" | "optional" | undefined;
123
+ notes?: string | undefined;
124
+ }, {
125
+ required: boolean;
126
+ level?: "mandatory" | "recommended" | "optional" | undefined;
127
+ notes?: string | undefined;
128
+ }>;
129
+ secrets_management: z.ZodObject<{
130
+ required: z.ZodBoolean;
131
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
132
+ notes: z.ZodOptional<z.ZodString>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ required: boolean;
135
+ level?: "mandatory" | "recommended" | "optional" | undefined;
136
+ notes?: string | undefined;
137
+ }, {
138
+ required: boolean;
139
+ level?: "mandatory" | "recommended" | "optional" | undefined;
140
+ notes?: string | undefined;
141
+ }>;
142
+ logging: z.ZodObject<{
143
+ required: z.ZodBoolean;
144
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
145
+ notes: z.ZodOptional<z.ZodString>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ required: boolean;
148
+ level?: "mandatory" | "recommended" | "optional" | undefined;
149
+ notes?: string | undefined;
150
+ }, {
151
+ required: boolean;
152
+ level?: "mandatory" | "recommended" | "optional" | undefined;
153
+ notes?: string | undefined;
154
+ }>;
155
+ monitoring: z.ZodObject<{
156
+ required: z.ZodBoolean;
157
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
158
+ notes: z.ZodOptional<z.ZodString>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ required: boolean;
161
+ level?: "mandatory" | "recommended" | "optional" | undefined;
162
+ notes?: string | undefined;
163
+ }, {
164
+ required: boolean;
165
+ level?: "mandatory" | "recommended" | "optional" | undefined;
166
+ notes?: string | undefined;
167
+ }>;
168
+ data_classification: z.ZodObject<{
169
+ required: z.ZodBoolean;
170
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
171
+ notes: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ required: boolean;
174
+ level?: "mandatory" | "recommended" | "optional" | undefined;
175
+ notes?: string | undefined;
176
+ }, {
177
+ required: boolean;
178
+ level?: "mandatory" | "recommended" | "optional" | undefined;
179
+ notes?: string | undefined;
180
+ }>;
181
+ disaster_recovery: z.ZodObject<{
182
+ required: z.ZodBoolean;
183
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
184
+ notes: z.ZodOptional<z.ZodString>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ required: boolean;
187
+ level?: "mandatory" | "recommended" | "optional" | undefined;
188
+ notes?: string | undefined;
189
+ }, {
190
+ required: boolean;
191
+ level?: "mandatory" | "recommended" | "optional" | undefined;
192
+ notes?: string | undefined;
193
+ }>;
194
+ incident_response: z.ZodObject<{
195
+ required: z.ZodBoolean;
196
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
197
+ notes: z.ZodOptional<z.ZodString>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ required: boolean;
200
+ level?: "mandatory" | "recommended" | "optional" | undefined;
201
+ notes?: string | undefined;
202
+ }, {
203
+ required: boolean;
204
+ level?: "mandatory" | "recommended" | "optional" | undefined;
205
+ notes?: string | undefined;
206
+ }>;
207
+ privacy_controls: z.ZodObject<{
208
+ required: z.ZodBoolean;
209
+ level: z.ZodOptional<z.ZodEnum<["mandatory", "recommended", "optional"]>>;
210
+ notes: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ required: boolean;
213
+ level?: "mandatory" | "recommended" | "optional" | undefined;
214
+ notes?: string | undefined;
215
+ }, {
216
+ required: boolean;
217
+ level?: "mandatory" | "recommended" | "optional" | undefined;
218
+ notes?: string | undefined;
219
+ }>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ encryption: {
222
+ required: boolean;
223
+ level?: "mandatory" | "recommended" | "optional" | undefined;
224
+ notes?: string | undefined;
225
+ };
226
+ mfa: {
227
+ required: boolean;
228
+ level?: "mandatory" | "recommended" | "optional" | undefined;
229
+ notes?: string | undefined;
230
+ };
231
+ audit_logs: {
232
+ required: boolean;
233
+ level?: "mandatory" | "recommended" | "optional" | undefined;
234
+ notes?: string | undefined;
235
+ };
236
+ backups: {
237
+ required: boolean;
238
+ level?: "mandatory" | "recommended" | "optional" | undefined;
239
+ notes?: string | undefined;
240
+ };
241
+ retention_policy: {
242
+ required: boolean;
243
+ level?: "mandatory" | "recommended" | "optional" | undefined;
244
+ notes?: string | undefined;
245
+ };
246
+ vulnerability_scanning: {
247
+ required: boolean;
248
+ level?: "mandatory" | "recommended" | "optional" | undefined;
249
+ notes?: string | undefined;
250
+ };
251
+ authentication: {
252
+ required: boolean;
253
+ level?: "mandatory" | "recommended" | "optional" | undefined;
254
+ notes?: string | undefined;
255
+ };
256
+ authorization: {
257
+ required: boolean;
258
+ level?: "mandatory" | "recommended" | "optional" | undefined;
259
+ notes?: string | undefined;
260
+ };
261
+ secrets_management: {
262
+ required: boolean;
263
+ level?: "mandatory" | "recommended" | "optional" | undefined;
264
+ notes?: string | undefined;
265
+ };
266
+ logging: {
267
+ required: boolean;
268
+ level?: "mandatory" | "recommended" | "optional" | undefined;
269
+ notes?: string | undefined;
270
+ };
271
+ monitoring: {
272
+ required: boolean;
273
+ level?: "mandatory" | "recommended" | "optional" | undefined;
274
+ notes?: string | undefined;
275
+ };
276
+ data_classification: {
277
+ required: boolean;
278
+ level?: "mandatory" | "recommended" | "optional" | undefined;
279
+ notes?: string | undefined;
280
+ };
281
+ disaster_recovery: {
282
+ required: boolean;
283
+ level?: "mandatory" | "recommended" | "optional" | undefined;
284
+ notes?: string | undefined;
285
+ };
286
+ incident_response: {
287
+ required: boolean;
288
+ level?: "mandatory" | "recommended" | "optional" | undefined;
289
+ notes?: string | undefined;
290
+ };
291
+ privacy_controls: {
292
+ required: boolean;
293
+ level?: "mandatory" | "recommended" | "optional" | undefined;
294
+ notes?: string | undefined;
295
+ };
296
+ }, {
297
+ encryption: {
298
+ required: boolean;
299
+ level?: "mandatory" | "recommended" | "optional" | undefined;
300
+ notes?: string | undefined;
301
+ };
302
+ mfa: {
303
+ required: boolean;
304
+ level?: "mandatory" | "recommended" | "optional" | undefined;
305
+ notes?: string | undefined;
306
+ };
307
+ audit_logs: {
308
+ required: boolean;
309
+ level?: "mandatory" | "recommended" | "optional" | undefined;
310
+ notes?: string | undefined;
311
+ };
312
+ backups: {
313
+ required: boolean;
314
+ level?: "mandatory" | "recommended" | "optional" | undefined;
315
+ notes?: string | undefined;
316
+ };
317
+ retention_policy: {
318
+ required: boolean;
319
+ level?: "mandatory" | "recommended" | "optional" | undefined;
320
+ notes?: string | undefined;
321
+ };
322
+ vulnerability_scanning: {
323
+ required: boolean;
324
+ level?: "mandatory" | "recommended" | "optional" | undefined;
325
+ notes?: string | undefined;
326
+ };
327
+ authentication: {
328
+ required: boolean;
329
+ level?: "mandatory" | "recommended" | "optional" | undefined;
330
+ notes?: string | undefined;
331
+ };
332
+ authorization: {
333
+ required: boolean;
334
+ level?: "mandatory" | "recommended" | "optional" | undefined;
335
+ notes?: string | undefined;
336
+ };
337
+ secrets_management: {
338
+ required: boolean;
339
+ level?: "mandatory" | "recommended" | "optional" | undefined;
340
+ notes?: string | undefined;
341
+ };
342
+ logging: {
343
+ required: boolean;
344
+ level?: "mandatory" | "recommended" | "optional" | undefined;
345
+ notes?: string | undefined;
346
+ };
347
+ monitoring: {
348
+ required: boolean;
349
+ level?: "mandatory" | "recommended" | "optional" | undefined;
350
+ notes?: string | undefined;
351
+ };
352
+ data_classification: {
353
+ required: boolean;
354
+ level?: "mandatory" | "recommended" | "optional" | undefined;
355
+ notes?: string | undefined;
356
+ };
357
+ disaster_recovery: {
358
+ required: boolean;
359
+ level?: "mandatory" | "recommended" | "optional" | undefined;
360
+ notes?: string | undefined;
361
+ };
362
+ incident_response: {
363
+ required: boolean;
364
+ level?: "mandatory" | "recommended" | "optional" | undefined;
365
+ notes?: string | undefined;
366
+ };
367
+ privacy_controls: {
368
+ required: boolean;
369
+ level?: "mandatory" | "recommended" | "optional" | undefined;
370
+ notes?: string | undefined;
371
+ };
372
+ }>;
373
+ created_at: z.ZodString;
374
+ version: z.ZodString;
375
+ }, "strip", z.ZodTypeAny, {
376
+ project_name: string;
377
+ project_type: "saas" | "ai-application" | "mcp-server" | "blockchain" | "wallet" | "government-system" | "healthcare-system" | "event-platform" | "photo-storage-platform" | "vulnerability-scanner" | "generic-web-application" | "api-backend" | "mobile-application";
378
+ frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701")[];
379
+ requirements: {
380
+ encryption: {
381
+ required: boolean;
382
+ level?: "mandatory" | "recommended" | "optional" | undefined;
383
+ notes?: string | undefined;
384
+ };
385
+ mfa: {
386
+ required: boolean;
387
+ level?: "mandatory" | "recommended" | "optional" | undefined;
388
+ notes?: string | undefined;
389
+ };
390
+ audit_logs: {
391
+ required: boolean;
392
+ level?: "mandatory" | "recommended" | "optional" | undefined;
393
+ notes?: string | undefined;
394
+ };
395
+ backups: {
396
+ required: boolean;
397
+ level?: "mandatory" | "recommended" | "optional" | undefined;
398
+ notes?: string | undefined;
399
+ };
400
+ retention_policy: {
401
+ required: boolean;
402
+ level?: "mandatory" | "recommended" | "optional" | undefined;
403
+ notes?: string | undefined;
404
+ };
405
+ vulnerability_scanning: {
406
+ required: boolean;
407
+ level?: "mandatory" | "recommended" | "optional" | undefined;
408
+ notes?: string | undefined;
409
+ };
410
+ authentication: {
411
+ required: boolean;
412
+ level?: "mandatory" | "recommended" | "optional" | undefined;
413
+ notes?: string | undefined;
414
+ };
415
+ authorization: {
416
+ required: boolean;
417
+ level?: "mandatory" | "recommended" | "optional" | undefined;
418
+ notes?: string | undefined;
419
+ };
420
+ secrets_management: {
421
+ required: boolean;
422
+ level?: "mandatory" | "recommended" | "optional" | undefined;
423
+ notes?: string | undefined;
424
+ };
425
+ logging: {
426
+ required: boolean;
427
+ level?: "mandatory" | "recommended" | "optional" | undefined;
428
+ notes?: string | undefined;
429
+ };
430
+ monitoring: {
431
+ required: boolean;
432
+ level?: "mandatory" | "recommended" | "optional" | undefined;
433
+ notes?: string | undefined;
434
+ };
435
+ data_classification: {
436
+ required: boolean;
437
+ level?: "mandatory" | "recommended" | "optional" | undefined;
438
+ notes?: string | undefined;
439
+ };
440
+ disaster_recovery: {
441
+ required: boolean;
442
+ level?: "mandatory" | "recommended" | "optional" | undefined;
443
+ notes?: string | undefined;
444
+ };
445
+ incident_response: {
446
+ required: boolean;
447
+ level?: "mandatory" | "recommended" | "optional" | undefined;
448
+ notes?: string | undefined;
449
+ };
450
+ privacy_controls: {
451
+ required: boolean;
452
+ level?: "mandatory" | "recommended" | "optional" | undefined;
453
+ notes?: string | undefined;
454
+ };
455
+ };
456
+ created_at: string;
457
+ version: string;
458
+ }, {
459
+ project_name: string;
460
+ project_type: "saas" | "ai-application" | "mcp-server" | "blockchain" | "wallet" | "government-system" | "healthcare-system" | "event-platform" | "photo-storage-platform" | "vulnerability-scanner" | "generic-web-application" | "api-backend" | "mobile-application";
461
+ frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701")[];
462
+ requirements: {
463
+ encryption: {
464
+ required: boolean;
465
+ level?: "mandatory" | "recommended" | "optional" | undefined;
466
+ notes?: string | undefined;
467
+ };
468
+ mfa: {
469
+ required: boolean;
470
+ level?: "mandatory" | "recommended" | "optional" | undefined;
471
+ notes?: string | undefined;
472
+ };
473
+ audit_logs: {
474
+ required: boolean;
475
+ level?: "mandatory" | "recommended" | "optional" | undefined;
476
+ notes?: string | undefined;
477
+ };
478
+ backups: {
479
+ required: boolean;
480
+ level?: "mandatory" | "recommended" | "optional" | undefined;
481
+ notes?: string | undefined;
482
+ };
483
+ retention_policy: {
484
+ required: boolean;
485
+ level?: "mandatory" | "recommended" | "optional" | undefined;
486
+ notes?: string | undefined;
487
+ };
488
+ vulnerability_scanning: {
489
+ required: boolean;
490
+ level?: "mandatory" | "recommended" | "optional" | undefined;
491
+ notes?: string | undefined;
492
+ };
493
+ authentication: {
494
+ required: boolean;
495
+ level?: "mandatory" | "recommended" | "optional" | undefined;
496
+ notes?: string | undefined;
497
+ };
498
+ authorization: {
499
+ required: boolean;
500
+ level?: "mandatory" | "recommended" | "optional" | undefined;
501
+ notes?: string | undefined;
502
+ };
503
+ secrets_management: {
504
+ required: boolean;
505
+ level?: "mandatory" | "recommended" | "optional" | undefined;
506
+ notes?: string | undefined;
507
+ };
508
+ logging: {
509
+ required: boolean;
510
+ level?: "mandatory" | "recommended" | "optional" | undefined;
511
+ notes?: string | undefined;
512
+ };
513
+ monitoring: {
514
+ required: boolean;
515
+ level?: "mandatory" | "recommended" | "optional" | undefined;
516
+ notes?: string | undefined;
517
+ };
518
+ data_classification: {
519
+ required: boolean;
520
+ level?: "mandatory" | "recommended" | "optional" | undefined;
521
+ notes?: string | undefined;
522
+ };
523
+ disaster_recovery: {
524
+ required: boolean;
525
+ level?: "mandatory" | "recommended" | "optional" | undefined;
526
+ notes?: string | undefined;
527
+ };
528
+ incident_response: {
529
+ required: boolean;
530
+ level?: "mandatory" | "recommended" | "optional" | undefined;
531
+ notes?: string | undefined;
532
+ };
533
+ privacy_controls: {
534
+ required: boolean;
535
+ level?: "mandatory" | "recommended" | "optional" | undefined;
536
+ notes?: string | undefined;
537
+ };
538
+ };
539
+ created_at: string;
540
+ version: string;
541
+ }>;
542
+ export declare const ControlCheckSchema: z.ZodObject<{
543
+ id: z.ZodString;
544
+ description: z.ZodString;
545
+ status: z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>;
546
+ evidence: z.ZodOptional<z.ZodString>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
549
+ id: string;
550
+ description: string;
551
+ evidence?: string | undefined;
552
+ }, {
553
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
554
+ id: string;
555
+ description: string;
556
+ evidence?: string | undefined;
557
+ }>;
558
+ export declare const ControlSchema: z.ZodObject<{
559
+ id: z.ZodString;
560
+ name: z.ZodString;
561
+ description: z.ZodString;
562
+ category: z.ZodString;
563
+ framework: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>;
564
+ article: z.ZodOptional<z.ZodString>;
565
+ status: z.ZodDefault<z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>>;
566
+ severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
567
+ implementation_guidance: z.ZodString;
568
+ checks: z.ZodArray<z.ZodObject<{
569
+ id: z.ZodString;
570
+ description: z.ZodString;
571
+ status: z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>;
572
+ evidence: z.ZodOptional<z.ZodString>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
575
+ id: string;
576
+ description: string;
577
+ evidence?: string | undefined;
578
+ }, {
579
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
580
+ id: string;
581
+ description: string;
582
+ evidence?: string | undefined;
583
+ }>, "many">;
584
+ }, "strip", z.ZodTypeAny, {
585
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
586
+ id: string;
587
+ description: string;
588
+ name: string;
589
+ category: string;
590
+ framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701";
591
+ severity: "critical" | "high" | "medium" | "low";
592
+ implementation_guidance: string;
593
+ checks: {
594
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
595
+ id: string;
596
+ description: string;
597
+ evidence?: string | undefined;
598
+ }[];
599
+ article?: string | undefined;
600
+ }, {
601
+ id: string;
602
+ description: string;
603
+ name: string;
604
+ category: string;
605
+ framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701";
606
+ severity: "critical" | "high" | "medium" | "low";
607
+ implementation_guidance: string;
608
+ checks: {
609
+ status: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
610
+ id: string;
611
+ description: string;
612
+ evidence?: string | undefined;
613
+ }[];
614
+ status?: "pass" | "fail" | "warning" | "not-applicable" | "not-implemented" | undefined;
615
+ article?: string | undefined;
616
+ }>;
617
+ export declare const AuditEntrySchema: z.ZodObject<{
618
+ userId: z.ZodString;
619
+ action: z.ZodString;
620
+ resource: z.ZodString;
621
+ timestamp: z.ZodString;
622
+ ipAddress: z.ZodString;
623
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ userId: string;
626
+ action: string;
627
+ resource: string;
628
+ timestamp: string;
629
+ ipAddress: string;
630
+ metadata?: Record<string, unknown> | undefined;
631
+ }, {
632
+ userId: string;
633
+ action: string;
634
+ resource: string;
635
+ timestamp: string;
636
+ ipAddress: string;
637
+ metadata?: Record<string, unknown> | undefined;
638
+ }>;
639
+ export declare const ReportOptionsSchema: z.ZodObject<{
640
+ format: z.ZodEnum<["markdown", "html", "pdf"]>;
641
+ title: z.ZodString;
642
+ include_executive_summary: z.ZodBoolean;
643
+ include_risk_assessment: z.ZodBoolean;
644
+ include_compliance: z.ZodBoolean;
645
+ include_security: z.ZodBoolean;
646
+ }, "strip", z.ZodTypeAny, {
647
+ format: "markdown" | "html" | "pdf";
648
+ title: string;
649
+ include_executive_summary: boolean;
650
+ include_risk_assessment: boolean;
651
+ include_compliance: boolean;
652
+ include_security: boolean;
653
+ }, {
654
+ format: "markdown" | "html" | "pdf";
655
+ title: string;
656
+ include_executive_summary: boolean;
657
+ include_risk_assessment: boolean;
658
+ include_compliance: boolean;
659
+ include_security: boolean;
660
+ }>;