Skip to content
Snippets Groups Projects
Commit e78e294e authored by Milan Čermák's avatar Milan Čermák
Browse files

Added new types definition

parent 24998953
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@ export const NodeTypeValues = [
'Connection',
'Misp', 'Ioc',
// Host data
'File', 'Hostname', 'User_Agent', 'X509',
'File', 'Hostname', 'Software', 'User_Agent', 'X509',
// Application
'Dns', 'Files', 'Ftp', 'Http', 'Kerberos', 'Notice', 'Sip', 'Smtp', 'Ssl', 'Ssh', 'Smb_Mapping', 'Smb_Files'
'Dns', 'Files', 'Ftp', 'Http', 'Kerberos', 'Ntp', 'Notice', 'Rdp', 'Sip', 'Smtp', 'Ssl', 'Ssh', 'Smb_Mapping', 'Smb_Files'
] as const;
export const NodeTypeLabels = {
......@@ -16,6 +16,7 @@ export const NodeTypeLabels = {
// Host data
'File': 'File',
'Hostname': 'Hostname',
'Software': 'Software',
'User_Agent': 'User Agent',
'X509': 'X509',
// Application
......@@ -24,7 +25,9 @@ export const NodeTypeLabels = {
'Ftp': 'FTP',
'Http': 'HTTP',
'Kerberos': 'Kerberos',
'Ntp': 'NTP',
'Notice': 'Notice',
'Rdp': 'RDP',
'Sip': 'SIP',
'Smtp': 'SMTP',
'Ssl': 'SSL',
......
......@@ -11,6 +11,7 @@ export function getColorForType(nodeType: NodeType) {
return '#82b366';
case 'File':
case 'Hostname':
case 'Software':
case 'User_Agent':
case 'X509':
return "#666666";
......@@ -19,7 +20,9 @@ export function getColorForType(nodeType: NodeType) {
case 'Ftp':
case 'Http':
case 'Kerberos':
case 'Ntp':
case 'Notice':
case 'Rdp':
case 'Sip':
case 'Smtp':
case 'Ssl':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment