Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ready for Review] Add Morphues dfp #5

Merged
merged 64 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d3562c2
move graphviz to it's own dir
AjayThorve Nov 4, 2022
f7053b0
add morpheus-DFP to its own dir
AjayThorve Nov 4, 2022
eee44f6
updates and fixes
AjayThorve Nov 6, 2022
7064a1a
update version format(target 22.11)
AjayThorve Nov 6, 2022
78d52d3
fix visibleUser slider issue
AjayThorve Nov 6, 2022
7a0a6f8
update path to respond to stale requests
AjayThorve Nov 6, 2022
24f54f2
added lookbacktime support(second based)
AjayThorve Nov 6, 2022
3c0fd38
fix caching issue
AjayThorve Nov 7, 2022
e9b7da8
fix caching
AjayThorve Nov 7, 2022
9c232e0
fix 3d time axis alignment
AjayThorve Nov 7, 2022
f1d9371
use readdirSync
AjayThorve Nov 7, 2022
25f82a0
add raw scores to right panel
AjayThorve Nov 8, 2022
daf5297
fixed getEventByIndex path
AjayThorve Nov 8, 2022
61ed342
style changes and refactor
AjayThorve Nov 8, 2022
3c73627
added raw mean compute
AjayThorve Nov 8, 2022
41a180b
update yarn.lock
AjayThorve Nov 8, 2022
320668a
fix area chart
AjayThorve Nov 8, 2022
be3dbb8
fix look back time
AjayThorve Nov 8, 2022
e5d724a
fixed auto-updating datasets
AjayThorve Nov 8, 2022
ebd63dd
fixed key-element warnings
AjayThorve Nov 8, 2022
2003cf4
add status bar warnings
AjayThorve Nov 8, 2022
3aea038
add env file
AjayThorve Nov 8, 2022
d29f2a2
webpack management of rapidsai packages no longer required
AjayThorve Nov 8, 2022
7dff804
downgrade next version, fixes prod version issues
AjayThorve Nov 8, 2022
63ef4a1
fix visibleUsers inaccurate data issue
AjayThorve Nov 10, 2022
289773e
add hexHeight Scale slider
AjayThorve Nov 10, 2022
aa9bb01
make area chart overlapping
AjayThorve Nov 10, 2022
cdbdcaf
add sample dataset
AjayThorve Nov 10, 2022
785d2e5
optional dataset_path env variable, app works without it
AjayThorve Nov 11, 2022
2039608
fixed colors for heightScale3d
AjayThorve Nov 11, 2022
fc66436
fix firefox bufferlength issue
AjayThorve Nov 14, 2022
c776a08
add hover-over info for all settings
AjayThorve Nov 14, 2022
392917d
remove dataset_path from .env file
AjayThorve Nov 14, 2022
d31df35
remove console prints
AjayThorve Nov 14, 2022
e54f5b5
update packages
AjayThorve Nov 14, 2022
3a4aa4e
remove br
AjayThorve Nov 14, 2022
1fe6b03
update screenshots
AjayThorve Nov 14, 2022
aab0b6f
add requirements and updated installation instructions
AjayThorve Nov 14, 2022
4dace6d
update sections
AjayThorve Nov 14, 2022
2bdbb0d
add troubleshooting FAQ section
AjayThorve Nov 15, 2022
19d2939
add node-rapids links
AjayThorve Nov 15, 2022
764330a
anomalous traffic always in front, for the top area chart
AjayThorve Nov 15, 2022
fb4864d
fix area chart anomalous event computations
AjayThorve Nov 15, 2022
baa84be
update screenshots
AjayThorve Nov 15, 2022
a178c99
fix area chart legend
AjayThorve Nov 15, 2022
430245c
reset settings to last applied on close settings panel
AjayThorve Nov 15, 2022
f909abf
update min bin to 5s
AjayThorve Nov 15, 2022
03a175b
add toast message to provide reset instructions
AjayThorve Nov 15, 2022
3efb602
apply suggested changes
AjayThorve Nov 16, 2022
0d1af18
add readme to the root folder
AjayThorve Nov 16, 2022
0802ba0
add data format requirements
AjayThorve Nov 16, 2022
68e65b6
merge tooltip props
AjayThorve Nov 16, 2022
734d674
remove console msg
AjayThorve Nov 16, 2022
a644878
update with fixed screenshots
AjayThorve Nov 16, 2022
3fc8fb1
fix refresh datasets not working issue
AjayThorve Nov 16, 2022
95bea42
unclick event on second click
AjayThorve Nov 16, 2022
305cdbd
add max and min zoom levels
AjayThorve Nov 16, 2022
cf12bd6
fix typo
AjayThorve Nov 16, 2022
ef088e5
gray out apply button on applied settings
AjayThorve Nov 16, 2022
4cd1b09
add settings already applied message on grayed out button
AjayThorve Nov 16, 2022
b4387f1
fix nullColor issue
AjayThorve Nov 16, 2022
f003b33
remove console msgs
AjayThorve Nov 16, 2022
4318049
remove morpheus- prefix
AjayThorve Nov 17, 2022
2968f07
add global and local vscode settings
AjayThorve Nov 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/electron",
"plugin:import/typescript"
"plugin:import/typescript",
"next/core-web-vitals"
],
"parser": "@typescript-eslint/parser"
}
58 changes: 0 additions & 58 deletions .vscode/launch.json

This file was deleted.

39 changes: 0 additions & 39 deletions .vscode/settings.json

This file was deleted.

111 changes: 111 additions & 0 deletions DFP/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# initial look back time in seconds
NEXT_PUBLIC_look_back_time=36000

# look back time slider range
NEXT_PUBLIC_look_back_time_range=[1,10000]

# initial time bin per hexagon in seconds
NEXT_PUBLIC_time_bin_per_hex=600

# time bin per hexagon slider range
NEXT_PUBLIC_time_bin_per_hex_range=[5,3600]

# anomalous color threshold
NEXT_PUBLIC_anomaly_color_threshold=[0.05, 0.385]

# initial visibile users (min(totalUsers, 1000))
NEXT_PUBLIC_visible_users=34

# initial visible users max
NEXT_PUBLIC_visible_users_max=1000

# default values for individual event attributes for azure
# Note: may need periodic updating
azure_appDisplayName_z_loss_min = 3.3085333e-05
azure_appDisplayName_z_loss_max = 19.443836
azure_appDisplayName_z_loss_90th_percentile = 0.32279745200000004
azure_appDisplayName_z_loss_95th_percentile = 1.4617437200000016

azure_clientAppUsed_z_loss_min = 0.00014366175
azure_clientAppUsed_z_loss_max = 41.688995
azure_clientAppUsed_z_loss_90th_percentile = 0.1074643992
azure_clientAppUsed_z_loss_95th_percentile = 0.21950606

azure_deviceDetailbrowser_z_loss_min = 5.781082e-05
azure_deviceDetailbrowser_z_loss_max = 13.050077
azure_deviceDetailbrowser_z_loss_90th_percentile = 0.2595091
azure_deviceDetailbrowser_z_loss_95th_percentile = 0.65749897

azure_deviceDetaildisplayName_z_loss_min = 0.0003224391
azure_deviceDetaildisplayName_z_loss_max = 11.673823
azure_deviceDetaildisplayName_z_loss_90th_percentile = 1.3267316
azure_deviceDetaildisplayName_z_loss_95th_percentile = 1.3276707

azure_deviceDetailoperatingSystem_z_loss_min = 5.0694332e-05
azure_deviceDetailoperatingSystem_z_loss_max = 23.78995
azure_deviceDetailoperatingSystem_z_loss_90th_percentile = 0.15955096
azure_deviceDetailoperatingSystem_z_loss_95th_percentile = 0.46886286

azure_statusfailureReason_z_loss_min = 5.7962032e-05
azure_statusfailureReason_z_loss_max = 28.916212
azure_statusfailureReason_z_loss_90th_percentile = 0.17589439199999998
azure_statusfailureReason_z_loss_95th_percentile = 0.42368636800000004

azure_appincrement_z_loss_min = 0.0058691604
azure_appincrement_z_loss_max = 11.104283
azure_appincrement_z_loss_90th_percentile = 9.2398132
azure_appincrement_z_loss_95th_percentile = 9.485759100000001

azure_locincrement_z_loss_min = 0.01378275
azure_locincrement_z_loss_max = 5.258086
azure_locincrement_z_loss_90th_percentile = 2.2968223200000004
azure_locincrement_z_loss_95th_percentile = 2.33469134

azure_logcount_z_loss_min = 0.0003078723
azure_logcount_z_loss_max = 2.4983406
azure_logcount_z_loss_90th_percentile = 1.94336946
azure_logcount_z_loss_95th_percentile = 1.94539888

# default values for individual event attributes for duo
# Note: may need periodic updating
duo_accessdevicebrowser_z_loss_min = 0.00062809954
duo_accessdevicebrowser_z_loss_max = 70.78705
duo_accessdevicebrowser_z_loss_mean = 1.0200618567779458
duo_accessdevicebrowser_z_loss_90th_percentile = 1.3431483507156372
duo_accessdevicebrowser_z_loss_95th_percentile = 1.360941767692566

duo_accessdeviceos_z_loss_min = 0.0020267884
duo_accessdeviceos_z_loss_max = 69.954506
duo_accessdeviceos_z_loss_mean = 1.0493155263467346
duo_accessdeviceos_z_loss_90th_percentile = 1.462402105331421
duo_accessdeviceos_z_loss_95th_percentile = 1.4809775352478027

duo_authdevicename_z_loss_min = 0.0013785576
duo_authdevicename_z_loss_max = 8.743932
duo_authdevicename_z_loss_mean = 0.9290581302173011
duo_authdevicename_z_loss_90th_percentile = 1.279900312423706
duo_authdevicename_z_loss_95th_percentile = 1.2860474586486816

duo_reason_z_loss_min = 0.0001842031
duo_reason_z_loss_max = 10.098668
duo_reason_z_loss_mean = 0.9593547124067104
duo_reason_z_loss_90th_percentile = 1.4480289220809937
duo_reason_z_loss_95th_percentile = 1.4584497213363647

duo_result_z_loss_min = 0.0022574728
duo_result_z_loss_max = 8.687354
duo_result_z_loss_mean = 0.9140095679891507
duo_result_z_loss_90th_percentile = 1.2595487833023071
duo_result_z_loss_95th_percentile = 1.273643970489502

duo_locincrement_z_loss_min = 0.0003110415418632
duo_locincrement_z_loss_max = 8035.6816
duo_locincrement_z_loss_mean = 3.5471388766612337
duo_locincrement_z_loss_90th_percentile = 0.59733367562294
duo_locincrement_z_loss_95th_percentile = 0.6164652526378631

duo_logcount_z_loss_min = 0.00012965586
duo_logcount_z_loss_max = 20.223507
duo_logcount_z_loss_mean = 1.1205686358424636
duo_logcount_z_loss_90th_percentile = 2.468704581260681
duo_logcount_z_loss_95th_percentile = 2.8623399615287775
29 changes: 29 additions & 0 deletions DFP/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "CUDA_VISIBLE_DEVICES=1 yarn dev"
},
{
"name": "Next.js: debug client-side",
"type": "pwa-chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"command": "CUDA_VISIBLE_DEVICES=1 npm run dev",
"console": "integratedTerminal",
"serverReadyAction": {
"pattern": "started server on .+, url: (https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}
Loading