Mandiant · Schema
action_wrapped
CompanySecurityThreat IntelligenceCybersecurityIncident ResponseAttack Surface ManagementVulnerability IntelligenceMalwareGoogle Cloud
Properties
| Name | Type | Description |
|---|---|---|
| sim_action | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/mandiant/json-schema/mandiant-action-wrapped-schema.json",
"title": "action_wrapped",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_superseded/mandiant-actions-api-openapi.yml#/components/schemas/action_wrapped",
"type": "object",
"properties": {
"sim_action": {
"$ref": "#/$defs/action"
}
},
"$defs": {
"action": {
"allOf": [
{
"$ref": "#/$defs/action_common"
},
{
"oneOf": [
{
"$ref": "#/$defs/file_transfer_action"
},
{
"$ref": "#/$defs/cloud_action"
},
{
"$ref": "#/$defs/dns_query_action"
},
{
"$ref": "#/$defs/host_cli_action"
}
]
}
]
},
"action_common": {
"type": "object",
"required": [
"name",
"desc"
],
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"name": {
"type": "string",
"description": "Name of Action, must be unique"
},
"desc": {
"type": "string",
"description": "Description of Action"
}
}
},
"cloud_action": {
"type": "object",
"required": [
"action_type",
"cloud_action_attributes"
],
"properties": {
"action_type": {
"type": "string",
"enum": [
"cloud"
]
},
"cloud_action_attributes": {
"$ref": "#/$defs/cloud_action_attributes"
}
}
},
"cloud_action_attributes": {
"type": "object",
"required": [
"script"
],
"properties": {
"scripts": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the script"
},
"script_text": {
"type": "string",
"description": "Python script to run"
},
"script_type": {
"type": "string",
"enum": [
"SETUP",
"CLEANUP",
null
],
"description": "SETUP - used for setup scripts.\n\nCLEANUP - used for cleanup scripts.\n\nAny other value is a \"normal\" script\n"
},
"timeout": {
"type": "integer",
"description": "Script timeout"
}
}
},
"inputs_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the variable"
},
"default_value": {
"type": "string",
"description": "Default value"
}
}
}
},
"outputs_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the variable"
}
}
}
},
"cloud_action_file_transfer_libraries": {
"type": "object",
"required": [
"file_transfer_library_id"
],
"properties": {
"variable_name": {
"type": "string",
"description": "the name that will be used to reference this file in the action script"
}
}
}
}
},
"dns_query_action": {
"type": "object",
"description": "Malicious DNS Query Action",
"required": [
"action_type",
"dns_query_action_attributes"
],
"properties": {
"action_type": {
"type": "string",
"enum": [
"dns"
]
},
"trees": {
"type": "object",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"description": "ID of the Tree to assign as Stage Of Attack for this Action. The list of Trees is available from the `GET /manage_sims/actions/get_dimensions.json` API endpoint."
}
}
}
},
"dns_query_action_attributes": {
"$ref": "#/$defs/dns_query_action_attributes"
}
}
},
"dns_query_action_attributes": {
"type": "object",
"required": [
"domain",
"query_type"
],
"properties": {
"domain": {
"type": "string",
"description": "The domain name requested in the action\n"
},
"query_type": {
"type": "string",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"NS",
null,
"PTR",
"SOA",
"SRV",
"TXT"
]
}
}
},
"file_transfer_action": {
"type": "object",
"required": [
"action_type",
"file_transfer_action_attributes"
],
"properties": {
"action_type": {
"type": "string",
"enum": [
"file_transfer"
]
},
"file_transfer_action_attributes": {
"$ref": "#/$defs/file_transfer_action_attributes"
}
}
},
"file_transfer_action_attributes": {
"type": "object",
"required": [
"file_transfer_library_id"
],
"properties": {
"file_transfer_library_id": {
"type": "integer",
"description": "ID of Associated File Library object"
},
"compare_transfer": {
"description": "Must be set to 1"
},
"keep_after_compare": {
"description": "Must be set to 0"
},
"content_encoding": {
"type": "string",
"description": "File encoding, for instance \"zip\". This can be blank or a comma-separated list of\nsupported encoding formats like \"zip,tar,gzip\"\n"
},
"method": {
"type": "string",
"enum": [
"get",
"post"
],
"description": "Direction of transfer as an HTML verb"
},
"app_layer": {
"type": "string",
"enum": [
"http",
"ftp",
"https",
"scp",
""
],
"description": "Application layer for tunnel. Can be an empty string to indicate no tunnel."
},
"target_port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
},
"tunnel_cidr": {
"type": "string",
"description": "IP Address for CIDR tunnel. Required for all tunnels"
},
"tunnel_protocol": {
"type": "string",
"enum": [
"dns",
"icmp",
"ssh",
null
],
"description": "Tunneling protocol. Can be blank."
},
"dns_domain": {
"description": "DNS Domain. This is only needed when defining a DNS tunnel file transfer\n"
},
"dns_server_ip": {
"description": "DNS Server IP address. Optional and only applies to DNS tunnels.\n"
}
}
},
"host_cli_action": {
"type": "object",
"required": [
"action_type",
"host_cli_action_attributes",
"host_cli_action_steps_attributes"
],
"properties": {
"action_type": {
"type": "string",
"enum": [
"host_cli"
]
},
"host_cli_action_attributes": {
"$ref": "#/$defs/host_cli_action_attributes"
}
}
},
"host_cli_action_attributes": {
"type": "object",
"required": [
"shell"
],
"properties": {
"shell": {
"type": "string",
"enum": [
"bash",
"python",
"cmd.exe"
],
"description": "Shell command"
},
"delivery_wait_time": {
"type": "integer",
"description": "Wait time for delivery"
},
"raw_text": {
"type": "string",
"description": "Command entry"
},
"monitor_connections": {
"type": "string",
"enum": [
"on",
"off"
],
"description": "Actively observe connections"
},
"delivery_failed_result": {
"type": "string",
"enum": [
"error"
],
"description": "Identify failure criteria"
},
"destination_exists_result": {
"type": "string",
"enum": [
"error"
],
"description": "Identify existence criteria"
},
"host_cli_action_steps_attributes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"step_order",
"command"
],
"properties": {
"id": {
"type": "integer",
"description": "Unique step identifier"
},
"step_order": {
"type": "integer",
"description": "0-indexed step occurrence ordinal."
},
"command": {
"type": "string",
"description": "host cli command"
},
"prompt": {
"type": "string",
"description": "Command prompt"
},
"blocked_check": {
"type": "string",
"enum": [
"match"
],
"description": "Blocking criteria"
},
"blocked_match": {
"type": "string",
"enum": [
"match text"
],
"description": "Blocking type"
},
"incompatible_check": {
"type": "string",
"enum": [
"match"
],
"description": "Incompatible criteria"
},
"incompatible_match": {
"type": "string",
"enum": [
"match text"
],
"description": "Incompatible type"
},
"check_events": {
"type": "boolean",
"description": "Whether events need to be reviewed"
},
"event_logs": {
"type": "boolean",
"description": "Event logs"
},
"sleep": {
"type": "string",
"description": "Time to delay before next step"
}
}
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mandiant-action-wrapped"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.