guardicore / monkey

Infection Monkey - An open-source adversary emulation platform
https://www.guardicore.com/infectionmonkey/
GNU General Public License v3.0
6.68k stars 786 forks source link

Configuration UI component library #3887

Open VakarisZ opened 11 months ago

VakarisZ commented 11 months ago

Is your feature request related to a problem? Please describe. Currently, there's no way to customize a display component for a specific configuration input field. We might want to be able to apply different input styles for the same type of input, for example, display one boolean field as a checkmark UI component and another as a switch.

Describe the solution you'd like Add a separate file to the plugin, called UI schema. This file would contain paths to the non-default values and map them to the UI component the developer prefers.

Describe alternatives you've considered Adding a field specifying UI component to the jsonschema itself - it's not a good idea because it's mixing the responsibilities of json document validation and configuration display

Tasks

VakarisZ commented 11 months ago

Related: https://github.com/guardicore/monkey/issues/1007

VakarisZ commented 11 months ago

Related: https://github.com/guardicore/monkey/issues/2722

VakarisZ commented 11 months ago

Related: https://github.com/guardicore/monkey/issues/3697

VakarisZ commented 10 months ago

Related: https://github.com/guardicore/monkey/issues/3886

VakarisZ commented 10 months ago

Consider postponing this