A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.
feat(app): add new port type to app
dextmorgnb88028a3d3a8
diff --git a/flowsint-app/public/icons/port.svg b/flowsint-app/public/icons/port.svgnew file mode 100644index 00000000..07a6a09d--- /dev/null+++ b/flowsint-app/public/icons/port.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-flag-triangle-right-icon lucide-flag-triangle-right"><path d="M6 22V2.8a.8.8 0 0 1 1.17-.71l11.38 5.69a.8.8 0 0 1 0 1.44L6 15.5"/></svg>\ No newline at end of filediff --git a/flowsint-app/src/stores/node-display-settings.ts b/flowsint-app/src/stores/node-display-settings.tsindex 46dd5b73..509a4529 100644--- a/flowsint-app/src/stores/node-display-settings.ts+++ b/flowsint-app/src/stores/node-display-settings.ts@@ -7,6 +7,7 @@ export type ItemType =| 'location'| 'email'| 'ip'+ | 'port'| 'social_account'| 'organization'| 'vehicle'@@ -63,6 +64,7 @@ export const ITEM_TYPES: ItemType[] = ['location','email','ip',+ 'port','social_account','organization','vehicle',@@ -119,6 +121,7 @@ const DEFAULT_COLORS: Record<ItemType, string> = {location: '#E57373', // rouge roséemail: '#8E7CC3', // violet pastelip: '#5AA1C8', // orange chaud+ port: '#4CB5DA', // cyan clairsocial_account: '#A76DAA', // mauveorganization: '#BCA18A', // taupe clairvehicle: '#E1B84D', // jaune doux@@ -176,6 +179,7 @@ const DEFAULT_ICONS: Record<ItemType, string> = {location: '🏠',email: '✉️',ip: '🌐',+ port: '🔌',social_account: '📱',organization: '🏢',vehicle: '🚗',@@ -232,6 +236,7 @@ const DEFAULT_SIZES: Record<ItemType, number> = {location: 14, // Mediumemail: 14, // Mediumip: 16, // Medium-large+ port: 14, // Mediumsocial_account: 14, // Mediumorganization: 28, // Very large - important entitiesvehicle: 12, // Small-medium