Skip to content

Plugin selector with options #2698

@VakarisZ

Description

@VakarisZ

Is your feature request related to a problem? Please describe.
The plugins we're adding support options. We need to be able to show the options specified in the plugin configuration schema.

Describe the solution you'd like
Please describe the desired behavior.

More context in #2661

Tasks

  • Create a basic template and UI schema that would link vulnerability exploiter schema with that template (0d) - @VakarisZ
  • Modify the prototype selector UI, to have checkmarks indicating the selection of the plugin. Take a look at prototype template and prototype selector component. Instead of dropdown selector it should be something like in advanced selector (maybe we can reuse it?). Don't overkill the styling, there's Improve the plugin selection style #2700 for that. (0d) - @VakarisZ
    • Remove the plugins from an instance if they are not enabled. Once this is fixed we'll be able to remove this. Overall data transformation is not a bad solution in this case, because we need to generate a default plugin instance either way. Removing objects we don't need might even be easier than explicitly generating the objects we need.
  • Add a safety check and a warning for unsafe options (0d) @VakarisZ
  • Fix safe options reset button (0d) @ilija-lazoroski

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions