Juniper Networks · Schema

SecurityPolicy

AutomationCloudData CenterEnterpriseNetworkingSDNSecurityFortune 1000

Properties

Name Type Description
from_zone string Source security zone.
to_zone string Destination security zone.
policies array
View JSON Schema on GitHub

JSON Schema

juniper-networks-securitypolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SecurityPolicy",
  "title": "SecurityPolicy",
  "type": "object",
  "properties": {
    "from_zone": {
      "type": "string",
      "description": "Source security zone."
    },
    "to_zone": {
      "type": "string",
      "description": "Destination security zone."
    },
    "policies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Policy name."
          },
          "match": {
            "type": "object",
            "properties": {
              "source_address": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "destination_address": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "application": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "then": {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "enum": [
                  "permit",
                  "deny",
                  "reject"
                ]
              },
              "log": {
                "type": "boolean"
              },
              "count": {
                "type": "boolean"
              }
            }
          }
        }
      }
    }
  }
}