{
  "description": "Cluster-scoped sibling of AuditNetworkPolicy. The\nnamespaceSelector restricts which namespaces the policy\napplies to (nil or {} matches all). Within each matching\nnamespace the rest of the spec is evaluated exactly like a\nnamespaced AuditNetworkPolicy. Promote by re-applying the\nspec under a per-namespace networking.k8s.io/v1\nNetworkPolicy in each affected namespace.\n",
  "properties": {
    "apiVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "properties": {
        "egress": {
          "items": {
            "type": "object",
            "x-kubernetes-preserve-unknown-fields": true
          },
          "type": [
            "array",
            "null"
          ]
        },
        "ingress": {
          "items": {
            "type": "object",
            "x-kubernetes-preserve-unknown-fields": true
          },
          "type": [
            "array",
            "null"
          ]
        },
        "namespaceSelector": {
          "type": [
            "object",
            "null"
          ],
          "x-kubernetes-preserve-unknown-fields": true
        },
        "podSelector": {
          "type": "object",
          "x-kubernetes-preserve-unknown-fields": true
        },
        "policyTypes": {
          "items": {
            "enum": [
              "Ingress",
              "Egress"
            ],
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "podSelector"
      ],
      "type": "object"
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "evaluation": {
          "additionalProperties": false,
          "properties": {
            "flowsEvaluated": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "flowsWouldDeny": {
              "format": "int64",
              "type": [
                "integer",
                "null"
              ]
            },
            "lastEvaluated": {
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "topOffenders": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "format": "int64",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "direction": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dstPod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dstPort": {
                    "format": "int32",
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "protocol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "srcPod": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "maxItems": 50,
              "type": [
                "array",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "observedGeneration": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}