Skip to content

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.svg
new file mode 100644
index 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 file
diff --git a/flowsint-app/src/stores/node-display-settings.ts b/flowsint-app/src/stores/node-display-settings.ts
index 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 pastel
ip: '#5AA1C8', // orange chaud
+ port: '#4CB5DA', // cyan clair
social_account: '#A76DAA', // mauve
organization: '#BCA18A', // taupe clair
vehicle: '#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, // Medium
email: 14, // Medium
ip: 16, // Medium-large
+ port: 14, // Medium
social_account: 14, // Medium
organization: 28, // Very large - important entities
vehicle: 12, // Small-medium