summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_interfaces_running.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/fixtures/firewall_interfaces_running.json')
-rw-r--r--tests/unit/fixtures/firewall_interfaces_running.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/unit/fixtures/firewall_interfaces_running.json b/tests/unit/fixtures/firewall_interfaces_running.json
index b0ce2d5..af120ce 100644
--- a/tests/unit/fixtures/firewall_interfaces_running.json
+++ b/tests/unit/fixtures/firewall_interfaces_running.json
@@ -5,7 +5,12 @@
"default-action": "accept",
"rule": {
"10": { "action": "accept", "state": "established" },
- "20": { "action": "drop", "state": "invalid" }
+ "20": {
+ "action": "drop",
+ "state": "invalid",
+ "source": { "address": "10.0.0.0/8" },
+ "destination": { "port": "22" }
+ }
}
}
},
@@ -18,6 +23,13 @@
"filter": {
"default-action": "accept"
}
+ },
+ "name": {
+ "my-ruleset": {
+ "rule": {
+ "1": { "action": "accept" }
+ }
+ }
}
},
"ipv6": {