mirror of https://github.com/MISP/misp-book
Add documentation for shortcuts in MISP.
parent
078a8ce174
commit
363b8199fb
|
@ -0,0 +1,23 @@
|
||||||
|
<!-- toc -->
|
||||||
|
|
||||||
|
## 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:**
|
||||||
|
1. Add a JSON file in `app/webroots/shortcuts` named after the page from which it will be included (for exemple `event_view.json`).
|
||||||
|
2. Set your shortcuts using this format:
|
||||||
|

|
||||||
|
(`action` field is JS code)
|
||||||
|
|
||||||
|
2. Include the keyboard shortcut config in the `.ctp` file you wish it to be used in using an `input type="hidden"` tag like this:
|
||||||
|

|
||||||
|
|
||||||
|
3. Test your shortcuts.
|
Loading…
Reference in New Issue