summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/firewall_rules_running.json
blob: 8fbd12cc6a0af8a5c843f5206b99b65df43c37ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "ipv4": {
    "name": {
      "RULE-SET1": {
        "default-action": "drop",
        "rule": {
          "10": {
            "action": "accept",
            "protocol": "tcp",
            "source": { "address": "192.168.1.0/24" },
            "destination": { "port": "80" }
          },
          "20": {
            "action": "drop",
            "state": "invalid"
          }
        }
      }
    }
  },
  "ipv6": {
    "name": {
      "RULE-SET6": {
        "default-action": "accept",
        "rule": {
          "10": {
            "action": "accept"
          }
        }
      }
    }
  }
}