CAIN-42 CAIN Studio

API reference · schema

OpenShellEnforceRequest

5 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
action_type requiredstring
target_resource requiredstring
syscallstringdefault "openat"
capability_tokenstring or null

Smallest valid example

{
  "agent_id": "agent-id",
  "action_type": "action-type",
  "target_resource": "target-resource",
  "syscall": "openat"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "action_type": {
      "type": "string",
      "title": "Action Type"
    },
    "target_resource": {
      "type": "string",
      "title": "Target Resource"
    },
    "syscall": {
      "type": "string",
      "title": "Syscall",
      "default": "openat"
    },
    "capability_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Capability Token"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "action_type",
    "target_resource"
  ],
  "title": "OpenShellEnforceRequest"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem