mirror of https://github.com/MISP/misp-book
1.1 KiB
1.1 KiB
Keyboard shortcuts in MISP
Since v2.4.88, MISP has keyboard shortcuts managed using JSON files. To see the list of shortcuts for a given page, press the small black triangle at the bottom of the page. Demo:
Q: Is it possible to customize the shortcuts in the GUI once they are there? A: Not at the moment.
Q: How do I add keyboard shortcuts to my MISP instance? A:
-
Add a JSON file in
app/webroots/shortcuts
named after the page from which it will be included (for exempleevent_view.json
). -
Set your shortcuts using this format: (
action
field is JS code) -
Include the keyboard shortcut config in the
.ctp
file you wish it to be used in using aninput type="hidden"
tag like this: -
Test your shortcuts.