UI: Use AdvancedMultiSelect on the exploiters

This commit is contained in:
Ilija Lazoroski 2022-06-30 22:46:15 +02:00
parent c4f34939ec
commit 6a7dce50f0
1 changed files with 8 additions and 3 deletions

View File

@ -4,14 +4,19 @@ import InfoBox from './InfoBox';
export default function UiSchema(props) { export default function UiSchema(props) {
const UiSchema = { const UiSchema = {
propagation: { propagation: {
'ui:order': ['exploitation', 'maximum_depth', 'network_scan'],
exploitation: { exploitation: {
brute_force: { brute_force: {
brute_force_classes: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect 'ui:widget': AdvancedMultiSelect
}
}, },
vulnerability: { vulnerability: {
vulnerability_classes: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect 'ui:widget': AdvancedMultiSelect
} }
}
}, },
network_scan: { network_scan: {
targets: { targets: {