diff --git a/client/src/components/NiceTable.vue b/client/src/components/NiceTable.vue index 08a57e0..d7b8baa 100644 --- a/client/src/components/NiceTable.vue +++ b/client/src/components/NiceTable.vue @@ -1,15 +1,33 @@ \ No newline at end of file diff --git a/client/src/pages/firewall/Rules.vue b/client/src/pages/firewall/Rules.vue index 876efbb..d0d9369 100644 --- a/client/src/pages/firewall/Rules.vue +++ b/client/src/pages/firewall/Rules.vue @@ -2,6 +2,15 @@ import { apiCall } from "../../api"; let rules = $ref([]); +const columns = [ + {heading: 'Name', path: 'name'}, + {heading: 'Source', path: 'match.source_addresses'}, + {heading: 'Destination', path: 'match.destination_addresses'}, + {heading: 'Service', path: 'match.services'}, + {heading: 'Verdict', path: 'verdict'}, + {heading: 'Counter', path: 'counter'}, + {heading: 'Comment', path: 'comment'}, +]; async function loadRules(){ let res = await apiCall("Firewall.GetForwardRules", {}); @@ -24,6 +33,6 @@ onMounted(async() => { - + \ No newline at end of file