Share feedback
Answers are generated based on the documentation.

Schema

AllowlistV0

Type: object

Network or filesystem allowlist containing a list of rules. Present on Policy when PolicySummary.type is allowlist_v0; omitted when the policy has no rules yet. All rules in an allowlist share the same domain. All rules are evaluated on every request: deny always wins over allow.
domain

Type: string

The access-control domain shared by all rules in this allowlist. Derived from rule actions: network actions (connect:tcp, connect:udp) produce network; filesystem actions (read, write) produce filesystem. Present when rules is non-empty; absent when the allowlist has no rules.
All schema constraints and annotations
{
  "description": "The access-control domain shared by all rules in this allowlist. Derived from rule actions: network actions (`connect:tcp`, `connect:udp`) produce `network`; filesystem actions (`read`, `write`) produce `filesystem`. Present when `rules` is non-empty; absent when the allowlist has no rules.\n",
  "enum": [
    "network",
    "filesystem"
  ],
  "examples": [
    "network"
  ],
  "type": "string"
}
rules · required

Type: array

Array item

Schema: Rule

All schema constraints and annotations
{
  "items": {
    "$ref": "#/components/schemas/Rule"
  },
  "type": "array"
}
All schema constraints and annotations
{
  "description": "Network or filesystem allowlist containing a list of rules. Present on\nPolicy when `PolicySummary.type` is `allowlist_v0`; omitted when the\npolicy has no rules yet. All rules in an allowlist share the same domain.\nAll rules are evaluated on every request: `deny` always wins over `allow`.\n",
  "properties": {
    "domain": {
      "description": "The access-control domain shared by all rules in this allowlist. Derived from rule actions: network actions (`connect:tcp`, `connect:udp`) produce `network`; filesystem actions (`read`, `write`) produce `filesystem`. Present when `rules` is non-empty; absent when the allowlist has no rules.\n",
      "enum": [
        "network",
        "filesystem"
      ],
      "examples": [
        "network"
      ],
      "type": "string"
    },
    "rules": {
      "items": {
        "$ref": "#/components/schemas/Rule"
      },
      "type": "array"
    }
  },
  "required": [
    "rules"
  ],
  "type": "object"
}