Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ZoneBased Firewall | Security Policies #246

Open
rrahimm opened this issue May 16, 2024 · 0 comments
Open

Support for ZoneBased Firewall | Security Policies #246

rrahimm opened this issue May 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rrahimm
Copy link

rrahimm commented May 16, 2024

We seek support for the "zoneBasedFW" profile under security policies.

Sample Configuration is as below

Path: /dataservice/template/policy/definition/zonebasedfw

{
  "name": "TEST_ZBFW",
  "type": "zoneBasedFW",
  "description": "ZBFW",
  "definition": {
    "defaultAction": {
      "type": "pass"
    },
    "sequences": [
      {
        "sequenceId": 1,
        "sequenceName": "Rule 1",
        "baseAction": "inspect",
        "sequenceType": "zoneBasedFW",
        "match": {
          "entries": [
            {
              "field": "sourceFqdnList",
              "ref": "fec95470-b03c-4288-863f-5a24f63317d9"
            },
            {
              "field": "sourceDataPrefixList",
              "ref": "12799083-999e-46e7-8c0d-c347d950d14f"
            },
            {
              "field": "sourceGeoLocationList",
              "ref": "72e2eb54-b6fc-42f1-a837-53bad7b5b9d1"
            },
            {
              "field": "sourcePortList",
              "ref": "03064981-23e5-4fad-aebc-22259d71650e"
            },
            {
              "field": "destinationFqdnList",
              "ref": "fec95470-b03c-4288-863f-5a24f63317d9"
            },
            {
              "field": "destinationPortList",
              "ref": "03064981-23e5-4fad-aebc-22259d71650e"
            },
            {
              "field": "appList",
              "ref": "997102f4-f672-46ce-8483-6217ea76a85c"
            }
          ]
        },
        "actions": [
          {
            "type": "connectionEvents",
            "parameter": ""
          }
        ]
      },
      {
        "sequenceId": 11,
        "sequenceName": "Rule 2",
        "baseAction": "inspect",
        "sequenceType": "zoneBasedFW",
        "ruleset": true,
        "match": {
          "entries": [
            {
              "field": "ruleSetList",
              "ref": "26feaefb-1ecc-4f13-bd79-235363128e2d"
            },
            {
              "field": "appList",
              "ref": "d679b6c5-d2d3-4bf3-8784-2f92994114c0"
            }
          ]
        },
        "actions": []
      }
    ],
    "entries": [
      {
        "sourceZone": "self",
        "destinationZone": "72b61e73-8737-40ff-aa6b-15f7e9a87b90"
      }
    ]
  },
  "mode": "security",
  "optimized": "false"
}
@seconroy seconroy self-assigned this May 16, 2024
@seconroy seconroy added the enhancement New feature or request label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants