lair-framework/lair

[Hosts/Services] Ability to transfer a host note to a service/port note and vice versa

0xdevalias opened this issue · 5 comments

This would give the option to move a service/port note into the list of host notes, or to move a host note to a specific service/port note (on that host)

This can currently be done in a manual way (copy, delete, new, paste), but this would make it more efficient to move notes around.

What would be a good way to implement this in the UI?

I was thinking it could be achieved just with an icon button (if you could find something that makes it obvious) or a text button.

Don't have lair on this machine, so running from memory, but i would think either above the text for the currently selected note on the right hand side, or if you have the ability to select multiple notes (checkbox) then somewhere above the list of notes with other buttons/controls.

This would be implemented on both the host notes section, and the service notes section.

  • Host Notes: When the button is clicked it would need to popup a dialog box or similar (or could have a dropdown next to the button) to designate which service on the current host to move to.
  • Service Notes: This would just need to be the button to move it to the host for the service.

@alias1 By addressing Issue #38 is this functionality necessary? Seems this enhancement doesn't make as much sense now that the host view displays service-level notes as well.

Haven't got a current install to take a look, and a bit hard to remember my original use case for this.

I think it still could be.. I think my original reasoning was if I make notes about things i've noticed on a host, that i then later drill down and realise they are actually relevant to a particular port rather than the host in general. Sort of thing.

In any case, I would imagine it's low priority at best.

Going to call this one done.