Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Web interface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GRANEF
Analysis
Web interface
Commits
e78e294e
Commit
e78e294e
authored
2 years ago
by
Milan Čermák
Browse files
Options
Downloads
Patches
Plain Diff
Added new types definition
parent
24998953
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
client/src/parsers/node-type.ts
+5
-2
5 additions, 2 deletions
client/src/parsers/node-type.ts
client/src/parsers/parse-utils.ts
+3
-0
3 additions, 0 deletions
client/src/parsers/parse-utils.ts
with
8 additions
and
2 deletions
client/src/parsers/node-type.ts
+
5
−
2
View file @
e78e294e
...
...
@@ -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
'
,
'
N
otice
'
,
'
Sip
'
,
'
Smtp
'
,
'
Ssl
'
,
'
Ssh
'
,
'
Smb_Mapping
'
,
'
Smb_Files
'
'
Dns
'
,
'
Files
'
,
'
Ftp
'
,
'
Http
'
,
'
Kerberos
'
,
'
N
tp
'
,
'
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
'
,
...
...
This diff is collapsed.
Click to expand it.
client/src/parsers/parse-utils.ts
+
3
−
0
View file @
e78e294e
...
...
@@ -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
'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment