'use client' import { ISOGapAnalysis } from '@/lib/sdk/gci/types' import { ScoreCircle, LoadingSpinner } from './GCIHelpers' export function ISOTab({ iso }: { iso: ISOGapAnalysis | null }) { if (!iso) return return (

ISO 27001:2022 Gap-Analyse

{iso.covered_full}
Voll abgedeckt
{iso.covered_partial}
Teilweise
{iso.not_covered}
Nicht abgedeckt

Kategorien

{iso.category_summaries.map(cat => (
{cat.category_id}: {cat.category_name} {cat.covered_full}/{cat.total_controls} Controls
))}
{iso.gaps && iso.gaps.length > 0 && (

Offene Gaps ({iso.gaps.length})

{iso.gaps.map(gap => (
{gap.priority}
{gap.control_id}: {gap.control_name}
{gap.recommendation}
))}
)}
) }