Share feedback
Answers are generated based on the documentation.

Schema

Rule

Type: object

A single allow or deny rule within an allowlist policy.
actions · required

Schema: RuleActions

decision · required

Schema: RuleDecision

id · required

Type: string

All schema constraints and annotations
{
  "examples": [
    "rule_06evsm9qjm1pdsk0a8nkfaxy7jna"
  ],
  "type": "string"
}
name · required

Type: string

Human-readable label for the rule.
All schema constraints and annotations
{
  "description": "Human-readable label for the rule.",
  "examples": [
    "allow research mirrors"
  ],
  "type": "string"
}
resources · required

Schema: RuleResources

All schema constraints and annotations
{
  "description": "A single allow or deny rule within an allowlist policy.",
  "properties": {
    "actions": {
      "$ref": "#/components/schemas/RuleActions"
    },
    "decision": {
      "$ref": "#/components/schemas/RuleDecision"
    },
    "id": {
      "examples": [
        "rule_06evsm9qjm1pdsk0a8nkfaxy7jna"
      ],
      "type": "string"
    },
    "name": {
      "description": "Human-readable label for the rule.",
      "examples": [
        "allow research mirrors"
      ],
      "type": "string"
    },
    "resources": {
      "$ref": "#/components/schemas/RuleResources"
    }
  },
  "required": [
    "id",
    "name",
    "actions",
    "resources",
    "decision"
  ],
  "type": "object"
}