@governed/frameworks
Version:
OWASP, NIST, ISO, MITRE AI threat coverage scores with evaluation methodology
87 lines (86 loc) • 2.49 kB
TypeScript
export interface Framework {
id: string;
name: string;
organization: string;
url: string;
dataSource?: string;
aiCoverageScore: number;
status: 'active' | 'applicable' | 'no-guidance';
gaps: string[];
lastFrameworkUpdate: string;
}
export type DetailedEvaluationKey = 'owasp-agentic-threats-v1' | 'nist-ai-rmf-v1' | 'iso-27090-draft' | 'iso-42001-2023' | 'mitre-atlas-v4' | 'cis-controls-v8' | 'mitre-attack-v15';
export interface DetailedEvaluation {
frameworkName: string;
evaluationDate: Date;
evaluatedBy: string;
scores: {
threatIdentification: number;
practicalGuidance: number;
evidenceQuality: number;
completeness: number;
total: number;
};
breakdown: {
[key: string]: boolean | 'unknown';
};
strengths: string[];
weaknesses: string[];
verdict: string;
}
export declare const frameworkCoverageKnowledge: {
id: string;
name: string;
evaluation: {
date: Date;
by: string;
validDays: number;
methodology: string;
};
methodologyComparison: {
criteria: {
category: string;
name: string;
points: number;
section: string;
}[];
frameworks: {
owasp: DetailedEvaluationKey;
nist: DetailedEvaluationKey;
iso27090: DetailedEvaluationKey;
iso42001: DetailedEvaluationKey;
atlas: DetailedEvaluationKey;
attack: DetailedEvaluationKey;
cis: DetailedEvaluationKey;
};
};
updateInstructions: string;
timeline: {
date: Date;
framework: string;
change: string;
confidence: string;
}[];
metadata: {
description: string;
details: string[];
category: string;
tags: string[];
};
frameworks: Framework[];
insights: string[];
recommendations: string[];
sources: {
name: string;
url: string;
date: Date;
}[];
detailedEvaluations: Record<DetailedEvaluationKey, DetailedEvaluation>;
};
export declare function isStale(knowledge: typeof frameworkCoverageKnowledge): boolean;
export declare function getConfidenceStatus(knowledge: typeof frameworkCoverageKnowledge): {
confidence: number;
status: string;
daysUntilStale: number;
};
export declare function getLatestChange(knowledge: typeof frameworkCoverageKnowledge): string;