+
+
+
+
+
+
+
+ {entityType === 'ip' && '🌐'}
+ {entityType === 'ja4' && '🔐'}
+ {entityType === 'asn' && '🏢'}
+ {entityType === 'host' && '🖥️'}
+
+
+
+ {entityType.toUpperCase()}
+
+
+ {entityValue}
+
+
+
+
+ {loading ? (
+
+ Chargement...
+
+ ) : data ? (
+ <>
+ {/* Quick Stats */}
+
+
+
+
+
+ {/* Risk Score */}
+
+
Score de Risque Estimé
+
+
+ {getSeverityLabel(data.anomaly_score)}
+
+
+
+
+
+ {/* User-Agents */}
+ {data.attributes?.user_agents && data.attributes.user_agents.length > 0 && (
+
+
+ 🤖 User-Agents ({data.attributes.user_agents.length})
+
+
+ {data.attributes.user_agents.slice(0, 5).map((ua: any, idx: number) => (
+
+
+ {ua.value}
+
+
+ {ua.count} détections • {ua.percentage.toFixed(1)}%
+
+
+ ))}
+
+
+ )}
+
+ {/* JA4 Fingerprints */}
+ {data.attributes?.ja4 && data.attributes.ja4.length > 0 && (
+
+
+ 🔐 JA4 Fingerprints ({data.attributes.ja4.length})
+
+
+ {data.attributes.ja4.slice(0, 5).map((ja4: any, idx: number) => (
+
navigate(`/investigation/ja4/${encodeURIComponent(ja4.value)}`)}
+ >
+
+ {ja4.value}
+
+
+ {ja4.count}
+
+
+ ))}
+
+
+ )}
+
+ {/* Countries */}
+ {data.attributes?.countries && data.attributes.countries.length > 0 && (
+
+
+ 🌍 Pays ({data.attributes.countries.length})
+
+
+ {data.attributes.countries.slice(0, 5).map((country: any, idx: number) => (
+
+
+ {getCountryFlag(country.value)}
+
+
+
+ {country.value}
+
+
+ {country.percentage.toFixed(1)}%
+
+
+
+ {country.count}
+
+
+ ))}
+
+
+ )}
+
+ {/* Quick Classification */}
+
+
+ ⚡ Classification Rapide
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ ) : (
+
+ Aucune donnée disponible
+
+ )}
+