import {SecuritySummaryReportResultType} from "@/types/security-summary";
import {Card, CardContent, CardHeader, CardTitle} from "@/Components/ui/card";
import {Database} from "lucide-react";
import React from "react";

export default function LeaksEnumerationCard({ reportData }: { reportData: SecuritySummaryReportResultType }) {
    return (
        <Card>
            <CardHeader>
                <CardTitle className="flex items-center gap-2">
                    <Database className="w-5 h-5"/>
                    Enumeration
                </CardTitle>
            </CardHeader>
            <CardContent>
                <div
                    className="text-3xl font-bold">{reportData.n_dataleak.enumeration}</div>
            </CardContent>
        </Card>
    )
}
