diff --git a/components/phishing/classification-card.tsx b/components/phishing/classification-card.tsx index a6fc5a5..34b3730 100644 --- a/components/phishing/classification-card.tsx +++ b/components/phishing/classification-card.tsx @@ -12,7 +12,7 @@ import { hasPermission } from '@/lib/permissions'; export interface ClassificationCardData { id: string; - verdict: 'SPAM' | 'UNWANTED' | 'THREAT'; + verdict: 'SPAM' | 'UNWANTED' | 'THREAT' | 'USER_AWARENESS'; confidence: string | null; summary: string | null; reasons: string[]; @@ -31,6 +31,7 @@ const VERDICT_VARIANT_CLASS: Record = SPAM: 'bg-slate-500/15 text-slate-600', UNWANTED: 'bg-amber-500/15 text-amber-600', THREAT: 'bg-destructive/15 text-destructive', + USER_AWARENESS: 'bg-emerald-500/15 text-emerald-600', }; const ACTION_LABEL: Record = { @@ -41,6 +42,7 @@ const ACTION_LABEL: Record = { reset_password: 'Reset password', isolate_endpoint: 'Isolate endpoint', disable_forwarding_rule: 'Disable forwarding rule', + acknowledge_user: 'Acknowledge user', }; function humanizeAction(actionType: string): string {