@agentic-sdlc-kit/contracts 1.2.0 → 1.3.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.
- package/dist/agent/capability.d.ts +12 -1
- package/dist/agent/capability.d.ts.map +1 -1
- package/dist/agent/errors.d.ts +29 -11
- package/dist/agent/errors.d.ts.map +1 -1
- package/dist/agent/events.d.ts +42 -153
- package/dist/agent/events.d.ts.map +1 -1
- package/dist/agent/execution.d.ts +151 -415
- package/dist/agent/execution.d.ts.map +1 -1
- package/dist/agent/policy.d.ts +30 -92
- package/dist/agent/policy.d.ts.map +1 -1
- package/dist/agent/session.d.ts +1 -7
- package/dist/agent/session.d.ts.map +1 -1
- package/dist/agent-tools/index.d.ts +20 -58
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/application/application-context.d.ts +80 -582
- package/dist/application/application-context.d.ts.map +1 -1
- package/dist/application/application-persistence.d.ts +161 -924
- package/dist/application/application-persistence.d.ts.map +1 -1
- package/dist/application/application-state.d.ts +94 -70
- package/dist/application/application-state.d.ts.map +1 -1
- package/dist/architecture/api-contract.d.ts +56 -208
- package/dist/architecture/api-contract.d.ts.map +1 -1
- package/dist/architecture/architecture-approval.d.ts +2 -26
- package/dist/architecture/architecture-approval.d.ts.map +1 -1
- package/dist/architecture/architecture-options.d.ts +30 -82
- package/dist/architecture/architecture-options.d.ts.map +1 -1
- package/dist/architecture/component-map.d.ts +34 -60
- package/dist/architecture/component-map.d.ts.map +1 -1
- package/dist/architecture/data-model.d.ts +91 -205
- package/dist/architecture/data-model.d.ts.map +1 -1
- package/dist/architecture/operational-design.d.ts +48 -115
- package/dist/architecture/operational-design.d.ts.map +1 -1
- package/dist/architecture/security-design.d.ts +40 -90
- package/dist/architecture/security-design.d.ts.map +1 -1
- package/dist/benchmark/bench.d.ts +44 -263
- package/dist/benchmark/bench.d.ts.map +1 -1
- package/dist/common/identifier.d.ts +1 -1
- package/dist/common/identifier.d.ts.map +1 -1
- package/dist/constitution/cli-output.d.ts +58 -618
- package/dist/constitution/cli-output.d.ts.map +1 -1
- package/dist/constitution/result.d.ts +31 -84
- package/dist/constitution/result.d.ts.map +1 -1
- package/dist/constitution/rule.d.ts +97 -408
- package/dist/constitution/rule.d.ts.map +1 -1
- package/dist/context/project-context.d.ts +57 -227
- package/dist/context/project-context.d.ts.map +1 -1
- package/dist/evaluation/benchmark.d.ts +26 -66
- package/dist/evaluation/benchmark.d.ts.map +1 -1
- package/dist/evaluation/metrics.d.ts +15 -120
- package/dist/evaluation/metrics.d.ts.map +1 -1
- package/dist/evolution/experiment.d.ts +29 -51
- package/dist/evolution/experiment.d.ts.map +1 -1
- package/dist/evolution/improvement-hypothesis.d.ts +56 -78
- package/dist/evolution/improvement-hypothesis.d.ts.map +1 -1
- package/dist/execution/execution-profile.d.ts +25 -111
- package/dist/execution/execution-profile.d.ts.map +1 -1
- package/dist/improvement/config.d.ts +3 -17
- package/dist/improvement/config.d.ts.map +1 -1
- package/dist/improvement/config.js +1 -1
- package/dist/improvement/config.js.map +1 -1
- package/dist/improvement/finding.d.ts +24 -71
- package/dist/improvement/finding.d.ts.map +1 -1
- package/dist/improvement/issue.d.ts +10 -39
- package/dist/improvement/issue.d.ts.map +1 -1
- package/dist/improvement/kit-feedback.d.ts +45 -29
- package/dist/improvement/kit-feedback.d.ts.map +1 -1
- package/dist/improvement/review.d.ts +22 -28
- package/dist/improvement/review.d.ts.map +1 -1
- package/dist/installer/install-plan.d.ts +52 -137
- package/dist/installer/install-plan.d.ts.map +1 -1
- package/dist/installer/ownership-manifest.d.ts +7 -62
- package/dist/installer/ownership-manifest.d.ts.map +1 -1
- package/dist/installer/package-manifest.d.ts +25 -40
- package/dist/installer/package-manifest.d.ts.map +1 -1
- package/dist/learning/engineering-lesson.d.ts +19 -65
- package/dist/learning/engineering-lesson.d.ts.map +1 -1
- package/dist/learning/engineering-memory.d.ts +32 -64
- package/dist/learning/engineering-memory.d.ts.map +1 -1
- package/dist/learning/experience-episode.d.ts +33 -141
- package/dist/learning/experience-episode.d.ts.map +1 -1
- package/dist/learning/experience.d.ts +16 -50
- package/dist/learning/experience.d.ts.map +1 -1
- package/dist/learning/hypothesis.d.ts +14 -39
- package/dist/learning/hypothesis.d.ts.map +1 -1
- package/dist/learning/learning-event.d.ts +32 -62
- package/dist/learning/learning-event.d.ts.map +1 -1
- package/dist/learning/memory.d.ts +12 -28
- package/dist/learning/memory.d.ts.map +1 -1
- package/dist/learning/promotion.d.ts +7 -20
- package/dist/learning/promotion.d.ts.map +1 -1
- package/dist/maintenance/bug-fix-workflow.d.ts +49 -30
- package/dist/maintenance/bug-fix-workflow.d.ts.map +1 -1
- package/dist/maintenance/bug-report.d.ts +39 -46
- package/dist/maintenance/bug-report.d.ts.map +1 -1
- package/dist/maintenance/performance-baseline.d.ts +18 -64
- package/dist/maintenance/performance-baseline.d.ts.map +1 -1
- package/dist/maintenance/refactor-contract.d.ts +47 -133
- package/dist/maintenance/refactor-contract.d.ts.map +1 -1
- package/dist/maintenance/refactor-workflow.d.ts +50 -51
- package/dist/maintenance/refactor-workflow.d.ts.map +1 -1
- package/dist/observer/event-schema.d.ts +31 -31
- package/dist/observer/event-schema.d.ts.map +1 -1
- package/dist/observer/journal.d.ts +32 -57
- package/dist/observer/journal.d.ts.map +1 -1
- package/dist/observer/journal.js +1 -1
- package/dist/observer/journal.js.map +1 -1
- package/dist/observer/retention.d.ts +2 -16
- package/dist/observer/retention.d.ts.map +1 -1
- package/dist/observer/run-summary.d.ts +45 -213
- package/dist/observer/run-summary.d.ts.map +1 -1
- package/dist/onboard/onboard-report.d.ts +85 -279
- package/dist/onboard/onboard-report.d.ts.map +1 -1
- package/dist/patterns/pattern.d.ts +28 -74
- package/dist/patterns/pattern.d.ts.map +1 -1
- package/dist/planning/task.d.ts +70 -149
- package/dist/planning/task.d.ts.map +1 -1
- package/dist/policy/policy.d.ts +61 -56
- package/dist/policy/policy.d.ts.map +1 -1
- package/dist/product/mvp-scope.d.ts +8 -18
- package/dist/product/mvp-scope.d.ts.map +1 -1
- package/dist/product/product-brief.d.ts +6 -74
- package/dist/product/product-brief.d.ts.map +1 -1
- package/dist/product/requirements.d.ts +99 -215
- package/dist/product/requirements.d.ts.map +1 -1
- package/dist/product/traceability.d.ts +7 -39
- package/dist/product/traceability.d.ts.map +1 -1
- package/dist/project/project-profile.d.ts +34 -146
- package/dist/project/project-profile.d.ts.map +1 -1
- package/dist/project/repository-scan.d.ts +8 -64
- package/dist/project/repository-scan.d.ts.map +1 -1
- package/dist/routing/capability-registry.d.ts +15 -67
- package/dist/routing/capability-registry.d.ts.map +1 -1
- package/dist/routing/escalation.d.ts +10 -17
- package/dist/routing/escalation.d.ts.map +1 -1
- package/dist/routing/measured-routing.d.ts +18 -28
- package/dist/routing/measured-routing.d.ts.map +1 -1
- package/dist/routing/routing-policy.d.ts +56 -84
- package/dist/routing/routing-policy.d.ts.map +1 -1
- package/dist/routing/routing-request.d.ts +50 -46
- package/dist/routing/routing-request.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.d.ts +66 -36
- package/dist/runtime-guard/action-classification.d.ts.map +1 -1
- package/dist/runtime-guard/action-classification.js +1 -1
- package/dist/runtime-guard/action-classification.js.map +1 -1
- package/dist/runtime-guard/audit-event.d.ts +45 -77
- package/dist/runtime-guard/audit-event.d.ts.map +1 -1
- package/dist/runtime-guard/policy-schema.d.ts +100 -116
- package/dist/runtime-guard/policy-schema.d.ts.map +1 -1
- package/dist/scaffolding/scaffold-contract.d.ts +46 -450
- package/dist/scaffolding/scaffold-contract.d.ts.map +1 -1
- package/dist/scaffolding/template-manifest.d.ts +5 -77
- package/dist/scaffolding/template-manifest.d.ts.map +1 -1
- package/dist/secret-guard/detection-rule.d.ts +25 -19
- package/dist/secret-guard/detection-rule.d.ts.map +1 -1
- package/dist/secret-guard/finding.d.ts +70 -69
- package/dist/secret-guard/finding.d.ts.map +1 -1
- package/dist/secret-guard/redaction-policy.d.ts +7 -17
- package/dist/secret-guard/redaction-policy.d.ts.map +1 -1
- package/dist/secret-guard/scanner-failure.d.ts +17 -45
- package/dist/secret-guard/scanner-failure.d.ts.map +1 -1
- package/dist/specification/specification.d.ts +48 -184
- package/dist/specification/specification.d.ts.map +1 -1
- package/dist/stack-pack/manifest.d.ts +19 -90
- package/dist/stack-pack/manifest.d.ts.map +1 -1
- package/dist/verification/report.d.ts +49 -164
- package/dist/verification/report.d.ts.map +1 -1
- package/dist/verification/strength.d.ts +62 -188
- package/dist/verification/strength.d.ts.map +1 -1
- package/dist/workflow/next-action.d.ts +55 -137
- package/dist/workflow/next-action.d.ts.map +1 -1
- package/dist/workflow/workflow.d.ts +50 -50
- package/dist/workflow/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/improvement/config.ts +1 -1
- package/src/observer/journal.ts +1 -1
- package/src/runtime-guard/action-classification.ts +1 -1
- package/src/zod-defaults.test.ts +28 -0
|
@@ -1,133 +1,66 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const DeploymentTargetSchema: z.ZodEnum<
|
|
3
|
-
|
|
2
|
+
export declare const DeploymentTargetSchema: z.ZodEnum<{
|
|
3
|
+
serverless: "serverless";
|
|
4
|
+
"container-orchestrated": "container-orchestrated";
|
|
5
|
+
"container-single-host": "container-single-host";
|
|
6
|
+
paas: "paas";
|
|
7
|
+
"self-hosted-vm": "self-hosted-vm";
|
|
8
|
+
"static-hosting": "static-hosting";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const ObservabilityChannelSchema: z.ZodEnum<{
|
|
11
|
+
logs: "logs";
|
|
12
|
+
metrics: "metrics";
|
|
13
|
+
traces: "traces";
|
|
14
|
+
events: "events";
|
|
15
|
+
}>;
|
|
4
16
|
export declare const OperationalDesignSchema: z.ZodObject<{
|
|
5
17
|
schemaVersion: z.ZodLiteral<1>;
|
|
6
18
|
briefId: z.ZodString;
|
|
7
19
|
deployment: z.ZodObject<{
|
|
8
|
-
target: z.ZodEnum<
|
|
20
|
+
target: z.ZodEnum<{
|
|
21
|
+
serverless: "serverless";
|
|
22
|
+
"container-orchestrated": "container-orchestrated";
|
|
23
|
+
"container-single-host": "container-single-host";
|
|
24
|
+
paas: "paas";
|
|
25
|
+
"self-hosted-vm": "self-hosted-vm";
|
|
26
|
+
"static-hosting": "static-hosting";
|
|
27
|
+
}>;
|
|
9
28
|
rationale: z.ZodString;
|
|
10
|
-
regions: z.ZodDefault<z.ZodArray<z.ZodString
|
|
11
|
-
},
|
|
12
|
-
rationale: string;
|
|
13
|
-
target: "serverless" | "container-orchestrated" | "container-single-host" | "paas" | "self-hosted-vm" | "static-hosting";
|
|
14
|
-
regions: string[];
|
|
15
|
-
}, {
|
|
16
|
-
rationale: string;
|
|
17
|
-
target: "serverless" | "container-orchestrated" | "container-single-host" | "paas" | "self-hosted-vm" | "static-hosting";
|
|
18
|
-
regions?: string[] | undefined;
|
|
19
|
-
}>;
|
|
29
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
20
31
|
configuration: z.ZodObject<{
|
|
21
|
-
source: z.ZodEnum<
|
|
32
|
+
source: z.ZodEnum<{
|
|
33
|
+
file: "file";
|
|
34
|
+
env: "env";
|
|
35
|
+
"secret-manager": "secret-manager";
|
|
36
|
+
mixed: "mixed";
|
|
37
|
+
}>;
|
|
22
38
|
variables: z.ZodArray<z.ZodObject<{
|
|
23
39
|
name: z.ZodString;
|
|
24
40
|
required: z.ZodBoolean;
|
|
25
41
|
sensitive: z.ZodBoolean;
|
|
26
42
|
description: z.ZodString;
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
required: boolean;
|
|
30
|
-
description: string;
|
|
31
|
-
sensitive: boolean;
|
|
32
|
-
}, {
|
|
33
|
-
name: string;
|
|
34
|
-
required: boolean;
|
|
35
|
-
description: string;
|
|
36
|
-
sensitive: boolean;
|
|
37
|
-
}>, "many">;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
source: "env" | "file" | "secret-manager" | "mixed";
|
|
40
|
-
variables: {
|
|
41
|
-
name: string;
|
|
42
|
-
required: boolean;
|
|
43
|
-
description: string;
|
|
44
|
-
sensitive: boolean;
|
|
45
|
-
}[];
|
|
46
|
-
}, {
|
|
47
|
-
source: "env" | "file" | "secret-manager" | "mixed";
|
|
48
|
-
variables: {
|
|
49
|
-
name: string;
|
|
50
|
-
required: boolean;
|
|
51
|
-
description: string;
|
|
52
|
-
sensitive: boolean;
|
|
53
|
-
}[];
|
|
54
|
-
}>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
55
45
|
observability: z.ZodObject<{
|
|
56
|
-
channels: z.ZodArray<z.ZodEnum<
|
|
57
|
-
|
|
46
|
+
channels: z.ZodArray<z.ZodEnum<{
|
|
47
|
+
logs: "logs";
|
|
48
|
+
metrics: "metrics";
|
|
49
|
+
traces: "traces";
|
|
50
|
+
events: "events";
|
|
51
|
+
}>>;
|
|
52
|
+
sinks: z.ZodArray<z.ZodString>;
|
|
58
53
|
traceSampling: z.ZodOptional<z.ZodString>;
|
|
59
|
-
},
|
|
60
|
-
channels: ("logs" | "metrics" | "traces" | "events")[];
|
|
61
|
-
sinks: string[];
|
|
62
|
-
traceSampling?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
channels: ("logs" | "metrics" | "traces" | "events")[];
|
|
65
|
-
sinks: string[];
|
|
66
|
-
traceSampling?: string | undefined;
|
|
67
|
-
}>;
|
|
54
|
+
}, z.core.$strip>;
|
|
68
55
|
scaling: z.ZodObject<{
|
|
69
|
-
strategy: z.ZodEnum<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}>;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
schemaVersion: 1;
|
|
80
|
-
briefId: string;
|
|
81
|
-
deployment: {
|
|
82
|
-
rationale: string;
|
|
83
|
-
target: "serverless" | "container-orchestrated" | "container-single-host" | "paas" | "self-hosted-vm" | "static-hosting";
|
|
84
|
-
regions: string[];
|
|
85
|
-
};
|
|
86
|
-
configuration: {
|
|
87
|
-
source: "env" | "file" | "secret-manager" | "mixed";
|
|
88
|
-
variables: {
|
|
89
|
-
name: string;
|
|
90
|
-
required: boolean;
|
|
91
|
-
description: string;
|
|
92
|
-
sensitive: boolean;
|
|
93
|
-
}[];
|
|
94
|
-
};
|
|
95
|
-
observability: {
|
|
96
|
-
channels: ("logs" | "metrics" | "traces" | "events")[];
|
|
97
|
-
sinks: string[];
|
|
98
|
-
traceSampling?: string | undefined;
|
|
99
|
-
};
|
|
100
|
-
scaling: {
|
|
101
|
-
strategy: "none" | "horizontal" | "vertical";
|
|
102
|
-
triggers: string[];
|
|
103
|
-
};
|
|
104
|
-
}, {
|
|
105
|
-
schemaVersion: 1;
|
|
106
|
-
briefId: string;
|
|
107
|
-
deployment: {
|
|
108
|
-
rationale: string;
|
|
109
|
-
target: "serverless" | "container-orchestrated" | "container-single-host" | "paas" | "self-hosted-vm" | "static-hosting";
|
|
110
|
-
regions?: string[] | undefined;
|
|
111
|
-
};
|
|
112
|
-
configuration: {
|
|
113
|
-
source: "env" | "file" | "secret-manager" | "mixed";
|
|
114
|
-
variables: {
|
|
115
|
-
name: string;
|
|
116
|
-
required: boolean;
|
|
117
|
-
description: string;
|
|
118
|
-
sensitive: boolean;
|
|
119
|
-
}[];
|
|
120
|
-
};
|
|
121
|
-
observability: {
|
|
122
|
-
channels: ("logs" | "metrics" | "traces" | "events")[];
|
|
123
|
-
sinks: string[];
|
|
124
|
-
traceSampling?: string | undefined;
|
|
125
|
-
};
|
|
126
|
-
scaling: {
|
|
127
|
-
strategy: "none" | "horizontal" | "vertical";
|
|
128
|
-
triggers?: string[] | undefined;
|
|
129
|
-
};
|
|
130
|
-
}>;
|
|
56
|
+
strategy: z.ZodEnum<{
|
|
57
|
+
none: "none";
|
|
58
|
+
horizontal: "horizontal";
|
|
59
|
+
vertical: "vertical";
|
|
60
|
+
}>;
|
|
61
|
+
triggers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
}, z.core.$strip>;
|
|
131
64
|
export type DeploymentTarget = z.infer<typeof DeploymentTargetSchema>;
|
|
132
65
|
export type ObservabilityChannel = z.infer<typeof ObservabilityChannelSchema>;
|
|
133
66
|
export type OperationalDesign = z.infer<typeof OperationalDesignSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operational-design.d.ts","sourceRoot":"","sources":["../../src/architecture/operational-design.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"operational-design.d.ts","sourceRoot":"","sources":["../../src/architecture/operational-design.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;EAOjC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;EAAkD,CAAC;AAE1F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgClC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,107 +1,57 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const AuthMethodSchema: z.ZodEnum<
|
|
2
|
+
export declare const AuthMethodSchema: z.ZodEnum<{
|
|
3
|
+
jwt: "jwt";
|
|
4
|
+
session: "session";
|
|
5
|
+
oauth2: "oauth2";
|
|
6
|
+
"api-key": "api-key";
|
|
7
|
+
"service-account": "service-account";
|
|
8
|
+
none: "none";
|
|
9
|
+
}>;
|
|
3
10
|
export declare const SecurityDesignSchema: z.ZodObject<{
|
|
4
11
|
schemaVersion: z.ZodLiteral<1>;
|
|
5
12
|
briefId: z.ZodString;
|
|
6
13
|
authentication: z.ZodObject<{
|
|
7
|
-
method: z.ZodEnum<
|
|
14
|
+
method: z.ZodEnum<{
|
|
15
|
+
jwt: "jwt";
|
|
16
|
+
session: "session";
|
|
17
|
+
oauth2: "oauth2";
|
|
18
|
+
"api-key": "api-key";
|
|
19
|
+
"service-account": "service-account";
|
|
20
|
+
none: "none";
|
|
21
|
+
}>;
|
|
8
22
|
rationale: z.ZodString;
|
|
9
23
|
credentialStore: z.ZodString;
|
|
10
|
-
},
|
|
11
|
-
rationale: string;
|
|
12
|
-
method: "session" | "jwt" | "oauth2" | "api-key" | "service-account" | "none";
|
|
13
|
-
credentialStore: string;
|
|
14
|
-
}, {
|
|
15
|
-
rationale: string;
|
|
16
|
-
method: "session" | "jwt" | "oauth2" | "api-key" | "service-account" | "none";
|
|
17
|
-
credentialStore: string;
|
|
18
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|
|
19
25
|
authorization: z.ZodObject<{
|
|
20
|
-
model: z.ZodEnum<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
roles: string[];
|
|
30
|
-
protectedResources: string[];
|
|
31
|
-
}>;
|
|
26
|
+
model: z.ZodEnum<{
|
|
27
|
+
none: "none";
|
|
28
|
+
rbac: "rbac";
|
|
29
|
+
abac: "abac";
|
|
30
|
+
acl: "acl";
|
|
31
|
+
}>;
|
|
32
|
+
roles: z.ZodArray<z.ZodString>;
|
|
33
|
+
protectedResources: z.ZodArray<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>;
|
|
32
35
|
threats: z.ZodArray<z.ZodObject<{
|
|
33
36
|
id: z.ZodString;
|
|
34
37
|
threat: z.ZodString;
|
|
35
|
-
severity: z.ZodEnum<
|
|
38
|
+
severity: z.ZodEnum<{
|
|
39
|
+
low: "low";
|
|
40
|
+
medium: "medium";
|
|
41
|
+
high: "high";
|
|
42
|
+
critical: "critical";
|
|
43
|
+
}>;
|
|
36
44
|
mitigation: z.ZodString;
|
|
37
|
-
},
|
|
38
|
-
id: string;
|
|
39
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
40
|
-
threat: string;
|
|
41
|
-
mitigation: string;
|
|
42
|
-
}, {
|
|
43
|
-
id: string;
|
|
44
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
45
|
-
threat: string;
|
|
46
|
-
mitigation: string;
|
|
47
|
-
}>, "many">;
|
|
45
|
+
}, z.core.$strip>>;
|
|
48
46
|
secrets: z.ZodObject<{
|
|
49
|
-
loader: z.ZodEnum<
|
|
47
|
+
loader: z.ZodEnum<{
|
|
48
|
+
file: "file";
|
|
49
|
+
env: "env";
|
|
50
|
+
vault: "vault";
|
|
51
|
+
}>;
|
|
50
52
|
rotationPolicy: z.ZodString;
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
rotationPolicy: string;
|
|
54
|
-
}, {
|
|
55
|
-
loader: "env" | "vault" | "file";
|
|
56
|
-
rotationPolicy: string;
|
|
57
|
-
}>;
|
|
58
|
-
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
schemaVersion: 1;
|
|
60
|
-
briefId: string;
|
|
61
|
-
authentication: {
|
|
62
|
-
rationale: string;
|
|
63
|
-
method: "session" | "jwt" | "oauth2" | "api-key" | "service-account" | "none";
|
|
64
|
-
credentialStore: string;
|
|
65
|
-
};
|
|
66
|
-
authorization: {
|
|
67
|
-
model: "none" | "rbac" | "abac" | "acl";
|
|
68
|
-
roles: string[];
|
|
69
|
-
protectedResources: string[];
|
|
70
|
-
};
|
|
71
|
-
threats: {
|
|
72
|
-
id: string;
|
|
73
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
74
|
-
threat: string;
|
|
75
|
-
mitigation: string;
|
|
76
|
-
}[];
|
|
77
|
-
secrets: {
|
|
78
|
-
loader: "env" | "vault" | "file";
|
|
79
|
-
rotationPolicy: string;
|
|
80
|
-
};
|
|
81
|
-
}, {
|
|
82
|
-
schemaVersion: 1;
|
|
83
|
-
briefId: string;
|
|
84
|
-
authentication: {
|
|
85
|
-
rationale: string;
|
|
86
|
-
method: "session" | "jwt" | "oauth2" | "api-key" | "service-account" | "none";
|
|
87
|
-
credentialStore: string;
|
|
88
|
-
};
|
|
89
|
-
authorization: {
|
|
90
|
-
model: "none" | "rbac" | "abac" | "acl";
|
|
91
|
-
roles: string[];
|
|
92
|
-
protectedResources: string[];
|
|
93
|
-
};
|
|
94
|
-
threats: {
|
|
95
|
-
id: string;
|
|
96
|
-
severity: "low" | "medium" | "high" | "critical";
|
|
97
|
-
threat: string;
|
|
98
|
-
mitigation: string;
|
|
99
|
-
}[];
|
|
100
|
-
secrets: {
|
|
101
|
-
loader: "env" | "vault" | "file";
|
|
102
|
-
rotationPolicy: string;
|
|
103
|
-
};
|
|
104
|
-
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
}, z.core.$strip>;
|
|
105
55
|
export type AuthMethod = z.infer<typeof AuthMethodSchema>;
|
|
106
56
|
export type SecurityDesign = z.infer<typeof SecurityDesignSchema>;
|
|
107
57
|
//# sourceMappingURL=security-design.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security-design.d.ts","sourceRoot":"","sources":["../../src/architecture/security-design.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"security-design.d.ts","sourceRoot":"","sources":["../../src/architecture/security-design.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;EAO3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4B/B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|