mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Add Forward rule editType Matcher
This commit is contained in:
parent
6aa5ed2948
commit
e1f2136e7c
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
|||
{
|
||||
fields: [
|
||||
{ key: "name", label: "Name", as: "TextBox" },
|
||||
{ key: "match.source_addresses", label: "Source", as: "MultiSelect", props: { searchProvider: GetAddresses } },
|
||||
{ key: "match.destination_addresses", label: "Destination", as: "MultiSelect", props: { searchProvider: GetAddresses } },
|
||||
{ key: "match.services", label: "Services", as: "MultiSelect", props: { searchProvider: GetServices } },
|
||||
{ key: "verdict", label: "Verdict", as: "PillBar", props: { options: { accept: { display: 'Accept' }, drop: { display: 'Drop' }, continue: { display: 'Continue' } } } },
|
||||
{ key: "counter", label: "Counter", as: "CheckBox" },
|
||||
{ key: "comment", label: "Comment", as: "MultilineTextBox" },
|
||||
|
|
Loading…
Add table
Reference in a new issue