@company-semantics/contracts 0.83.0 → 0.84.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/package.json
CHANGED
|
@@ -98,6 +98,7 @@ export interface ExecutionEventMetadataMap {
|
|
|
98
98
|
|
|
99
99
|
// Compile-time exhaustiveness check: this line errors if
|
|
100
100
|
// ExecutionEventMetadataMap keys don't match ExecutionEventType
|
|
101
|
-
|
|
101
|
+
// Exported to avoid noUnusedLocals errors in consumer repos
|
|
102
|
+
export type _ExhaustivenessCheck = {
|
|
102
103
|
[K in ExecutionEventType]: ExecutionEventMetadataMap[K];
|
|
103
104
|
};
|
package/src/guards/types.ts
CHANGED
|
@@ -170,8 +170,9 @@ export interface VulnerabilityConfig {
|
|
|
170
170
|
* - LM: Logging & Monitoring
|
|
171
171
|
* - SD: Secure SDLC
|
|
172
172
|
* - BR: Backup & Recovery
|
|
173
|
+
* - AI: Audit Integrity
|
|
173
174
|
*/
|
|
174
|
-
export type Soc2ControlArea = 'CM' | 'AC' | 'LM' | 'SD' | 'BR';
|
|
175
|
+
export type Soc2ControlArea = 'CM' | 'AC' | 'LM' | 'SD' | 'BR' | 'AI';
|
|
175
176
|
|
|
176
177
|
/**
|
|
177
178
|
* Control status semantics:
|
|
@@ -196,6 +197,7 @@ export const SOC2_CONTROL_NAMES: Record<Soc2ControlArea, string> = {
|
|
|
196
197
|
LM: 'Logging & Monitoring',
|
|
197
198
|
SD: 'Secure SDLC',
|
|
198
199
|
BR: 'Backup & Recovery',
|
|
200
|
+
AI: 'Audit Integrity',
|
|
199
201
|
} as const;
|
|
200
202
|
|
|
201
203
|
/**
|
|
@@ -208,6 +210,7 @@ export const REQUIRED_SOC2_CONTROLS: readonly Soc2ControlArea[] = [
|
|
|
208
210
|
'LM',
|
|
209
211
|
'SD',
|
|
210
212
|
'BR',
|
|
213
|
+
'AI',
|
|
211
214
|
] as const;
|
|
212
215
|
|
|
213
216
|
/**
|