Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library asset reference

NetBird Policy

Reusable NetBird Policy contract.

23 Oct 2026 · 1 min read
Markdown ↗JSON ↗

NetBird Policy preserves known provider fields and explicit JSON extensions. It is shared across the NetBird operations that use this resource. Optional absence and explicit null are distinct.

Schema:

json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#/definitions/ONFJsonValue"
        }
      }
    }
  },
  "additionalProperties": {
    "$ref": "#/definitions/ONFJsonValue"
  },
  "definitions": {
    "ONFJsonValue": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ONFJsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/ONFJsonValue"
          }
        }
      ]
    }
  }
}

Source: https://docs.netbird.io/api/resources/peers https://docs.netbird.io/api/resources/groups https://docs.netbird.io/api/resources/networks https://docs.netbird.io/api/resources/policies

Pure type; no credentials or external effects.

Catalog identity#

FieldValue
Source keydev.netbird.type.policy
Kindtype
Familynetbird
Packpack_netbird

Integration guide · Browse the catalog

Configuration schema#

json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Source and installed versions#

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See versioning, connections and integration setup.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • ../OpenNodeFlow-Library/work/catalog-all.mjs
  • ../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs
  • ../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs
  • shared/seed.ts
  • shared/storage-library.ts
  • shared/variable-library.ts
  • shared/control-flow.ts
  • shared/remote-routes.ts
  • server/runtime-library.ts
  • shared/error-library.ts
  • shared/storage-model.ts
  • shared/builtin-documentation.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗