{
  "description": "NetworkLogging describes the specification used by network logging.",
  "properties": {
    "metadata": {
      "properties": {
        "name": {
          "pattern": "^default$",
          "type": "string"
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "spec": {
      "description": "Spec is the desired configuration for network logging.",
      "properties": {
        "cluster": {
          "description": "Cluster specifies the log options for cluster-level network logging.",
          "properties": {
            "allow": {
              "description": "Allow specifies the log action for policy-allowed connections.",
              "properties": {
                "delegate": {
                  "description": "Delegate can only be true if Log is true. Log:false, Delegate:true is invalid. If Delegate is true, logging will be controlled by the annotation of matching network policies.",
                  "type": "boolean"
                },
                "log": {
                  "description": "Log specifies if logging is enabled or not. The default value is false.",
                  "type": "boolean"
                }
              },
              "type": "object",
              "additionalProperties": false
            },
            "deny": {
              "description": "Deny specifies the log action for policy-denied connections.",
              "properties": {
                "delegate": {
                  "description": "Delegate can only be true if Log is true. Log:false, Delegate:true is invalid. If Delegate is true, logging will be controlled by the annotation of the pod's namespace.",
                  "type": "boolean"
                },
                "log": {
                  "description": "Log specifies if logging is enabled or not. The default value is false.",
                  "type": "boolean"
                }
              },
              "type": "object",
              "additionalProperties": false
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
